gettext 1.0.0-mswin32 → 1.1.0-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +193 -0
- data/NEWS +51 -1
- data/README +29 -11
- data/Rakefile +70 -56
- data/bin/rgettext +2 -0
- data/bin/rmsgfmt +2 -0
- data/bin/rmsgmerge +24 -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/es/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/es/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/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/sv/LC_MESSAGES/rgettext.mo +0 -0
- data/ext/gettext/gettext/_locale.BAK +86 -0
- data/ext/gettext/gettext/_locale.c +1 -1
- data/ext/gettext/gettext/_locale.exp +0 -0
- data/ext/gettext/gettext/_locale.lib +0 -0
- data/ext/gettext/gettext/_locale.obj +0 -0
- data/ext/gettext/gettext/_locale.pdb +0 -0
- data/ext/gettext/gettext/_locale.so +0 -0
- data/ext/gettext/gettext/mkmf.log +4 -4
- data/ext/gettext/gettext/vc70.pdb +0 -0
- data/lib/_locale.so +0 -0
- data/lib/gettext.rb +17 -4
- data/lib/gettext/cgi.rb +34 -19
- data/lib/gettext/locale.rb +3 -13
- data/lib/gettext/locale_default.rb +2 -2
- data/lib/gettext/locale_win32.rb +27 -7
- data/lib/gettext/mo.rb +6 -1
- data/lib/gettext/parser/activerecord.rb +115 -0
- data/lib/gettext/parser/glade.rb +3 -1
- data/lib/gettext/parser/ruby.rb +56 -57
- data/lib/gettext/poparser.rb +297 -0
- data/lib/gettext/rails.rb +161 -3
- data/lib/gettext/rgettext.rb +19 -9
- data/lib/gettext/rmsgfmt.rb +95 -363
- data/lib/gettext/rmsgmerge.rb +381 -0
- data/lib/gettext/string.rb +26 -0
- data/lib/gettext/textdomain.rb +21 -18
- data/lib/gettext/utils.rb +55 -0
- data/lib/gettext/version.rb +1 -1
- data/po/cs/rails.po +83 -0
- data/po/cs/rgettext.po +104 -0
- data/po/de/rails.po +79 -0
- data/po/de/rgettext.po +72 -21
- data/po/es/rails.po +80 -0
- data/po/es/rgettext.po +75 -19
- data/po/fr/rails.po +81 -0
- data/po/fr/rgettext.po +75 -19
- data/po/it/rgettext.po +68 -17
- data/po/ja/rails.po +78 -0
- data/po/ja/rgettext.po +71 -20
- data/po/ko/rails.po +77 -0
- data/po/ko/rgettext.po +74 -22
- data/po/nl/rails.po +80 -0
- data/po/nl/rgettext.po +102 -0
- data/po/pt_BR/rails.po +79 -0
- data/po/pt_BR/rgettext.po +77 -24
- data/po/rails.pot +80 -0
- data/po/rgettext.pot +63 -13
- data/po/sv/rgettext.po +63 -15
- data/samples/cgi/cookie.cgi +5 -0
- data/samples/cgi/helloerb1.cgi +4 -0
- data/samples/cgi/helloerb2.cgi +5 -0
- data/samples/cgi/index.cgi +5 -0
- data/samples/cgi/locale/cs/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/cs/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/cs/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/cs/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/fr/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/nl/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/nl/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/nl/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/nl/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/po/cs/helloerb1.po +66 -0
- data/samples/cgi/po/cs/helloerb2.po +52 -0
- data/samples/cgi/po/cs/hellolib.po +25 -0
- data/samples/cgi/po/cs/main.po +78 -0
- data/samples/cgi/po/fr/main.po +8 -8
- data/samples/cgi/po/ko/helloerb1.po +2 -3
- data/samples/cgi/po/ko/helloerb2.po +1 -2
- data/samples/cgi/po/ko/hellolib.po +1 -2
- data/samples/cgi/po/ko/main.po +2 -3
- data/samples/cgi/po/nl/helloerb1.po +60 -0
- data/samples/cgi/po/nl/helloerb2.po +52 -0
- data/samples/cgi/po/nl/hellolib.po +24 -0
- data/samples/cgi/po/nl/main.po +76 -0
- data/samples/cgi/po/pt_BR/helloerb1.po +59 -0
- data/samples/cgi/po/pt_BR/helloerb2.po +51 -0
- data/samples/cgi/po/pt_BR/hellolib.po +22 -0
- data/samples/cgi/po/pt_BR/main.po +75 -0
- data/samples/locale/cs/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/po/cs/hello.po +23 -0
- data/samples/po/cs/hello2.po +31 -0
- data/samples/po/cs/hello_noop.po +27 -0
- data/samples/po/cs/hello_plural.po +26 -0
- data/samples/po/cs/helloglade2.po +37 -0
- data/samples/po/cs/hellogtk.po +23 -0
- data/samples/po/cs/hellotk.po +23 -0
- data/samples/po/fr/helloglade2.po +2 -2
- data/samples/po/hello.pot +1 -0
- data/samples/po/hello2.pot +1 -0
- data/samples/po/hello_noop.pot +2 -1
- data/samples/po/hello_plural.pot +6 -2
- data/samples/po/helloglade2.pot +8 -3
- data/samples/po/hellotk.pot +4 -0
- data/samples/po/ko/hello.po +1 -2
- data/samples/po/ko/hello2.po +1 -2
- data/samples/po/ko/hello_noop.po +1 -2
- data/samples/po/ko/hello_plural.po +1 -2
- data/samples/po/ko/helloglade2.po +2 -2
- data/samples/po/ko/hellogtk.po +1 -2
- data/samples/po/ko/hellotk.po +1 -2
- data/samples/po/nl/hello.po +24 -0
- data/samples/po/nl/hello2.po +32 -0
- data/samples/po/nl/hello_noop.po +28 -0
- data/samples/po/nl/hello_plural.po +26 -0
- data/samples/po/nl/helloglade2.po +31 -0
- data/samples/po/nl/hellogtk.po +24 -0
- data/samples/po/nl/hellotk.po +24 -0
- data/samples/po/pt_BR/hello.po +6 -5
- data/samples/po/pt_BR/hello2.po +6 -5
- data/samples/po/pt_BR/hello_noop.po +6 -5
- data/samples/po/pt_BR/hello_plural.po +6 -6
- data/samples/po/pt_BR/helloglade2.po +6 -5
- data/samples/po/pt_BR/hellogtk.po +6 -5
- data/samples/po/pt_BR/hellotk.po +6 -5
- data/samples/rails/README +21 -15
- data/samples/rails/Rakefile +10 -1
- data/samples/rails/app/controllers/application.rb +10 -18
- data/samples/rails/app/controllers/blog_controller.rb +1 -5
- data/samples/rails/app/helpers/blog_helper.rb +1 -1
- data/samples/rails/app/models/article.rb +15 -0
- data/samples/rails/app/views/blog/_form.rhtml +2 -2
- data/samples/rails/config/boot.rb +17 -0
- data/samples/rails/config/database.yml +6 -4
- data/samples/rails/config/environment.rb +40 -75
- data/samples/rails/config/environments/development.rb +12 -7
- data/samples/rails/config/environments/production.rb +17 -6
- data/samples/rails/config/environments/test.rb +8 -6
- data/samples/rails/locale/cs/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/cs/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/de/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/de/LC_MESSAGES/gettext_plugin.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/es/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/fr/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/fr/LC_MESSAGES/{lang_helper.mo → gettext_plugin.mo} +0 -0
- data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ja/LC_MESSAGES/{lang_helper.mo → gettext_plugin.mo} +0 -0
- data/samples/rails/locale/ko/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ko/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/nl/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/nl/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/pt_BR/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/po/blog.pot +57 -37
- data/samples/rails/po/cs/blog.po +116 -0
- data/samples/rails/po/cs/gettext_plugin.po +29 -0
- data/samples/rails/po/de/blog.po +70 -51
- data/samples/rails/po/de/{lang_helper.po → gettext_plugin.po} +4 -5
- data/samples/rails/po/en/blog.po +111 -0
- data/samples/rails/po/es/blog.po +67 -47
- data/samples/rails/po/es/{lang_helper.po → gettext_plugin.po} +5 -5
- data/samples/rails/po/fr/blog.po +65 -45
- data/samples/rails/po/fr/{lang_helper.po → gettext_plugin.po} +4 -4
- data/samples/rails/po/{lang_helper.pot → gettext_plugin.pot} +4 -4
- data/samples/rails/po/ja/blog.po +64 -44
- data/samples/rails/po/ja/{lang_helper.po → gettext_plugin.po} +4 -4
- data/samples/rails/po/ko/blog.po +65 -46
- data/samples/rails/po/ko/{lang_helper.po → gettext_plugin.po} +5 -6
- data/samples/rails/po/nl/blog.po +115 -0
- data/samples/rails/po/nl/gettext_plugin.po +28 -0
- data/samples/rails/po/pt_BR/blog.po +109 -0
- data/samples/rails/po/pt_BR/gettext_plugin.po +27 -0
- data/samples/rails/public/images/rails.png +0 -0
- data/samples/rails/public/index.html +272 -71
- data/samples/rails/public/javascripts/controls.js +441 -166
- data/samples/rails/public/javascripts/dragdrop.js +261 -279
- data/samples/rails/public/javascripts/effects.js +657 -277
- data/samples/rails/public/javascripts/prototype.js +911 -223
- data/samples/rails/public/robots.txt +1 -0
- data/samples/rails/public/stylesheets/scaffold.css +1 -1
- data/samples/rails/script/about +3 -0
- data/samples/rails/script/breakpointer +3 -4
- data/samples/rails/script/console +3 -23
- data/samples/rails/script/destroy +3 -7
- data/samples/rails/script/generate +3 -7
- data/samples/rails/script/performance/benchmarker +3 -0
- data/samples/rails/script/performance/profiler +3 -0
- data/samples/rails/script/plugin +3 -0
- data/samples/rails/script/process/reaper +3 -0
- data/samples/rails/script/process/spawner +3 -0
- data/samples/rails/script/process/spinner +3 -0
- data/samples/rails/script/runner +3 -29
- data/samples/rails/script/server +3 -49
- data/samples/rails/vendor/plugins/gettext/init.rb +19 -0
- data/samples/rails/vendor/{lang_helper.rb → plugins/gettext/lib/gettext_plugin.rb} +15 -11
- data/src/poparser.ry +171 -0
- data/test/gettext_runner.rb +3 -1
- data/test/gettext_test.rb +56 -31
- data/test/gettext_test_cgi.rb +12 -0
- data/test/gettext_test_parser.rb +3 -0
- data/test/gettext_test_string.rb +14 -0
- data/test/locale/cr/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/da/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/da/LC_MESSAGES/plural_error.mo +0 -0
- data/test/locale/fr/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/fr/LC_MESSAGES/plural_error.mo +0 -0
- data/test/locale/ir/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/la/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/li/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/po/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/sl/LC_MESSAGES/plural.mo +0 -0
- data/test/po/cr/plural.po +3 -3
- data/test/po/da/plural.po +2 -2
- data/test/po/da/plural_error.po +2 -1
- data/test/po/fr/plural.po +2 -2
- data/test/po/fr/plural_error.po +2 -1
- data/test/po/ir/plural.po +3 -3
- data/test/po/la/plural.po +3 -3
- data/test/po/li/plural.po +3 -3
- data/test/po/po/plural.po +3 -3
- data/test/po/sl/plural.po +4 -4
- data/test/test.sh +1 -0
- data/test/test_rubyparser.rb +20 -0
- data/test/{test_rubyparser_n.rb → test_rubyparser_N.rb} +0 -0
- metadata +163 -43
- data/README.ja +0 -115
- data/data/locale/de/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/it/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/sv/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/gettext-1.0.0-mswin32.gem +0 -0
- data/po/de/rmsgfmt.po +0 -45
- data/po/es/rmsgfmt.po +0 -43
- data/po/fr/rmsgfmt.po +0 -43
- data/po/it/rmsgfmt.po +0 -44
- data/po/ja/rmsgfmt.po +0 -43
- data/po/ko/rmsgfmt.po +0 -40
- data/po/pt_BR/rmsgfmt.po +0 -42
- data/po/rmsgfmt.pot +0 -40
- data/po/sv/rmsgfmt.po +0 -43
- data/samples/rails/locale/de/LC_MESSAGES/lang_helper.mo +0 -0
- data/samples/rails/locale/es/LC_MESSAGES/lang_helper.mo +0 -0
- data/samples/rails/locale/ko/LC_MESSAGES/lang_helper.mo +0 -0
- data/samples/rails/log/development.log +0 -378
- data/src/rmsgfmt.ry +0 -233
@@ -0,0 +1,55 @@
|
|
1
|
+
=begin
|
2
|
+
utils.rb - Utility functions
|
3
|
+
|
4
|
+
Copyright (C) 2005 Masao Mutoh
|
5
|
+
|
6
|
+
You may redistribute it and/or modify it under the same
|
7
|
+
license terms as Ruby.
|
8
|
+
=end
|
9
|
+
|
10
|
+
require 'gettext/rgettext'
|
11
|
+
require 'gettext/rmsgfmt'
|
12
|
+
require 'fileutils'
|
13
|
+
|
14
|
+
module GetText
|
15
|
+
module_function
|
16
|
+
def msgmerge(defpo, refpo, app_version)
|
17
|
+
$stderr.puts defpo
|
18
|
+
cmd = ENV["MSGMERGE_PATH"]
|
19
|
+
cmd ||= "msgmerge"
|
20
|
+
|
21
|
+
cont = ""
|
22
|
+
if FileTest.exist? defpo
|
23
|
+
cont = `#{cmd} #{defpo} #{refpo}`
|
24
|
+
else
|
25
|
+
File.open(refpo) do |io|
|
26
|
+
cont = io.read
|
27
|
+
end
|
28
|
+
end
|
29
|
+
cont.sub!(/(Project-Id-Version\:).*$/, "\\1 #{app_version}\\n\"")
|
30
|
+
File.open(defpo, "w") do |out|
|
31
|
+
out.write(cont)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def msgmerge_all(textdomain, app_version, po_root = "po", refpot = "tmp.pot")
|
36
|
+
FileUtils.mkdir_p(po_root) unless FileTest.exist? po_root
|
37
|
+
msgmerge("#{po_root}/#{textdomain}.pot", refpot, app_version)
|
38
|
+
|
39
|
+
Dir.glob("#{po_root}/*/#{textdomain}.po"){ |f|
|
40
|
+
lang = /#{po_root}\/(.*)\//.match(f).to_a[1]
|
41
|
+
msgmerge("#{po_root}/#{lang}/#{textdomain}.po", refpot, app_version)
|
42
|
+
}
|
43
|
+
end
|
44
|
+
|
45
|
+
# updatepo("myapp", Dir.glob("lib/*.rb"), "myapp 1.0.0")
|
46
|
+
def update_pofiles(textdomain, files, app_version, po_root = "po", refpot = "tmp.pot")
|
47
|
+
rgettext(files, refpot)
|
48
|
+
msgmerge_all(textdomain, app_version, po_root, refpot)
|
49
|
+
File.delete(refpot)
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
if __FILE__ == $0
|
54
|
+
GetText.update_pofiles("foo", ARGV, "foo 1.1.0")
|
55
|
+
end
|
data/lib/gettext/version.rb
CHANGED
data/po/cs/rails.po
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
#
|
2
|
+
# a po-file for Ruby-GetText-Package and Ruby on Rails.
|
3
|
+
#
|
4
|
+
# Copyright (C) 2005 Masao Mutoh
|
5
|
+
# This file is distributed under the same license as the Ruby-GetText-Package.
|
6
|
+
#
|
7
|
+
# Karel Miarka <kajism@yahoo.com>, 2005.
|
8
|
+
#
|
9
|
+
msgid ""
|
10
|
+
msgstr ""
|
11
|
+
"Project-Id-Version: ruby-gettext 1.1.0\n"
|
12
|
+
"POT-Creation-Date: 2005-12-20 03:03+0900\n"
|
13
|
+
"PO-Revision-Date: 2005-12-17 21:43+0100\n"
|
14
|
+
"Last-Translator: Karel Miarka <kajism@yahoo.com>\n"
|
15
|
+
"Language-Team: Czech\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%10>=2 && n%"
|
20
|
+
"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
21
|
+
"X-Poedit-Language: Czech\n"
|
22
|
+
|
23
|
+
#: lib/gettext/rails.rb:100
|
24
|
+
msgid "%{fn} is not included in the list"
|
25
|
+
msgstr "%{fn} není obsaženo v seznamu možností"
|
26
|
+
|
27
|
+
#: lib/gettext/rails.rb:101
|
28
|
+
msgid "%{fn} is reserved"
|
29
|
+
msgstr "%{fn} je rezervováno a nemůže být zvoleno"
|
30
|
+
|
31
|
+
#: lib/gettext/rails.rb:102
|
32
|
+
msgid "%{fn} is invalid"
|
33
|
+
msgstr "%{fn} je chybné"
|
34
|
+
|
35
|
+
#: lib/gettext/rails.rb:103
|
36
|
+
msgid "%{fn} doesn't match confirmation"
|
37
|
+
msgstr "%{fn} není shodné s potvrzením"
|
38
|
+
|
39
|
+
#: lib/gettext/rails.rb:104
|
40
|
+
msgid "%{fn} must be accepted"
|
41
|
+
msgstr "%{fn} musí být zaškrtnuto"
|
42
|
+
|
43
|
+
#: lib/gettext/rails.rb:105
|
44
|
+
msgid "%{fn} can't be empty"
|
45
|
+
msgstr "%{fn} musí být vyplněno"
|
46
|
+
|
47
|
+
#: lib/gettext/rails.rb:106
|
48
|
+
msgid "%{fn} can't be blank"
|
49
|
+
msgstr "%{fn} musí být vyplněno"
|
50
|
+
|
51
|
+
#: lib/gettext/rails.rb:107
|
52
|
+
msgid "%{fn} is too long (max is %d characters)"
|
53
|
+
msgstr "%{fn} je příliš dlouhé (maximum je %d znaků)"
|
54
|
+
|
55
|
+
#: lib/gettext/rails.rb:108
|
56
|
+
msgid "%{fn} is too short (min is %d characters)"
|
57
|
+
msgstr "%{fn} je příliš krátké (minimum je %d znaků)"
|
58
|
+
|
59
|
+
#: lib/gettext/rails.rb:109
|
60
|
+
msgid "%{fn} is the wrong length (should be %d characters)"
|
61
|
+
msgstr "%{fn} má nesprávnou délku (musí mít %d znaků)"
|
62
|
+
|
63
|
+
#: lib/gettext/rails.rb:110
|
64
|
+
msgid "%{fn} has already been taken"
|
65
|
+
msgstr "%{fn} je již použito"
|
66
|
+
|
67
|
+
#: lib/gettext/rails.rb:111
|
68
|
+
msgid "%{fn} is not a number"
|
69
|
+
msgstr "%{fn} není správné číslo"
|
70
|
+
|
71
|
+
#: lib/gettext/rails.rb:176
|
72
|
+
msgid "%{num} error prohibited this %{record} from being saved"
|
73
|
+
msgid_plural "%{num} errors prohibited this %{record} from being saved"
|
74
|
+
msgstr[0] "%{num} chyba znemožnila uložení záznamu %{record} "
|
75
|
+
msgstr[1] "%{num} chyby znemožnily uložení záznamu %{record} "
|
76
|
+
msgstr[2] "%{num} chyb znemožnilo uložení záznamu %{record} "
|
77
|
+
|
78
|
+
#: lib/gettext/rails.rb:179
|
79
|
+
msgid "There were problems with the following field:"
|
80
|
+
msgid_plural "There were problems with the following fields:"
|
81
|
+
msgstr[0] "Problémy jsou s následujícím polem:"
|
82
|
+
msgstr[1] "Problémy jsou s následujícími poli:"
|
83
|
+
msgstr[2] "Problémy jsou s následujícími poli:"
|
data/po/cs/rgettext.po
ADDED
@@ -0,0 +1,104 @@
|
|
1
|
+
#
|
2
|
+
# a po-file for Ruby-GetText-Package
|
3
|
+
#
|
4
|
+
# Copyright (C) 2004 Masao Mutoh
|
5
|
+
# This file is distributed under the same license as the Ruby-GetText-Package.
|
6
|
+
#
|
7
|
+
# Karel Miarka <kajism@yahoo.com>, 2005.
|
8
|
+
#
|
9
|
+
msgid ""
|
10
|
+
msgstr ""
|
11
|
+
"Project-Id-Version: ruby-gettext 1.1.0\n"
|
12
|
+
"POT-Creation-Date: 2005-12-20 03:03+0900\n"
|
13
|
+
"PO-Revision-Date: 2005-12-17 21:55+0100\n"
|
14
|
+
"Last-Translator: Karel Miarka <kajism@yahoo.com>\n"
|
15
|
+
"Language-Team: Czech\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%10>=2 && n%"
|
20
|
+
"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
21
|
+
"X-Poedit-Language: Czech\n"
|
22
|
+
"X-Poedit-Bookmarks: -1,-1,-1,-1,-1,-1,-1,-1,15,-1\n"
|
23
|
+
|
24
|
+
#: lib/gettext/rmsgmerge.rb:300
|
25
|
+
msgid "Usage: %s def.po ref.pot [-o output.pot]"
|
26
|
+
msgstr "Použití: %s def.po ref.pot [-o output.pot]"
|
27
|
+
|
28
|
+
#: lib/gettext/rmsgmerge.rb:302
|
29
|
+
msgid ""
|
30
|
+
"Merges two Uniforum style .po files together. The def.po file is an existing "
|
31
|
+
"PO file with translations. The ref.pot file is the last created PO file with "
|
32
|
+
"up-to-date source references. ref.pot is generally created by rgettext."
|
33
|
+
msgstr ""
|
34
|
+
"Sloučí dohromady dva (Uniforum style) .po soubory. Soubor def.po je "
|
35
|
+
"existující PO soubor s překlady. Soubor ref.pot je naposledy vytvořený PO "
|
36
|
+
"soubor s aktuálními zdrojovými referencemi. ref.pot je většinou vytvořen "
|
37
|
+
"rgettextem."
|
38
|
+
|
39
|
+
#: lib/gettext/rmsgmerge.rb:304 lib/gettext/rgettext.rb:132
|
40
|
+
#: lib/gettext/rmsgfmt.rb:50
|
41
|
+
msgid "Specific options:"
|
42
|
+
msgstr "Volby:"
|
43
|
+
|
44
|
+
#: lib/gettext/rmsgmerge.rb:306 lib/gettext/rgettext.rb:134
|
45
|
+
#: lib/gettext/rmsgfmt.rb:52
|
46
|
+
msgid "write output to specified file"
|
47
|
+
msgstr "zapsat výstup od určeného souboru"
|
48
|
+
|
49
|
+
#: lib/gettext/rmsgmerge.rb:315 lib/gettext/rgettext.rb:143
|
50
|
+
#: lib/gettext/rmsgfmt.rb:56
|
51
|
+
msgid "display version information and exit"
|
52
|
+
msgstr "zobrazit informaci o verzi a skončit"
|
53
|
+
|
54
|
+
#: lib/gettext/rmsgmerge.rb:336
|
55
|
+
msgid "definition po is not given."
|
56
|
+
msgstr "definiční po soubor není zadán."
|
57
|
+
|
58
|
+
#: lib/gettext/rmsgmerge.rb:338
|
59
|
+
msgid "reference pot is not given."
|
60
|
+
msgstr "referenční pot soubor není zadán."
|
61
|
+
|
62
|
+
#: lib/gettext/rgettext.rb:43
|
63
|
+
msgid "'%{klass}' is ignored."
|
64
|
+
msgstr "'%{klass}' je ignorován."
|
65
|
+
|
66
|
+
#: lib/gettext/rgettext.rb:128
|
67
|
+
msgid "Usage: %s input.rb [-o output.pot]"
|
68
|
+
msgstr "Použití: %s input.rb [-o output.pot]"
|
69
|
+
|
70
|
+
#: lib/gettext/rgettext.rb:130
|
71
|
+
msgid "Extract translatable strings from given input files."
|
72
|
+
msgstr "Extrahuj přeložitelné texty ze zadaných vstupních souborů."
|
73
|
+
|
74
|
+
#: lib/gettext/rgettext.rb:138
|
75
|
+
msgid "File '%s' has already existed."
|
76
|
+
msgstr "Soubor '%s' již existoval."
|
77
|
+
|
78
|
+
#: lib/gettext/rgettext.rb:166 lib/gettext/rmsgfmt.rb:30
|
79
|
+
msgid "no input files"
|
80
|
+
msgstr "vstupní soubory nenalezeny"
|
81
|
+
|
82
|
+
#: lib/gettext/rmsgfmt.rb:46
|
83
|
+
msgid "Usage: %s input.po [-o output.mo]"
|
84
|
+
msgstr "Použití: %s input.po [-o output.mo]"
|
85
|
+
|
86
|
+
#: lib/gettext/rmsgfmt.rb:48
|
87
|
+
msgid "Generate binary message catalog from textual translation description."
|
88
|
+
msgstr "Generovat binání katalog zpráv z textového popisu překladu."
|
89
|
+
|
90
|
+
#: lib/gettext/parser/activerecord.rb:27
|
91
|
+
msgid "'%{file}' is not found."
|
92
|
+
msgstr "'%{file}' nebyl nalezen."
|
93
|
+
|
94
|
+
#: lib/gettext/parser/activerecord.rb:72
|
95
|
+
msgid "Ignored '%{file}'. Solve dependencies first."
|
96
|
+
msgstr "'%{file}' ignorován. Nejprve vyřešte závislosti."
|
97
|
+
|
98
|
+
#: lib/gettext/parser/activerecord.rb:90
|
99
|
+
msgid "No database is available."
|
100
|
+
msgstr "Žádná databáze není k dispozici."
|
101
|
+
|
102
|
+
#: lib/gettext/parser/glade.rb:74
|
103
|
+
msgid "%s is not glade-2.0 format."
|
104
|
+
msgstr "%s není ve formátu glade-2.0."
|
data/po/de/rails.po
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
#
|
2
|
+
# a po-file for Ruby-GetText-Package and Ruby on Rails.
|
3
|
+
#
|
4
|
+
# Copyright (C) 2005 Masao Mutoh
|
5
|
+
# This file is distributed under the same license as the Ruby-GetText-Package.
|
6
|
+
#
|
7
|
+
# Sasa Ebach, 2005
|
8
|
+
#
|
9
|
+
msgid ""
|
10
|
+
msgstr ""
|
11
|
+
"Project-Id-Version: ruby-gettext 1.1.0\n"
|
12
|
+
"POT-Creation-Date: 2005-12-17 14:56+0900\n"
|
13
|
+
"PO-Revision-Date: 2005-12-27 17:00W. Europe Standard Time\n"
|
14
|
+
"Last-Translator: Sasa Ebach <se@digitale-wertschoepfung.de>\n"
|
15
|
+
"Language-Team: German\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=2; plural=(n != 1);\n"
|
20
|
+
|
21
|
+
#: lib/gettext/rails.rb:100
|
22
|
+
msgid "%{fn} is not included in the list"
|
23
|
+
msgstr "%{fn} kommt nicht in der Liste vor"
|
24
|
+
|
25
|
+
#: lib/gettext/rails.rb:101
|
26
|
+
msgid "%{fn} is reserved"
|
27
|
+
msgstr "%{fn} ist reserviert"
|
28
|
+
|
29
|
+
#: lib/gettext/rails.rb:102
|
30
|
+
msgid "%{fn} is invalid"
|
31
|
+
msgstr "%{fn} ist ungültig"
|
32
|
+
|
33
|
+
#: lib/gettext/rails.rb:103
|
34
|
+
msgid "%{fn} doesn't match confirmation"
|
35
|
+
msgstr "%{fn} stimmt nicht mit der Bestätigung überein"
|
36
|
+
|
37
|
+
#: lib/gettext/rails.rb:104
|
38
|
+
msgid "%{fn} must be accepted"
|
39
|
+
msgstr "%{fn} muss akzeptiert werden"
|
40
|
+
|
41
|
+
#: lib/gettext/rails.rb:105
|
42
|
+
msgid "%{fn} can't be empty"
|
43
|
+
msgstr "%{fn} kann nicht leer sein"
|
44
|
+
|
45
|
+
#: lib/gettext/rails.rb:106
|
46
|
+
msgid "%{fn} can't be blank"
|
47
|
+
msgstr "%{fn} kann nicht leer sein"
|
48
|
+
|
49
|
+
#: lib/gettext/rails.rb:107
|
50
|
+
msgid "%{fn} is too long (max is %d characters)"
|
51
|
+
msgstr "%{fn} ist zu lang (max. %d Zeichen)"
|
52
|
+
|
53
|
+
#: lib/gettext/rails.rb:108
|
54
|
+
msgid "%{fn} is too short (min is %d characters)"
|
55
|
+
msgstr "%{fn} ist zu kurz (min. %d Zeichen)"
|
56
|
+
|
57
|
+
#: lib/gettext/rails.rb:109
|
58
|
+
msgid "%{fn} is the wrong length (should be %d characters)"
|
59
|
+
msgstr "%{fn} hat eine falsche Länge (sollte %d Zeichen lang sein)"
|
60
|
+
|
61
|
+
#: lib/gettext/rails.rb:110
|
62
|
+
msgid "%{fn} has already been taken"
|
63
|
+
msgstr "%{fn} existiert bereits"
|
64
|
+
|
65
|
+
#: lib/gettext/rails.rb:111
|
66
|
+
msgid "%{fn} is not a number"
|
67
|
+
msgstr "%{fn} ist keine Ziffer"
|
68
|
+
|
69
|
+
#: lib/gettext/rails.rb:176
|
70
|
+
msgid "%{num} error prohibited this %{record} from being saved"
|
71
|
+
msgid_plural "%{num} errors prohibited this %{record} from being saved"
|
72
|
+
msgstr[0] "%{num} Fehler hat verhindert, dass dieser %{record} gespeichert werden konnte"
|
73
|
+
msgstr[1] "%{num} Fehler haben verhindert, dass dieser %{record} gespeichert werden konnte"
|
74
|
+
|
75
|
+
#: lib/gettext/rails.rb:179
|
76
|
+
msgid "There were problems with the following field:"
|
77
|
+
msgid_plural "There were problems with the following fields:"
|
78
|
+
msgstr[0] "Folgendes Feld hat Probleme verursacht:"
|
79
|
+
msgstr[1] "Folgende Felder haben Probleme verursacht:"
|
data/po/de/rgettext.po
CHANGED
@@ -1,49 +1,100 @@
|
|
1
1
|
#
|
2
|
-
# po-file for
|
2
|
+
# po-file for Ruby-GetText-Package
|
3
3
|
#
|
4
|
-
# Copyright (C) 2004 Masao Mutoh
|
4
|
+
# Copyright (C) 2004,2005 Masao Mutoh
|
5
5
|
# This file is distributed under the same license as the Ruby-GetText-Package.
|
6
6
|
#
|
7
|
+
# Sasa Ebach, 2005
|
7
8
|
# Sven Herzberg, 2005
|
8
9
|
# Detlef Reichl, 2004
|
9
10
|
#
|
10
11
|
msgid ""
|
11
12
|
msgstr ""
|
12
|
-
"Project-Id-Version: ruby-gettext 1.
|
13
|
+
"Project-Id-Version: ruby-gettext 1.1.0\n"
|
13
14
|
"Report-Msgid-Bugs-To: \n"
|
14
|
-
"POT-Creation-Date: 2005-
|
15
|
-
"PO-Revision-Date: 2005-
|
16
|
-
"Last-Translator:
|
15
|
+
"POT-Creation-Date: 2005-12-17 14:56+0900\n"
|
16
|
+
"PO-Revision-Date: 2005-12-27 17:00W. Europe Standard Time\n"
|
17
|
+
"Last-Translator: Sasa Ebach <se@digitale-wertschoepfung.de>\n"
|
17
18
|
"Language-Team: German <gnome-de@gnome.org>\n"
|
18
19
|
"MIME-Version: 1.0\n"
|
19
20
|
"Content-Type: text/plain; charset=UTF-8\n"
|
20
|
-
"Content-Transfer-Encoding: 8bit"
|
21
|
+
"Content-Transfer-Encoding: 8bit\n"
|
21
22
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
22
23
|
|
23
|
-
#: lib/gettext/
|
24
|
-
msgid "Usage: %s
|
25
|
-
msgstr "
|
24
|
+
#: lib/gettext/rmsgmerge.rb:300
|
25
|
+
msgid "Usage: %s def.po ref.pot [-o output.pot]"
|
26
|
+
msgstr "Verwendung: %s eingabe.po [-o ausgabe.mo]"
|
26
27
|
|
27
|
-
#: lib/gettext/
|
28
|
-
msgid "
|
29
|
-
|
28
|
+
#: lib/gettext/rmsgmerge.rb:302
|
29
|
+
msgid ""
|
30
|
+
"Merges two Uniforum style .po files together. The def.po file is an existing "
|
31
|
+
"PO file with translations. The ref.pot file is the last created PO file with "
|
32
|
+
"up-to-date source references. ref.pot is generally created by rgettext."
|
33
|
+
msgstr "Verschmelzt zwei .po Dateien miteinander. Die Datei def.po existiert bereits und enthält Übersetzungen. Die Datei ref.pot ist die zuletzt erstellte Datei mit aktuellen Quellenreferenzen. ref.pot wird in aller Regel durch rgettext erstellt"
|
30
34
|
|
31
|
-
#: lib/gettext/rgettext.rb:
|
35
|
+
#: lib/gettext/rmsgmerge.rb:304 lib/gettext/rgettext.rb:132
|
36
|
+
#: lib/gettext/rmsgfmt.rb:50
|
32
37
|
msgid "Specific options:"
|
33
38
|
msgstr "Spezielle Optionen:"
|
34
39
|
|
35
|
-
#: lib/gettext/rgettext.rb:
|
40
|
+
#: lib/gettext/rmsgmerge.rb:306 lib/gettext/rgettext.rb:134
|
41
|
+
#: lib/gettext/rmsgfmt.rb:52
|
36
42
|
msgid "write output to specified file"
|
37
|
-
msgstr "Schreibe
|
43
|
+
msgstr "Schreibe Ausgabe in die angegebene Datei"
|
44
|
+
|
45
|
+
#: lib/gettext/rmsgmerge.rb:315 lib/gettext/rgettext.rb:143
|
46
|
+
#: lib/gettext/rmsgfmt.rb:56
|
47
|
+
msgid "display version information and exit"
|
48
|
+
msgstr "Zeige Versionsinformationen und beende."
|
49
|
+
|
50
|
+
#: lib/gettext/rmsgmerge.rb:336
|
51
|
+
msgid "definition po is not given."
|
52
|
+
msgstr "Definitions .po ist nicht angegeben."
|
53
|
+
|
54
|
+
#: lib/gettext/rmsgmerge.rb:338
|
55
|
+
msgid "reference pot is not given."
|
56
|
+
msgstr "Referenz .po ist nicht angegeben."
|
57
|
+
|
58
|
+
#: lib/gettext/rgettext.rb:43
|
59
|
+
msgid "'%{klass}' is ignored."
|
60
|
+
msgstr "'%{klass}' wird ignoriert."
|
38
61
|
|
39
62
|
#: lib/gettext/rgettext.rb:128
|
63
|
+
msgid "Usage: %s input.rb [-o output.pot]"
|
64
|
+
msgstr "Verwendung: %s eingabe.po [-o ausgabe.mo]"
|
65
|
+
|
66
|
+
#: lib/gettext/rgettext.rb:130
|
67
|
+
msgid "Extract translatable strings from given input files."
|
68
|
+
msgstr "Extrahiere die übersetzbaren Zeichenketten aus den angegebenen Eingabedateien."
|
69
|
+
|
70
|
+
#: lib/gettext/rgettext.rb:138
|
40
71
|
msgid "File '%s' has already existed."
|
41
72
|
msgstr "Die Datei »%s« existierte bereits."
|
42
73
|
|
43
|
-
#: lib/gettext/rgettext.rb:
|
44
|
-
msgid "display version information and exit"
|
45
|
-
msgstr "Zeige Versions-Informationen und beende."
|
46
|
-
|
47
|
-
#: lib/gettext/rgettext.rb:156
|
74
|
+
#: lib/gettext/rgettext.rb:166 lib/gettext/rmsgfmt.rb:30
|
48
75
|
msgid "no input files"
|
49
76
|
msgstr "Keine Eingabedateien"
|
77
|
+
|
78
|
+
#: lib/gettext/rmsgfmt.rb:46
|
79
|
+
msgid "Usage: %s input.po [-o output.mo]"
|
80
|
+
msgstr "Verwendung: %s eingabe.po [-o ausgabe.mo]"
|
81
|
+
|
82
|
+
#: lib/gettext/rmsgfmt.rb:48
|
83
|
+
msgid "Generate binary message catalog from textual translation description."
|
84
|
+
msgstr "Erstelle binären Meldungskatalog aus schriftlicher Übersetzungsbeschreibung."
|
85
|
+
|
86
|
+
#: lib/gettext/parser/activerecord.rb:27
|
87
|
+
msgid "'%{file}' is not found."
|
88
|
+
msgstr "'%{file}' wurde nicht gefunden."
|
89
|
+
|
90
|
+
#: lib/gettext/parser/activerecord.rb:72
|
91
|
+
msgid "Ignored '%{file}'. Solve dependencies first."
|
92
|
+
msgstr "Habe '%{file}' ignoriert. Bitte zuerst die Abhängigkeiten auflösen."
|
93
|
+
|
94
|
+
#: lib/gettext/parser/activerecord.rb:90
|
95
|
+
msgid "No database is available."
|
96
|
+
msgstr "Es ist keine Datenbank vorhanden."
|
97
|
+
|
98
|
+
#: lib/gettext/parser/glade.rb:74
|
99
|
+
msgid "%s is not glade-2.0 format."
|
100
|
+
msgstr "%s liegt nicht im Glade-2.0-Format vor."
|