gettext 3.1.0 → 3.1.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 +11 -0
- data/lib/gettext/tools/msgcat.rb +34 -5
- data/lib/gettext/version.rb +1 -1
- data/locale/bg/LC_MESSAGES/gettext.mo +0 -0
- data/locale/bs/LC_MESSAGES/gettext.mo +0 -0
- data/locale/ca/LC_MESSAGES/gettext.mo +0 -0
- data/locale/cs/LC_MESSAGES/gettext.mo +0 -0
- data/locale/de/LC_MESSAGES/gettext.mo +0 -0
- data/locale/el/LC_MESSAGES/gettext.mo +0 -0
- data/locale/eo/LC_MESSAGES/gettext.mo +0 -0
- data/locale/es/LC_MESSAGES/gettext.mo +0 -0
- data/locale/et/LC_MESSAGES/gettext.mo +0 -0
- data/locale/fr/LC_MESSAGES/gettext.mo +0 -0
- data/locale/hr/LC_MESSAGES/gettext.mo +0 -0
- data/locale/hu/LC_MESSAGES/gettext.mo +0 -0
- data/locale/it/LC_MESSAGES/gettext.mo +0 -0
- data/locale/ja/LC_MESSAGES/gettext.mo +0 -0
- data/locale/ko/LC_MESSAGES/gettext.mo +0 -0
- data/locale/lv/LC_MESSAGES/gettext.mo +0 -0
- data/locale/nb/LC_MESSAGES/gettext.mo +0 -0
- data/locale/nl/LC_MESSAGES/gettext.mo +0 -0
- data/locale/pt_BR/LC_MESSAGES/gettext.mo +0 -0
- data/locale/ru/LC_MESSAGES/gettext.mo +0 -0
- data/locale/sr/LC_MESSAGES/gettext.mo +0 -0
- data/locale/sv/LC_MESSAGES/gettext.mo +0 -0
- data/locale/uk/LC_MESSAGES/gettext.mo +0 -0
- data/locale/vi/LC_MESSAGES/gettext.mo +0 -0
- data/locale/zh/LC_MESSAGES/gettext.mo +0 -0
- data/locale/zh_TW/LC_MESSAGES/gettext.mo +0 -0
- data/po/bg/gettext.po +45 -37
- data/po/bs/gettext.po +49 -41
- data/po/ca/gettext.po +45 -37
- data/po/cs/gettext.po +48 -40
- data/po/de/gettext.po +41 -33
- data/po/el/gettext.po +41 -33
- data/po/eo/gettext.po +41 -33
- data/po/es/gettext.po +41 -33
- data/po/et/gettext.po +41 -33
- data/po/fr/gettext.po +41 -33
- data/po/gettext.pot +30 -22
- data/po/hr/gettext.po +42 -34
- data/po/hu/gettext.po +41 -33
- data/po/it/gettext.po +42 -34
- data/po/ja/gettext.po +71 -90
- data/po/ko/gettext.po +42 -34
- data/po/lv/gettext.po +41 -33
- data/po/nb/gettext.po +41 -33
- data/po/nl/gettext.po +42 -34
- data/po/pt_BR/gettext.po +41 -33
- data/po/ru/gettext.po +41 -33
- data/po/sr/gettext.po +41 -33
- data/po/sv/gettext.po +45 -37
- data/po/uk/gettext.po +41 -33
- data/po/vi/gettext.po +41 -33
- data/po/zh/gettext.po +41 -33
- data/po/zh_TW/gettext.po +41 -33
- data/samples/cgi/locale/bg/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/bs/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/ca/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/cs/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/de/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/el/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/eo/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/es/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/fr/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/hr/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/hu/LC_MESSAGES/main.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/ca/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/ca/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ca/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/ca/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/ca/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ca/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/de/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/el/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/eo/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/eo/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/eo/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/eo/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/eo/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/eo/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/es/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/hu/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/it/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/ru/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/ru/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ru/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/ru/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/ru/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ru/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/sv/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/uk/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/uk/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/uk/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/uk/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/uk/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/uk/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/zh/LC_MESSAGES/hello_tk.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hello_gtk2.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hello_tk.mo +0 -0
- data/test/tools/test_msgcat.rb +66 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6741821529c4c4cc55c93e1efda37d839e71d0ca
|
4
|
+
data.tar.gz: 6aa173269374194da509a0cde6780ec93a5f5136
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cbcf73043b03806e72f00c8e443d799a0ad39737fc3803113a8a56f71fb86dab1420d72f3c77b30cd394bb67c7a6b9c8c1154f7e2b83c89107957bdd724868b
|
7
|
+
data.tar.gz: fdd63569ac73c011c194b7ecd1818a689c945466193e11e2023621833fede5fb5ada42b78c4ba31c98241a596bfe5ffdc402fb4d4f4eea8af4d286a452058853
|
data/doc/text/news.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## <a id="3-1-1">3.1.1</a>: 2014-02-23
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* `rmsgcat`: Added `--remove-header-field` option.
|
8
|
+
|
9
|
+
### Fixes
|
10
|
+
|
11
|
+
* `rmsgcat`: Fixed a bug that fuzzy entries are remained when
|
12
|
+
`--no-fuzzy` option is used with `--no-all-comments`.
|
13
|
+
|
3
14
|
## <a id="3-1-0">3.1.0</a>: 2014-02-09
|
4
15
|
|
5
16
|
### Improvements
|
data/lib/gettext/tools/msgcat.rb
CHANGED
@@ -82,7 +82,9 @@ module GetText
|
|
82
82
|
else
|
83
83
|
merged_entry = entry
|
84
84
|
end
|
85
|
-
|
85
|
+
next unless merged_entry
|
86
|
+
remove_header_fields!(merged_entry) if merged_entry.header?
|
87
|
+
@output_po[*id] = merged_entry
|
86
88
|
end
|
87
89
|
end
|
88
90
|
|
@@ -108,11 +110,27 @@ module GetText
|
|
108
110
|
end
|
109
111
|
|
110
112
|
def merge_fuzzy_entry(base_entry, new_entry)
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
113
|
+
return new_entry unless new_entry.fuzzy?
|
114
|
+
return nil unless @config.include_fuzzy?
|
115
|
+
base_entry
|
116
|
+
end
|
117
|
+
|
118
|
+
def remove_header_fields!(header_entry)
|
119
|
+
remove_header_fields = @config.remove_header_fields
|
120
|
+
return if remove_header_fields.empty?
|
121
|
+
msgstr = header_entry.msgstr
|
122
|
+
return if msgstr.nil?
|
123
|
+
|
124
|
+
new_msgstr = ""
|
125
|
+
msgstr.each_line do |line|
|
126
|
+
case line
|
127
|
+
when /\A([\w\d\-_]+):/
|
128
|
+
name = $1
|
129
|
+
next if remove_header_fields.include?(name)
|
130
|
+
end
|
131
|
+
new_msgstr << line
|
115
132
|
end
|
133
|
+
header_entry.msgstr = new_msgstr
|
116
134
|
end
|
117
135
|
end
|
118
136
|
|
@@ -145,6 +163,10 @@ module GetText
|
|
145
163
|
# (see output_obsolete_entries?)
|
146
164
|
attr_writer :output_obsolete_entries
|
147
165
|
|
166
|
+
# @return [Array<String>] The field names to be removed from
|
167
|
+
# header entry.
|
168
|
+
attr_reader :remove_header_fields
|
169
|
+
|
148
170
|
def initialize
|
149
171
|
@pos = []
|
150
172
|
@output = nil
|
@@ -155,6 +177,7 @@ module GetText
|
|
155
177
|
@include_fuzzy = true
|
156
178
|
@report_warning = true
|
157
179
|
@output_obsolete_entries = true
|
180
|
+
@remove_header_fields = []
|
158
181
|
end
|
159
182
|
|
160
183
|
# @return [Boolean] Whether includes fuzzy entries or not.
|
@@ -259,6 +282,12 @@ module GetText
|
|
259
282
|
@output_obsolete_entries = false
|
260
283
|
end
|
261
284
|
|
285
|
+
parser.on("--remove-header-field=FIELD",
|
286
|
+
_("Remove FIELD from header"),
|
287
|
+
_("Specify this option multiple times to remove multiple header fields")) do |field|
|
288
|
+
@remove_header_fields << field
|
289
|
+
end
|
290
|
+
|
262
291
|
parser
|
263
292
|
end
|
264
293
|
end
|
data/lib/gettext/version.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/po/bg/gettext.po
CHANGED
@@ -10,7 +10,7 @@ msgid ""
|
|
10
10
|
msgstr ""
|
11
11
|
"Project-Id-Version: ruby-gettext 2.1.0\n"
|
12
12
|
"Report-Msgid-Bugs-To: \n"
|
13
|
-
"POT-Creation-Date: 2014-02-
|
13
|
+
"POT-Creation-Date: 2014-02-23 22:20+0900\n"
|
14
14
|
"PO-Revision-Date: 2013-09-20 22:58+0900\n"
|
15
15
|
"Last-Translator: Sava Chankov <sava.chankov@gmail.com>\n"
|
16
16
|
"Language-Team: Bulgarian <ruby-on-rails-bulgaria@googlegroups.com>\n"
|
@@ -20,88 +20,100 @@ msgstr ""
|
|
20
20
|
"Content-Transfer-Encoding: 8bit\n"
|
21
21
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
22
22
|
|
23
|
-
#: ../lib/gettext/text_domain_manager.rb:
|
23
|
+
#: ../lib/gettext/text_domain_manager.rb:148
|
24
24
|
msgid "ngettext: 3rd parmeter is wrong: value = %{number}"
|
25
25
|
msgstr "Третият параметър е грешен: value = %{number}"
|
26
26
|
|
27
|
-
#: ../lib/gettext/text_domain_manager.rb:
|
27
|
+
#: ../lib/gettext/text_domain_manager.rb:154
|
28
28
|
msgid "ngettext: 3rd parameter should be a number, not nil."
|
29
29
|
msgstr ""
|
30
30
|
|
31
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
31
|
+
#: ../lib/gettext/tools/msgcat.rb:207
|
32
32
|
msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..."
|
33
33
|
msgstr ""
|
34
34
|
|
35
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
35
|
+
#: ../lib/gettext/tools/msgcat.rb:209
|
36
36
|
msgid "Concatenates and merges PO files."
|
37
37
|
msgstr ""
|
38
38
|
|
39
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
40
|
-
#: ../lib/gettext/tools/msginit.rb:92 ../lib/gettext/tools/msgmerge.rb:
|
39
|
+
#: ../lib/gettext/tools/msgcat.rb:211 ../lib/gettext/tools/msgfmt.rb:86
|
40
|
+
#: ../lib/gettext/tools/msginit.rb:92 ../lib/gettext/tools/msgmerge.rb:334
|
41
41
|
#: ../lib/gettext/tools/xgettext.rb:248
|
42
42
|
msgid "Specific options:"
|
43
43
|
msgstr "Специфични опции:"
|
44
44
|
|
45
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
45
|
+
#: ../lib/gettext/tools/msgcat.rb:214 ../lib/gettext/tools/msgmerge.rb:342
|
46
46
|
msgid "Write output to specified file"
|
47
47
|
msgstr "изходът беше записан в зададения файл"
|
48
48
|
|
49
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
49
|
+
#: ../lib/gettext/tools/msgcat.rb:215
|
50
50
|
msgid "(default: the standard output)"
|
51
51
|
msgstr ""
|
52
52
|
|
53
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
54
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
53
|
+
#: ../lib/gettext/tools/msgcat.rb:220 ../lib/gettext/tools/msgcat.rb:237
|
54
|
+
#: ../lib/gettext/tools/msgmerge.rb:347 ../lib/gettext/tools/msgmerge.rb:366
|
55
55
|
#: ../lib/gettext/tools/xgettext.rb:302
|
56
56
|
msgid "Sort output by msgid"
|
57
57
|
msgstr ""
|
58
58
|
|
59
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
60
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
59
|
+
#: ../lib/gettext/tools/msgcat.rb:225 ../lib/gettext/tools/msgcat.rb:230
|
60
|
+
#: ../lib/gettext/tools/msgmerge.rb:354 ../lib/gettext/tools/msgmerge.rb:361
|
61
61
|
msgid "Sort output by location"
|
62
62
|
msgstr ""
|
63
63
|
|
64
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
64
|
+
#: ../lib/gettext/tools/msgcat.rb:231 ../lib/gettext/tools/msgmerge.rb:355
|
65
65
|
msgid "It is same as --sort-by-location"
|
66
66
|
msgstr ""
|
67
67
|
|
68
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
69
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
68
|
+
#: ../lib/gettext/tools/msgcat.rb:232 ../lib/gettext/tools/msgcat.rb:239
|
69
|
+
#: ../lib/gettext/tools/msgmerge.rb:349 ../lib/gettext/tools/msgmerge.rb:356
|
70
70
|
msgid "Just for GNU gettext's msgcat compatibility"
|
71
71
|
msgstr ""
|
72
72
|
|
73
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
73
|
+
#: ../lib/gettext/tools/msgcat.rb:238 ../lib/gettext/tools/msgmerge.rb:348
|
74
74
|
msgid "It is same as --sort-by-msgid"
|
75
75
|
msgstr ""
|
76
76
|
|
77
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
77
|
+
#: ../lib/gettext/tools/msgcat.rb:244
|
78
78
|
msgid "Remove location information"
|
79
79
|
msgstr ""
|
80
80
|
|
81
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
81
|
+
#: ../lib/gettext/tools/msgcat.rb:249
|
82
82
|
msgid "Remove all comments"
|
83
83
|
msgstr ""
|
84
84
|
|
85
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
85
|
+
#: ../lib/gettext/tools/msgcat.rb:254 ../lib/gettext/tools/msgmerge.rb:376
|
86
86
|
#: ../lib/gettext/tools/xgettext.rb:312
|
87
87
|
msgid "Set output page width"
|
88
88
|
msgstr ""
|
89
89
|
|
90
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
90
|
+
#: ../lib/gettext/tools/msgcat.rb:260 ../lib/gettext/tools/msgmerge.rb:382
|
91
91
|
#: ../lib/gettext/tools/xgettext.rb:318
|
92
92
|
msgid ""
|
93
93
|
"Break long message lines, longer than the output page width, into several line"
|
94
94
|
"s"
|
95
95
|
msgstr ""
|
96
96
|
|
97
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
97
|
+
#: ../lib/gettext/tools/msgcat.rb:271
|
98
98
|
msgid "Ignore fuzzy entries"
|
99
99
|
msgstr ""
|
100
100
|
|
101
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
101
|
+
#: ../lib/gettext/tools/msgcat.rb:276
|
102
102
|
msgid "Don't report warning messages"
|
103
103
|
msgstr ""
|
104
104
|
|
105
|
+
#: ../lib/gettext/tools/msgcat.rb:281 ../lib/gettext/tools/msgmerge.rb:399
|
106
|
+
msgid "Don't output obsolete entries"
|
107
|
+
msgstr ""
|
108
|
+
|
109
|
+
#: ../lib/gettext/tools/msgcat.rb:286
|
110
|
+
msgid "Remove FIELD from header"
|
111
|
+
msgstr ""
|
112
|
+
|
113
|
+
#: ../lib/gettext/tools/msgcat.rb:287
|
114
|
+
msgid "Specify this option multiple times to remove multiple header fields"
|
115
|
+
msgstr ""
|
116
|
+
|
105
117
|
#: ../lib/gettext/tools/msgfmt.rb:65
|
106
118
|
msgid "no input files specified."
|
107
119
|
msgstr "няма зададени файлове"
|
@@ -158,7 +170,7 @@ msgstr ""
|
|
158
170
|
msgid "Use EMAIL as translator email address"
|
159
171
|
msgstr ""
|
160
172
|
|
161
|
-
#: ../lib/gettext/tools/msginit.rb:130 ../lib/gettext/tools/msgmerge.rb:
|
173
|
+
#: ../lib/gettext/tools/msginit.rb:130 ../lib/gettext/tools/msgmerge.rb:403
|
162
174
|
msgid "Display this help and exit"
|
163
175
|
msgstr ""
|
164
176
|
|
@@ -192,11 +204,11 @@ msgstr ""
|
|
192
204
|
msgid "Please enter your email address"
|
193
205
|
msgstr ""
|
194
206
|
|
195
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
207
|
+
#: ../lib/gettext/tools/msgmerge.rb:323
|
196
208
|
msgid "Usage: %s [OPTIONS] definition.po reference.pot"
|
197
209
|
msgstr ""
|
198
210
|
|
199
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
211
|
+
#: ../lib/gettext/tools/msgmerge.rb:326
|
200
212
|
msgid ""
|
201
213
|
"Merges two Uniforum style .po files together. The definition.po file is an exi"
|
202
214
|
"sting PO file with translations. The reference.pot file is the last created PO"
|
@@ -207,27 +219,23 @@ msgstr ""
|
|
207
219
|
"eference.pot е пресен PO файл с актуални референции към кода. reference.pot об"
|
208
220
|
"икновено е създаден от rgettext."
|
209
221
|
|
210
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
222
|
+
#: ../lib/gettext/tools/msgmerge.rb:337
|
211
223
|
msgid "Update definition.po"
|
212
224
|
msgstr ""
|
213
225
|
|
214
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
226
|
+
#: ../lib/gettext/tools/msgmerge.rb:371 ../lib/gettext/tools/xgettext.rb:307
|
215
227
|
msgid "Preserve '#: FILENAME:LINE' lines"
|
216
228
|
msgstr ""
|
217
229
|
|
218
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
230
|
+
#: ../lib/gettext/tools/msgmerge.rb:393
|
219
231
|
msgid "Disable fuzzy matching"
|
220
232
|
msgstr ""
|
221
233
|
|
222
|
-
#: ../lib/gettext/tools/msgmerge.rb:389
|
223
|
-
msgid "(enable)"
|
224
|
-
msgstr ""
|
225
|
-
|
226
234
|
#: ../lib/gettext/tools/msgmerge.rb:394
|
227
|
-
msgid "
|
235
|
+
msgid "(enable)"
|
228
236
|
msgstr ""
|
229
237
|
|
230
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
238
|
+
#: ../lib/gettext/tools/msgmerge.rb:409
|
231
239
|
msgid "Display version information and exit"
|
232
240
|
msgstr "показване на версията и изход"
|
233
241
|
|
@@ -368,11 +376,11 @@ msgid "hello, gtk world"
|
|
368
376
|
msgstr ""
|
369
377
|
|
370
378
|
#: ../samples/hello_noop.rb:13
|
371
|
-
msgid "Hello
|
379
|
+
msgid "Hello World"
|
372
380
|
msgstr ""
|
373
381
|
|
374
382
|
#: ../samples/hello_noop.rb:13
|
375
|
-
msgid "Hello
|
383
|
+
msgid "Hello World2"
|
376
384
|
msgstr ""
|
377
385
|
|
378
386
|
#: ../samples/hello_plural.rb:20
|
data/po/bs/gettext.po
CHANGED
@@ -10,7 +10,7 @@ msgid ""
|
|
10
10
|
msgstr ""
|
11
11
|
"Project-Id-Version: ruby-gettext 2.1.0\n"
|
12
12
|
"Report-Msgid-Bugs-To: \n"
|
13
|
-
"POT-Creation-Date: 2014-02-
|
13
|
+
"POT-Creation-Date: 2014-02-23 22:20+0900\n"
|
14
14
|
"PO-Revision-Date: 2013-09-20 22:58+0900\n"
|
15
15
|
"Last-Translator: Sanjin Sehic <saserr@gmail.com>\n"
|
16
16
|
"Language-Team: Bosnian <saserr@gmail.com>\n"
|
@@ -22,88 +22,100 @@ msgstr ""
|
|
22
22
|
" && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
23
23
|
"X-Generator: KBabel 1.11.4\n"
|
24
24
|
|
25
|
-
#: ../lib/gettext/text_domain_manager.rb:
|
25
|
+
#: ../lib/gettext/text_domain_manager.rb:148
|
26
26
|
msgid "ngettext: 3rd parmeter is wrong: value = %{number}"
|
27
27
|
msgstr ""
|
28
28
|
|
29
|
-
#: ../lib/gettext/text_domain_manager.rb:
|
29
|
+
#: ../lib/gettext/text_domain_manager.rb:154
|
30
30
|
msgid "ngettext: 3rd parameter should be a number, not nil."
|
31
31
|
msgstr ""
|
32
32
|
|
33
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
33
|
+
#: ../lib/gettext/tools/msgcat.rb:207
|
34
34
|
msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..."
|
35
35
|
msgstr ""
|
36
36
|
|
37
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
37
|
+
#: ../lib/gettext/tools/msgcat.rb:209
|
38
38
|
msgid "Concatenates and merges PO files."
|
39
39
|
msgstr ""
|
40
40
|
|
41
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
42
|
-
#: ../lib/gettext/tools/msginit.rb:92 ../lib/gettext/tools/msgmerge.rb:
|
41
|
+
#: ../lib/gettext/tools/msgcat.rb:211 ../lib/gettext/tools/msgfmt.rb:86
|
42
|
+
#: ../lib/gettext/tools/msginit.rb:92 ../lib/gettext/tools/msgmerge.rb:334
|
43
43
|
#: ../lib/gettext/tools/xgettext.rb:248
|
44
44
|
msgid "Specific options:"
|
45
45
|
msgstr "Specifične opcije:"
|
46
46
|
|
47
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
47
|
+
#: ../lib/gettext/tools/msgcat.rb:214 ../lib/gettext/tools/msgmerge.rb:342
|
48
48
|
msgid "Write output to specified file"
|
49
49
|
msgstr "zapiši izlaz u specifičnu datoteku"
|
50
50
|
|
51
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
51
|
+
#: ../lib/gettext/tools/msgcat.rb:215
|
52
52
|
msgid "(default: the standard output)"
|
53
53
|
msgstr ""
|
54
54
|
|
55
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
56
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
55
|
+
#: ../lib/gettext/tools/msgcat.rb:220 ../lib/gettext/tools/msgcat.rb:237
|
56
|
+
#: ../lib/gettext/tools/msgmerge.rb:347 ../lib/gettext/tools/msgmerge.rb:366
|
57
57
|
#: ../lib/gettext/tools/xgettext.rb:302
|
58
58
|
msgid "Sort output by msgid"
|
59
59
|
msgstr ""
|
60
60
|
|
61
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
62
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
61
|
+
#: ../lib/gettext/tools/msgcat.rb:225 ../lib/gettext/tools/msgcat.rb:230
|
62
|
+
#: ../lib/gettext/tools/msgmerge.rb:354 ../lib/gettext/tools/msgmerge.rb:361
|
63
63
|
msgid "Sort output by location"
|
64
64
|
msgstr ""
|
65
65
|
|
66
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
66
|
+
#: ../lib/gettext/tools/msgcat.rb:231 ../lib/gettext/tools/msgmerge.rb:355
|
67
67
|
msgid "It is same as --sort-by-location"
|
68
68
|
msgstr ""
|
69
69
|
|
70
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
71
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
70
|
+
#: ../lib/gettext/tools/msgcat.rb:232 ../lib/gettext/tools/msgcat.rb:239
|
71
|
+
#: ../lib/gettext/tools/msgmerge.rb:349 ../lib/gettext/tools/msgmerge.rb:356
|
72
72
|
msgid "Just for GNU gettext's msgcat compatibility"
|
73
73
|
msgstr ""
|
74
74
|
|
75
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
75
|
+
#: ../lib/gettext/tools/msgcat.rb:238 ../lib/gettext/tools/msgmerge.rb:348
|
76
76
|
msgid "It is same as --sort-by-msgid"
|
77
77
|
msgstr ""
|
78
78
|
|
79
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
79
|
+
#: ../lib/gettext/tools/msgcat.rb:244
|
80
80
|
msgid "Remove location information"
|
81
81
|
msgstr ""
|
82
82
|
|
83
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
83
|
+
#: ../lib/gettext/tools/msgcat.rb:249
|
84
84
|
msgid "Remove all comments"
|
85
85
|
msgstr ""
|
86
86
|
|
87
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
87
|
+
#: ../lib/gettext/tools/msgcat.rb:254 ../lib/gettext/tools/msgmerge.rb:376
|
88
88
|
#: ../lib/gettext/tools/xgettext.rb:312
|
89
89
|
msgid "Set output page width"
|
90
90
|
msgstr ""
|
91
91
|
|
92
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
92
|
+
#: ../lib/gettext/tools/msgcat.rb:260 ../lib/gettext/tools/msgmerge.rb:382
|
93
93
|
#: ../lib/gettext/tools/xgettext.rb:318
|
94
94
|
msgid ""
|
95
95
|
"Break long message lines, longer than the output page width, into several line"
|
96
96
|
"s"
|
97
97
|
msgstr ""
|
98
98
|
|
99
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
99
|
+
#: ../lib/gettext/tools/msgcat.rb:271
|
100
100
|
msgid "Ignore fuzzy entries"
|
101
101
|
msgstr ""
|
102
102
|
|
103
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
103
|
+
#: ../lib/gettext/tools/msgcat.rb:276
|
104
104
|
msgid "Don't report warning messages"
|
105
105
|
msgstr ""
|
106
106
|
|
107
|
+
#: ../lib/gettext/tools/msgcat.rb:281 ../lib/gettext/tools/msgmerge.rb:399
|
108
|
+
msgid "Don't output obsolete entries"
|
109
|
+
msgstr ""
|
110
|
+
|
111
|
+
#: ../lib/gettext/tools/msgcat.rb:286
|
112
|
+
msgid "Remove FIELD from header"
|
113
|
+
msgstr ""
|
114
|
+
|
115
|
+
#: ../lib/gettext/tools/msgcat.rb:287
|
116
|
+
msgid "Specify this option multiple times to remove multiple header fields"
|
117
|
+
msgstr ""
|
118
|
+
|
107
119
|
#: ../lib/gettext/tools/msgfmt.rb:65
|
108
120
|
msgid "no input files specified."
|
109
121
|
msgstr "nema ulaznih datoteka"
|
@@ -160,7 +172,7 @@ msgstr ""
|
|
160
172
|
msgid "Use EMAIL as translator email address"
|
161
173
|
msgstr ""
|
162
174
|
|
163
|
-
#: ../lib/gettext/tools/msginit.rb:130 ../lib/gettext/tools/msgmerge.rb:
|
175
|
+
#: ../lib/gettext/tools/msginit.rb:130 ../lib/gettext/tools/msgmerge.rb:403
|
164
176
|
msgid "Display this help and exit"
|
165
177
|
msgstr ""
|
166
178
|
|
@@ -194,11 +206,16 @@ msgstr ""
|
|
194
206
|
msgid "Please enter your email address"
|
195
207
|
msgstr ""
|
196
208
|
|
197
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
209
|
+
#: ../lib/gettext/tools/msgmerge.rb:323
|
198
210
|
msgid "Usage: %s [OPTIONS] definition.po reference.pot"
|
199
211
|
msgstr ""
|
200
212
|
|
201
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
213
|
+
#: ../lib/gettext/tools/msgmerge.rb:323
|
214
|
+
#, fuzzy
|
215
|
+
msgid "Display version information and exit"
|
216
|
+
msgstr "prikaži informaciju o verziji i završi"
|
217
|
+
|
218
|
+
#: ../lib/gettext/tools/msgmerge.rb:326
|
202
219
|
msgid ""
|
203
220
|
"Merges two Uniforum style .po files together. The definition.po file is an exi"
|
204
221
|
"sting PO file with translations. The reference.pot file is the last created PO"
|
@@ -210,29 +227,20 @@ msgstr ""
|
|
210
227
|
"teka sa najnovijim referencama koda. reference.pot je najčešće napravljen sa r"
|
211
228
|
"gettext."
|
212
229
|
|
213
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
214
|
-
#, fuzzy
|
215
|
-
msgid "Display version information and exit"
|
216
|
-
msgstr "prikaži informaciju o verziji i završi"
|
217
|
-
|
218
|
-
#: ../lib/gettext/tools/msgmerge.rb:332
|
230
|
+
#: ../lib/gettext/tools/msgmerge.rb:337
|
219
231
|
msgid "Update definition.po"
|
220
232
|
msgstr ""
|
221
233
|
|
222
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
234
|
+
#: ../lib/gettext/tools/msgmerge.rb:371 ../lib/gettext/tools/xgettext.rb:307
|
223
235
|
msgid "Preserve '#: FILENAME:LINE' lines"
|
224
236
|
msgstr ""
|
225
237
|
|
226
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
238
|
+
#: ../lib/gettext/tools/msgmerge.rb:393
|
227
239
|
msgid "Disable fuzzy matching"
|
228
240
|
msgstr ""
|
229
241
|
|
230
|
-
#: ../lib/gettext/tools/msgmerge.rb:389
|
231
|
-
msgid "(enable)"
|
232
|
-
msgstr ""
|
233
|
-
|
234
242
|
#: ../lib/gettext/tools/msgmerge.rb:394
|
235
|
-
msgid "
|
243
|
+
msgid "(enable)"
|
236
244
|
msgstr ""
|
237
245
|
|
238
246
|
#: ../lib/gettext/tools/parser/glade.rb:32
|
@@ -374,11 +382,11 @@ msgid "hello, gtk world"
|
|
374
382
|
msgstr ""
|
375
383
|
|
376
384
|
#: ../samples/hello_noop.rb:13
|
377
|
-
msgid "Hello
|
385
|
+
msgid "Hello World"
|
378
386
|
msgstr ""
|
379
387
|
|
380
388
|
#: ../samples/hello_noop.rb:13
|
381
|
-
msgid "Hello
|
389
|
+
msgid "Hello World2"
|
382
390
|
msgstr ""
|
383
391
|
|
384
392
|
#: ../samples/hello_plural.rb:20
|