gettext 1.7.0 → 1.8.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 +139 -0
- data/NEWS +31 -0
- data/README +31 -15
- data/Rakefile +3 -30
- data/bin/rgettext +1 -1
- data/bin/rmsgfmt +1 -1
- data/bin/rmsgmerge +1 -1
- 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/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/fr/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/fr/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/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/sv/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/lib/gettext.rb +50 -23
- data/lib/gettext/active_record.rb +275 -0
- data/lib/gettext/container.rb +0 -4
- data/lib/gettext/locale.rb +9 -2
- data/lib/gettext/locale_cgi.rb +5 -4
- data/lib/gettext/locale_object.rb +5 -4
- data/lib/gettext/parser/{activerecord.rb → active_record.rb} +31 -14
- data/lib/gettext/parser/ruby.rb +48 -44
- data/lib/gettext/poparser.rb +3 -3
- data/lib/gettext/rails.rb +111 -253
- data/lib/gettext/rgettext.rb +34 -6
- data/lib/gettext/string.rb +3 -2
- data/lib/gettext/textdomain.rb +3 -3
- data/lib/gettext/version.rb +1 -1
- data/pkg/ruby-gettext-package-1.8.0/ext/gettext/extconf.rb +20 -0
- data/po/cs/rails.po +61 -61
- data/po/cs/rgettext.po +37 -55
- data/po/de/rails.po +73 -72
- data/po/de/rgettext.po +39 -56
- data/po/el/rails.po +60 -60
- data/po/el/rgettext.po +26 -44
- data/po/es/rails.po +60 -60
- data/po/es/rgettext.po +28 -52
- data/po/et/rails.po +118 -0
- data/po/fr/rails.po +60 -60
- data/po/fr/rgettext.po +26 -46
- data/po/it/rails.po +68 -68
- data/po/it/rgettext.po +35 -53
- data/po/ja/rails.po +62 -61
- data/po/ja/rgettext.po +27 -45
- data/po/ko/rails.po +61 -60
- data/po/ko/rgettext.po +34 -54
- data/po/nl/rails.po +59 -60
- data/po/nl/rgettext.po +35 -55
- data/po/pt_BR/rails.po +74 -73
- data/po/pt_BR/rgettext.po +36 -52
- data/po/rails.pot +61 -61
- data/po/rgettext.pot +25 -43
- data/po/ru/rails.po +61 -62
- data/po/ru/rgettext.po +26 -51
- data/po/sv/rgettext.po +27 -44
- data/po/zh/rails.po +62 -60
- data/po/zh/rgettext.po +28 -47
- data/po/zh_TW/rails.po +114 -0
- data/po/zh_TW/rgettext.po +121 -0
- data/samples/cgi/locale/zh_TW/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/zh_TW/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/zh_TW/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/zh_TW/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/po/zh_TW/helloerb1.po +67 -0
- data/samples/cgi/po/zh_TW/helloerb2.po +54 -0
- data/samples/cgi/po/zh_TW/hellolib.po +26 -0
- data/samples/cgi/po/zh_TW/main.po +79 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/zh_TW/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/po/hellogtk.pot +1 -1
- data/samples/po/zh_TW/hello.po +26 -0
- data/samples/po/zh_TW/hello2.po +34 -0
- data/samples/po/zh_TW/hello_noop.po +30 -0
- data/samples/po/zh_TW/hello_plural.po +28 -0
- data/samples/po/zh_TW/helloglade2.po +40 -0
- data/samples/po/zh_TW/hellogtk.po +25 -0
- data/samples/po/zh_TW/hellotk.po +26 -0
- data/samples/rails/README +8 -11
- data/samples/rails/app/controllers/application.rb +6 -9
- data/samples/rails/app/views/layouts/blog.rhtml +1 -1
- data/samples/rails/config/database.yml +1 -1
- data/samples/rails/config/environment.rb +1 -0
- data/samples/rails/db/schema.rb +90 -0
- data/samples/rails/lib/tasks/gettext.rake +1 -1
- 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/es/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/fr/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/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/zh/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/zh_TW/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/po/blog.pot +106 -110
- data/samples/rails/po/cs/blog.po +110 -115
- data/samples/rails/po/de/blog.po +107 -112
- data/samples/rails/po/el/blog.po +105 -109
- data/samples/rails/po/en/blog.po +107 -111
- data/samples/rails/po/es/blog.po +105 -110
- data/samples/rails/po/fr/blog.po +105 -109
- data/samples/rails/po/it/blog.po +105 -109
- data/samples/rails/po/ja/blog.po +105 -109
- data/samples/rails/po/ko/blog.po +105 -109
- data/samples/rails/po/nl/blog.po +105 -110
- data/samples/rails/po/pt_BR/blog.po +105 -109
- data/samples/rails/po/ru/blog.po +105 -107
- data/samples/rails/po/zh/blog.po +105 -109
- data/samples/rails/po/zh_TW/blog.po +107 -0
- data/samples/rails/vendor/plugins/gettext/locale/zh_TW/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/po/zh_TW/gettext_plugin.po +30 -0
- data/test/Rakefile +44 -0
- data/test/fixtures/developer.rb +5 -0
- data/test/fixtures/developers.yml +21 -0
- data/test/fixtures/reply.rb +40 -0
- data/test/fixtures/topic.rb +23 -0
- data/test/fixtures/topics.yml +22 -0
- data/test/gettext_test.rb +2 -2
- data/test/gettext_test_active_record.rb +1479 -0
- data/test/gettext_test_rails.rb +2 -0
- data/test/locale/ja/LC_MESSAGES/active_record.mo +0 -0
- data/test/po/active_record.pot +295 -0
- data/test/po/ja/active_record.po +294 -0
- data/test/test.sh +1 -0
- data/test/test_rubyparser.rb +10 -2
- metadata +68 -236
- data/doc/classes/ActionController/Base.html +0 -169
- data/doc/classes/ActionController/Base.src/M000014.html +0 -37
- data/doc/classes/ActionController/Base.src/M000015.html +0 -30
- data/doc/classes/ActiveRecord/Base.html +0 -210
- data/doc/classes/ActiveRecord/Base.src/M000114.html +0 -30
- data/doc/classes/ActiveRecord/Base.src/M000115.html +0 -30
- data/doc/classes/ActiveRecord/Base.src/M000116.html +0 -30
- data/doc/classes/ActiveRecord/Base.src/M000117.html +0 -30
- data/doc/classes/ActiveRecord/Base.src/M000118.html +0 -37
- data/doc/classes/ActiveRecord/Base.src/M000119.html +0 -30
- data/doc/classes/ActiveRecord/Base.src/M000120.html +0 -30
- data/doc/classes/ActiveRecord/ConnectionAdapters/Column.html +0 -117
- data/doc/classes/ActiveRecord/ConnectionAdapters/Column.src/M000113.html +0 -30
- data/doc/classes/ActiveRecord/Migration.html +0 -96
- data/doc/classes/GetText.html +0 -863
- data/doc/classes/GetText.src/M000017.html +0 -30
- data/doc/classes/GetText.src/M000018.html +0 -31
- data/doc/classes/GetText.src/M000019.html +0 -46
- data/doc/classes/GetText.src/M000020.html +0 -42
- data/doc/classes/GetText.src/M000021.html +0 -32
- data/doc/classes/GetText.src/M000022.html +0 -30
- data/doc/classes/GetText.src/M000023.html +0 -30
- data/doc/classes/GetText.src/M000024.html +0 -31
- data/doc/classes/GetText.src/M000025.html +0 -30
- data/doc/classes/GetText.src/M000026.html +0 -49
- data/doc/classes/GetText.src/M000027.html +0 -38
- data/doc/classes/GetText.src/M000028.html +0 -35
- data/doc/classes/GetText.src/M000029.html +0 -44
- data/doc/classes/GetText.src/M000030.html +0 -30
- data/doc/classes/GetText.src/M000031.html +0 -30
- data/doc/classes/GetText.src/M000032.html +0 -36
- data/doc/classes/GetText.src/M000033.html +0 -53
- data/doc/classes/GetText.src/M000034.html +0 -46
- data/doc/classes/GetText.src/M000035.html +0 -31
- data/doc/classes/GetText.src/M000036.html +0 -31
- data/doc/classes/GetText.src/M000037.html +0 -30
- data/doc/classes/GetText.src/M000038.html +0 -30
- data/doc/classes/GetText.src/M000039.html +0 -30
- data/doc/classes/GetText.src/M000040.html +0 -30
- data/doc/classes/GetText.src/M000041.html +0 -48
- data/doc/classes/GetText.src/M000042.html +0 -18
- data/doc/classes/GetText.src/M000043.html +0 -34
- data/doc/classes/GetText.src/M000044.html +0 -30
- data/doc/classes/GetText.src/M000045.html +0 -20
- data/doc/classes/GetText/ActiveRecordParser.html +0 -148
- data/doc/classes/GetText/ActiveRecordParser.src/M000048.html +0 -35
- data/doc/classes/GetText/ActiveRecordParser.src/M000049.html +0 -30
- data/doc/classes/GetText/ErbContainer.html +0 -161
- data/doc/classes/GetText/ErbContainer.src/M000046.html +0 -31
- data/doc/classes/GetText/ErbContainer.src/M000047.html +0 -30
- data/doc/classes/GetText/ErbParser.html +0 -113
- data/doc/classes/GetText/ErbParser.src/M000051.html +0 -32
- data/doc/classes/GetText/GetText.html +0 -89
- data/doc/classes/GetText/GetText/Container.html +0 -95
- data/doc/classes/GetText/GladeParser.html +0 -109
- data/doc/classes/GetText/NoboundTextDomainError.html +0 -98
- data/doc/classes/GetText/PoParser.html +0 -121
- data/doc/classes/GetText/PoParser.src/M000068.html +0 -30
- data/doc/classes/GetText/Rails.html +0 -172
- data/doc/classes/GetText/Rails.src/M000050.html +0 -43
- data/doc/classes/GetText/RubyParser.html +0 -99
- data/doc/classes/GetText/TextDomain.html +0 -345
- data/doc/classes/GetText/TextDomain.src/M000052.html +0 -30
- data/doc/classes/GetText/TextDomain.src/M000053.html +0 -30
- data/doc/classes/GetText/TextDomain.src/M000054.html +0 -30
- data/doc/classes/GetText/TextDomain.src/M000055.html +0 -58
- data/doc/classes/GetText/TextDomain.src/M000056.html +0 -32
- data/doc/classes/GetText/TextDomain.src/M000057.html +0 -35
- data/doc/classes/GetText/TextDomain.src/M000058.html +0 -49
- data/doc/classes/GetText/TextDomain.src/M000059.html +0 -30
- data/doc/classes/GetText/TextDomain.src/M000060.html +0 -18
- data/doc/classes/GetText/TextDomain.src/M000061.html +0 -18
- data/doc/classes/GetText/TextDomain.src/M000062.html +0 -18
- data/doc/classes/GetText/TextDomain.src/M000063.html +0 -46
- data/doc/classes/GetText/TextDomain.src/M000064.html +0 -20
- data/doc/classes/GetText/TextDomain.src/M000065.html +0 -23
- data/doc/classes/GetText/TextDomain.src/M000066.html +0 -37
- data/doc/classes/GetText/TextDomain.src/M000067.html +0 -18
- data/doc/classes/GetText/TextDomainManager.html +0 -253
- data/doc/classes/GetText/TextDomainManager.src/M000052.html +0 -18
- data/doc/classes/GetText/TextDomainManager.src/M000053.html +0 -18
- data/doc/classes/GetText/TextDomainManager.src/M000054.html +0 -20
- data/doc/classes/GetText/TextDomainManager.src/M000055.html +0 -18
- data/doc/classes/GetText/TextDomainManager.src/M000056.html +0 -20
- data/doc/classes/GetText/TextDomainManager.src/M000057.html +0 -31
- data/doc/classes/GetText/TextDomainManager.src/M000058.html +0 -21
- data/doc/classes/GetText/TextDomainManager.src/M000059.html +0 -24
- data/doc/classes/GetText/TextDomainManager.src/M000060.html +0 -30
- data/doc/classes/GetText/TextDomainManager.src/M000061.html +0 -30
- data/doc/classes/GetText/TextDomainManager.src/M000062.html +0 -32
- data/doc/classes/GetText/TextDomainManager.src/M000063.html +0 -30
- data/doc/classes/GetText/TextDomainManager.src/M000064.html +0 -32
- data/doc/classes/GetText/TextDomainManager.src/M000065.html +0 -43
- data/doc/classes/GetText/TextDomainManager.src/M000066.html +0 -33
- data/doc/classes/GetText/TextDomainManager.src/M000067.html +0 -36
- data/doc/classes/Iconv.html +0 -140
- data/doc/classes/Iconv.src/M000016.html +0 -41
- data/doc/classes/Iconv/Failure.html +0 -86
- data/doc/classes/Iconv/IllegalSequence.html +0 -96
- data/doc/classes/Iconv/InvalidCharacter.html +0 -96
- data/doc/classes/Iconv/InvalidEncoding.html +0 -96
- data/doc/classes/Locale.html +0 -648
- data/doc/classes/Locale.src/M000069.html +0 -32
- data/doc/classes/Locale.src/M000070.html +0 -31
- data/doc/classes/Locale.src/M000071.html +0 -30
- data/doc/classes/Locale.src/M000072.html +0 -34
- data/doc/classes/Locale.src/M000073.html +0 -31
- data/doc/classes/Locale.src/M000074.html +0 -30
- data/doc/classes/Locale.src/M000075.html +0 -30
- data/doc/classes/Locale.src/M000076.html +0 -31
- data/doc/classes/Locale.src/M000077.html +0 -40
- data/doc/classes/Locale.src/M000078.html +0 -31
- data/doc/classes/Locale.src/M000079.html +0 -46
- data/doc/classes/Locale.src/M000080.html +0 -32
- data/doc/classes/Locale.src/M000081.html +0 -31
- data/doc/classes/Locale.src/M000082.html +0 -30
- data/doc/classes/Locale.src/M000083.html +0 -30
- data/doc/classes/Locale.src/M000084.html +0 -30
- data/doc/classes/Locale.src/M000085.html +0 -32
- data/doc/classes/Locale.src/M000086.html +0 -31
- data/doc/classes/Locale.src/M000087.html +0 -31
- data/doc/classes/Locale.src/M000088.html +0 -30
- data/doc/classes/Locale/Object.html +0 -420
- data/doc/classes/Locale/Object.src/M000104.html +0 -53
- data/doc/classes/Locale/Object.src/M000105.html +0 -34
- data/doc/classes/Locale/Object.src/M000106.html +0 -32
- data/doc/classes/Locale/Object.src/M000107.html +0 -32
- data/doc/classes/Locale/Object.src/M000108.html +0 -33
- data/doc/classes/Locale/Object.src/M000109.html +0 -33
- data/doc/classes/Locale/Object.src/M000110.html +0 -30
- data/doc/classes/Locale/SystemCGI.html +0 -247
- data/doc/classes/Locale/SystemCGI.src/M000094.html +0 -48
- data/doc/classes/Locale/SystemCGI.src/M000095.html +0 -30
- data/doc/classes/Locale/SystemCGI.src/M000096.html +0 -31
- data/doc/classes/Locale/SystemCGI.src/M000097.html +0 -31
- data/doc/classes/Locale/SystemCGI.src/M000098.html +0 -31
- data/doc/classes/Locale/SystemCGI.src/M000099.html +0 -32
- data/doc/classes/Locale/SystemCGI.src/M000100.html +0 -31
- data/doc/classes/Locale/SystemCGI.src/M000101.html +0 -30
- data/doc/classes/Locale/SystemPosix.html +0 -133
- data/doc/classes/Locale/SystemPosix.src/M000102.html +0 -39
- data/doc/classes/Locale/SystemPosix.src/M000103.html +0 -34
- data/doc/classes/Locale/SystemWin32.html +0 -206
- data/doc/classes/Locale/SystemWin32.src/M000089.html +0 -31
- data/doc/classes/Locale/SystemWin32.src/M000090.html +0 -48
- data/doc/classes/Locale/SystemWin32.src/M000091.html +0 -32
- data/doc/classes/Locale/SystemWin32.src/M000092.html +0 -31
- data/doc/classes/Locale/SystemWin32.src/M000093.html +0 -30
- data/doc/classes/MOFile.html +0 -279
- data/doc/classes/MOFile.src/M000001.html +0 -31
- data/doc/classes/MOFile.src/M000002.html +0 -34
- data/doc/classes/MOFile.src/M000003.html +0 -37
- data/doc/classes/MOFile.src/M000004.html +0 -42
- data/doc/classes/MOFile.src/M000005.html +0 -93
- data/doc/classes/MOFile.src/M000006.html +0 -38
- data/doc/classes/MOFile.src/M000007.html +0 -34
- data/doc/classes/MOFile.src/M000008.html +0 -42
- data/doc/classes/MOFile.src/M000009.html +0 -93
- data/doc/classes/MOFile.src/M000010.html +0 -31
- data/doc/classes/MOFile.src/M000011.html +0 -30
- data/doc/classes/MOFile.src/M000012.html +0 -30
- data/doc/classes/MOFile/InvalidFormat.html +0 -92
- data/doc/classes/String.html +0 -150
- data/doc/classes/String.src/M000013.html +0 -44
- data/doc/created.rid +0 -1
- data/doc/files/lib/gettext/cgi_rb.html +0 -98
- data/doc/files/lib/gettext/container_rb.html +0 -96
- data/doc/files/lib/gettext/erb_rb.html +0 -97
- data/doc/files/lib/gettext/iconv_rb.html +0 -97
- data/doc/files/lib/gettext/locale_cgi_rb.html +0 -92
- data/doc/files/lib/gettext/locale_object_rb.html +0 -92
- data/doc/files/lib/gettext/locale_posix_rb.html +0 -92
- data/doc/files/lib/gettext/locale_rb.html +0 -99
- data/doc/files/lib/gettext/locale_table_win32_rb.html +0 -92
- data/doc/files/lib/gettext/locale_win32_rb.html +0 -96
- data/doc/files/lib/gettext/mo_rb.html +0 -96
- data/doc/files/lib/gettext/parser/activerecord_rb.html +0 -103
- data/doc/files/lib/gettext/parser/erb_rb.html +0 -97
- data/doc/files/lib/gettext/parser/glade_rb.html +0 -97
- data/doc/files/lib/gettext/parser/ruby_rb.html +0 -98
- data/doc/files/lib/gettext/poparser_rb.html +0 -96
- data/doc/files/lib/gettext/rails_rb.html +0 -99
- data/doc/files/lib/gettext/rgettext_rb.html +0 -98
- data/doc/files/lib/gettext/rmsgfmt_rb.html +0 -100
- data/doc/files/lib/gettext/rmsgmerge_rb.html +0 -100
- data/doc/files/lib/gettext/string_rb.html +0 -92
- data/doc/files/lib/gettext/textdomain_rb.html +0 -97
- data/doc/files/lib/gettext/textdomainmanager_rb.html +0 -97
- data/doc/files/lib/gettext/utils_rb.html +0 -98
- data/doc/files/lib/gettext/version_rb.html +0 -92
- data/doc/files/lib/gettext_rb.html +0 -101
- data/doc/fr_class_index.html +0 -45
- data/doc/fr_file_index.html +0 -41
- data/doc/fr_method_index.html +0 -135
- data/doc/frame-style.css +0 -33
- data/doc/index.html +0 -26
- data/doc/rdoc-style.css +0 -180
- data/jamis.rb +0 -590
- data/samples/rails/db/mysql.sql +0 -8
- data/samples/rails/db/postgresql.sql +0 -7
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
<html>
|
|
6
|
-
<head><title>N_ (GetText)</title>
|
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
8
|
-
<style>
|
|
9
|
-
.ruby-comment { color: green; font-style: italic }
|
|
10
|
-
.ruby-constant { color: #4433aa; font-weight: bold; }
|
|
11
|
-
.ruby-identifier { color: #222222; }
|
|
12
|
-
.ruby-ivar { color: #2233dd; }
|
|
13
|
-
.ruby-keyword { color: #3333FF; font-weight: bold }
|
|
14
|
-
.ruby-node { color: #777777; }
|
|
15
|
-
.ruby-operator { color: #111111; }
|
|
16
|
-
.ruby-regexp { color: #662222; }
|
|
17
|
-
.ruby-value { color: #662222; font-style: italic }
|
|
18
|
-
.kw { color: #3333FF; font-weight: bold }
|
|
19
|
-
.cmt { color: green; font-style: italic }
|
|
20
|
-
.str { color: #662222; font-style: italic }
|
|
21
|
-
.re { color: #662222; }
|
|
22
|
-
</style>
|
|
23
|
-
</head>
|
|
24
|
-
<body bgcolor="white">
|
|
25
|
-
<pre><span class="ruby-comment cmt"># File lib/gettext.rb, line 182</span>
|
|
26
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">N_</span>(<span class="ruby-identifier">msgid</span>)
|
|
27
|
-
<span class="ruby-identifier">msgid</span>
|
|
28
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
29
|
-
</body>
|
|
30
|
-
</html>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
<html>
|
|
6
|
-
<head><title>Nn_ (GetText)</title>
|
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
8
|
-
<style>
|
|
9
|
-
.ruby-comment { color: green; font-style: italic }
|
|
10
|
-
.ruby-constant { color: #4433aa; font-weight: bold; }
|
|
11
|
-
.ruby-identifier { color: #222222; }
|
|
12
|
-
.ruby-ivar { color: #2233dd; }
|
|
13
|
-
.ruby-keyword { color: #3333FF; font-weight: bold }
|
|
14
|
-
.ruby-node { color: #777777; }
|
|
15
|
-
.ruby-operator { color: #111111; }
|
|
16
|
-
.ruby-regexp { color: #662222; }
|
|
17
|
-
.ruby-value { color: #662222; font-style: italic }
|
|
18
|
-
.kw { color: #3333FF; font-weight: bold }
|
|
19
|
-
.cmt { color: green; font-style: italic }
|
|
20
|
-
.str { color: #662222; font-style: italic }
|
|
21
|
-
.re { color: #662222; }
|
|
22
|
-
</style>
|
|
23
|
-
</head>
|
|
24
|
-
<body bgcolor="white">
|
|
25
|
-
<pre><span class="ruby-comment cmt"># File lib/gettext.rb, line 190</span>
|
|
26
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-constant">Nn_</span>(<span class="ruby-identifier">msgid</span>, <span class="ruby-identifier">msgid_plural</span>)
|
|
27
|
-
[<span class="ruby-identifier">msgid</span>, <span class="ruby-identifier">msgid_plural</span>]
|
|
28
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
29
|
-
</body>
|
|
30
|
-
</html>
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
<html>
|
|
6
|
-
<head><title>sgettext (GetText)</title>
|
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
8
|
-
<style>
|
|
9
|
-
.ruby-comment { color: green; font-style: italic }
|
|
10
|
-
.ruby-constant { color: #4433aa; font-weight: bold; }
|
|
11
|
-
.ruby-identifier { color: #222222; }
|
|
12
|
-
.ruby-ivar { color: #2233dd; }
|
|
13
|
-
.ruby-keyword { color: #3333FF; font-weight: bold }
|
|
14
|
-
.ruby-node { color: #777777; }
|
|
15
|
-
.ruby-operator { color: #111111; }
|
|
16
|
-
.ruby-regexp { color: #662222; }
|
|
17
|
-
.ruby-value { color: #662222; font-style: italic }
|
|
18
|
-
.kw { color: #3333FF; font-weight: bold }
|
|
19
|
-
.cmt { color: green; font-style: italic }
|
|
20
|
-
.str { color: #662222; font-style: italic }
|
|
21
|
-
.re { color: #662222; }
|
|
22
|
-
</style>
|
|
23
|
-
</head>
|
|
24
|
-
<body bgcolor="white">
|
|
25
|
-
<pre><span class="ruby-comment cmt"># File lib/gettext.rb, line 206</span>
|
|
26
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sgettext</span>(<span class="ruby-identifier">msgid</span>, <span class="ruby-identifier">div</span> = <span class="ruby-value str">'|'</span>)
|
|
27
|
-
<span class="ruby-identifier">msg</span> = <span class="ruby-identifier">gettext</span>(<span class="ruby-identifier">msgid</span>)
|
|
28
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">msg</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">msgid</span>
|
|
29
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">index</span> = <span class="ruby-identifier">msg</span>.<span class="ruby-identifier">rindex</span>(<span class="ruby-identifier">div</span>)
|
|
30
|
-
<span class="ruby-identifier">msg</span> = <span class="ruby-identifier">msg</span>[(<span class="ruby-identifier">index</span> <span class="ruby-operator">+</span> <span class="ruby-value">1</span>)<span class="ruby-operator">..</span><span class="ruby-value">-1</span>]
|
|
31
|
-
<span class="ruby-keyword kw">end</span>
|
|
32
|
-
<span class="ruby-keyword kw">end</span>
|
|
33
|
-
<span class="ruby-identifier">msg</span>
|
|
34
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
35
|
-
</body>
|
|
36
|
-
</html>
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
<html>
|
|
6
|
-
<head><title>set_locale (GetText)</title>
|
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
8
|
-
<style>
|
|
9
|
-
.ruby-comment { color: green; font-style: italic }
|
|
10
|
-
.ruby-constant { color: #4433aa; font-weight: bold; }
|
|
11
|
-
.ruby-identifier { color: #222222; }
|
|
12
|
-
.ruby-ivar { color: #2233dd; }
|
|
13
|
-
.ruby-keyword { color: #3333FF; font-weight: bold }
|
|
14
|
-
.ruby-node { color: #777777; }
|
|
15
|
-
.ruby-operator { color: #111111; }
|
|
16
|
-
.ruby-regexp { color: #662222; }
|
|
17
|
-
.ruby-value { color: #662222; font-style: italic }
|
|
18
|
-
.kw { color: #3333FF; font-weight: bold }
|
|
19
|
-
.cmt { color: green; font-style: italic }
|
|
20
|
-
.str { color: #662222; font-style: italic }
|
|
21
|
-
.re { color: #662222; }
|
|
22
|
-
</style>
|
|
23
|
-
</head>
|
|
24
|
-
<body bgcolor="white">
|
|
25
|
-
<pre><span class="ruby-comment cmt"># File lib/gettext.rb, line 224</span>
|
|
26
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_locale</span>(<span class="ruby-identifier">locale</span>, <span class="ruby-identifier">this_target_only</span> = <span class="ruby-keyword kw">false</span>)
|
|
27
|
-
<span class="ruby-identifier">ret</span> = <span class="ruby-keyword kw">nil</span>
|
|
28
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">locale</span>
|
|
29
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">locale</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Locale</span><span class="ruby-operator">::</span><span class="ruby-constant">Object</span>
|
|
30
|
-
<span class="ruby-identifier">ret</span> = <span class="ruby-identifier">locale</span>
|
|
31
|
-
<span class="ruby-keyword kw">else</span>
|
|
32
|
-
<span class="ruby-identifier">ret</span> = <span class="ruby-constant">Locale</span><span class="ruby-operator">::</span><span class="ruby-constant">Object</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">locale</span>.<span class="ruby-identifier">to_s</span>)
|
|
33
|
-
<span class="ruby-keyword kw">end</span>
|
|
34
|
-
<span class="ruby-identifier">ret</span>.<span class="ruby-identifier">charset</span> = <span class="ruby-identifier">output_charset</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">output_charset</span>
|
|
35
|
-
<span class="ruby-constant">Locale</span>.<span class="ruby-identifier">set</span>(<span class="ruby-identifier">ret</span>)
|
|
36
|
-
<span class="ruby-keyword kw">else</span>
|
|
37
|
-
<span class="ruby-constant">Locale</span>.<span class="ruby-identifier">clear</span>
|
|
38
|
-
<span class="ruby-identifier">ret</span> = <span class="ruby-constant">Locale</span>.<span class="ruby-identifier">get</span>
|
|
39
|
-
<span class="ruby-keyword kw">end</span>
|
|
40
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">this_target_only</span>
|
|
41
|
-
<span class="ruby-identifier">manager</span> = <span class="ruby-ivar">@@__textdomainmanagers</span>[<span class="ruby-identifier">bound_target</span>]
|
|
42
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">manager</span>
|
|
43
|
-
<span class="ruby-identifier">manager</span>.<span class="ruby-identifier">set_locale</span>(<span class="ruby-identifier">ret</span>)
|
|
44
|
-
<span class="ruby-keyword kw">end</span>
|
|
45
|
-
<span class="ruby-keyword kw">else</span>
|
|
46
|
-
<span class="ruby-identifier">each_textdomain</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">textdomain</span><span class="ruby-operator">|</span>
|
|
47
|
-
<span class="ruby-identifier">textdomain</span>.<span class="ruby-identifier">set_locale</span>(<span class="ruby-identifier">ret</span>)
|
|
48
|
-
}
|
|
49
|
-
<span class="ruby-keyword kw">end</span>
|
|
50
|
-
<span class="ruby-keyword kw">self</span>
|
|
51
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
52
|
-
</body>
|
|
53
|
-
</html>
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
<html>
|
|
6
|
-
<head><title>set_locale_all (GetText)</title>
|
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
8
|
-
<style>
|
|
9
|
-
.ruby-comment { color: green; font-style: italic }
|
|
10
|
-
.ruby-constant { color: #4433aa; font-weight: bold; }
|
|
11
|
-
.ruby-identifier { color: #222222; }
|
|
12
|
-
.ruby-ivar { color: #2233dd; }
|
|
13
|
-
.ruby-keyword { color: #3333FF; font-weight: bold }
|
|
14
|
-
.ruby-node { color: #777777; }
|
|
15
|
-
.ruby-operator { color: #111111; }
|
|
16
|
-
.ruby-regexp { color: #662222; }
|
|
17
|
-
.ruby-value { color: #662222; font-style: italic }
|
|
18
|
-
.kw { color: #3333FF; font-weight: bold }
|
|
19
|
-
.cmt { color: green; font-style: italic }
|
|
20
|
-
.str { color: #662222; font-style: italic }
|
|
21
|
-
.re { color: #662222; }
|
|
22
|
-
</style>
|
|
23
|
-
</head>
|
|
24
|
-
<body bgcolor="white">
|
|
25
|
-
<pre><span class="ruby-comment cmt"># File lib/gettext.rb, line 256</span>
|
|
26
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_locale_all</span>(<span class="ruby-identifier">locale</span>)
|
|
27
|
-
<span class="ruby-identifier">ret</span> = <span class="ruby-keyword kw">nil</span>
|
|
28
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">locale</span>
|
|
29
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">locale</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Locale</span><span class="ruby-operator">::</span><span class="ruby-constant">Object</span>
|
|
30
|
-
<span class="ruby-identifier">ret</span> = <span class="ruby-identifier">locale</span>
|
|
31
|
-
<span class="ruby-keyword kw">else</span>
|
|
32
|
-
<span class="ruby-identifier">ret</span> = <span class="ruby-constant">Locale</span><span class="ruby-operator">::</span><span class="ruby-constant">Object</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">locale</span>.<span class="ruby-identifier">to_s</span>)
|
|
33
|
-
<span class="ruby-keyword kw">end</span>
|
|
34
|
-
<span class="ruby-identifier">ret</span>.<span class="ruby-identifier">charset</span> = <span class="ruby-identifier">output_charset</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">output_charset</span>
|
|
35
|
-
<span class="ruby-constant">Locale</span>.<span class="ruby-identifier">set</span>(<span class="ruby-identifier">ret</span>)
|
|
36
|
-
<span class="ruby-keyword kw">else</span>
|
|
37
|
-
<span class="ruby-constant">Locale</span>.<span class="ruby-identifier">set</span>(<span class="ruby-keyword kw">nil</span>)
|
|
38
|
-
<span class="ruby-identifier">ret</span> = <span class="ruby-constant">Locale</span>.<span class="ruby-identifier">get</span>
|
|
39
|
-
<span class="ruby-keyword kw">end</span>
|
|
40
|
-
<span class="ruby-constant">TextDomainManager</span>.<span class="ruby-identifier">each_all</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">textdomain</span><span class="ruby-operator">|</span>
|
|
41
|
-
<span class="ruby-identifier">textdomain</span>.<span class="ruby-identifier">set_locale</span>(<span class="ruby-identifier">ret</span>)
|
|
42
|
-
}
|
|
43
|
-
<span class="ruby-keyword kw">self</span>
|
|
44
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
45
|
-
</body>
|
|
46
|
-
</html>
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
<html>
|
|
6
|
-
<head><title>locale= (GetText)</title>
|
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
8
|
-
<style>
|
|
9
|
-
.ruby-comment { color: green; font-style: italic }
|
|
10
|
-
.ruby-constant { color: #4433aa; font-weight: bold; }
|
|
11
|
-
.ruby-identifier { color: #222222; }
|
|
12
|
-
.ruby-ivar { color: #2233dd; }
|
|
13
|
-
.ruby-keyword { color: #3333FF; font-weight: bold }
|
|
14
|
-
.ruby-node { color: #777777; }
|
|
15
|
-
.ruby-operator { color: #111111; }
|
|
16
|
-
.ruby-regexp { color: #662222; }
|
|
17
|
-
.ruby-value { color: #662222; font-style: italic }
|
|
18
|
-
.kw { color: #3333FF; font-weight: bold }
|
|
19
|
-
.cmt { color: green; font-style: italic }
|
|
20
|
-
.str { color: #662222; font-style: italic }
|
|
21
|
-
.re { color: #662222; }
|
|
22
|
-
</style>
|
|
23
|
-
</head>
|
|
24
|
-
<body bgcolor="white">
|
|
25
|
-
<pre><span class="ruby-comment cmt"># File lib/gettext.rb, line 280</span>
|
|
26
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">locale=</span>(<span class="ruby-identifier">locale</span>)
|
|
27
|
-
<span class="ruby-identifier">set_locale</span>(<span class="ruby-identifier">locale</span>)
|
|
28
|
-
<span class="ruby-identifier">locale</span>
|
|
29
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
30
|
-
</body>
|
|
31
|
-
</html>
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
<html>
|
|
6
|
-
<head><title>set_output_charset (GetText)</title>
|
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
8
|
-
<style>
|
|
9
|
-
.ruby-comment { color: green; font-style: italic }
|
|
10
|
-
.ruby-constant { color: #4433aa; font-weight: bold; }
|
|
11
|
-
.ruby-identifier { color: #222222; }
|
|
12
|
-
.ruby-ivar { color: #2233dd; }
|
|
13
|
-
.ruby-keyword { color: #3333FF; font-weight: bold }
|
|
14
|
-
.ruby-node { color: #777777; }
|
|
15
|
-
.ruby-operator { color: #111111; }
|
|
16
|
-
.ruby-regexp { color: #662222; }
|
|
17
|
-
.ruby-value { color: #662222; font-style: italic }
|
|
18
|
-
.kw { color: #3333FF; font-weight: bold }
|
|
19
|
-
.cmt { color: green; font-style: italic }
|
|
20
|
-
.str { color: #662222; font-style: italic }
|
|
21
|
-
.re { color: #662222; }
|
|
22
|
-
</style>
|
|
23
|
-
</head>
|
|
24
|
-
<body bgcolor="white">
|
|
25
|
-
<pre><span class="ruby-comment cmt"># File lib/gettext.rb, line 289</span>
|
|
26
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_output_charset</span>(<span class="ruby-identifier">charset</span>)
|
|
27
|
-
<span class="ruby-constant">TextDomainManager</span>.<span class="ruby-identifier">output_charset</span> = <span class="ruby-identifier">charset</span>
|
|
28
|
-
<span class="ruby-keyword kw">self</span>
|
|
29
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
30
|
-
</body>
|
|
31
|
-
</html>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
<html>
|
|
6
|
-
<head><title>output_charset= (GetText)</title>
|
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
8
|
-
<style>
|
|
9
|
-
.ruby-comment { color: green; font-style: italic }
|
|
10
|
-
.ruby-constant { color: #4433aa; font-weight: bold; }
|
|
11
|
-
.ruby-identifier { color: #222222; }
|
|
12
|
-
.ruby-ivar { color: #2233dd; }
|
|
13
|
-
.ruby-keyword { color: #3333FF; font-weight: bold }
|
|
14
|
-
.ruby-node { color: #777777; }
|
|
15
|
-
.ruby-operator { color: #111111; }
|
|
16
|
-
.ruby-regexp { color: #662222; }
|
|
17
|
-
.ruby-value { color: #662222; font-style: italic }
|
|
18
|
-
.kw { color: #3333FF; font-weight: bold }
|
|
19
|
-
.cmt { color: green; font-style: italic }
|
|
20
|
-
.str { color: #662222; font-style: italic }
|
|
21
|
-
.re { color: #662222; }
|
|
22
|
-
</style>
|
|
23
|
-
</head>
|
|
24
|
-
<body bgcolor="white">
|
|
25
|
-
<pre><span class="ruby-comment cmt"># File lib/gettext.rb, line 297</span>
|
|
26
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">output_charset=</span>(<span class="ruby-identifier">charset</span>)
|
|
27
|
-
<span class="ruby-constant">TextDomainManager</span>.<span class="ruby-identifier">output_charset</span> = <span class="ruby-identifier">charset</span>
|
|
28
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
29
|
-
</body>
|
|
30
|
-
</html>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
<html>
|
|
6
|
-
<head><title>output_charset (GetText)</title>
|
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
8
|
-
<style>
|
|
9
|
-
.ruby-comment { color: green; font-style: italic }
|
|
10
|
-
.ruby-constant { color: #4433aa; font-weight: bold; }
|
|
11
|
-
.ruby-identifier { color: #222222; }
|
|
12
|
-
.ruby-ivar { color: #2233dd; }
|
|
13
|
-
.ruby-keyword { color: #3333FF; font-weight: bold }
|
|
14
|
-
.ruby-node { color: #777777; }
|
|
15
|
-
.ruby-operator { color: #111111; }
|
|
16
|
-
.ruby-regexp { color: #662222; }
|
|
17
|
-
.ruby-value { color: #662222; font-style: italic }
|
|
18
|
-
.kw { color: #3333FF; font-weight: bold }
|
|
19
|
-
.cmt { color: green; font-style: italic }
|
|
20
|
-
.str { color: #662222; font-style: italic }
|
|
21
|
-
.re { color: #662222; }
|
|
22
|
-
</style>
|
|
23
|
-
</head>
|
|
24
|
-
<body bgcolor="white">
|
|
25
|
-
<pre><span class="ruby-comment cmt"># File lib/gettext.rb, line 303</span>
|
|
26
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">output_charset</span>
|
|
27
|
-
<span class="ruby-constant">TextDomainManager</span>.<span class="ruby-identifier">output_charset</span>
|
|
28
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
29
|
-
</body>
|
|
30
|
-
</html>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
<html>
|
|
6
|
-
<head><title>locale (GetText)</title>
|
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
8
|
-
<style>
|
|
9
|
-
.ruby-comment { color: green; font-style: italic }
|
|
10
|
-
.ruby-constant { color: #4433aa; font-weight: bold; }
|
|
11
|
-
.ruby-identifier { color: #222222; }
|
|
12
|
-
.ruby-ivar { color: #2233dd; }
|
|
13
|
-
.ruby-keyword { color: #3333FF; font-weight: bold }
|
|
14
|
-
.ruby-node { color: #777777; }
|
|
15
|
-
.ruby-operator { color: #111111; }
|
|
16
|
-
.ruby-regexp { color: #662222; }
|
|
17
|
-
.ruby-value { color: #662222; font-style: italic }
|
|
18
|
-
.kw { color: #3333FF; font-weight: bold }
|
|
19
|
-
.cmt { color: green; font-style: italic }
|
|
20
|
-
.str { color: #662222; font-style: italic }
|
|
21
|
-
.re { color: #662222; }
|
|
22
|
-
</style>
|
|
23
|
-
</head>
|
|
24
|
-
<body bgcolor="white">
|
|
25
|
-
<pre><span class="ruby-comment cmt"># File lib/gettext.rb, line 309</span>
|
|
26
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">locale</span>
|
|
27
|
-
<span class="ruby-constant">Locale</span>.<span class="ruby-identifier">current</span>
|
|
28
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
29
|
-
</body>
|
|
30
|
-
</html>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
<html>
|
|
6
|
-
<head><title>add_default_locale_path (GetText)</title>
|
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
8
|
-
<style>
|
|
9
|
-
.ruby-comment { color: green; font-style: italic }
|
|
10
|
-
.ruby-constant { color: #4433aa; font-weight: bold; }
|
|
11
|
-
.ruby-identifier { color: #222222; }
|
|
12
|
-
.ruby-ivar { color: #2233dd; }
|
|
13
|
-
.ruby-keyword { color: #3333FF; font-weight: bold }
|
|
14
|
-
.ruby-node { color: #777777; }
|
|
15
|
-
.ruby-operator { color: #111111; }
|
|
16
|
-
.ruby-regexp { color: #662222; }
|
|
17
|
-
.ruby-value { color: #662222; font-style: italic }
|
|
18
|
-
.kw { color: #3333FF; font-weight: bold }
|
|
19
|
-
.cmt { color: green; font-style: italic }
|
|
20
|
-
.str { color: #662222; font-style: italic }
|
|
21
|
-
.re { color: #662222; }
|
|
22
|
-
</style>
|
|
23
|
-
</head>
|
|
24
|
-
<body bgcolor="white">
|
|
25
|
-
<pre><span class="ruby-comment cmt"># File lib/gettext.rb, line 328</span>
|
|
26
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_default_locale_path</span>(<span class="ruby-identifier">path</span>)
|
|
27
|
-
<span class="ruby-constant">TextDomain</span>.<span class="ruby-identifier">add_default_locale_path</span>(<span class="ruby-identifier">path</span>)
|
|
28
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
29
|
-
</body>
|
|
30
|
-
</html>
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
<html>
|
|
6
|
-
<head><title>current_textdomain_info (GetText)</title>
|
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
8
|
-
<style>
|
|
9
|
-
.ruby-comment { color: green; font-style: italic }
|
|
10
|
-
.ruby-constant { color: #4433aa; font-weight: bold; }
|
|
11
|
-
.ruby-identifier { color: #222222; }
|
|
12
|
-
.ruby-ivar { color: #2233dd; }
|
|
13
|
-
.ruby-keyword { color: #3333FF; font-weight: bold }
|
|
14
|
-
.ruby-node { color: #777777; }
|
|
15
|
-
.ruby-operator { color: #111111; }
|
|
16
|
-
.ruby-regexp { color: #662222; }
|
|
17
|
-
.ruby-value { color: #662222; font-style: italic }
|
|
18
|
-
.kw { color: #3333FF; font-weight: bold }
|
|
19
|
-
.cmt { color: green; font-style: italic }
|
|
20
|
-
.str { color: #662222; font-style: italic }
|
|
21
|
-
.re { color: #662222; }
|
|
22
|
-
</style>
|
|
23
|
-
</head>
|
|
24
|
-
<body bgcolor="white">
|
|
25
|
-
<pre><span class="ruby-comment cmt"># File lib/gettext.rb, line 338</span>
|
|
26
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">current_textdomain_info</span>(<span class="ruby-identifier">options</span> = {})
|
|
27
|
-
<span class="ruby-identifier">opts</span> = {<span class="ruby-identifier">:with_messages</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">false</span>, <span class="ruby-identifier">:with_paths</span> =<span class="ruby-operator">></span> <span class="ruby-keyword kw">false</span>, <span class="ruby-identifier">:out</span> =<span class="ruby-operator">></span> <span class="ruby-constant">STDOUT</span>}.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">options</span>)
|
|
28
|
-
<span class="ruby-identifier">ret</span> = <span class="ruby-keyword kw">nil</span>
|
|
29
|
-
<span class="ruby-identifier">each_textdomain</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">textdomain</span><span class="ruby-operator">|</span>
|
|
30
|
-
<span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:out</span>].<span class="ruby-identifier">puts</span> <span class="ruby-node">"TextDomain name: \"#{textdomain.name}\""</span>
|
|
31
|
-
<span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:out</span>].<span class="ruby-identifier">puts</span> <span class="ruby-node">"TextDomain current locale: \"#{textdomain.current_locale}\""</span>
|
|
32
|
-
<span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:out</span>].<span class="ruby-identifier">puts</span> <span class="ruby-node">"TextDomain current mo filename: \"#{textdomain.current_mo.filename}\""</span>
|
|
33
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:with_paths</span>]
|
|
34
|
-
<span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:out</span>].<span class="ruby-identifier">puts</span> <span class="ruby-value str">"TextDomain locale file paths:"</span>
|
|
35
|
-
<span class="ruby-identifier">textdomain</span>.<span class="ruby-identifier">locale_paths</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
|
|
36
|
-
<span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:out</span>].<span class="ruby-identifier">puts</span> <span class="ruby-node">" #{v}"</span>
|
|
37
|
-
<span class="ruby-keyword kw">end</span>
|
|
38
|
-
<span class="ruby-keyword kw">end</span>
|
|
39
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:with_messages</span>]
|
|
40
|
-
<span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:out</span>].<span class="ruby-identifier">puts</span> <span class="ruby-value str">"The messages in the mo file:"</span>
|
|
41
|
-
<span class="ruby-identifier">textdomain</span>.<span class="ruby-identifier">current_mo</span>.<span class="ruby-identifier">each</span>{<span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
|
|
42
|
-
<span class="ruby-identifier">opts</span>[<span class="ruby-identifier">:out</span>].<span class="ruby-identifier">puts</span> <span class="ruby-node">" \"#{k}\": \"#{v}\""</span>
|
|
43
|
-
}
|
|
44
|
-
<span class="ruby-keyword kw">end</span>
|
|
45
|
-
}
|
|
46
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
47
|
-
</body>
|
|
48
|
-
</html>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
-
<!DOCTYPE html
|
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
-
|
|
6
|
-
<html>
|
|
7
|
-
<head>
|
|
8
|
-
<title>rmsgmerge (GetText)</title>
|
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
|
11
|
-
</head>
|
|
12
|
-
<body class="standalone-code">
|
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/gettext/rmsgmerge.rb, line 489</span>
|
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">rmsgmerge</span>(<span class="ruby-identifier">reference</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">definition</span> = <span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">out</span> = <span class="ruby-constant">STDOUT</span>)
|
|
15
|
-
<span class="ruby-constant">RMsgMerge</span>.<span class="ruby-identifier">run</span>(<span class="ruby-identifier">reference</span>, <span class="ruby-identifier">definition</span>, <span class="ruby-identifier">out</span>)
|
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
-
</body>
|
|
18
|
-
</html>
|