summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msgunfmt-java-1
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-09-01 21:44:28 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:15:02 +0200
commit2f0998ce845443cbefb2944c850c639767b4f2bb (patch)
treeea8dceabef003bf32bfd1f49b3733c684555e7ae /gettext-tools/tests/msgunfmt-java-1
parent3cd293f1a57e802a6270b5322a8dcd04128f1fca (diff)
downloadexternal_gettext-2f0998ce845443cbefb2944c850c639767b4f2bb.zip
external_gettext-2f0998ce845443cbefb2944c850c639767b4f2bb.tar.gz
external_gettext-2f0998ce845443cbefb2944c850c639767b4f2bb.tar.bz2
Implement msgctxt for Java ResourceBundles.
Diffstat (limited to 'gettext-tools/tests/msgunfmt-java-1')
-rwxr-xr-xgettext-tools/tests/msgunfmt-java-116
1 files changed, 16 insertions, 0 deletions
diff --git a/gettext-tools/tests/msgunfmt-java-1 b/gettext-tools/tests/msgunfmt-java-1
index f2158c7..34e133c 100755
--- a/gettext-tools/tests/msgunfmt-java-1
+++ b/gettext-tools/tests/msgunfmt-java-1
@@ -43,6 +43,15 @@ msgstr[1] "{0,number} morceaux de gateau"
#, java-format
msgid "{0} is replaced by {1}."
msgstr "{1} remplace {0}."
+
+# A proximity measure.
+msgid "Close"
+msgstr "Proche"
+
+# A menu entry.
+msgctxt "File"
+msgid "Close"
+msgstr "Fermer"
EOF
tmpfiles="$tmpfiles prog_fr.class"
@@ -69,6 +78,13 @@ msgstr ""
msgid "'Your command, please?', asked the waiter."
msgstr "«Votre commande, s'il vous plait», dit le garçon."
+msgid "Close"
+msgstr "Proche"
+
+msgctxt "File"
+msgid "Close"
+msgstr "Fermer"
+
msgid "a piece of cake"
msgid_plural "{0,number} pieces of cake"
msgstr[0] "un morceau de gateau"