gettext 1.92.0 → 1.93.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 +52 -0
- data/NEWS +25 -0
- data/README +21 -18
- data/data/locale/bg/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/bg/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/bs/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/bs/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ca/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ca/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/cs/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/de/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/eo/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/eo/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/et/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/et/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/hr/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/hr/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/hu/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/hu/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/it/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/lv/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/lv/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/nb/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/nb/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ru/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ru/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/sr/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/sr/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ua/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ua/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/vi/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/vi/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/zh/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/zh/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/zh_TW/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/zh_TW/LC_MESSAGES/rgettext.mo +0 -0
- data/doc/classes/ActionView/Helpers/FormBuilder.html +11 -11
- data/doc/classes/ActionView/TemplateFinder.html +16 -16
- data/doc/classes/GetText.html +556 -521
- 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 +6 -6
- 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/Locale/Object.html +177 -173
- data/doc/classes/Locale/SystemBase.html +32 -32
- data/doc/classes/Locale/SystemCGI.html +31 -31
- data/doc/classes/Locale/SystemPosix.html +50 -0
- data/doc/classes/Locale/SystemWin32.html +6 -6
- data/doc/created.rid +1 -1
- data/doc/files/ChangeLog.html +69 -1
- data/doc/files/README.html +27 -19
- data/doc/files/lib/gettext/parser/ruby_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/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/files/lib/locale/object_rb.html +1 -1
- data/doc/files/lib/locale/posix_rb.html +1 -1
- data/doc/fr_method_index.html +94 -92
- data/lib/gettext.rb +27 -6
- data/lib/gettext/parser/ruby.rb +9 -2
- data/lib/gettext/rails.rb +11 -6
- data/lib/gettext/rgettext.rb +9 -8
- data/lib/gettext/utils.rb +18 -4
- data/lib/gettext/version.rb +1 -1
- data/lib/locale/object.rb +10 -6
- data/lib/locale/posix.rb +15 -1
- data/po/bg/rails.po +169 -0
- data/po/bg/rgettext.po +146 -0
- data/po/bs/rails.po +34 -34
- data/po/bs/rgettext.po +23 -17
- data/po/ca/rails.po +34 -34
- data/po/ca/rgettext.po +29 -22
- data/po/cs/rails.po +34 -34
- data/po/cs/rgettext.po +23 -17
- data/po/de/rails.po +34 -34
- data/po/de/rgettext.po +30 -22
- data/po/el/rails.po +38 -38
- data/po/el/rgettext.po +29 -22
- data/po/eo/rails.po +34 -34
- data/po/eo/rgettext.po +30 -23
- data/po/es/rails.po +34 -34
- data/po/es/rgettext.po +27 -21
- data/po/et/rails.po +42 -50
- data/po/et/rgettext.po +143 -0
- data/po/fr/rails.po +45 -52
- data/po/fr/rgettext.po +39 -32
- data/po/hr/rails.po +34 -34
- data/po/hr/rgettext.po +23 -17
- data/po/hu/rails.po +34 -34
- data/po/hu/rgettext.po +29 -21
- data/po/it/rails.po +34 -34
- data/po/it/rgettext.po +23 -17
- data/po/ja/rails.po +35 -35
- data/po/ja/rgettext.po +30 -22
- data/po/ko/rails.po +34 -34
- data/po/ko/rgettext.po +23 -17
- data/po/lv/rails.po +57 -37
- data/po/lv/rgettext.po +37 -28
- data/po/nb/rails.po +37 -38
- data/po/nb/rgettext.po +29 -22
- data/po/nl/rails.po +34 -34
- data/po/nl/rgettext.po +23 -17
- data/po/pt_BR/rails.po +34 -34
- data/po/pt_BR/rgettext.po +30 -22
- data/po/rails.pot +34 -34
- data/po/rgettext.pot +23 -17
- data/po/ru/rails.po +37 -37
- data/po/ru/rgettext.po +28 -22
- data/po/sr/rails.po +34 -34
- data/po/sr/rgettext.po +23 -17
- data/po/sv/rgettext.po +23 -17
- data/po/ua/rails.po +41 -39
- data/po/ua/rgettext.po +26 -19
- data/po/vi/rails.po +34 -35
- data/po/vi/rgettext.po +34 -27
- data/po/zh/rails.po +34 -34
- data/po/zh/rgettext.po +28 -22
- data/po/zh_TW/rails.po +34 -34
- data/po/zh_TW/rgettext.po +27 -21
- data/samples/cgi/locale/bg/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/bg/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/bg/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/bg/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/lv/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/lv/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/lv/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/lv/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/nb/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/nb/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/nb/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/nb/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/sr/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/sr/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/sr/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/sr/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/ua/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/ua/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/po/bg/helloerb1.po +59 -0
- data/samples/cgi/po/bg/helloerb2.po +51 -0
- data/samples/cgi/po/bg/hellolib.po +23 -0
- data/samples/cgi/po/bg/main.po +83 -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_noop.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/bg/LC_MESSAGES/hellotk.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_noop.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/lv/LC_MESSAGES/hellotk.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_noop.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hellotk.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_noop.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/sr/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/ua/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ua/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/po/bg/hello.po +24 -0
- data/samples/po/bg/hello2.po +31 -0
- data/samples/po/bg/hello_noop.po +27 -0
- data/samples/po/bg/hello_plural.po +25 -0
- data/samples/po/bg/helloglade2.po +31 -0
- data/samples/po/bg/hellogtk.po +23 -0
- data/samples/po/bg/hellotk.po +23 -0
- data/samples/rails/db/schema.rb +2 -4
- data/samples/rails/locale/bg/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/bs/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ca/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/cs/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/de/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/el/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/en/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/eo/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/es/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/fr/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/hr/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/hu/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/it/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ko/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/lv/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/nb/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/nl/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ru/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/sr/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ua/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/vi/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/zh/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/zh_TW/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/po/bg/blog.po +101 -0
- data/samples/rails/po/blog.pot +36 -40
- data/samples/rails/po/bs/blog.po +41 -44
- data/samples/rails/po/ca/blog.po +44 -48
- data/samples/rails/po/cs/blog.po +44 -47
- data/samples/rails/po/de/blog.po +44 -47
- data/samples/rails/po/el/blog.po +44 -47
- data/samples/rails/po/en/blog.po +37 -41
- data/samples/rails/po/eo/blog.po +44 -48
- data/samples/rails/po/es/blog.po +44 -48
- data/samples/rails/po/fr/blog.po +44 -47
- data/samples/rails/po/hr/blog.po +41 -45
- data/samples/rails/po/hu/blog.po +41 -45
- data/samples/rails/po/it/blog.po +45 -48
- data/samples/rails/po/ja/blog.po +44 -48
- data/samples/rails/po/ko/blog.po +45 -48
- data/samples/rails/po/lv/blog.po +43 -50
- data/samples/rails/po/nb/blog.po +42 -47
- data/samples/rails/po/nl/blog.po +44 -47
- data/samples/rails/po/pt_BR/blog.po +45 -48
- data/samples/rails/po/ru/blog.po +43 -46
- data/samples/rails/po/sr/blog.po +42 -45
- data/samples/rails/po/ua/blog.po +43 -46
- data/samples/rails/po/vi/blog.po +40 -43
- data/samples/rails/po/zh/blog.po +44 -48
- data/samples/rails/po/zh_TW/blog.po +44 -48
- data/samples/rails/vendor/plugins/gettext/locale/bg/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/bs/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/ca/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/cs/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/de/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/el/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/eo/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/es/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/fr/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/hr/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/hu/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/it/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/ja/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/ko/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/lv/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/nb/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/nl/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/pt_BR/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/ru/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/sr/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/ua/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/vi/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/zh/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/zh_TW/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/po/bg/gettext_plugin.po +27 -0
- data/samples/rails/vendor/plugins/gettext/po/bs/gettext_plugin.po +6 -6
- data/samples/rails/vendor/plugins/gettext/po/ca/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/cs/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/de/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/el/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/eo/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/es/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/fr/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/gettext_plugin.pot +3 -3
- data/samples/rails/vendor/plugins/gettext/po/hr/gettext_plugin.po +6 -6
- data/samples/rails/vendor/plugins/gettext/po/hu/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/it/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/ja/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/ko/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/lv/gettext_plugin.po +5 -5
- data/samples/rails/vendor/plugins/gettext/po/nb/gettext_plugin.po +6 -7
- data/samples/rails/vendor/plugins/gettext/po/nl/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/pt_BR/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/ru/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/sr/gettext_plugin.po +4 -4
- data/samples/rails/vendor/plugins/gettext/po/ua/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/vi/gettext_plugin.po +3 -4
- data/samples/rails/vendor/plugins/gettext/po/zh/gettext_plugin.po +3 -3
- data/samples/rails/vendor/plugins/gettext/po/zh_TW/gettext_plugin.po +3 -4
- data/test/locale/ja/LC_MESSAGES/active_record.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/test_npgettext.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/test_pgettext.mo +0 -0
- data/test/po/active_record.pot +41 -28
- data/test/po/ja/active_record.po +41 -28
- data/test/po/ja/test_npgettext.po +46 -0
- data/test/test_gettext.rb +10 -0
- data/test/test_locale.rb +5 -0
- data/test/testlib/npgettext.rb +33 -0
- metadata +78 -2
|
@@ -88,10 +88,10 @@ Application shouldn‘t use this directly.
|
|
|
88
88
|
<h3 class="section-bar">Methods</h3>
|
|
89
89
|
|
|
90
90
|
<div class="name-list">
|
|
91
|
-
<a href="#
|
|
92
|
-
<a href="#
|
|
93
|
-
<a href="#
|
|
94
|
-
<a href="#
|
|
91
|
+
<a href="#M000048">charset</a>
|
|
92
|
+
<a href="#M000045">get_charset</a>
|
|
93
|
+
<a href="#M000046">locale_from_env</a>
|
|
94
|
+
<a href="#M000047">system</a>
|
|
95
95
|
</div>
|
|
96
96
|
</div>
|
|
97
97
|
|
|
@@ -113,30 +113,30 @@ Application shouldn‘t use this directly.
|
|
|
113
113
|
<div id="methods">
|
|
114
114
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
115
115
|
|
|
116
|
-
<div id="method-
|
|
117
|
-
<a name="
|
|
116
|
+
<div id="method-M000048" class="method-detail">
|
|
117
|
+
<a name="M000048"></a>
|
|
118
118
|
|
|
119
119
|
<div class="method-heading">
|
|
120
|
-
<a href="#
|
|
120
|
+
<a href="#M000048" class="method-signature">
|
|
121
121
|
<span class="method-name">charset</span><span class="method-args">()</span>
|
|
122
122
|
</a>
|
|
123
123
|
</div>
|
|
124
124
|
|
|
125
125
|
<div class="method-description">
|
|
126
126
|
<p>
|
|
127
|
-
Gets the <a href="SystemBase.html#
|
|
127
|
+
Gets the <a href="SystemBase.html#M000048">charset</a> of the locale.
|
|
128
128
|
</p>
|
|
129
129
|
<ul>
|
|
130
130
|
<li>locale: <a href="Object.html">Locale::Object</a>
|
|
131
131
|
|
|
132
132
|
</li>
|
|
133
|
-
<li>Returns: the <a href="SystemBase.html#
|
|
133
|
+
<li>Returns: the <a href="SystemBase.html#M000048">charset</a> of the locale
|
|
134
134
|
|
|
135
135
|
</li>
|
|
136
136
|
</ul>
|
|
137
137
|
<p><a class="source-toggle" href="#"
|
|
138
|
-
onclick="toggleCode('
|
|
139
|
-
<div class="method-source-code" id="
|
|
138
|
+
onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
|
|
139
|
+
<div class="method-source-code" id="M000048-source">
|
|
140
140
|
<pre>
|
|
141
141
|
<span class="ruby-comment cmt"># File lib/locale/base.rb, line 54</span>
|
|
142
142
|
54: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">charset</span>
|
|
@@ -148,30 +148,30 @@ Gets the <a href="SystemBase.html#M000047">charset</a> of the locale.
|
|
|
148
148
|
</div>
|
|
149
149
|
</div>
|
|
150
150
|
|
|
151
|
-
<div id="method-
|
|
152
|
-
<a name="
|
|
151
|
+
<div id="method-M000045" class="method-detail">
|
|
152
|
+
<a name="M000045"></a>
|
|
153
153
|
|
|
154
154
|
<div class="method-heading">
|
|
155
|
-
<a href="#
|
|
155
|
+
<a href="#M000045" class="method-signature">
|
|
156
156
|
<span class="method-name">get_charset</span><span class="method-args">(locale)</span>
|
|
157
157
|
</a>
|
|
158
158
|
</div>
|
|
159
159
|
|
|
160
160
|
<div class="method-description">
|
|
161
161
|
<p>
|
|
162
|
-
Gets the <a href="SystemBase.html#
|
|
162
|
+
Gets the <a href="SystemBase.html#M000048">charset</a> of the locale.
|
|
163
163
|
</p>
|
|
164
164
|
<ul>
|
|
165
165
|
<li>locale: <a href="Object.html">Locale::Object</a>
|
|
166
166
|
|
|
167
167
|
</li>
|
|
168
|
-
<li>Returns the <a href="SystemBase.html#
|
|
168
|
+
<li>Returns the <a href="SystemBase.html#M000048">charset</a> of the locale
|
|
169
169
|
|
|
170
170
|
</li>
|
|
171
171
|
</ul>
|
|
172
172
|
<p><a class="source-toggle" href="#"
|
|
173
|
-
onclick="toggleCode('
|
|
174
|
-
<div class="method-source-code" id="
|
|
173
|
+
onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
|
|
174
|
+
<div class="method-source-code" id="M000045-source">
|
|
175
175
|
<pre>
|
|
176
176
|
<span class="ruby-comment cmt"># File lib/locale/base.rb, line 26</span>
|
|
177
177
|
26: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_charset</span>(<span class="ruby-identifier">locale</span>)
|
|
@@ -182,29 +182,29 @@ Gets the <a href="SystemBase.html#M000047">charset</a> of the locale.
|
|
|
182
182
|
</div>
|
|
183
183
|
</div>
|
|
184
184
|
|
|
185
|
-
<div id="method-
|
|
186
|
-
<a name="
|
|
185
|
+
<div id="method-M000046" class="method-detail">
|
|
186
|
+
<a name="M000046"></a>
|
|
187
187
|
|
|
188
188
|
<div class="method-heading">
|
|
189
|
-
<a href="#
|
|
189
|
+
<a href="#M000046" class="method-signature">
|
|
190
190
|
<span class="method-name">locale_from_env</span><span class="method-args">()</span>
|
|
191
191
|
</a>
|
|
192
192
|
</div>
|
|
193
193
|
|
|
194
194
|
<div class="method-description">
|
|
195
195
|
<p>
|
|
196
|
-
Gets the <a href="SystemBase.html#
|
|
196
|
+
Gets the <a href="SystemBase.html#M000047">system</a> locale using
|
|
197
197
|
setlocale and nl_langinfo.
|
|
198
198
|
</p>
|
|
199
199
|
<ul>
|
|
200
|
-
<li>Returns the <a href="SystemBase.html#
|
|
200
|
+
<li>Returns the <a href="SystemBase.html#M000047">system</a> locale (<a
|
|
201
201
|
href="Object.html">Locale::Object</a>).
|
|
202
202
|
|
|
203
203
|
</li>
|
|
204
204
|
</ul>
|
|
205
205
|
<p><a class="source-toggle" href="#"
|
|
206
|
-
onclick="toggleCode('
|
|
207
|
-
<div class="method-source-code" id="
|
|
206
|
+
onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
|
|
207
|
+
<div class="method-source-code" id="M000046-source">
|
|
208
208
|
<pre>
|
|
209
209
|
<span class="ruby-comment cmt"># File lib/locale/base.rb, line 32</span>
|
|
210
210
|
32: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">locale_from_env</span>
|
|
@@ -224,28 +224,28 @@ href="Object.html">Locale::Object</a>).
|
|
|
224
224
|
</div>
|
|
225
225
|
</div>
|
|
226
226
|
|
|
227
|
-
<div id="method-
|
|
228
|
-
<a name="
|
|
227
|
+
<div id="method-M000047" class="method-detail">
|
|
228
|
+
<a name="M000047"></a>
|
|
229
229
|
|
|
230
230
|
<div class="method-heading">
|
|
231
|
-
<a href="#
|
|
231
|
+
<a href="#M000047" class="method-signature">
|
|
232
232
|
<span class="method-name">system</span><span class="method-args">()</span>
|
|
233
233
|
</a>
|
|
234
234
|
</div>
|
|
235
235
|
|
|
236
236
|
<div class="method-description">
|
|
237
237
|
<p>
|
|
238
|
-
Gets the <a href="SystemBase.html#
|
|
238
|
+
Gets the <a href="SystemBase.html#M000047">system</a> locale.
|
|
239
239
|
</p>
|
|
240
240
|
<ul>
|
|
241
|
-
<li>Returns the <a href="SystemBase.html#
|
|
241
|
+
<li>Returns the <a href="SystemBase.html#M000047">system</a> locale (<a
|
|
242
242
|
href="Object.html">Locale::Object</a>)
|
|
243
243
|
|
|
244
244
|
</li>
|
|
245
245
|
</ul>
|
|
246
246
|
<p><a class="source-toggle" href="#"
|
|
247
|
-
onclick="toggleCode('
|
|
248
|
-
<div class="method-source-code" id="
|
|
247
|
+
onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
|
|
248
|
+
<div class="method-source-code" id="M000047-source">
|
|
249
249
|
<pre>
|
|
250
250
|
<span class="ruby-comment cmt"># File lib/locale/base.rb, line 47</span>
|
|
251
251
|
47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">system</span>
|
|
@@ -87,11 +87,11 @@ shouldn‘t use this directly.
|
|
|
87
87
|
<h3 class="section-bar">Methods</h3>
|
|
88
88
|
|
|
89
89
|
<div class="name-list">
|
|
90
|
-
<a href="#
|
|
91
|
-
<a href="#
|
|
92
|
-
<a href="#
|
|
93
|
-
<a href="#
|
|
94
|
-
<a href="#
|
|
90
|
+
<a href="#M000052">cgi</a>
|
|
91
|
+
<a href="#M000051">cgi=</a>
|
|
92
|
+
<a href="#M000053">default_locale</a>
|
|
93
|
+
<a href="#M000050">set_cgi</a>
|
|
94
|
+
<a href="#M000049">system</a>
|
|
95
95
|
</div>
|
|
96
96
|
</div>
|
|
97
97
|
|
|
@@ -113,11 +113,11 @@ shouldn‘t use this directly.
|
|
|
113
113
|
<div id="methods">
|
|
114
114
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
115
115
|
|
|
116
|
-
<div id="method-
|
|
117
|
-
<a name="
|
|
116
|
+
<div id="method-M000052" class="method-detail">
|
|
117
|
+
<a name="M000052"></a>
|
|
118
118
|
|
|
119
119
|
<div class="method-heading">
|
|
120
|
-
<a href="#
|
|
120
|
+
<a href="#M000052" class="method-signature">
|
|
121
121
|
<span class="method-name">cgi</span><span class="method-args">()</span>
|
|
122
122
|
</a>
|
|
123
123
|
</div>
|
|
@@ -132,8 +132,8 @@ Gets the CGI object. If it is nil, returns new CGI object.
|
|
|
132
132
|
</li>
|
|
133
133
|
</ul>
|
|
134
134
|
<p><a class="source-toggle" href="#"
|
|
135
|
-
onclick="toggleCode('
|
|
136
|
-
<div class="method-source-code" id="
|
|
135
|
+
onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
|
|
136
|
+
<div class="method-source-code" id="M000052-source">
|
|
137
137
|
<pre>
|
|
138
138
|
<span class="ruby-comment cmt"># File lib/locale/cgi.rb, line 68</span>
|
|
139
139
|
68: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cgi</span>
|
|
@@ -145,11 +145,11 @@ Gets the CGI object. If it is nil, returns new CGI object.
|
|
|
145
145
|
</div>
|
|
146
146
|
</div>
|
|
147
147
|
|
|
148
|
-
<div id="method-
|
|
149
|
-
<a name="
|
|
148
|
+
<div id="method-M000051" class="method-detail">
|
|
149
|
+
<a name="M000051"></a>
|
|
150
150
|
|
|
151
151
|
<div class="method-heading">
|
|
152
|
-
<a href="#
|
|
152
|
+
<a href="#M000051" class="method-signature">
|
|
153
153
|
<span class="method-name">cgi=</span><span class="method-args">(cgi_)</span>
|
|
154
154
|
</a>
|
|
155
155
|
</div>
|
|
@@ -167,8 +167,8 @@ Sets a CGI object.
|
|
|
167
167
|
</li>
|
|
168
168
|
</ul>
|
|
169
169
|
<p><a class="source-toggle" href="#"
|
|
170
|
-
onclick="toggleCode('
|
|
171
|
-
<div class="method-source-code" id="
|
|
170
|
+
onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
|
|
171
|
+
<div class="method-source-code" id="M000051-source">
|
|
172
172
|
<pre>
|
|
173
173
|
<span class="ruby-comment cmt"># File lib/locale/cgi.rb, line 61</span>
|
|
174
174
|
61: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cgi=</span>(<span class="ruby-identifier">cgi_</span>)
|
|
@@ -180,11 +180,11 @@ Sets a CGI object.
|
|
|
180
180
|
</div>
|
|
181
181
|
</div>
|
|
182
182
|
|
|
183
|
-
<div id="method-
|
|
184
|
-
<a name="
|
|
183
|
+
<div id="method-M000053" class="method-detail">
|
|
184
|
+
<a name="M000053"></a>
|
|
185
185
|
|
|
186
186
|
<div class="method-heading">
|
|
187
|
-
<a href="#
|
|
187
|
+
<a href="#M000053" class="method-signature">
|
|
188
188
|
<span class="method-name">default_locale</span><span class="method-args">()</span>
|
|
189
189
|
</a>
|
|
190
190
|
</div>
|
|
@@ -199,8 +199,8 @@ Gets the default <a href="Object.html">Locale::Object</a>.
|
|
|
199
199
|
</li>
|
|
200
200
|
</ul>
|
|
201
201
|
<p><a class="source-toggle" href="#"
|
|
202
|
-
onclick="toggleCode('
|
|
203
|
-
<div class="method-source-code" id="
|
|
202
|
+
onclick="toggleCode('M000053-source');return false;">[Source]</a></p>
|
|
203
|
+
<div class="method-source-code" id="M000053-source">
|
|
204
204
|
<pre>
|
|
205
205
|
<span class="ruby-comment cmt"># File lib/locale/cgi.rb, line 75</span>
|
|
206
206
|
75: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">default_locale</span>
|
|
@@ -211,11 +211,11 @@ Gets the default <a href="Object.html">Locale::Object</a>.
|
|
|
211
211
|
</div>
|
|
212
212
|
</div>
|
|
213
213
|
|
|
214
|
-
<div id="method-
|
|
215
|
-
<a name="
|
|
214
|
+
<div id="method-M000050" class="method-detail">
|
|
215
|
+
<a name="M000050"></a>
|
|
216
216
|
|
|
217
217
|
<div class="method-heading">
|
|
218
|
-
<a href="#
|
|
218
|
+
<a href="#M000050" class="method-signature">
|
|
219
219
|
<span class="method-name">set_cgi</span><span class="method-args">(cgi_)</span>
|
|
220
220
|
</a>
|
|
221
221
|
</div>
|
|
@@ -233,8 +233,8 @@ Sets a CGI object.
|
|
|
233
233
|
</li>
|
|
234
234
|
</ul>
|
|
235
235
|
<p><a class="source-toggle" href="#"
|
|
236
|
-
onclick="toggleCode('
|
|
237
|
-
<div class="method-source-code" id="
|
|
236
|
+
onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
|
|
237
|
+
<div class="method-source-code" id="M000050-source">
|
|
238
238
|
<pre>
|
|
239
239
|
<span class="ruby-comment cmt"># File lib/locale/cgi.rb, line 53</span>
|
|
240
240
|
53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_cgi</span>(<span class="ruby-identifier">cgi_</span>)
|
|
@@ -246,11 +246,11 @@ Sets a CGI object.
|
|
|
246
246
|
</div>
|
|
247
247
|
</div>
|
|
248
248
|
|
|
249
|
-
<div id="method-
|
|
250
|
-
<a name="
|
|
249
|
+
<div id="method-M000049" class="method-detail">
|
|
250
|
+
<a name="M000049"></a>
|
|
251
251
|
|
|
252
252
|
<div class="method-heading">
|
|
253
|
-
<a href="#
|
|
253
|
+
<a href="#M000049" class="method-signature">
|
|
254
254
|
<span class="method-name">system</span><span class="method-args">()</span>
|
|
255
255
|
</a>
|
|
256
256
|
</div>
|
|
@@ -260,14 +260,14 @@ Sets a CGI object.
|
|
|
260
260
|
Gets the default locale using setlocale and nl_langinfo.
|
|
261
261
|
</p>
|
|
262
262
|
<ul>
|
|
263
|
-
<li>Returns the <a href="SystemCGI.html#
|
|
263
|
+
<li>Returns the <a href="SystemCGI.html#M000049">system</a> locale (<a
|
|
264
264
|
href="Object.html">Locale::Object</a>).
|
|
265
265
|
|
|
266
266
|
</li>
|
|
267
267
|
</ul>
|
|
268
268
|
<p><a class="source-toggle" href="#"
|
|
269
|
-
onclick="toggleCode('
|
|
270
|
-
<div class="method-source-code" id="
|
|
269
|
+
onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
|
|
270
|
+
<div class="method-source-code" id="M000049-source">
|
|
271
271
|
<pre>
|
|
272
272
|
<span class="ruby-comment cmt"># File lib/locale/cgi.rb, line 26</span>
|
|
273
273
|
26: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">system</span>
|
|
@@ -84,6 +84,13 @@ directly.
|
|
|
84
84
|
|
|
85
85
|
</div>
|
|
86
86
|
|
|
87
|
+
<div id="method-list">
|
|
88
|
+
<h3 class="section-bar">Methods</h3>
|
|
89
|
+
|
|
90
|
+
<div class="name-list">
|
|
91
|
+
<a href="#M000043">get_charset</a>
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
87
94
|
|
|
88
95
|
</div>
|
|
89
96
|
|
|
@@ -100,6 +107,49 @@ directly.
|
|
|
100
107
|
|
|
101
108
|
|
|
102
109
|
<!-- if method_list -->
|
|
110
|
+
<div id="methods">
|
|
111
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
|
112
|
+
|
|
113
|
+
<div id="method-M000043" class="method-detail">
|
|
114
|
+
<a name="M000043"></a>
|
|
115
|
+
|
|
116
|
+
<div class="method-heading">
|
|
117
|
+
<a href="#M000043" class="method-signature">
|
|
118
|
+
<span class="method-name">get_charset</span><span class="method-args">(locale)</span>
|
|
119
|
+
</a>
|
|
120
|
+
</div>
|
|
121
|
+
|
|
122
|
+
<div class="method-description">
|
|
123
|
+
<p>
|
|
124
|
+
Gets the charset of the locale.
|
|
125
|
+
</p>
|
|
126
|
+
<ul>
|
|
127
|
+
<li>locale: <a href="Object.html">Locale::Object</a>
|
|
128
|
+
|
|
129
|
+
</li>
|
|
130
|
+
<li>Returns the charset of the locale
|
|
131
|
+
|
|
132
|
+
</li>
|
|
133
|
+
</ul>
|
|
134
|
+
<p><a class="source-toggle" href="#"
|
|
135
|
+
onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
|
|
136
|
+
<div class="method-source-code" id="M000043-source">
|
|
137
|
+
<pre>
|
|
138
|
+
<span class="ruby-comment cmt"># File lib/locale/posix.rb, line 24</span>
|
|
139
|
+
24: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_charset</span>(<span class="ruby-identifier">locale</span>)
|
|
140
|
+
25: <span class="ruby-identifier">charset</span> = <span class="ruby-node">`LANG=#{locale.to_str};locale charmap`</span>.<span class="ruby-identifier">strip</span>
|
|
141
|
+
26: <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">$?</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">$?</span>.<span class="ruby-identifier">success?</span>
|
|
142
|
+
27: <span class="ruby-identifier">charset</span> = <span class="ruby-value str">"UTF-8"</span>
|
|
143
|
+
28: <span class="ruby-keyword kw">end</span>
|
|
144
|
+
29: <span class="ruby-identifier">charset</span>
|
|
145
|
+
30: <span class="ruby-keyword kw">end</span>
|
|
146
|
+
</pre>
|
|
147
|
+
</div>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
</div>
|
|
103
153
|
|
|
104
154
|
|
|
105
155
|
</div>
|
|
@@ -87,7 +87,7 @@ is a low-level class. Application shouldn‘t use this directly.
|
|
|
87
87
|
<h3 class="section-bar">Methods</h3>
|
|
88
88
|
|
|
89
89
|
<div class="name-list">
|
|
90
|
-
<a href="#
|
|
90
|
+
<a href="#M000044">get_charset</a>
|
|
91
91
|
</div>
|
|
92
92
|
</div>
|
|
93
93
|
|
|
@@ -116,11 +116,11 @@ is a low-level class. Application shouldn‘t use this directly.
|
|
|
116
116
|
<div id="methods">
|
|
117
117
|
<h3 class="section-bar">Public Instance methods</h3>
|
|
118
118
|
|
|
119
|
-
<div id="method-
|
|
120
|
-
<a name="
|
|
119
|
+
<div id="method-M000044" class="method-detail">
|
|
120
|
+
<a name="M000044"></a>
|
|
121
121
|
|
|
122
122
|
<div class="method-heading">
|
|
123
|
-
<a href="#
|
|
123
|
+
<a href="#M000044" class="method-signature">
|
|
124
124
|
<span class="method-name">get_charset</span><span class="method-args">(locale)</span>
|
|
125
125
|
</a>
|
|
126
126
|
</div>
|
|
@@ -138,8 +138,8 @@ Gets the Win32 charset of the locale.
|
|
|
138
138
|
</li>
|
|
139
139
|
</ul>
|
|
140
140
|
<p><a class="source-toggle" href="#"
|
|
141
|
-
onclick="toggleCode('
|
|
142
|
-
<div class="method-source-code" id="
|
|
141
|
+
onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
|
|
142
|
+
<div class="method-source-code" id="M000044-source">
|
|
143
143
|
<pre>
|
|
144
144
|
<span class="ruby-comment cmt"># File lib/locale/win32.rb, line 31</span>
|
|
145
145
|
31: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_charset</span>(<span class="ruby-identifier">locale</span>)
|
data/doc/created.rid
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Tue, 16 Sep 2008 02:17:29 +0900
|
data/doc/files/ChangeLog.html
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
</tr>
|
|
57
57
|
<tr class="top-aligned-row">
|
|
58
58
|
<td><strong>Last Update:</strong></td>
|
|
59
|
-
<td>
|
|
59
|
+
<td>Mon Sep 15 01:57:21 +0900 2008</td>
|
|
60
60
|
</tr>
|
|
61
61
|
</table>
|
|
62
62
|
</div>
|
|
@@ -70,6 +70,74 @@
|
|
|
70
70
|
|
|
71
71
|
<div id="description">
|
|
72
72
|
<p>
|
|
73
|
+
2008-09-14 Masao Mutoh <mutoh@highway.ne.jp>
|
|
74
|
+
</p>
|
|
75
|
+
<pre>
|
|
76
|
+
* lib/gettext/rails.rb: Fixed expire_fragment with rails < 2.1.(Bug#21712).
|
|
77
|
+
* lib/gettext.rb: Remove p_ method when xx("double x") library is loaded
|
|
78
|
+
because of conflicting the method name.(Bug#21532) Reported by
|
|
79
|
+
Rémy-Christophe Schermesser, Donald Piret.
|
|
80
|
+
* lib/gettext/utils.rb: Remove UTF-8 BOM from po-file before executeing
|
|
81
|
+
msgmerge which doesn't accept BOM. Suggested by César Duque Calle.
|
|
82
|
+
* po/eo/rgettext.po: Fixed a typo.
|
|
83
|
+
</pre>
|
|
84
|
+
<p>
|
|
85
|
+
2008-09-13 Masao Mutoh <mutoh@highway.ne.jp>
|
|
86
|
+
</p>
|
|
87
|
+
<pre>
|
|
88
|
+
* lib/gettext/utils.rb: Use msgmerge --help instead of --version to
|
|
89
|
+
check msgmerge is existed. Suggested by César Duque Calle.
|
|
90
|
+
* **/po/bg/*.po: Added by Sava Chankov.
|
|
91
|
+
</pre>
|
|
92
|
+
<p>
|
|
93
|
+
2008-08-24 Masao Mutoh <mutoh@highway.ne.jp>
|
|
94
|
+
</p>
|
|
95
|
+
<pre>
|
|
96
|
+
* lib/gettext/rails.rb: render_file_with_gettext catch Exception and use
|
|
97
|
+
render_file_without_gettext if render_file_with_gettext is failed.
|
|
98
|
+
Suggested by Vladimir Dobriakov.
|
|
99
|
+
|
|
100
|
+
* lib/locale/posix.rb: Call "locale charmap" to get the system locale charset.
|
|
101
|
+
Reported by Tatsuki Sugiura.
|
|
102
|
+
</pre>
|
|
103
|
+
<p>
|
|
104
|
+
2008-08-20 Masao Mutoh <mutoh@highway.ne.jp>
|
|
105
|
+
</p>
|
|
106
|
+
<pre>
|
|
107
|
+
* lib/locale/object.rb: Locale::Object.parse accept nil or "" as locale_name.
|
|
108
|
+
It replaces to "en". By Vladimir Dobriakov.
|
|
109
|
+
* test/test_locale.rb: Add the test above.
|
|
110
|
+
</pre>
|
|
111
|
+
<p>
|
|
112
|
+
2008-08-16 Masao Mutoh <mutoh@highway.ne.jp>
|
|
113
|
+
</p>
|
|
114
|
+
<pre>
|
|
115
|
+
* po/ja/rails.po: Fixed a wrong translation.
|
|
116
|
+
</pre>
|
|
117
|
+
<p>
|
|
118
|
+
2008-08-10 Masao Mutoh <mutoh@highway.ne.jp>
|
|
119
|
+
</p>
|
|
120
|
+
<pre>
|
|
121
|
+
* po/et/rails.po: Updated by Erkki Eilonen.
|
|
122
|
+
* po/et/rgettext.po: Added by Erkki Eilonen.
|
|
123
|
+
</pre>
|
|
124
|
+
<p>
|
|
125
|
+
2008-08-07 Masao Mutoh <mutoh@highway.ne.jp>
|
|
126
|
+
</p>
|
|
127
|
+
<pre>
|
|
128
|
+
* README: Updated.
|
|
129
|
+
* po/fr/*.po: Updated by Vincent Isambart.
|
|
130
|
+
* test/test_gettext.rb, test/testlib/npgettext.rb, test/po/ja/test_npgettext.po:
|
|
131
|
+
Add test for np_(npgettext).
|
|
132
|
+
</pre>
|
|
133
|
+
<p>
|
|
134
|
+
2008-08-03 Masao Mutoh <mutoh@highway.ne.jp>
|
|
135
|
+
</p>
|
|
136
|
+
<pre>
|
|
137
|
+
* lib/gettext/rgettext.rb, lib/gettext/parser/ruby.rb:
|
|
138
|
+
Add npgettext support.
|
|
139
|
+
</pre>
|
|
140
|
+
<p>
|
|
73
141
|
2008-07-31 Masao Mutoh <mutoh@highway.ne.jp>
|
|
74
142
|
</p>
|
|
75
143
|
<pre>
|