gettext 1.91.0 → 1.92.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/ChangeLog +111 -1
- data/NEWS +35 -0
- data/README +26 -24
- data/bin/rgettext +2 -2
- data/bin/rmsgfmt +2 -2
- data/bin/rmsgmerge +2 -2
- data/doc/classes/ActionView/Helpers/FormBuilder.html +11 -11
- data/doc/classes/ActionView/TemplateFinder.html +152 -0
- data/doc/classes/ActiveRecord/Base.html +87 -87
- data/doc/classes/ActiveRecord/ConnectionAdapters/Column.html +6 -6
- data/doc/classes/GetText.html +617 -491
- data/doc/classes/GetText/ActiveRecordParser.html +13 -13
- data/doc/classes/GetText/ErbContainer.html +12 -12
- data/doc/classes/GetText/ErbParser.html +6 -6
- data/doc/classes/GetText/NoboundTextDomainError.html +1 -1
- data/doc/classes/GetText/PoParser.html +11 -11
- data/doc/classes/GetText/Rails.html +20 -20
- data/doc/classes/GetText/RubyParser.html +5 -0
- data/doc/classes/GetText/TextDomain.html +53 -53
- data/doc/classes/GetText/TextDomainManager.html +54 -54
- data/doc/classes/Iconv.html +20 -20
- data/doc/classes/Locale.html +151 -151
- data/doc/classes/Locale/Object.html +92 -92
- data/doc/classes/Locale/SystemBase.html +32 -32
- data/doc/classes/Locale/SystemCGI.html +31 -31
- data/doc/classes/Locale/SystemWin32.html +6 -6
- data/doc/classes/MOFile.html +311 -293
- data/doc/classes/MOFile/HeaderRev1.html +150 -0
- data/doc/classes/Module.html +6 -6
- data/doc/created.rid +1 -1
- data/doc/files/ChangeLog.html +143 -2
- data/doc/files/README.html +31 -25
- data/doc/files/lib/gettext/active_record_rb.html +1 -1
- data/doc/files/lib/gettext/mo_rb.html +1 -1
- data/doc/files/lib/gettext/parser/active_record_rb.html +1 -1
- data/doc/files/lib/gettext/parser/ruby_rb.html +1 -1
- data/doc/files/lib/gettext/poparser_rb.html +1 -1
- data/doc/files/lib/gettext/rails_rb.html +1 -1
- data/doc/files/lib/gettext/rgettext_rb.html +1 -1
- data/doc/files/lib/gettext/rmsgfmt_rb.html +2 -1
- data/doc/files/lib/gettext/utils_rb.html +1 -1
- data/doc/files/lib/gettext/version_rb.html +1 -1
- data/doc/files/lib/gettext_rb.html +1 -1
- data/doc/fr_class_index.html +2 -0
- data/doc/fr_method_index.html +133 -129
- data/lib/gettext.rb +49 -7
- data/lib/gettext/active_record.rb +49 -4
- data/lib/gettext/mo.rb +39 -12
- data/lib/gettext/parser/active_record.rb +6 -4
- data/lib/gettext/parser/ruby.rb +11 -4
- data/lib/gettext/poparser.rb +81 -52
- data/lib/gettext/rails.rb +28 -11
- data/lib/gettext/rgettext.rb +6 -1
- data/lib/gettext/rmsgfmt.rb +3 -11
- data/lib/gettext/utils.rb +7 -3
- data/lib/gettext/version.rb +1 -1
- data/po/bs/rails.po +55 -20
- data/po/bs/rgettext.po +3 -3
- data/po/ca/rails.po +58 -31
- data/po/ca/rgettext.po +16 -18
- data/po/cs/rails.po +55 -20
- data/po/cs/rgettext.po +3 -3
- data/po/de/rails.po +55 -27
- data/po/de/rgettext.po +21 -22
- data/po/el/rails.po +60 -36
- data/po/el/rgettext.po +15 -17
- data/po/eo/rails.po +51 -23
- data/po/eo/rgettext.po +21 -20
- data/po/es/rails.po +57 -31
- data/po/es/rgettext.po +17 -18
- data/po/et/rails.po +55 -20
- data/po/fr/rails.po +56 -21
- data/po/fr/rgettext.po +3 -3
- data/po/hr/rails.po +55 -20
- data/po/hr/rgettext.po +3 -3
- data/po/hu/rails.po +54 -26
- data/po/hu/rgettext.po +18 -17
- data/po/it/rails.po +55 -20
- data/po/it/rgettext.po +3 -3
- data/po/ja/rails.po +54 -26
- data/po/ja/rgettext.po +17 -18
- data/po/ko/rails.po +56 -21
- data/po/ko/rgettext.po +3 -3
- data/po/lv/rails.po +155 -0
- data/po/lv/rgettext.po +137 -0
- data/po/nb/rails.po +61 -34
- data/po/nb/rgettext.po +22 -19
- data/po/nl/rails.po +56 -21
- data/po/nl/rgettext.po +3 -3
- data/po/pt_BR/rails.po +53 -26
- data/po/pt_BR/rgettext.po +19 -19
- data/po/rails.pot +44 -16
- data/po/rgettext.pot +3 -3
- data/po/ru/rails.po +62 -36
- data/po/ru/rgettext.po +19 -19
- data/po/sr/rails.po +87 -58
- data/po/sr/rgettext.po +38 -33
- data/po/sv/rgettext.po +3 -3
- data/po/ua/rails.po +62 -32
- data/po/ua/rgettext.po +19 -17
- data/po/vi/rails.po +56 -28
- data/po/vi/rgettext.po +35 -34
- data/po/zh/rails.po +52 -24
- data/po/zh/rgettext.po +22 -24
- data/po/zh_TW/rails.po +51 -23
- data/po/zh_TW/rgettext.po +16 -18
- data/samples/cgi/cookie.cgi +0 -0
- data/samples/cgi/helloerb1.cgi +0 -0
- data/samples/cgi/helloerb2.cgi +0 -0
- data/samples/cgi/http.rb +0 -0
- data/samples/cgi/index.cgi +0 -0
- data/samples/cgi/po/lv/helloerb1.po +65 -0
- data/samples/cgi/po/lv/helloerb2.po +52 -0
- data/samples/cgi/po/lv/hellolib.po +24 -0
- data/samples/cgi/po/lv/main.po +77 -0
- data/samples/cgi/po/nb/helloerb1.po +16 -14
- data/samples/cgi/po/nb/helloerb2.po +14 -12
- data/samples/cgi/po/nb/hellolib.po +9 -7
- data/samples/cgi/po/nb/main.po +20 -18
- data/samples/cgi/po/sr/helloerb1.po +8 -8
- data/samples/cgi/po/sr/helloerb2.po +6 -6
- data/samples/cgi/po/sr/hellolib.po +2 -2
- data/samples/cgi/po/sr/main.po +15 -15
- data/samples/cgi/po/ua/helloerb1.po +2 -2
- data/samples/cgi/po/ua/main.po +3 -3
- data/samples/hello_plural.rb +0 -0
- data/samples/makemo.rb +0 -0
- data/samples/po/lv/hello.po +24 -0
- data/samples/po/lv/hello2.po +32 -0
- data/samples/po/lv/hello_noop.po +28 -0
- data/samples/po/lv/hello_plural.po +26 -0
- data/samples/po/lv/helloglade2.po +38 -0
- data/samples/po/lv/hellogtk.po +24 -0
- data/samples/po/lv/hellotk.po +24 -0
- data/samples/po/nb/hello.po +9 -8
- data/samples/po/nb/hello2.po +9 -9
- data/samples/po/nb/hello_noop.po +10 -9
- data/samples/po/nb/hello_plural.po +10 -8
- data/samples/po/nb/helloglade2.po +10 -8
- data/samples/po/nb/hellogtk.po +9 -8
- data/samples/po/nb/hellotk.po +9 -7
- data/samples/po/sr/hello.po +2 -2
- data/samples/po/sr/hello2.po +4 -4
- data/samples/po/sr/hello_noop.po +3 -3
- data/samples/po/sr/hello_plural.po +3 -3
- data/samples/po/sr/helloglade2.po +4 -4
- data/samples/po/sr/hellogtk.po +2 -2
- data/samples/po/sr/hellotk.po +2 -2
- data/samples/po/ua/hello2.po +2 -2
- data/samples/po/ua/hello_plural.po +2 -2
- data/samples/rails/config/boot.rb +3 -2
- data/samples/rails/config/environment.rb +2 -3
- data/samples/rails/db/schema.rb +0 -0
- data/samples/rails/po/lv/blog.po +110 -0
- data/samples/rails/po/nb/blog.po +19 -15
- data/samples/rails/po/sr/blog.po +23 -23
- data/samples/rails/po/ua/blog.po +3 -3
- data/samples/rails/public/dispatch.cgi +0 -0
- data/samples/rails/public/dispatch.fcgi +0 -0
- data/samples/rails/public/dispatch.rb +0 -0
- data/samples/rails/public/javascripts/controls.js +1 -1
- data/samples/rails/public/javascripts/dragdrop.js +1 -1
- data/samples/rails/public/javascripts/effects.js +1 -1
- data/samples/rails/script/about +0 -0
- data/samples/rails/script/breakpointer +0 -0
- data/samples/rails/script/console +0 -0
- data/samples/rails/script/destroy +0 -0
- data/samples/rails/script/generate +0 -0
- data/samples/rails/script/performance/benchmarker +0 -0
- data/samples/rails/script/performance/profiler +0 -0
- data/samples/rails/script/plugin +0 -0
- data/samples/rails/script/process/reaper +0 -0
- data/samples/rails/script/process/spawner +0 -0
- data/samples/rails/script/process/spinner +0 -0
- data/samples/rails/script/runner +0 -0
- data/samples/rails/script/server +0 -0
- data/samples/rails/vendor/plugins/gettext/po/lv/gettext_plugin.po +28 -0
- data/samples/rails/vendor/plugins/gettext/po/nb/gettext_plugin.po +11 -8
- data/samples/rails/vendor/plugins/gettext/po/sr/gettext_plugin.po +5 -5
- data/src/poparser.ry +27 -6
- data/test/benchmark.rb +1 -1
- data/test/db/mysql.drop.sql +1 -0
- data/test/db/mysql.sql +13 -0
- data/test/fixtures/inept_wizard.rb +3 -0
- data/test/fixtures/people.yml +6 -0
- data/test/fixtures/topic.rb +30 -0
- data/test/fixtures/wizard.rb +5 -0
- data/test/po/active_record.pot +151 -66
- data/test/po/ja/active_record.po +177 -92
- data/test/po/ja/test_pgettext.po +41 -0
- data/test/rails/app/controllers/users_controller.rb +1 -0
- data/test/rails/app/views/articles/_form_fr.html.erb +1 -0
- data/test/rails/config/boot.rb +96 -32
- data/test/rails/config/environment.rb +3 -2
- data/test/rails/db/schema.rb +4 -4
- data/test/rails/public/dispatch.cgi +0 -0
- data/test/rails/public/dispatch.fcgi +0 -0
- data/test/rails/public/dispatch.rb +0 -0
- data/test/rails/public/javascripts/controls.js +484 -354
- data/test/rails/public/javascripts/dragdrop.js +88 -58
- data/test/rails/public/javascripts/effects.js +396 -364
- data/test/rails/public/javascripts/prototype.js +2817 -1107
- data/test/rails/script/about +0 -0
- data/test/rails/script/breakpointer +0 -0
- data/test/rails/script/console +0 -0
- data/test/rails/script/destroy +0 -0
- data/test/rails/script/generate +0 -0
- data/test/rails/script/performance/benchmarker +0 -0
- data/test/rails/script/performance/profiler +0 -0
- data/test/rails/script/plugin +0 -0
- data/test/rails/script/process/inspector +0 -0
- data/test/rails/script/process/reaper +0 -0
- data/test/rails/script/process/spawner +0 -0
- data/test/rails/script/runner +0 -0
- data/test/rails/script/server +0 -0
- data/test/rails/test/functional/articles_controller_test.rb +5 -0
- data/test/rails/test/result/en/create_error.html +3 -3
- data/test/rails/test/result/en/custom_error_message.html +3 -3
- data/test/rails/test/result/en/custom_error_message_with_plural.html +60 -60
- data/test/rails/test/result/en/multi_error_messages_for.html +6 -6
- data/test/rails/test/result/en/new.html +3 -3
- data/test/rails/test/result/fr/custom_error_message.html +3 -3
- data/test/rails/test/result/fr/custom_error_message_with_plural.html +60 -60
- data/test/rails/test/result/fr/new.html +23 -0
- data/test/rails/test/result/ja/create_error.html +3 -3
- data/test/rails/test/result/ja/custom_error_message.html +3 -3
- data/test/rails/test/result/ja/custom_error_message_with_plural.html +60 -60
- data/test/rails/test/result/ja/multi_error_messages_for.html +6 -6
- data/test/rails/test/result/ja/new.html +3 -3
- data/test/test.sh +2 -2
- data/test/test_active_record.rb +824 -20
- data/test/test_gettext.rb +34 -4
- data/test/test_java.sh +0 -0
- data/test/test_locale.rb +2 -2
- data/test/test_parser.rb +13 -2
- data/test/test_rails_caching.rb +11 -4
- data/test/testlib/pgettext.rb +33 -0
- metadata +32 -4
data/samples/rails/po/nb/blog.po
CHANGED
|
@@ -1,24 +1,27 @@
|
|
|
1
1
|
# GetText Sample Blog on RoR.
|
|
2
|
+
#
|
|
2
3
|
# Copyright (C) 2005,2006 Masao Mutoh
|
|
4
|
+
#
|
|
3
5
|
# This file is distributed under the same license as the Ruby-GetText-Package.
|
|
4
6
|
#
|
|
5
|
-
# Runar Ingebrigtsen <
|
|
7
|
+
# Runar Ingebrigtsen <EMAIL at ADDRESS>, 2008.
|
|
6
8
|
#
|
|
7
9
|
msgid ""
|
|
8
10
|
msgstr ""
|
|
9
11
|
"Project-Id-Version: blog 1.2.0\n"
|
|
12
|
+
"Report-Msgid-Bugs-To: \n"
|
|
10
13
|
"POT-Creation-Date: 2007-08-01 23:20+0900\n"
|
|
11
|
-
"PO-Revision-Date:
|
|
12
|
-
"Last-Translator:
|
|
13
|
-
"Language-Team: Norwegian
|
|
14
|
+
"PO-Revision-Date: 2008-07-14 16:21+0200\n"
|
|
15
|
+
"Last-Translator: Runar Ingebrigtsen <EMAIL at ADDRESS>\n"
|
|
16
|
+
"Language-Team: Norwegian/Bokmaal <LL at li.org>\n"
|
|
14
17
|
"MIME-Version: 1.0\n"
|
|
15
18
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
16
19
|
"Content-Transfer-Encoding: 8bit\n"
|
|
17
|
-
"Plural-Forms: nplurals=
|
|
20
|
+
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;"
|
|
18
21
|
|
|
19
22
|
#: app/helpers/blog_helper.rb:43
|
|
20
23
|
msgid "Ruby Links"
|
|
21
|
-
msgstr "
|
|
24
|
+
msgstr "Ruby-lenker"
|
|
22
25
|
|
|
23
26
|
#: app/helpers/blog_helper.rb:51
|
|
24
27
|
msgid "Old articles"
|
|
@@ -30,28 +33,28 @@ msgstr "artikkel"
|
|
|
30
33
|
|
|
31
34
|
#: app/models/article.rb:-
|
|
32
35
|
msgid "Article|Title"
|
|
33
|
-
msgstr "Tittel"
|
|
36
|
+
msgstr "Artikkel|Tittel"
|
|
34
37
|
|
|
35
38
|
#: app/models/article.rb:-
|
|
36
39
|
msgid "Article|Description"
|
|
37
|
-
msgstr "Beskrivelse"
|
|
40
|
+
msgstr "Artikkel|Beskrivelse"
|
|
38
41
|
|
|
39
42
|
#: app/models/article.rb:-
|
|
40
43
|
msgid "Article|Lastupdate"
|
|
41
|
-
msgstr "Siste oppdatering"
|
|
44
|
+
msgstr "Artikkel|Siste oppdatering"
|
|
42
45
|
|
|
43
46
|
#: app/controllers/blog_controller.rb:33
|
|
44
47
|
msgid "Article was successfully created."
|
|
45
|
-
msgstr "Artikkelen ble opprettet"
|
|
48
|
+
msgstr "Artikkelen ble opprettet uten problemer."
|
|
46
49
|
|
|
47
50
|
#: app/controllers/blog_controller.rb:47
|
|
48
51
|
msgid "Article was successfully updated."
|
|
49
|
-
msgstr "Artikkelen ble oppdatert"
|
|
52
|
+
msgstr "Artikkelen ble oppdatert uten problemer."
|
|
50
53
|
|
|
51
54
|
#: app/views/blog/show.rhtml:13 app/views/blog/list.rhtml:13
|
|
52
55
|
#: app/views/layouts/blog.rhtml:14
|
|
53
56
|
msgid "GetText Sample Blog on RoR"
|
|
54
|
-
msgstr "GetText eksempelblogg i
|
|
57
|
+
msgstr "GetText eksempelblogg i RoR"
|
|
55
58
|
|
|
56
59
|
#: app/views/blog/show.rhtml:16 app/views/blog/edit.rhtml:16
|
|
57
60
|
msgid "Edit"
|
|
@@ -72,7 +75,7 @@ msgstr "Opprett"
|
|
|
72
75
|
|
|
73
76
|
#: app/views/blog/list.rhtml:18
|
|
74
77
|
msgid "No articles were found."
|
|
75
|
-
msgstr "Ingen artikler funnet
|
|
78
|
+
msgstr "Ingen artikler ble funnet"
|
|
76
79
|
|
|
77
80
|
#: app/views/blog/edit.rhtml:12
|
|
78
81
|
msgid "Editing article"
|
|
@@ -84,7 +87,7 @@ msgstr "Vis"
|
|
|
84
87
|
|
|
85
88
|
#: app/views/blog/edit.rhtml:20
|
|
86
89
|
msgid "Destroy"
|
|
87
|
-
msgstr "
|
|
90
|
+
msgstr "Fjern"
|
|
88
91
|
|
|
89
92
|
#: app/views/blog/edit.rhtml:20
|
|
90
93
|
msgid "Are you sure?"
|
|
@@ -96,8 +99,9 @@ msgstr "Siste oppdatering"
|
|
|
96
99
|
|
|
97
100
|
#: app/views/blog/_form.rhtml:18
|
|
98
101
|
msgid "Title: Required."
|
|
99
|
-
msgstr "Tittel:
|
|
102
|
+
msgstr "Tittel: Påkrevet"
|
|
100
103
|
|
|
101
104
|
#: app/views/blog/_form.rhtml:21
|
|
102
105
|
msgid "Description: More than 10 characters."
|
|
103
106
|
msgstr "Beskrivelse: Mer enn 10 tegn."
|
|
107
|
+
|
data/samples/rails/po/sr/blog.po
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# GetText Sample Blog on RoR.
|
|
2
2
|
#
|
|
3
|
-
# Copyright (C) 2005
|
|
3
|
+
# Copyright (C) 2005,2006 Masao Mutoh
|
|
4
4
|
#
|
|
5
5
|
# This file is distributed under the same license as the Ruby-GetText-Package.
|
|
6
6
|
#
|
|
@@ -10,7 +10,7 @@ msgid ""
|
|
|
10
10
|
msgstr ""
|
|
11
11
|
"Project-Id-Version: blog 1.2.0\n"
|
|
12
12
|
"POT-Creation-Date: 2006-10-15 00:12+0900\n"
|
|
13
|
-
"PO-Revision-Date: 2008-05
|
|
13
|
+
"PO-Revision-Date: 2008-06-05 23:00+0200\n"
|
|
14
14
|
"Last-Translator: Slobodan Paunović <slobodan.paunovic at gmail.com>\n"
|
|
15
15
|
"Language-Team: Serbian\n"
|
|
16
16
|
"MIME-Version: 1.0\n"
|
|
@@ -21,86 +21,86 @@ msgstr ""
|
|
|
21
21
|
|
|
22
22
|
#: app/helpers/blog_helper.rb:43
|
|
23
23
|
msgid "Ruby Links"
|
|
24
|
-
msgstr "
|
|
24
|
+
msgstr "Руби линкови"
|
|
25
25
|
|
|
26
26
|
#: app/helpers/blog_helper.rb:51
|
|
27
27
|
msgid "Old articles"
|
|
28
|
-
msgstr "
|
|
28
|
+
msgstr "Стари чланци"
|
|
29
29
|
|
|
30
30
|
#: app/models/article.rb:-
|
|
31
31
|
msgid "article"
|
|
32
|
-
msgstr "
|
|
32
|
+
msgstr "чланак"
|
|
33
33
|
|
|
34
34
|
#: app/models/article.rb:-
|
|
35
35
|
msgid "Article|Title"
|
|
36
|
-
msgstr "
|
|
36
|
+
msgstr "Наслов"
|
|
37
37
|
|
|
38
38
|
#: app/models/article.rb:-
|
|
39
39
|
msgid "Article|Description"
|
|
40
|
-
msgstr "
|
|
40
|
+
msgstr "Опис"
|
|
41
41
|
|
|
42
42
|
#: app/models/article.rb:-
|
|
43
43
|
msgid "Article|Lastupdate"
|
|
44
|
-
msgstr "
|
|
44
|
+
msgstr "Последње ажурирање"
|
|
45
45
|
|
|
46
46
|
#: app/controllers/blog_controller.rb:33
|
|
47
47
|
msgid "Article was successfully created."
|
|
48
|
-
msgstr "
|
|
48
|
+
msgstr "Чланак је успешно креиран."
|
|
49
49
|
|
|
50
50
|
#: app/controllers/blog_controller.rb:47
|
|
51
51
|
msgid "Article was successfully updated."
|
|
52
|
-
msgstr "
|
|
52
|
+
msgstr "Чланак је успешно ажуриран."
|
|
53
53
|
|
|
54
54
|
#: app/views/blog/new.rhtml:13 app/views/blog/list.rhtml:15
|
|
55
55
|
msgid "New article"
|
|
56
|
-
msgstr "
|
|
56
|
+
msgstr "Нов чланак"
|
|
57
57
|
|
|
58
58
|
#: app/views/blog/new.rhtml:17
|
|
59
59
|
msgid "Create"
|
|
60
|
-
msgstr "
|
|
60
|
+
msgstr "Креирај"
|
|
61
61
|
|
|
62
62
|
#: app/views/blog/new.rhtml:20 app/views/blog/edit.rhtml:21
|
|
63
63
|
#: app/views/blog/show.rhtml:17
|
|
64
64
|
msgid "Back"
|
|
65
|
-
msgstr "
|
|
65
|
+
msgstr "Назад"
|
|
66
66
|
|
|
67
67
|
#: app/views/blog/_form.rhtml:16
|
|
68
68
|
msgid "Lastupdate"
|
|
69
|
-
msgstr "
|
|
69
|
+
msgstr "Последње ажурирање"
|
|
70
70
|
|
|
71
71
|
#: app/views/blog/_form.rhtml:18
|
|
72
72
|
msgid "Title: Required."
|
|
73
|
-
msgstr "
|
|
73
|
+
msgstr "Наслов: Обавезан."
|
|
74
74
|
|
|
75
75
|
#: app/views/blog/_form.rhtml:21
|
|
76
76
|
msgid "Description: More than 10 characters."
|
|
77
|
-
msgstr "
|
|
77
|
+
msgstr "Опис: Више од 10 карактера."
|
|
78
78
|
|
|
79
79
|
#: app/views/blog/list.rhtml:13 app/views/blog/show.rhtml:13
|
|
80
80
|
#: app/views/layouts/blog.rhtml:14
|
|
81
81
|
msgid "GetText Sample Blog on RoR"
|
|
82
|
-
msgstr "GetText
|
|
82
|
+
msgstr "GetText блог на RoR"
|
|
83
83
|
|
|
84
84
|
#: app/views/blog/list.rhtml:18
|
|
85
85
|
msgid "No articles were found."
|
|
86
|
-
msgstr "
|
|
86
|
+
msgstr "Није пронађен ни један чланак."
|
|
87
87
|
|
|
88
88
|
#: app/views/blog/edit.rhtml:12
|
|
89
89
|
msgid "Editing article"
|
|
90
|
-
msgstr "
|
|
90
|
+
msgstr "Измена чланка"
|
|
91
91
|
|
|
92
92
|
#: app/views/blog/edit.rhtml:16 app/views/blog/show.rhtml:16
|
|
93
93
|
msgid "Edit"
|
|
94
|
-
msgstr "
|
|
94
|
+
msgstr "Измени"
|
|
95
95
|
|
|
96
96
|
#: app/views/blog/edit.rhtml:19
|
|
97
97
|
msgid "Show"
|
|
98
|
-
msgstr "
|
|
98
|
+
msgstr "Прикажи"
|
|
99
99
|
|
|
100
100
|
#: app/views/blog/edit.rhtml:20
|
|
101
101
|
msgid "Destroy"
|
|
102
|
-
msgstr "
|
|
102
|
+
msgstr "Обриши"
|
|
103
103
|
|
|
104
104
|
#: app/views/blog/edit.rhtml:20
|
|
105
105
|
msgid "Are you sure?"
|
|
106
|
-
msgstr "
|
|
106
|
+
msgstr "Јесте ли сигурни?"
|
data/samples/rails/po/ua/blog.po
CHANGED
|
@@ -35,15 +35,15 @@ msgstr "стаття"
|
|
|
35
35
|
|
|
36
36
|
#: app/models/article.rb:-
|
|
37
37
|
msgid "Article|Title"
|
|
38
|
-
msgstr "
|
|
38
|
+
msgstr "Назва"
|
|
39
39
|
|
|
40
40
|
#: app/models/article.rb:-
|
|
41
41
|
msgid "Article|Description"
|
|
42
|
-
msgstr "
|
|
42
|
+
msgstr "Опис"
|
|
43
43
|
|
|
44
44
|
#: app/models/article.rb:-
|
|
45
45
|
msgid "Article|Lastupdate"
|
|
46
|
-
msgstr "
|
|
46
|
+
msgstr "Оновлена"
|
|
47
47
|
|
|
48
48
|
#: app/controllers/blog_controller.rb:33
|
|
49
49
|
msgid "Article was successfully created."
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (c) 2005-
|
|
1
|
+
// Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
|
|
2
2
|
// (c) 2005-2007 Ivan Krstic (http://blogs.law.harvard.edu/ivan)
|
|
3
3
|
// (c) 2005-2007 Jon Tirsen (http://www.tirsen.com)
|
|
4
4
|
// Contributors:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (c) 2005-
|
|
1
|
+
// Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
|
|
2
2
|
// (c) 2005-2007 Sammi Williams (http://www.oriontransfer.co.nz, sammi@oriontransfer.co.nz)
|
|
3
3
|
//
|
|
4
4
|
// script.aculo.us is freely distributable under the terms of an MIT-style license.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright (c) 2005-
|
|
1
|
+
// Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
|
|
2
2
|
// Contributors:
|
|
3
3
|
// Justin Palmer (http://encytemedia.com/)
|
|
4
4
|
// Mark Pilgrim (http://diveintomark.org/)
|
data/samples/rails/script/about
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/samples/rails/script/plugin
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/samples/rails/script/runner
CHANGED
|
File without changes
|
data/samples/rails/script/server
CHANGED
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# GetText Sample Blog on RoR.
|
|
2
|
+
#
|
|
3
|
+
# Copyright (C) 2005 Masao Mutoh
|
|
4
|
+
#
|
|
5
|
+
# This file is distributed under the same license as the Ruby-GetText-Package.
|
|
6
|
+
#
|
|
7
|
+
# Aivars Akots, 2008.
|
|
8
|
+
#
|
|
9
|
+
msgid ""
|
|
10
|
+
msgstr ""
|
|
11
|
+
"Project-Id-Version: gettext_plugin 1.2.0\n"
|
|
12
|
+
"POT-Creation-Date: 2006-05-31 02:06+0900\n"
|
|
13
|
+
"PO-Revision-Date: 2008-07-22 09:03+0200\n"
|
|
14
|
+
"Last-Translator: Aivars Akots <aivars.akots@gmail.com>\n"
|
|
15
|
+
"Language-Team: Latvian\n"
|
|
16
|
+
"MIME-Version: 1.0\n"
|
|
17
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
18
|
+
"Content-Transfer-Encoding: 8bit\n"
|
|
19
|
+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
|
|
20
|
+
|
|
21
|
+
#: lib/gettext_plugin.rb:18
|
|
22
|
+
msgid "Select locale"
|
|
23
|
+
msgstr "Izvēlies valodu"
|
|
24
|
+
|
|
25
|
+
#: lib/gettext_plugin.rb:30
|
|
26
|
+
msgid "Cookie "lang" is set: %s"
|
|
27
|
+
msgstr "Sīkdatne "lang" ir uzstādīta kā: %s"
|
|
28
|
+
|
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
# GetText Sample Blog on RoR.
|
|
2
|
+
#
|
|
2
3
|
# Copyright (C) 2005 Masao Mutoh
|
|
4
|
+
#
|
|
3
5
|
# This file is distributed under the same license as the Ruby-GetText-Package.
|
|
4
6
|
#
|
|
5
|
-
# Runar Ingebrigtsen <runar
|
|
7
|
+
# Runar Ingebrigtsen <runar@mopo.no>, 2008.
|
|
8
|
+
#
|
|
6
9
|
#
|
|
7
10
|
msgid ""
|
|
8
11
|
msgstr ""
|
|
9
12
|
"Project-Id-Version: gettext_plugin 1.2.0\n"
|
|
13
|
+
"Report-Msgid-Bugs-To: \n"
|
|
10
14
|
"POT-Creation-Date: 2006-05-31 02:06+0900\n"
|
|
11
|
-
"PO-Revision-Date:
|
|
12
|
-
"Last-Translator:
|
|
13
|
-
"Language-Team: Norwegian
|
|
15
|
+
"PO-Revision-Date: 2008-07-14 16:16+0200\n"
|
|
16
|
+
"Last-Translator: Runar Ingebrigtsen <runar@mopo.no>\n"
|
|
17
|
+
"Language-Team: Norwegian/Bokmaal <i18n-nb@lister.ping.uio.no>\n"
|
|
14
18
|
"MIME-Version: 1.0\n"
|
|
15
19
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
16
20
|
"Content-Transfer-Encoding: 8bit\n"
|
|
17
|
-
"Plural-Forms: nplurals=
|
|
18
|
-
|
|
21
|
+
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;"
|
|
19
22
|
|
|
20
23
|
#: lib/gettext_plugin.rb:18
|
|
21
24
|
msgid "Select locale"
|
|
22
|
-
msgstr "Velg
|
|
25
|
+
msgstr "Velg lokale"
|
|
23
26
|
|
|
24
27
|
#: lib/gettext_plugin.rb:30
|
|
25
28
|
msgid "Cookie "lang" is set: %s"
|
|
26
|
-
msgstr "Informasjonskapsel "
|
|
29
|
+
msgstr "Informasjonskapsel "Norsk/bokmål"·er satt:·%s"
|
|
27
30
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# GetText Sample Blog on RoR.
|
|
2
2
|
#
|
|
3
|
-
# Copyright (C) 2005
|
|
3
|
+
# Copyright (C) 2005 Masao Mutoh
|
|
4
4
|
#
|
|
5
5
|
# This file is distributed under the same license as the Ruby-GetText-Package.
|
|
6
6
|
#
|
|
@@ -10,7 +10,7 @@ msgid ""
|
|
|
10
10
|
msgstr ""
|
|
11
11
|
"Project-Id-Version: gettext_plugin 1.2.0\n"
|
|
12
12
|
"POT-Creation-Date: 2006-05-31 02:06+0900\n"
|
|
13
|
-
"PO-Revision-Date: 2008-05
|
|
13
|
+
"PO-Revision-Date: 2008-06-05 23:02+0200\n"
|
|
14
14
|
"Last-Translator: Slobodan Paunović <slobodan.paunovic at gmail.com>\n"
|
|
15
15
|
"Language-Team: Serbian\n"
|
|
16
16
|
"MIME-Version: 1.0\n"
|
|
@@ -21,8 +21,8 @@ msgstr ""
|
|
|
21
21
|
|
|
22
22
|
#: lib/gettext_plugin.rb:18
|
|
23
23
|
msgid "Select locale"
|
|
24
|
-
msgstr "
|
|
24
|
+
msgstr "Изаберите језик"
|
|
25
25
|
|
|
26
26
|
#: lib/gettext_plugin.rb:30
|
|
27
|
-
msgid "
|
|
28
|
-
msgstr "
|
|
27
|
+
msgid "Куки "lang" is set: %s"
|
|
28
|
+
msgstr "Куки "lang" је подешен: %s"
|
data/src/poparser.ry
CHANGED
|
@@ -1,24 +1,36 @@
|
|
|
1
1
|
#
|
|
2
2
|
# poparser.ry - ruby version of msgfmt
|
|
3
3
|
#
|
|
4
|
-
# Copyright (C) 2002-
|
|
4
|
+
# Copyright (C) 2002-2008 Masao Mutoh <mutoh@highway.ne.jp>
|
|
5
5
|
#
|
|
6
6
|
# You may redistribute it and/or modify it under the same
|
|
7
7
|
# license terms as Ruby.
|
|
8
8
|
|
|
9
9
|
class GetText::PoParser
|
|
10
|
-
|
|
11
|
-
token COMMENT MSGID MSGID_PLURAL MSGSTR STRING PLURAL_NUM
|
|
10
|
+
token COMMENT MSGID MSGCTXT MSGID_PLURAL MSGSTR STRING PLURAL_NUM
|
|
12
11
|
|
|
13
12
|
rule
|
|
14
13
|
|
|
15
14
|
msgfmt
|
|
16
15
|
: /* empty */
|
|
17
16
|
| msgfmt comment
|
|
17
|
+
| msgfmt msgctxt
|
|
18
18
|
| msgfmt message
|
|
19
19
|
;
|
|
20
20
|
|
|
21
|
+
msgctxt
|
|
22
|
+
: MSGCTXT string_list
|
|
23
|
+
{
|
|
24
|
+
@msgctxt = unescape(val[1]) + "\004"
|
|
25
|
+
}
|
|
26
|
+
;
|
|
27
|
+
|
|
21
28
|
message
|
|
29
|
+
: single_message
|
|
30
|
+
| plural_message
|
|
31
|
+
;
|
|
32
|
+
|
|
33
|
+
single_message
|
|
22
34
|
: MSGID string_list MSGSTR string_list
|
|
23
35
|
{
|
|
24
36
|
if @fuzzy and $ignore_fuzzy
|
|
@@ -30,11 +42,13 @@ class GetText::PoParser
|
|
|
30
42
|
end
|
|
31
43
|
@fuzzy = false
|
|
32
44
|
else
|
|
33
|
-
on_message(unescape(val[1]), unescape(val[3]))
|
|
45
|
+
on_message(@msgctxt + unescape(val[1]), unescape(val[3]))
|
|
34
46
|
end
|
|
35
47
|
result = ""
|
|
36
48
|
}
|
|
37
|
-
|
|
49
|
+
|
|
50
|
+
plural_message
|
|
51
|
+
: MSGID string_list MSGID_PLURAL string_list msgstr_plural
|
|
38
52
|
{
|
|
39
53
|
if @fuzzy and $ignore_fuzzy
|
|
40
54
|
if val[1] != ""
|
|
@@ -45,7 +59,7 @@ class GetText::PoParser
|
|
|
45
59
|
end
|
|
46
60
|
@fuzzy = false
|
|
47
61
|
else
|
|
48
|
-
on_message(unescape(val[1]) + "\000" + unescape(val[3]), unescape(val[4]))
|
|
62
|
+
on_message(@msgctxt + unescape(val[1]) + "\000" + unescape(val[3]), unescape(val[4]))
|
|
49
63
|
end
|
|
50
64
|
result = ""
|
|
51
65
|
}
|
|
@@ -106,13 +120,18 @@ end
|
|
|
106
120
|
@comments = []
|
|
107
121
|
@data = data
|
|
108
122
|
@fuzzy = false
|
|
123
|
+
@msgctxt = ""
|
|
109
124
|
$ignore_fuzzy = ignore_fuzzy
|
|
125
|
+
|
|
110
126
|
str.strip!
|
|
111
127
|
@q = []
|
|
112
128
|
until str.empty? do
|
|
113
129
|
case str
|
|
114
130
|
when /\A\s+/
|
|
115
131
|
str = $'
|
|
132
|
+
when /\Amsgctxt/
|
|
133
|
+
@q.push [:MSGCTXT, $&]
|
|
134
|
+
str = $'
|
|
116
135
|
when /\Amsgid_plural/
|
|
117
136
|
@q.push [:MSGID_PLURAL, $&]
|
|
118
137
|
str = $'
|
|
@@ -167,6 +186,7 @@ end
|
|
|
167
186
|
@data.set_comment(msgid, @comments.join("\n"))
|
|
168
187
|
end
|
|
169
188
|
@comments.clear
|
|
189
|
+
@msgctxt = ""
|
|
170
190
|
end
|
|
171
191
|
|
|
172
192
|
def on_comment(comment)
|
|
@@ -174,4 +194,5 @@ end
|
|
|
174
194
|
@comments << comment
|
|
175
195
|
end
|
|
176
196
|
|
|
197
|
+
|
|
177
198
|
---- footer
|