gettext_activerecord 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/COPYING +55 -0
- data/ChangeLog +4 -0
- data/README.rdoc +172 -0
- data/Rakefile +110 -0
- data/data/locale/bg/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/bs/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/ca/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/cs/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/de/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/el/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/eo/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/es/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/et/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/hr/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/hu/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/it/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/lv/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/nb/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/nl/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/ru/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/sr/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/ua/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/vi/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/zh/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/data/locale/zh_TW/LC_MESSAGES/gettext_activerecord.mo +0 -0
- data/lib/gettext_activerecord/base.rb +66 -0
- data/lib/gettext_activerecord/i18n.rb +27 -0
- data/lib/gettext_activerecord/migration.rb +16 -0
- data/lib/gettext_activerecord/parser.rb +216 -0
- data/lib/gettext_activerecord/schema_definitions.rb +28 -0
- data/lib/gettext_activerecord/tools.rb +25 -0
- data/lib/gettext_activerecord/validations.rb +189 -0
- data/lib/gettext_activerecord/version.rb +12 -0
- data/lib/gettext_activerecord.rb +19 -0
- data/po/bg/gettext_activerecord.po +115 -0
- data/po/bs/gettext_activerecord.po +125 -0
- data/po/ca/gettext_activerecord.po +116 -0
- data/po/cs/gettext_activerecord.po +124 -0
- data/po/de/gettext_activerecord.po +117 -0
- data/po/el/gettext_activerecord.po +115 -0
- data/po/eo/gettext_activerecord.po +116 -0
- data/po/es/gettext_activerecord.po +116 -0
- data/po/et/gettext_activerecord.po +116 -0
- data/po/fr/gettext_activerecord.po +118 -0
- data/po/gettext_activerecord.pot +113 -0
- data/po/hr/gettext_activerecord.po +125 -0
- data/po/hu/gettext_activerecord.po +116 -0
- data/po/it/gettext_activerecord.po +122 -0
- data/po/ja/gettext_activerecord.po +116 -0
- data/po/ko/gettext_activerecord.po +123 -0
- data/po/lv/gettext_activerecord.po +116 -0
- data/po/nb/gettext_activerecord.po +117 -0
- data/po/nl/gettext_activerecord.po +123 -0
- data/po/pt_BR/gettext_activerecord.po +117 -0
- data/po/ru/gettext_activerecord.po +117 -0
- data/po/sr/gettext_activerecord.po +117 -0
- data/po/test.rb +8 -0
- data/po/ua/gettext_activerecord.po +120 -0
- data/po/vi/gettext_activerecord.po +116 -0
- data/po/zh/gettext_activerecord.po +119 -0
- data/po/zh_TW/gettext_activerecord.po +119 -0
- data/replace.rb +21 -0
- data/sample/README.rdoc +9 -0
- data/sample/Rakefile +32 -0
- data/sample/book.rb +3 -0
- data/sample/config/database.yml +3 -0
- data/sample/data/locale/ja/LC_MESSAGES/sample_ar.mo +0 -0
- data/sample/db/development.sqlite3 +0 -0
- data/sample/db/schema.rb +5 -0
- data/sample/locale/ja/LC_MESSAGES/sample_ar.mo +0 -0
- data/sample/po/ja/sample_ar.po +29 -0
- data/sample/po/sample_ar.pot +29 -0
- data/sample/sample.rb +22 -0
- data/test/Rakefile +43 -0
- data/test/db/migrate.rb +41 -0
- data/test/db/sqlite.rb +8 -0
- data/test/helper.rb +38 -0
- data/test/locale/ja/LC_MESSAGES/active_record.mo +0 -0
- data/test/models/book.rb +3 -0
- data/test/models/developer.rb +5 -0
- data/test/models/inept_wizard.rb +3 -0
- data/test/models/reply.rb +40 -0
- data/test/models/topic.rb +68 -0
- data/test/models/user.rb +3 -0
- data/test/models/wizard.rb +5 -0
- data/test/po/active_record.pot +388 -0
- data/test/po/ja/active_record.po +387 -0
- data/test/test_parser.rb +95 -0
- data/test/test_validations.rb +2575 -0
- data/test/vendor/repair_helper.rb +50 -0
- data/test.rb +2 -0
- metadata +268 -0
@@ -0,0 +1,388 @@
|
|
1
|
+
# SOME DESCRIPTIVE TITLE.
|
2
|
+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
+
# This file is distributed under the same license as the PACKAGE package.
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
|
+
#
|
6
|
+
#, fuzzy
|
7
|
+
msgid ""
|
8
|
+
msgstr ""
|
9
|
+
"Project-Id-Version: active_record 1.0.0\n"
|
10
|
+
"POT-Creation-Date: 2009-02-16 02:51+0900\n"
|
11
|
+
"PO-Revision-Date: 2006-08-09 01:51+0900\n"
|
12
|
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13
|
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14
|
+
"MIME-Version: 1.0\n"
|
15
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
16
|
+
"Content-Transfer-Encoding: 8bit\n"
|
17
|
+
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
18
|
+
|
19
|
+
#: fixtures/developer.rb:-
|
20
|
+
msgid "developer"
|
21
|
+
msgstr ""
|
22
|
+
|
23
|
+
#: fixtures/developer.rb:-
|
24
|
+
msgid "Developer|Name"
|
25
|
+
msgstr ""
|
26
|
+
|
27
|
+
#: fixtures/developer.rb:-
|
28
|
+
msgid "Developer|Salary"
|
29
|
+
msgstr ""
|
30
|
+
|
31
|
+
#: fixtures/developer.rb:-
|
32
|
+
msgid "Developer|Created at"
|
33
|
+
msgstr ""
|
34
|
+
|
35
|
+
#: fixtures/developer.rb:-
|
36
|
+
msgid "Developer|Updated at"
|
37
|
+
msgstr ""
|
38
|
+
|
39
|
+
#: fixtures/developer.rb:2
|
40
|
+
msgid "Developer|Non existent"
|
41
|
+
msgstr ""
|
42
|
+
|
43
|
+
#: fixtures/topic.rb:- fixtures/reply.rb:-
|
44
|
+
msgid "topic"
|
45
|
+
msgstr ""
|
46
|
+
|
47
|
+
#: fixtures/topic.rb:-
|
48
|
+
msgid "Topic|Title"
|
49
|
+
msgstr ""
|
50
|
+
|
51
|
+
#: fixtures/topic.rb:-
|
52
|
+
msgid "Topic|Author name"
|
53
|
+
msgstr ""
|
54
|
+
|
55
|
+
#: fixtures/topic.rb:-
|
56
|
+
msgid "Topic|Author email address"
|
57
|
+
msgstr ""
|
58
|
+
|
59
|
+
#: fixtures/topic.rb:-
|
60
|
+
msgid "Topic|Written on"
|
61
|
+
msgstr ""
|
62
|
+
|
63
|
+
#: fixtures/topic.rb:-
|
64
|
+
msgid "Topic|Bonus time"
|
65
|
+
msgstr ""
|
66
|
+
|
67
|
+
#: fixtures/topic.rb:-
|
68
|
+
msgid "Topic|Last read"
|
69
|
+
msgstr ""
|
70
|
+
|
71
|
+
#: fixtures/topic.rb:-
|
72
|
+
msgid "Topic|Content"
|
73
|
+
msgstr ""
|
74
|
+
|
75
|
+
#: fixtures/topic.rb:-
|
76
|
+
msgid "Topic|Approved"
|
77
|
+
msgstr ""
|
78
|
+
|
79
|
+
#: fixtures/topic.rb:-
|
80
|
+
msgid "Topic|Replies count"
|
81
|
+
msgstr ""
|
82
|
+
|
83
|
+
#: fixtures/topic.rb:-
|
84
|
+
msgid "Topic|Parent"
|
85
|
+
msgstr ""
|
86
|
+
|
87
|
+
#: fixtures/topic.rb:-
|
88
|
+
msgid "Topic|Type"
|
89
|
+
msgstr ""
|
90
|
+
|
91
|
+
#: fixtures/topic.rb:35
|
92
|
+
msgid "Topic|Terms of service"
|
93
|
+
msgstr ""
|
94
|
+
|
95
|
+
#: fixtures/topic.rb:36 test_validations.rb:523
|
96
|
+
msgid "must be abided"
|
97
|
+
msgstr ""
|
98
|
+
|
99
|
+
#: fixtures/reply.rb:-
|
100
|
+
msgid "reply"
|
101
|
+
msgstr ""
|
102
|
+
|
103
|
+
#: fixtures/reply.rb:-
|
104
|
+
msgid "Reply|Title"
|
105
|
+
msgstr ""
|
106
|
+
|
107
|
+
#: fixtures/reply.rb:-
|
108
|
+
msgid "Reply|Author name"
|
109
|
+
msgstr ""
|
110
|
+
|
111
|
+
#: fixtures/reply.rb:-
|
112
|
+
msgid "Reply|Author email address"
|
113
|
+
msgstr ""
|
114
|
+
|
115
|
+
#: fixtures/reply.rb:-
|
116
|
+
msgid "Reply|Written on"
|
117
|
+
msgstr ""
|
118
|
+
|
119
|
+
#: fixtures/reply.rb:-
|
120
|
+
msgid "Reply|Bonus time"
|
121
|
+
msgstr ""
|
122
|
+
|
123
|
+
#: fixtures/reply.rb:-
|
124
|
+
msgid "Reply|Last read"
|
125
|
+
msgstr ""
|
126
|
+
|
127
|
+
#: fixtures/reply.rb:-
|
128
|
+
msgid "Reply|Content"
|
129
|
+
msgstr ""
|
130
|
+
|
131
|
+
#: fixtures/reply.rb:-
|
132
|
+
msgid "Reply|Approved"
|
133
|
+
msgstr ""
|
134
|
+
|
135
|
+
#: fixtures/reply.rb:-
|
136
|
+
msgid "Reply|Replies count"
|
137
|
+
msgstr ""
|
138
|
+
|
139
|
+
#: fixtures/reply.rb:-
|
140
|
+
msgid "Reply|Parent"
|
141
|
+
msgstr ""
|
142
|
+
|
143
|
+
#: fixtures/reply.rb:-
|
144
|
+
msgid "Reply|Type"
|
145
|
+
msgstr ""
|
146
|
+
|
147
|
+
#: fixtures/reply.rb:-
|
148
|
+
msgid "sillyreply"
|
149
|
+
msgstr ""
|
150
|
+
|
151
|
+
#: fixtures/reply.rb:-
|
152
|
+
msgid "SillyReply|Title"
|
153
|
+
msgstr ""
|
154
|
+
|
155
|
+
#: fixtures/reply.rb:-
|
156
|
+
msgid "SillyReply|Author name"
|
157
|
+
msgstr ""
|
158
|
+
|
159
|
+
#: fixtures/reply.rb:-
|
160
|
+
msgid "SillyReply|Author email address"
|
161
|
+
msgstr ""
|
162
|
+
|
163
|
+
#: fixtures/reply.rb:-
|
164
|
+
msgid "SillyReply|Written on"
|
165
|
+
msgstr ""
|
166
|
+
|
167
|
+
#: fixtures/reply.rb:-
|
168
|
+
msgid "SillyReply|Bonus time"
|
169
|
+
msgstr ""
|
170
|
+
|
171
|
+
#: fixtures/reply.rb:-
|
172
|
+
msgid "SillyReply|Last read"
|
173
|
+
msgstr ""
|
174
|
+
|
175
|
+
#: fixtures/reply.rb:-
|
176
|
+
msgid "SillyReply|Content"
|
177
|
+
msgstr ""
|
178
|
+
|
179
|
+
#: fixtures/reply.rb:-
|
180
|
+
msgid "SillyReply|Approved"
|
181
|
+
msgstr ""
|
182
|
+
|
183
|
+
#: fixtures/reply.rb:-
|
184
|
+
msgid "SillyReply|Replies count"
|
185
|
+
msgstr ""
|
186
|
+
|
187
|
+
#: fixtures/reply.rb:-
|
188
|
+
msgid "SillyReply|Parent"
|
189
|
+
msgstr ""
|
190
|
+
|
191
|
+
#: fixtures/reply.rb:-
|
192
|
+
msgid "SillyReply|Type"
|
193
|
+
msgstr ""
|
194
|
+
|
195
|
+
#: fixtures/reply.rb:4
|
196
|
+
msgid "Reply|Topic"
|
197
|
+
msgstr ""
|
198
|
+
|
199
|
+
#: fixtures/reply.rb:16 fixtures/reply.rb:20
|
200
|
+
msgid "Empty"
|
201
|
+
msgstr ""
|
202
|
+
|
203
|
+
#: fixtures/reply.rb:25
|
204
|
+
msgid "is Content Mismatch"
|
205
|
+
msgstr ""
|
206
|
+
|
207
|
+
#: fixtures/reply.rb:30
|
208
|
+
msgid "is Wrong Create"
|
209
|
+
msgstr ""
|
210
|
+
|
211
|
+
#: fixtures/reply.rb:34
|
212
|
+
msgid "is Wrong Update"
|
213
|
+
msgstr ""
|
214
|
+
|
215
|
+
#: test_validations.rb:-
|
216
|
+
msgid "course"
|
217
|
+
msgstr ""
|
218
|
+
|
219
|
+
#: test_validations.rb:-
|
220
|
+
msgid "inept wizard"
|
221
|
+
msgstr ""
|
222
|
+
|
223
|
+
#: test_validations.rb:-
|
224
|
+
msgid "IneptWizard|Name"
|
225
|
+
msgstr ""
|
226
|
+
|
227
|
+
#: test_validations.rb:-
|
228
|
+
msgid "IneptWizard|City"
|
229
|
+
msgstr ""
|
230
|
+
|
231
|
+
#: test_validations.rb:-
|
232
|
+
msgid "IneptWizard|Type"
|
233
|
+
msgstr ""
|
234
|
+
|
235
|
+
#: test_validations.rb:-
|
236
|
+
msgid "person"
|
237
|
+
msgstr ""
|
238
|
+
|
239
|
+
#: test_validations.rb:-
|
240
|
+
msgid "protectedperson"
|
241
|
+
msgstr ""
|
242
|
+
|
243
|
+
#: test_validations.rb:-
|
244
|
+
msgid "ProtectedPerson|First name"
|
245
|
+
msgstr ""
|
246
|
+
|
247
|
+
#: test_validations.rb:-
|
248
|
+
msgid "ProtectedPerson|Lock version"
|
249
|
+
msgstr ""
|
250
|
+
|
251
|
+
#: test_validations.rb:-
|
252
|
+
msgid "conjurer"
|
253
|
+
msgstr ""
|
254
|
+
|
255
|
+
#: test_validations.rb:-
|
256
|
+
msgid "Conjurer|Name"
|
257
|
+
msgstr ""
|
258
|
+
|
259
|
+
#: test_validations.rb:-
|
260
|
+
msgid "Conjurer|City"
|
261
|
+
msgstr ""
|
262
|
+
|
263
|
+
#: test_validations.rb:-
|
264
|
+
msgid "Conjurer|Type"
|
265
|
+
msgstr ""
|
266
|
+
|
267
|
+
#: test_validations.rb:-
|
268
|
+
msgid "thaumaturgist"
|
269
|
+
msgstr ""
|
270
|
+
|
271
|
+
#: test_validations.rb:-
|
272
|
+
msgid "Thaumaturgist|Name"
|
273
|
+
msgstr ""
|
274
|
+
|
275
|
+
#: test_validations.rb:-
|
276
|
+
msgid "Thaumaturgist|City"
|
277
|
+
msgstr ""
|
278
|
+
|
279
|
+
#: test_validations.rb:-
|
280
|
+
msgid "Thaumaturgist|Type"
|
281
|
+
msgstr ""
|
282
|
+
|
283
|
+
#: test_validations.rb:409
|
284
|
+
msgid "gotcha"
|
285
|
+
msgstr ""
|
286
|
+
|
287
|
+
#: test_validations.rb:501
|
288
|
+
msgid "%{fn} must be abided"
|
289
|
+
msgstr ""
|
290
|
+
|
291
|
+
#: test_validations.rb:719 test_validations.rb:773
|
292
|
+
msgid "%{fn} is bad data"
|
293
|
+
msgstr ""
|
294
|
+
|
295
|
+
#: test_validations.rb:740 test_validations.rb:825
|
296
|
+
msgid "is bad data"
|
297
|
+
msgstr ""
|
298
|
+
|
299
|
+
#: test_validations.rb:877
|
300
|
+
msgid "%{fn} can not be %{val}"
|
301
|
+
msgstr ""
|
302
|
+
|
303
|
+
#: test_validations.rb:891
|
304
|
+
msgid "can not be %{val}"
|
305
|
+
msgstr ""
|
306
|
+
|
307
|
+
#: test_validations.rb:939
|
308
|
+
msgid "%{fn} option %{val} is not in the list"
|
309
|
+
msgstr ""
|
310
|
+
|
311
|
+
#: test_validations.rb:961
|
312
|
+
msgid "option %{val} is not in the list"
|
313
|
+
msgstr ""
|
314
|
+
|
315
|
+
#: test_validations.rb:991
|
316
|
+
msgid "%{fn} option %{val} is restricted"
|
317
|
+
msgstr ""
|
318
|
+
|
319
|
+
#: test_validations.rb:1013
|
320
|
+
msgid "option %{val} is restricted"
|
321
|
+
msgstr ""
|
322
|
+
|
323
|
+
#: test_validations.rb:1129 test_validations.rb:1165
|
324
|
+
msgid "my string(%{fn}) is too short: %d"
|
325
|
+
msgstr ""
|
326
|
+
|
327
|
+
#: test_validations.rb:1129 test_validations.rb:1165
|
328
|
+
msgid "my string(%{fn}) is too long: %d"
|
329
|
+
msgstr ""
|
330
|
+
|
331
|
+
#: test_validations.rb:1147 test_validations.rb:1191
|
332
|
+
msgid "my string is too short: %d"
|
333
|
+
msgstr ""
|
334
|
+
|
335
|
+
#: test_validations.rb:1147 test_validations.rb:1191
|
336
|
+
msgid "my string is too long: %d"
|
337
|
+
msgstr ""
|
338
|
+
|
339
|
+
#: test_validations.rb:1250
|
340
|
+
msgid "%{fn} %d dayo"
|
341
|
+
msgstr ""
|
342
|
+
|
343
|
+
#: test_validations.rb:1267
|
344
|
+
msgid "%d dayo"
|
345
|
+
msgstr ""
|
346
|
+
|
347
|
+
#: test_validations.rb:1293 test_validations.rb:1327 test_validations.rb:1363
|
348
|
+
#: test_validations.rb:1398 test_validations.rb:1434 test_validations.rb:2009
|
349
|
+
#: test_validations.rb:2048 test_validations.rb:2111 test_validations.rb:2151
|
350
|
+
#: test_validations.rb:2177 test_validations.rb:2235 test_validations.rb:2274
|
351
|
+
msgid "%{fn} hoo %d"
|
352
|
+
msgstr ""
|
353
|
+
|
354
|
+
#: test_validations.rb:1310 test_validations.rb:1345 test_validations.rb:1381
|
355
|
+
#: test_validations.rb:1416 test_validations.rb:1451 test_validations.rb:1468
|
356
|
+
#: test_validations.rb:1485 test_validations.rb:2029 test_validations.rb:2067
|
357
|
+
#: test_validations.rb:2092 test_validations.rb:2131 test_validations.rb:2197
|
358
|
+
#: test_validations.rb:2217 test_validations.rb:2254 test_validations.rb:2294
|
359
|
+
msgid "hoo %d"
|
360
|
+
msgstr ""
|
361
|
+
|
362
|
+
#: test_validations.rb:1525
|
363
|
+
msgid "%{fn} will never be valid"
|
364
|
+
msgstr ""
|
365
|
+
|
366
|
+
#: test_validations.rb:1542
|
367
|
+
msgid "will never be valid"
|
368
|
+
msgstr ""
|
369
|
+
|
370
|
+
#: test_validations.rb:1566 test_validations.rb:1612 test_validations.rb:1695
|
371
|
+
#: test_validations.rb:1741 test_validations.rb:1780 test_validations.rb:1818
|
372
|
+
#: test_validations.rb:1863 test_validations.rb:1899 test_validations.rb:1946
|
373
|
+
msgid "%{fn} contains 'single' and \"double\" quotes"
|
374
|
+
msgstr ""
|
375
|
+
|
376
|
+
#: test_validations.rb:1589 test_validations.rb:1637 test_validations.rb:1718
|
377
|
+
#: test_validations.rb:1764 test_validations.rb:1802 test_validations.rb:1840
|
378
|
+
#: test_validations.rb:1886 test_validations.rb:1923 test_validations.rb:1977
|
379
|
+
msgid "This string contains 'single' and \"double\" quotes"
|
380
|
+
msgstr ""
|
381
|
+
|
382
|
+
#: test_validations.rb:2548
|
383
|
+
msgid "smaller than %{count}"
|
384
|
+
msgstr ""
|
385
|
+
|
386
|
+
#: test_validations.rb:2555
|
387
|
+
msgid "greater than %{count}"
|
388
|
+
msgstr ""
|