gettext 3.3.0 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +23 -0
- data/lib/gettext/tools/msginit.rb +5 -4
- data/lib/gettext/tools/parser/gtk_builder_ui_definitions.rb +129 -0
- data/lib/gettext/tools/parser/ruby.rb +48 -22
- data/lib/gettext/tools/xgettext.rb +6 -6
- data/lib/gettext/version.rb +1 -1
- data/locale/ja/LC_MESSAGES/gettext.mo +0 -0
- data/po/bg/gettext.edit.po +12 -4
- data/po/bg/gettext.po +7 -3
- data/po/bs/gettext.edit.po +12 -4
- data/po/bs/gettext.po +7 -3
- data/po/ca/gettext.edit.po +12 -4
- data/po/ca/gettext.po +7 -3
- data/po/cs/gettext.edit.po +12 -4
- data/po/cs/gettext.po +7 -3
- data/po/de/gettext.edit.po +12 -4
- data/po/de/gettext.po +7 -3
- data/po/el/gettext.edit.po +12 -4
- data/po/el/gettext.po +7 -3
- data/po/eo/gettext.edit.po +12 -4
- data/po/eo/gettext.po +7 -3
- data/po/es/gettext.edit.po +12 -4
- data/po/es/gettext.po +7 -3
- data/po/et/gettext.edit.po +12 -4
- data/po/et/gettext.po +7 -3
- data/po/fr/gettext.edit.po +12 -4
- data/po/fr/gettext.po +7 -3
- data/po/gettext.pot +15 -9
- data/po/hr/gettext.edit.po +12 -4
- data/po/hr/gettext.po +7 -3
- data/po/hu/gettext.edit.po +12 -4
- data/po/hu/gettext.po +7 -3
- data/po/it/gettext.edit.po +12 -4
- data/po/it/gettext.po +7 -3
- data/po/ja/gettext.edit.po +14 -6
- data/po/ja/gettext.po +9 -5
- data/po/ko/gettext.edit.po +12 -4
- data/po/ko/gettext.po +7 -3
- data/po/lv/gettext.edit.po +12 -4
- data/po/lv/gettext.po +7 -3
- data/po/nb/gettext.edit.po +12 -4
- data/po/nb/gettext.po +7 -3
- data/po/nl/gettext.edit.po +12 -4
- data/po/nl/gettext.po +7 -3
- data/po/pt_BR/gettext.edit.po +12 -4
- data/po/pt_BR/gettext.po +7 -3
- data/po/ru/gettext.edit.po +12 -4
- data/po/ru/gettext.po +7 -3
- data/po/sr/gettext.edit.po +12 -4
- data/po/sr/gettext.po +7 -3
- data/po/sv/gettext.edit.po +12 -4
- data/po/sv/gettext.po +7 -3
- data/po/uk/gettext.edit.po +12 -4
- data/po/uk/gettext.po +7 -3
- data/po/vi/gettext.edit.po +12 -4
- data/po/vi/gettext.po +7 -3
- data/po/zh/gettext.edit.po +12 -4
- data/po/zh/gettext.po +7 -3
- data/po/zh_TW/gettext.edit.po +12 -4
- data/po/zh_TW/gettext.po +7 -3
- data/samples/cgi/po/helloerb1.pot +3 -3
- data/samples/cgi/po/helloerb2.pot +3 -3
- data/samples/cgi/po/hellolib.pot +3 -3
- data/samples/cgi/po/main.pot +3 -3
- data/samples/po/hello.pot +3 -3
- data/samples/po/hello2.pot +4 -4
- data/samples/po/hello_glade2.pot +4 -4
- data/samples/po/hello_gtk2.pot +4 -4
- data/samples/po/hello_gtk_builder.pot +5 -4
- data/samples/po/hello_noop.pot +4 -4
- data/samples/po/hello_plural.pot +4 -4
- data/samples/po/hello_tk.pot +4 -4
- data/test/fixtures/_/backtick.rb +30 -0
- data/test/fixtures/_/block_parameter.rb +2 -2
- data/test/fixtures/_/double_quote_in_double_quote.rb +2 -2
- data/test/fixtures/_/double_quote_in_single_quote.rb +2 -2
- data/test/fixtures/_/literal_concatenation_with_continuation_line.rb +2 -2
- data/test/fixtures/_/middle_new_line.rb +2 -2
- data/test/fixtures/_/multiple_lines_literal.rb +2 -2
- data/test/fixtures/_/multiple_messages_in_same_line.rb +2 -2
- data/test/fixtures/_/multiple_same_messages.rb +2 -2
- data/test/fixtures/_/one_line.rb +2 -2
- data/test/fixtures/_/one_new_line.rb +2 -2
- data/test/{gettext-test-utils.rb → fixtures/_/percent_strings.rb} +21 -26
- data/test/fixtures/_/quoted_symbol.rb +34 -0
- data/test/fixtures/gtk_builder_ui_definitions.ui +68 -0
- data/test/fixtures/ns_/custom.rb +2 -2
- data/test/fixtures/s_/custom.rb +2 -2
- data/test/helper.rb +99 -0
- data/test/po/_.pot +2 -6
- data/test/po/backslash.pot +4 -6
- data/test/po/hello.pot +3 -3
- data/test/po/ja/_.edit.po +0 -4
- data/test/po/ja/hello.edit.po +1 -0
- data/test/po/non_ascii.pot +4 -4
- data/test/po/np_.pot +5 -8
- data/test/po/ns_.pot +4 -6
- data/test/po/p_.pot +3 -3
- data/test/po/s_.pot +4 -6
- data/test/po/untranslated.pot +4 -4
- data/test/run-test.rb +2 -2
- data/test/test_parser.rb +11 -10
- data/test/test_po_parser.rb +2 -2
- data/test/test_string.rb +1 -1
- data/test/tools/parser/test_gtk_builder_ui_definitions.rb +45 -0
- data/test/tools/parser/test_ruby.rb +26 -39
- data/test/tools/test_msgmerge.rb +3 -3
- data/test/tools/test_xgettext.rb +2 -2
- metadata +20 -14
data/po/zh/gettext.po
CHANGED
@@ -167,9 +167,7 @@ msgstr ""
|
|
167
167
|
msgid "file '%s' does not exist."
|
168
168
|
msgstr "文件'%s'已经存在。"
|
169
169
|
|
170
|
-
msgid ""
|
171
|
-
"Locale '#{language_tag}' is invalid. Please check if your specified locale is "
|
172
|
-
"usable."
|
170
|
+
msgid "Locale '%s' is invalid. Please check if your specified locale is usable."
|
173
171
|
msgstr ""
|
174
172
|
|
175
173
|
#, fuzzy
|
@@ -402,6 +400,9 @@ msgid ""
|
|
402
400
|
"Here document2\n"
|
403
401
|
msgstr ""
|
404
402
|
|
403
|
+
msgid "in_quote"
|
404
|
+
msgstr ""
|
405
|
+
|
405
406
|
#. TRANSLATORS: This is a proper name. See the gettext
|
406
407
|
#. manual, section Names. Note this is actually a non-ASCII
|
407
408
|
#. name: The first name is (with Unicode escapes)
|
@@ -456,6 +457,9 @@ msgid ""
|
|
456
457
|
"one new line\n"
|
457
458
|
msgstr ""
|
458
459
|
|
460
|
+
msgid "hello world"
|
461
|
+
msgstr ""
|
462
|
+
|
459
463
|
msgid "You should escape '\\' as '\\\\'."
|
460
464
|
msgstr ""
|
461
465
|
|
data/po/zh_TW/gettext.edit.po
CHANGED
@@ -200,19 +200,19 @@ msgid "file '%s' does not exist."
|
|
200
200
|
msgstr "檔案 '%s' 已經存在"
|
201
201
|
|
202
202
|
#: ../lib/gettext/tools/msginit.rb:171
|
203
|
-
msgid "Locale '
|
203
|
+
msgid "Locale '%s' is invalid. Please check if your specified locale is usable."
|
204
204
|
msgstr ""
|
205
205
|
|
206
|
-
#: ../lib/gettext/tools/msginit.rb:
|
206
|
+
#: ../lib/gettext/tools/msginit.rb:181
|
207
207
|
#, fuzzy
|
208
208
|
msgid "file '%s' has already existed."
|
209
209
|
msgstr "檔案 '%s' 已經存在"
|
210
210
|
|
211
|
-
#: ../lib/gettext/tools/msginit.rb:
|
211
|
+
#: ../lib/gettext/tools/msginit.rb:223
|
212
212
|
msgid "Please enter your full name"
|
213
213
|
msgstr ""
|
214
214
|
|
215
|
-
#: ../lib/gettext/tools/msginit.rb:
|
215
|
+
#: ../lib/gettext/tools/msginit.rb:252
|
216
216
|
msgid "Please enter your email address"
|
217
217
|
msgstr ""
|
218
218
|
|
@@ -482,6 +482,10 @@ msgid ""
|
|
482
482
|
"Here document2\n"
|
483
483
|
msgstr ""
|
484
484
|
|
485
|
+
#: ../test/fixtures/_.rb:109
|
486
|
+
msgid "in_quote"
|
487
|
+
msgstr ""
|
488
|
+
|
485
489
|
#. TRANSLATORS: This is a proper name. See the gettext
|
486
490
|
#. manual, section Names. Note this is actually a non-ASCII
|
487
491
|
#. name: The first name is (with Unicode escapes)
|
@@ -550,6 +554,10 @@ msgid ""
|
|
550
554
|
"one new line\n"
|
551
555
|
msgstr ""
|
552
556
|
|
557
|
+
#: ../test/fixtures/_/percent_strings.rb:34
|
558
|
+
msgid "hello world"
|
559
|
+
msgstr ""
|
560
|
+
|
553
561
|
#: ../test/fixtures/backslash.rb:27
|
554
562
|
msgid "You should escape '\\' as '\\\\'."
|
555
563
|
msgstr ""
|
data/po/zh_TW/gettext.po
CHANGED
@@ -166,9 +166,7 @@ msgstr ""
|
|
166
166
|
msgid "file '%s' does not exist."
|
167
167
|
msgstr "檔案 '%s' 已經存在"
|
168
168
|
|
169
|
-
msgid ""
|
170
|
-
"Locale '#{language_tag}' is invalid. Please check if your specified locale is "
|
171
|
-
"usable."
|
169
|
+
msgid "Locale '%s' is invalid. Please check if your specified locale is usable."
|
172
170
|
msgstr ""
|
173
171
|
|
174
172
|
#, fuzzy
|
@@ -401,6 +399,9 @@ msgid ""
|
|
401
399
|
"Here document2\n"
|
402
400
|
msgstr ""
|
403
401
|
|
402
|
+
msgid "in_quote"
|
403
|
+
msgstr ""
|
404
|
+
|
404
405
|
#. TRANSLATORS: This is a proper name. See the gettext
|
405
406
|
#. manual, section Names. Note this is actually a non-ASCII
|
406
407
|
#. name: The first name is (with Unicode escapes)
|
@@ -455,6 +456,9 @@ msgid ""
|
|
455
456
|
"one new line\n"
|
456
457
|
msgstr ""
|
457
458
|
|
459
|
+
msgid "hello world"
|
460
|
+
msgstr ""
|
461
|
+
|
458
462
|
msgid "You should escape '\\' as '\\\\'."
|
459
463
|
msgstr ""
|
460
464
|
|
@@ -6,10 +6,10 @@
|
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: helloerb1 3.
|
9
|
+
"Project-Id-Version: helloerb1 3.1.3\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date:
|
12
|
-
"PO-Revision-Date:
|
11
|
+
"POT-Creation-Date: 2014-07-09 14:27+0900\n"
|
12
|
+
"PO-Revision-Date: 2014-07-09 14:27+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
@@ -6,10 +6,10 @@
|
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: helloerb2 3.
|
9
|
+
"Project-Id-Version: helloerb2 3.1.3\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date:
|
12
|
-
"PO-Revision-Date:
|
11
|
+
"POT-Creation-Date: 2014-07-09 14:27+0900\n"
|
12
|
+
"PO-Revision-Date: 2014-07-09 14:27+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/samples/cgi/po/hellolib.pot
CHANGED
@@ -6,10 +6,10 @@
|
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: hellolib 3.
|
9
|
+
"Project-Id-Version: hellolib 3.1.3\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date:
|
12
|
-
"PO-Revision-Date:
|
11
|
+
"POT-Creation-Date: 2014-07-09 14:27+0900\n"
|
12
|
+
"PO-Revision-Date: 2014-07-09 14:27+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/samples/cgi/po/main.pot
CHANGED
@@ -6,10 +6,10 @@
|
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: main 3.
|
9
|
+
"Project-Id-Version: main 3.1.3\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date:
|
12
|
-
"PO-Revision-Date:
|
11
|
+
"POT-Creation-Date: 2014-07-09 14:27+0900\n"
|
12
|
+
"PO-Revision-Date: 2014-07-09 14:27+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/samples/po/hello.pot
CHANGED
@@ -6,10 +6,10 @@
|
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: hello 3.
|
9
|
+
"Project-Id-Version: hello 3.1.3\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date:
|
12
|
-
"PO-Revision-Date:
|
11
|
+
"POT-Creation-Date: 2014-07-09 15:14+0900\n"
|
12
|
+
"PO-Revision-Date: 2014-07-09 15:14+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/samples/po/hello2.pot
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# SOME DESCRIPTIVE TITLE.
|
2
2
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
-
# This file is distributed under the same license as the
|
3
|
+
# This file is distributed under the same license as the gettext package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version:
|
9
|
+
"Project-Id-Version: gettext 3.0.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date:
|
12
|
-
"PO-Revision-Date:
|
11
|
+
"POT-Creation-Date: 2013-09-02 23:40+0900\n"
|
12
|
+
"PO-Revision-Date: 2013-09-02 23:40+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/samples/po/hello_glade2.pot
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# SOME DESCRIPTIVE TITLE.
|
2
2
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
-
# This file is distributed under the same license as the
|
3
|
+
# This file is distributed under the same license as the gettext package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version:
|
9
|
+
"Project-Id-Version: gettext 2.3.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date:
|
12
|
-
"PO-Revision-Date:
|
11
|
+
"POT-Creation-Date: 2012-09-02 11:50+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-09-02 11:50+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/samples/po/hello_gtk2.pot
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# SOME DESCRIPTIVE TITLE.
|
2
2
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
-
# This file is distributed under the same license as the
|
3
|
+
# This file is distributed under the same license as the gettext package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version:
|
9
|
+
"Project-Id-Version: gettext 3.0.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date:
|
12
|
-
"PO-Revision-Date:
|
11
|
+
"POT-Creation-Date: 2013-09-02 23:40+0900\n"
|
12
|
+
"PO-Revision-Date: 2013-09-02 23:40+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
@@ -1,15 +1,15 @@
|
|
1
1
|
# SOME DESCRIPTIVE TITLE.
|
2
2
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
-
# This file is distributed under the same license as the
|
3
|
+
# This file is distributed under the same license as the gettext package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version:
|
9
|
+
"Project-Id-Version: gettext 3.0.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date:
|
12
|
-
"PO-Revision-Date:
|
11
|
+
"POT-Creation-Date: 2013-09-02 23:19+0900\n"
|
12
|
+
"PO-Revision-Date: 2013-09-02 23:19+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
@@ -17,3 +17,4 @@ msgstr ""
|
|
17
17
|
"Content-Type: text/plain; charset=UTF-8\n"
|
18
18
|
"Content-Transfer-Encoding: 8bit\n"
|
19
19
|
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
20
|
+
|
data/samples/po/hello_noop.pot
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# SOME DESCRIPTIVE TITLE.
|
2
2
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
-
# This file is distributed under the same license as the
|
3
|
+
# This file is distributed under the same license as the gettext package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version:
|
9
|
+
"Project-Id-Version: gettext 3.0.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date:
|
12
|
-
"PO-Revision-Date:
|
11
|
+
"POT-Creation-Date: 2013-09-02 23:40+0900\n"
|
12
|
+
"PO-Revision-Date: 2013-09-02 23:40+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/samples/po/hello_plural.pot
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# SOME DESCRIPTIVE TITLE.
|
2
2
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
-
# This file is distributed under the same license as the
|
3
|
+
# This file is distributed under the same license as the gettext package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version:
|
9
|
+
"Project-Id-Version: gettext 3.0.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date:
|
12
|
-
"PO-Revision-Date:
|
11
|
+
"POT-Creation-Date: 2013-09-02 23:40+0900\n"
|
12
|
+
"PO-Revision-Date: 2013-09-02 23:40+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/samples/po/hello_tk.pot
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# SOME DESCRIPTIVE TITLE.
|
2
2
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
-
# This file is distributed under the same license as the
|
3
|
+
# This file is distributed under the same license as the gettext package.
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version:
|
9
|
+
"Project-Id-Version: gettext 3.0.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date:
|
12
|
-
"PO-Revision-Date:
|
11
|
+
"POT-Creation-Date: 2013-09-02 23:40+0900\n"
|
12
|
+
"PO-Revision-Date: 2013-09-02 23:40+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Copyright (C) 2020 Kitaiti Makoto <KitaitiMakoto@gmail.com>
|
2
|
+
#
|
3
|
+
# License: Ruby's or LGPL
|
4
|
+
#
|
5
|
+
# This library is free software: you can redistribute it and/or modify
|
6
|
+
# it under the terms of the GNU Lesser General Public License as published by
|
7
|
+
# the Free Software Foundation, either version 3 of the License, or
|
8
|
+
# (at your option) any later version.
|
9
|
+
#
|
10
|
+
# This library is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13
|
+
# GNU Lesser General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU Lesser General Public License
|
16
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
|
+
|
18
|
+
module Fixtures
|
19
|
+
module Method_
|
20
|
+
class Backtick
|
21
|
+
include GetText
|
22
|
+
|
23
|
+
bindtextdomain("_", :path => Helper::Path.locale_path)
|
24
|
+
|
25
|
+
def backtick
|
26
|
+
_(`echo hello world`)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2017 Kouhei
|
1
|
+
# Copyright (C) 2017-2020 Sutou Kouhei <kou@clear-code.com>
|
2
2
|
#
|
3
3
|
# License: Ruby's or LGPL
|
4
4
|
#
|
@@ -20,7 +20,7 @@ module Fixtures
|
|
20
20
|
class BlockParameter
|
21
21
|
include GetText
|
22
22
|
|
23
|
-
bindtextdomain("_", :path =>
|
23
|
+
bindtextdomain("_", :path => Helper::Path.locale_path)
|
24
24
|
|
25
25
|
def message
|
26
26
|
message_generator = lambda do |_|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
|
-
# Copyright (C) 2013 Kouhei
|
3
|
+
# Copyright (C) 2013-2020 Sutou Kouhei <kou@clear-code.com>
|
4
4
|
#
|
5
5
|
# License: Ruby's or LGPL
|
6
6
|
#
|
@@ -22,7 +22,7 @@ module Fixtures
|
|
22
22
|
class DoubleQuoteInDoubleQuote
|
23
23
|
include GetText
|
24
24
|
|
25
|
-
bindtextdomain("_", :path =>
|
25
|
+
bindtextdomain("_", :path => Helper::Path.locale_path)
|
26
26
|
|
27
27
|
def message
|
28
28
|
_("double \"quote\" in double quote")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
|
-
# Copyright (C) 2013 Kouhei
|
3
|
+
# Copyright (C) 2013-2020 Sutou Kouhei <kou@clear-code.com>
|
4
4
|
#
|
5
5
|
# License: Ruby's or LGPL
|
6
6
|
#
|
@@ -22,7 +22,7 @@ module Fixtures
|
|
22
22
|
class DoubleQuoteInSingleQuote
|
23
23
|
include GetText
|
24
24
|
|
25
|
-
bindtextdomain("_", :path =>
|
25
|
+
bindtextdomain("_", :path => Helper::Path.locale_path)
|
26
26
|
|
27
27
|
def message
|
28
28
|
_('double "quote" in single quote')
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
|
-
# Copyright (C) 2013 Kouhei
|
3
|
+
# Copyright (C) 2013-2020 Sutou Kouhei <kou@clear-code.com>
|
4
4
|
#
|
5
5
|
# License: Ruby's or LGPL
|
6
6
|
#
|
@@ -22,7 +22,7 @@ module Fixtures
|
|
22
22
|
class LiteralConcatenationWithContinuationLine
|
23
23
|
include GetText
|
24
24
|
|
25
|
-
bindtextdomain("_", :path =>
|
25
|
+
bindtextdomain("_", :path => Helper::Path.locale_path)
|
26
26
|
|
27
27
|
def message
|
28
28
|
_("literal " \
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
#
|
3
|
-
# Copyright (C) 2013 Kouhei
|
3
|
+
# Copyright (C) 2013-2020 Sutou Kouhei <kou@clear-code.com>
|
4
4
|
#
|
5
5
|
# License: Ruby's or LGPL
|
6
6
|
#
|
@@ -22,7 +22,7 @@ module Fixtures
|
|
22
22
|
class MiddleNewLine
|
23
23
|
include GetText
|
24
24
|
|
25
|
-
bindtextdomain("_", :path =>
|
25
|
+
bindtextdomain("_", :path => Helper::Path.locale_path)
|
26
26
|
|
27
27
|
def message
|
28
28
|
_("middle\nnew line")
|