git-gui: Document the new i18n context support
Translators working on po files will likely need to know what the @@noun and @@verb parts are in the original message text, and why these are different messages in the po files. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce committed
Sep 12, 2007 at 17:03 UTC
262360f3aa11291816d63fb6d23851db1ae5ff27
1 file changed
+9
po/README
+9
@@ -88,6 +88,15 @@ matching msgid lines. A few tips:
88
you would typically want to have corresponding ones in the string on
89
your msgstr line.
90
91
+ - Some messages contain an optional context indicator at the end,
92
+ for example "@@noun" or "@@verb". This indicator allows the
93
+ software to select the correct translation depending upon the use.
94
+ The indicator is not actually part of the message and will not
95
+ be shown to the end-user.
96
+
97
+ If your language does not require a different translation you
98
+ will still need to translate both messages.
99
+
100
- Often the messages being translated are format strings given to
101
"printf()"-like functions. Make sure "%s", "%d", and "%%" in your
102
translated messages match the original.