gettext 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.md +11 -0
  3. data/lib/gettext/tools/msgcat.rb +34 -5
  4. data/lib/gettext/version.rb +1 -1
  5. data/locale/bg/LC_MESSAGES/gettext.mo +0 -0
  6. data/locale/bs/LC_MESSAGES/gettext.mo +0 -0
  7. data/locale/ca/LC_MESSAGES/gettext.mo +0 -0
  8. data/locale/cs/LC_MESSAGES/gettext.mo +0 -0
  9. data/locale/de/LC_MESSAGES/gettext.mo +0 -0
  10. data/locale/el/LC_MESSAGES/gettext.mo +0 -0
  11. data/locale/eo/LC_MESSAGES/gettext.mo +0 -0
  12. data/locale/es/LC_MESSAGES/gettext.mo +0 -0
  13. data/locale/et/LC_MESSAGES/gettext.mo +0 -0
  14. data/locale/fr/LC_MESSAGES/gettext.mo +0 -0
  15. data/locale/hr/LC_MESSAGES/gettext.mo +0 -0
  16. data/locale/hu/LC_MESSAGES/gettext.mo +0 -0
  17. data/locale/it/LC_MESSAGES/gettext.mo +0 -0
  18. data/locale/ja/LC_MESSAGES/gettext.mo +0 -0
  19. data/locale/ko/LC_MESSAGES/gettext.mo +0 -0
  20. data/locale/lv/LC_MESSAGES/gettext.mo +0 -0
  21. data/locale/nb/LC_MESSAGES/gettext.mo +0 -0
  22. data/locale/nl/LC_MESSAGES/gettext.mo +0 -0
  23. data/locale/pt_BR/LC_MESSAGES/gettext.mo +0 -0
  24. data/locale/ru/LC_MESSAGES/gettext.mo +0 -0
  25. data/locale/sr/LC_MESSAGES/gettext.mo +0 -0
  26. data/locale/sv/LC_MESSAGES/gettext.mo +0 -0
  27. data/locale/uk/LC_MESSAGES/gettext.mo +0 -0
  28. data/locale/vi/LC_MESSAGES/gettext.mo +0 -0
  29. data/locale/zh/LC_MESSAGES/gettext.mo +0 -0
  30. data/locale/zh_TW/LC_MESSAGES/gettext.mo +0 -0
  31. data/po/bg/gettext.po +45 -37
  32. data/po/bs/gettext.po +49 -41
  33. data/po/ca/gettext.po +45 -37
  34. data/po/cs/gettext.po +48 -40
  35. data/po/de/gettext.po +41 -33
  36. data/po/el/gettext.po +41 -33
  37. data/po/eo/gettext.po +41 -33
  38. data/po/es/gettext.po +41 -33
  39. data/po/et/gettext.po +41 -33
  40. data/po/fr/gettext.po +41 -33
  41. data/po/gettext.pot +30 -22
  42. data/po/hr/gettext.po +42 -34
  43. data/po/hu/gettext.po +41 -33
  44. data/po/it/gettext.po +42 -34
  45. data/po/ja/gettext.po +71 -90
  46. data/po/ko/gettext.po +42 -34
  47. data/po/lv/gettext.po +41 -33
  48. data/po/nb/gettext.po +41 -33
  49. data/po/nl/gettext.po +42 -34
  50. data/po/pt_BR/gettext.po +41 -33
  51. data/po/ru/gettext.po +41 -33
  52. data/po/sr/gettext.po +41 -33
  53. data/po/sv/gettext.po +45 -37
  54. data/po/uk/gettext.po +41 -33
  55. data/po/vi/gettext.po +41 -33
  56. data/po/zh/gettext.po +41 -33
  57. data/po/zh_TW/gettext.po +41 -33
  58. data/samples/cgi/locale/bg/LC_MESSAGES/main.mo +0 -0
  59. data/samples/cgi/locale/bs/LC_MESSAGES/main.mo +0 -0
  60. data/samples/cgi/locale/ca/LC_MESSAGES/main.mo +0 -0
  61. data/samples/cgi/locale/cs/LC_MESSAGES/main.mo +0 -0
  62. data/samples/cgi/locale/de/LC_MESSAGES/main.mo +0 -0
  63. data/samples/cgi/locale/el/LC_MESSAGES/main.mo +0 -0
  64. data/samples/cgi/locale/eo/LC_MESSAGES/main.mo +0 -0
  65. data/samples/cgi/locale/es/LC_MESSAGES/main.mo +0 -0
  66. data/samples/cgi/locale/fr/LC_MESSAGES/main.mo +0 -0
  67. data/samples/cgi/locale/hr/LC_MESSAGES/main.mo +0 -0
  68. data/samples/cgi/locale/hu/LC_MESSAGES/main.mo +0 -0
  69. data/samples/locale/bg/LC_MESSAGES/hello.mo +0 -0
  70. data/samples/locale/bg/LC_MESSAGES/hello2.mo +0 -0
  71. data/samples/locale/bg/LC_MESSAGES/hello_gtk2.mo +0 -0
  72. data/samples/locale/bg/LC_MESSAGES/hello_noop.mo +0 -0
  73. data/samples/locale/bg/LC_MESSAGES/hello_plural.mo +0 -0
  74. data/samples/locale/bg/LC_MESSAGES/hello_tk.mo +0 -0
  75. data/samples/locale/bs/LC_MESSAGES/hello.mo +0 -0
  76. data/samples/locale/bs/LC_MESSAGES/hello2.mo +0 -0
  77. data/samples/locale/bs/LC_MESSAGES/hello_gtk2.mo +0 -0
  78. data/samples/locale/bs/LC_MESSAGES/hello_noop.mo +0 -0
  79. data/samples/locale/bs/LC_MESSAGES/hello_plural.mo +0 -0
  80. data/samples/locale/bs/LC_MESSAGES/hello_tk.mo +0 -0
  81. data/samples/locale/ca/LC_MESSAGES/hello.mo +0 -0
  82. data/samples/locale/ca/LC_MESSAGES/hello2.mo +0 -0
  83. data/samples/locale/ca/LC_MESSAGES/hello_gtk2.mo +0 -0
  84. data/samples/locale/ca/LC_MESSAGES/hello_noop.mo +0 -0
  85. data/samples/locale/ca/LC_MESSAGES/hello_plural.mo +0 -0
  86. data/samples/locale/ca/LC_MESSAGES/hello_tk.mo +0 -0
  87. data/samples/locale/cs/LC_MESSAGES/hello.mo +0 -0
  88. data/samples/locale/cs/LC_MESSAGES/hello2.mo +0 -0
  89. data/samples/locale/cs/LC_MESSAGES/hello_gtk2.mo +0 -0
  90. data/samples/locale/cs/LC_MESSAGES/hello_noop.mo +0 -0
  91. data/samples/locale/cs/LC_MESSAGES/hello_plural.mo +0 -0
  92. data/samples/locale/cs/LC_MESSAGES/hello_tk.mo +0 -0
  93. data/samples/locale/de/LC_MESSAGES/hello.mo +0 -0
  94. data/samples/locale/de/LC_MESSAGES/hello2.mo +0 -0
  95. data/samples/locale/de/LC_MESSAGES/hello_gtk2.mo +0 -0
  96. data/samples/locale/de/LC_MESSAGES/hello_noop.mo +0 -0
  97. data/samples/locale/de/LC_MESSAGES/hello_plural.mo +0 -0
  98. data/samples/locale/de/LC_MESSAGES/hello_tk.mo +0 -0
  99. data/samples/locale/el/LC_MESSAGES/hello.mo +0 -0
  100. data/samples/locale/el/LC_MESSAGES/hello2.mo +0 -0
  101. data/samples/locale/el/LC_MESSAGES/hello_gtk2.mo +0 -0
  102. data/samples/locale/el/LC_MESSAGES/hello_noop.mo +0 -0
  103. data/samples/locale/el/LC_MESSAGES/hello_plural.mo +0 -0
  104. data/samples/locale/el/LC_MESSAGES/hello_tk.mo +0 -0
  105. data/samples/locale/eo/LC_MESSAGES/hello.mo +0 -0
  106. data/samples/locale/eo/LC_MESSAGES/hello2.mo +0 -0
  107. data/samples/locale/eo/LC_MESSAGES/hello_gtk2.mo +0 -0
  108. data/samples/locale/eo/LC_MESSAGES/hello_noop.mo +0 -0
  109. data/samples/locale/eo/LC_MESSAGES/hello_plural.mo +0 -0
  110. data/samples/locale/eo/LC_MESSAGES/hello_tk.mo +0 -0
  111. data/samples/locale/es/LC_MESSAGES/hello.mo +0 -0
  112. data/samples/locale/es/LC_MESSAGES/hello2.mo +0 -0
  113. data/samples/locale/es/LC_MESSAGES/hello_gtk2.mo +0 -0
  114. data/samples/locale/es/LC_MESSAGES/hello_noop.mo +0 -0
  115. data/samples/locale/es/LC_MESSAGES/hello_plural.mo +0 -0
  116. data/samples/locale/es/LC_MESSAGES/hello_tk.mo +0 -0
  117. data/samples/locale/fr/LC_MESSAGES/hello.mo +0 -0
  118. data/samples/locale/fr/LC_MESSAGES/hello2.mo +0 -0
  119. data/samples/locale/fr/LC_MESSAGES/hello_gtk2.mo +0 -0
  120. data/samples/locale/fr/LC_MESSAGES/hello_noop.mo +0 -0
  121. data/samples/locale/fr/LC_MESSAGES/hello_plural.mo +0 -0
  122. data/samples/locale/fr/LC_MESSAGES/hello_tk.mo +0 -0
  123. data/samples/locale/hr/LC_MESSAGES/hello.mo +0 -0
  124. data/samples/locale/hr/LC_MESSAGES/hello2.mo +0 -0
  125. data/samples/locale/hr/LC_MESSAGES/hello_gtk2.mo +0 -0
  126. data/samples/locale/hr/LC_MESSAGES/hello_noop.mo +0 -0
  127. data/samples/locale/hr/LC_MESSAGES/hello_plural.mo +0 -0
  128. data/samples/locale/hr/LC_MESSAGES/hello_tk.mo +0 -0
  129. data/samples/locale/hu/LC_MESSAGES/hello.mo +0 -0
  130. data/samples/locale/hu/LC_MESSAGES/hello2.mo +0 -0
  131. data/samples/locale/hu/LC_MESSAGES/hello_gtk2.mo +0 -0
  132. data/samples/locale/hu/LC_MESSAGES/hello_noop.mo +0 -0
  133. data/samples/locale/hu/LC_MESSAGES/hello_plural.mo +0 -0
  134. data/samples/locale/hu/LC_MESSAGES/hello_tk.mo +0 -0
  135. data/samples/locale/it/LC_MESSAGES/hello.mo +0 -0
  136. data/samples/locale/it/LC_MESSAGES/hello2.mo +0 -0
  137. data/samples/locale/it/LC_MESSAGES/hello_gtk2.mo +0 -0
  138. data/samples/locale/it/LC_MESSAGES/hello_noop.mo +0 -0
  139. data/samples/locale/it/LC_MESSAGES/hello_plural.mo +0 -0
  140. data/samples/locale/it/LC_MESSAGES/hello_tk.mo +0 -0
  141. data/samples/locale/ja/LC_MESSAGES/hello.mo +0 -0
  142. data/samples/locale/ja/LC_MESSAGES/hello2.mo +0 -0
  143. data/samples/locale/ja/LC_MESSAGES/hello_gtk2.mo +0 -0
  144. data/samples/locale/ja/LC_MESSAGES/hello_noop.mo +0 -0
  145. data/samples/locale/ja/LC_MESSAGES/hello_plural.mo +0 -0
  146. data/samples/locale/ja/LC_MESSAGES/hello_tk.mo +0 -0
  147. data/samples/locale/ko/LC_MESSAGES/hello.mo +0 -0
  148. data/samples/locale/ko/LC_MESSAGES/hello2.mo +0 -0
  149. data/samples/locale/ko/LC_MESSAGES/hello_gtk2.mo +0 -0
  150. data/samples/locale/ko/LC_MESSAGES/hello_noop.mo +0 -0
  151. data/samples/locale/ko/LC_MESSAGES/hello_plural.mo +0 -0
  152. data/samples/locale/ko/LC_MESSAGES/hello_tk.mo +0 -0
  153. data/samples/locale/lv/LC_MESSAGES/hello.mo +0 -0
  154. data/samples/locale/lv/LC_MESSAGES/hello2.mo +0 -0
  155. data/samples/locale/lv/LC_MESSAGES/hello_gtk2.mo +0 -0
  156. data/samples/locale/lv/LC_MESSAGES/hello_noop.mo +0 -0
  157. data/samples/locale/lv/LC_MESSAGES/hello_plural.mo +0 -0
  158. data/samples/locale/lv/LC_MESSAGES/hello_tk.mo +0 -0
  159. data/samples/locale/nb/LC_MESSAGES/hello.mo +0 -0
  160. data/samples/locale/nb/LC_MESSAGES/hello2.mo +0 -0
  161. data/samples/locale/nb/LC_MESSAGES/hello_gtk2.mo +0 -0
  162. data/samples/locale/nb/LC_MESSAGES/hello_noop.mo +0 -0
  163. data/samples/locale/nb/LC_MESSAGES/hello_plural.mo +0 -0
  164. data/samples/locale/nb/LC_MESSAGES/hello_tk.mo +0 -0
  165. data/samples/locale/nl/LC_MESSAGES/hello.mo +0 -0
  166. data/samples/locale/nl/LC_MESSAGES/hello2.mo +0 -0
  167. data/samples/locale/nl/LC_MESSAGES/hello_gtk2.mo +0 -0
  168. data/samples/locale/nl/LC_MESSAGES/hello_noop.mo +0 -0
  169. data/samples/locale/nl/LC_MESSAGES/hello_plural.mo +0 -0
  170. data/samples/locale/nl/LC_MESSAGES/hello_tk.mo +0 -0
  171. data/samples/locale/pt_BR/LC_MESSAGES/hello.mo +0 -0
  172. data/samples/locale/pt_BR/LC_MESSAGES/hello2.mo +0 -0
  173. data/samples/locale/pt_BR/LC_MESSAGES/hello_gtk2.mo +0 -0
  174. data/samples/locale/pt_BR/LC_MESSAGES/hello_noop.mo +0 -0
  175. data/samples/locale/pt_BR/LC_MESSAGES/hello_plural.mo +0 -0
  176. data/samples/locale/pt_BR/LC_MESSAGES/hello_tk.mo +0 -0
  177. data/samples/locale/ru/LC_MESSAGES/hello.mo +0 -0
  178. data/samples/locale/ru/LC_MESSAGES/hello2.mo +0 -0
  179. data/samples/locale/ru/LC_MESSAGES/hello_gtk2.mo +0 -0
  180. data/samples/locale/ru/LC_MESSAGES/hello_noop.mo +0 -0
  181. data/samples/locale/ru/LC_MESSAGES/hello_plural.mo +0 -0
  182. data/samples/locale/ru/LC_MESSAGES/hello_tk.mo +0 -0
  183. data/samples/locale/sr/LC_MESSAGES/hello.mo +0 -0
  184. data/samples/locale/sr/LC_MESSAGES/hello2.mo +0 -0
  185. data/samples/locale/sr/LC_MESSAGES/hello_gtk2.mo +0 -0
  186. data/samples/locale/sr/LC_MESSAGES/hello_noop.mo +0 -0
  187. data/samples/locale/sr/LC_MESSAGES/hello_plural.mo +0 -0
  188. data/samples/locale/sr/LC_MESSAGES/hello_tk.mo +0 -0
  189. data/samples/locale/sv/LC_MESSAGES/hello.mo +0 -0
  190. data/samples/locale/sv/LC_MESSAGES/hello2.mo +0 -0
  191. data/samples/locale/sv/LC_MESSAGES/hello_gtk2.mo +0 -0
  192. data/samples/locale/sv/LC_MESSAGES/hello_noop.mo +0 -0
  193. data/samples/locale/sv/LC_MESSAGES/hello_plural.mo +0 -0
  194. data/samples/locale/sv/LC_MESSAGES/hello_tk.mo +0 -0
  195. data/samples/locale/uk/LC_MESSAGES/hello.mo +0 -0
  196. data/samples/locale/uk/LC_MESSAGES/hello2.mo +0 -0
  197. data/samples/locale/uk/LC_MESSAGES/hello_gtk2.mo +0 -0
  198. data/samples/locale/uk/LC_MESSAGES/hello_noop.mo +0 -0
  199. data/samples/locale/uk/LC_MESSAGES/hello_plural.mo +0 -0
  200. data/samples/locale/uk/LC_MESSAGES/hello_tk.mo +0 -0
  201. data/samples/locale/vi/LC_MESSAGES/hello.mo +0 -0
  202. data/samples/locale/vi/LC_MESSAGES/hello2.mo +0 -0
  203. data/samples/locale/vi/LC_MESSAGES/hello_gtk2.mo +0 -0
  204. data/samples/locale/vi/LC_MESSAGES/hello_noop.mo +0 -0
  205. data/samples/locale/vi/LC_MESSAGES/hello_plural.mo +0 -0
  206. data/samples/locale/vi/LC_MESSAGES/hello_tk.mo +0 -0
  207. data/samples/locale/zh/LC_MESSAGES/hello.mo +0 -0
  208. data/samples/locale/zh/LC_MESSAGES/hello2.mo +0 -0
  209. data/samples/locale/zh/LC_MESSAGES/hello_gtk2.mo +0 -0
  210. data/samples/locale/zh/LC_MESSAGES/hello_noop.mo +0 -0
  211. data/samples/locale/zh/LC_MESSAGES/hello_plural.mo +0 -0
  212. data/samples/locale/zh/LC_MESSAGES/hello_tk.mo +0 -0
  213. data/samples/locale/zh_TW/LC_MESSAGES/hello.mo +0 -0
  214. data/samples/locale/zh_TW/LC_MESSAGES/hello2.mo +0 -0
  215. data/samples/locale/zh_TW/LC_MESSAGES/hello_gtk2.mo +0 -0
  216. data/samples/locale/zh_TW/LC_MESSAGES/hello_noop.mo +0 -0
  217. data/samples/locale/zh_TW/LC_MESSAGES/hello_plural.mo +0 -0
  218. data/samples/locale/zh_TW/LC_MESSAGES/hello_tk.mo +0 -0
  219. data/test/tools/test_msgcat.rb +66 -3
  220. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a719015e637ff305554d5775941be1006078d16f
4
- data.tar.gz: cb71c4d53de15937a6bdb4d04b1fbfe14a4ba2e5
3
+ metadata.gz: 6741821529c4c4cc55c93e1efda37d839e71d0ca
4
+ data.tar.gz: 6aa173269374194da509a0cde6780ec93a5f5136
5
5
  SHA512:
6
- metadata.gz: 1e9d8304087408af8eb5a43cae49fb7fbd160d5d35b73f0e46f7705881077ed3bba0e2a70887c1e78dd0eadbeb956e6b03eeafa84ae7e736cdac47867b90c3fc
7
- data.tar.gz: 080412c95eb2def6cf02d5fd75aef62ad74a3321c61f96d83650fd2f4ca4b7bb727e5841a7380567fa5818107bf4c98280412150e2268a55200b3280480ff37d
6
+ metadata.gz: 6cbcf73043b03806e72f00c8e443d799a0ad39737fc3803113a8a56f71fb86dab1420d72f3c77b30cd394bb67c7a6b9c8c1154f7e2b83c89107957bdd724868b
7
+ data.tar.gz: fdd63569ac73c011c194b7ecd1818a689c945466193e11e2023621833fede5fb5ada42b78c4ba31c98241a596bfe5ffdc402fb4d4f4eea8af4d286a452058853
@@ -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
@@ -82,7 +82,9 @@ module GetText
82
82
  else
83
83
  merged_entry = entry
84
84
  end
85
- @output_po[*id] = merged_entry if merged_entry
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
- if new_entry.fuzzy?
112
- base_entry
113
- else
114
- new_entry
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
@@ -9,5 +9,5 @@
9
9
  =end
10
10
 
11
11
  module GetText
12
- VERSION = "3.1.0"
12
+ VERSION = "3.1.1"
13
13
  end
@@ -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-09 21:39+0900\n"
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:149
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:155
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:172
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:174
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:176 ../lib/gettext/tools/msgfmt.rb:86
40
- #: ../lib/gettext/tools/msginit.rb:92 ../lib/gettext/tools/msgmerge.rb:329
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:179 ../lib/gettext/tools/msgmerge.rb:337
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:180
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:185 ../lib/gettext/tools/msgcat.rb:202
54
- #: ../lib/gettext/tools/msgmerge.rb:342 ../lib/gettext/tools/msgmerge.rb:361
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:190 ../lib/gettext/tools/msgcat.rb:195
60
- #: ../lib/gettext/tools/msgmerge.rb:349 ../lib/gettext/tools/msgmerge.rb:356
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:196 ../lib/gettext/tools/msgmerge.rb:350
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:197 ../lib/gettext/tools/msgcat.rb:204
69
- #: ../lib/gettext/tools/msgmerge.rb:344 ../lib/gettext/tools/msgmerge.rb:351
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:203 ../lib/gettext/tools/msgmerge.rb:343
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:209
77
+ #: ../lib/gettext/tools/msgcat.rb:244
78
78
  msgid "Remove location information"
79
79
  msgstr ""
80
80
 
81
- #: ../lib/gettext/tools/msgcat.rb:214
81
+ #: ../lib/gettext/tools/msgcat.rb:249
82
82
  msgid "Remove all comments"
83
83
  msgstr ""
84
84
 
85
- #: ../lib/gettext/tools/msgcat.rb:219 ../lib/gettext/tools/msgmerge.rb:371
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:225 ../lib/gettext/tools/msgmerge.rb:377
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:236
97
+ #: ../lib/gettext/tools/msgcat.rb:271
98
98
  msgid "Ignore fuzzy entries"
99
99
  msgstr ""
100
100
 
101
- #: ../lib/gettext/tools/msgcat.rb:241
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:398
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:318
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:321
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:332
222
+ #: ../lib/gettext/tools/msgmerge.rb:337
211
223
  msgid "Update definition.po"
212
224
  msgstr ""
213
225
 
214
- #: ../lib/gettext/tools/msgmerge.rb:366 ../lib/gettext/tools/xgettext.rb:307
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:388
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 "Don't output obsolete entries"
235
+ msgid "(enable)"
228
236
  msgstr ""
229
237
 
230
- #: ../lib/gettext/tools/msgmerge.rb:404
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 World2"
379
+ msgid "Hello World"
372
380
  msgstr ""
373
381
 
374
382
  #: ../samples/hello_noop.rb:13
375
- msgid "Hello World"
383
+ msgid "Hello World2"
376
384
  msgstr ""
377
385
 
378
386
  #: ../samples/hello_plural.rb:20
@@ -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-09 21:39+0900\n"
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:149
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:155
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:172
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:174
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:176 ../lib/gettext/tools/msgfmt.rb:86
42
- #: ../lib/gettext/tools/msginit.rb:92 ../lib/gettext/tools/msgmerge.rb:329
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:179 ../lib/gettext/tools/msgmerge.rb:337
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:180
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:185 ../lib/gettext/tools/msgcat.rb:202
56
- #: ../lib/gettext/tools/msgmerge.rb:342 ../lib/gettext/tools/msgmerge.rb:361
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:190 ../lib/gettext/tools/msgcat.rb:195
62
- #: ../lib/gettext/tools/msgmerge.rb:349 ../lib/gettext/tools/msgmerge.rb:356
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:196 ../lib/gettext/tools/msgmerge.rb:350
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:197 ../lib/gettext/tools/msgcat.rb:204
71
- #: ../lib/gettext/tools/msgmerge.rb:344 ../lib/gettext/tools/msgmerge.rb:351
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:203 ../lib/gettext/tools/msgmerge.rb:343
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:209
79
+ #: ../lib/gettext/tools/msgcat.rb:244
80
80
  msgid "Remove location information"
81
81
  msgstr ""
82
82
 
83
- #: ../lib/gettext/tools/msgcat.rb:214
83
+ #: ../lib/gettext/tools/msgcat.rb:249
84
84
  msgid "Remove all comments"
85
85
  msgstr ""
86
86
 
87
- #: ../lib/gettext/tools/msgcat.rb:219 ../lib/gettext/tools/msgmerge.rb:371
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:225 ../lib/gettext/tools/msgmerge.rb:377
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:236
99
+ #: ../lib/gettext/tools/msgcat.rb:271
100
100
  msgid "Ignore fuzzy entries"
101
101
  msgstr ""
102
102
 
103
- #: ../lib/gettext/tools/msgcat.rb:241
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:398
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:318
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:321
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: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: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:366 ../lib/gettext/tools/xgettext.rb:307
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:388
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 "Don't output obsolete entries"
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 World2"
385
+ msgid "Hello World"
378
386
  msgstr ""
379
387
 
380
388
  #: ../samples/hello_noop.rb:13
381
- msgid "Hello World"
389
+ msgid "Hello World2"
382
390
  msgstr ""
383
391
 
384
392
  #: ../samples/hello_plural.rb:20