From 5dfdce6d5cda0bf8a7b68ee8b6ff348d700c5937 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lars=20K=C3=BChne?=
- A FileSetCheck that ensure the correct - translation of code by checking property files for consistency regarding their - keys. Two property files describing one and the same context are consistent if + A FileSetCheck that ensures the correct + translation of code by checking property files for consistency regarding their + keys. Two property files describing one and the same context are consistent if they contain the same keys.
++ Consider the following properties file in the same directory: + +
+ #messages.properties + hello=Hello + cancel=Cancel + + #messages_de.properties + hell=Hallo + ok=OK ++
+ The Translation check will find the typo in the german hello key, the + missing ok key in the default resource file and the missing cancel key + in the german resource file: +
+ messages_de.properties: Key 'hello' missing. + messages_de.properties: Key 'cancel' missing. + messages.properties: Key 'hell' missing. + messages.properties: Key 'ok' missing. ++
To configure the check: