gettext 1.7.0-mswin32 → 1.8.0-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +139 -0
- data/NEWS +31 -0
- data/README +31 -15
- data/Rakefile +3 -2
- 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/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/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/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 +66 -6
- data/samples/rails/db/mysql.sql +0 -8
- data/samples/rails/db/postgresql.sql +0 -7
data/lib/gettext/rgettext.rb
CHANGED
@@ -25,19 +25,19 @@ module GetText
|
|
25
25
|
|
26
26
|
# constant values
|
27
27
|
VERSION = GetText::VERSION
|
28
|
-
DATE = %w($Date: 2006/
|
28
|
+
DATE = %w($Date: 2006/09/10 15:08:32 $)[1]
|
29
29
|
MAX_LINE_LEN = 70
|
30
30
|
|
31
31
|
@ex_parsers = []
|
32
32
|
[
|
33
33
|
["glade.rb", "GladeParser"],
|
34
34
|
["erb.rb", "ErbParser"],
|
35
|
-
["
|
35
|
+
["active_record.rb", "ActiveRecordParser"],
|
36
36
|
# ["ripper.rb", "RipperParser"],
|
37
37
|
["ruby.rb", "RubyParser"] # Default parser.
|
38
38
|
].each do |f, klass|
|
39
39
|
begin
|
40
|
-
require
|
40
|
+
require "gettext/parser/#{f}"
|
41
41
|
@ex_parsers << GetText.const_get(klass)
|
42
42
|
rescue
|
43
43
|
$stderr.puts _("'%{klass}' is ignored.") % {:klass => klass}
|
@@ -47,6 +47,26 @@ module GetText
|
|
47
47
|
|
48
48
|
module_function
|
49
49
|
|
50
|
+
# Add an option parser
|
51
|
+
# the option parser module requires to have target?(file) and parser(file, ary) method.
|
52
|
+
#
|
53
|
+
# require 'gettext/rgettext'
|
54
|
+
# module FooParser
|
55
|
+
# module_function
|
56
|
+
# def target?(file)
|
57
|
+
# File.extname(file) == '.foo' # *.foo file only.
|
58
|
+
# end
|
59
|
+
# def parse(file, ary)
|
60
|
+
# :
|
61
|
+
# return ary # [["msgid1", "foo.rb:200"], ["msgid2", "bar.rb:300", "baz.rb:400"], ...]
|
62
|
+
# end
|
63
|
+
# end
|
64
|
+
#
|
65
|
+
# GetText::RGetText.add_parser(FooParser)
|
66
|
+
def add_parser(klass)
|
67
|
+
@ex_parsers.insert(0, klass)
|
68
|
+
end
|
69
|
+
|
50
70
|
def generate_pot_header # :nodoc:
|
51
71
|
time = Time.now.strftime("%Y-%m-%d %H:%M")
|
52
72
|
off = Time.now.utc_offset
|
@@ -114,8 +134,8 @@ msgstr ""
|
|
114
134
|
end
|
115
135
|
end
|
116
136
|
rescue
|
117
|
-
puts
|
118
|
-
|
137
|
+
puts "Error occurs in " + file
|
138
|
+
raise
|
119
139
|
end
|
120
140
|
end
|
121
141
|
|
@@ -126,7 +146,7 @@ msgstr ""
|
|
126
146
|
output = STDOUT
|
127
147
|
|
128
148
|
opts = OptionParser.new
|
129
|
-
opts.banner = _("Usage: %s input.rb [-o output.pot]") % $0
|
149
|
+
opts.banner = _("Usage: %s input.rb [-r parser.rb] [-o output.pot]") % $0
|
130
150
|
opts.separator("")
|
131
151
|
opts.separator(_("Extract translatable strings from given input files."))
|
132
152
|
opts.separator("")
|
@@ -141,6 +161,14 @@ msgstr ""
|
|
141
161
|
end
|
142
162
|
end
|
143
163
|
|
164
|
+
opts.on("-r", "--require=PARSER", _("read an option parser")) do |out|
|
165
|
+
require out
|
166
|
+
end
|
167
|
+
|
168
|
+
opts.on("-d", "--debug", _("run in debugging mode")) do
|
169
|
+
$DEBUG = true
|
170
|
+
end
|
171
|
+
|
144
172
|
opts.on_tail("--version", _("display version information and exit")) do
|
145
173
|
puts "#{$0} #{VERSION} (#{DATE})"
|
146
174
|
puts "#{File.join(Config::CONFIG["bindir"], Config::CONFIG["RUBY_INSTALL_NAME"])} #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
|
data/lib/gettext/string.rb
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
# the meaning of the msgids using "named argument" instead of %s/%d style.
|
15
15
|
class String
|
16
16
|
alias :_old_format_m :% # :nodoc:
|
17
|
-
|
17
|
+
|
18
18
|
# call-seq:
|
19
19
|
# %(arg)
|
20
20
|
# %(hash)
|
@@ -34,6 +34,7 @@ class String
|
|
34
34
|
# * Returns: formatted String
|
35
35
|
#
|
36
36
|
# (e.g.) "%{firstname}, %{familyname}" % {:firstname => "Masao", :familyname => "Mutoh"}
|
37
|
+
REGEXP_NORMAL = /%\{/ #:nodoc:
|
37
38
|
def %(args)
|
38
39
|
if args.kind_of?(Hash)
|
39
40
|
ret = dup
|
@@ -42,7 +43,7 @@ class String
|
|
42
43
|
}
|
43
44
|
ret
|
44
45
|
else
|
45
|
-
ret = gsub(
|
46
|
+
ret = gsub(REGEXP_NORMAL, '%%{')
|
46
47
|
begin
|
47
48
|
ret._old_format_m(args)
|
48
49
|
rescue ArgumentError
|
data/lib/gettext/textdomain.rb
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
You may redistribute it and/or modify it under the same
|
11
11
|
license terms as Ruby.
|
12
12
|
|
13
|
-
$Id: textdomain.rb,v 1.
|
13
|
+
$Id: textdomain.rb,v 1.20 2006/09/11 16:30:31 mutoh Exp $
|
14
14
|
=end
|
15
15
|
|
16
16
|
require 'gettext/string'
|
@@ -61,12 +61,12 @@ module GetText
|
|
61
61
|
# ('locale' => "ja_JP", 'name' => "textdomain")
|
62
62
|
# * Returns: the new DEFAULT_LOCALE_PATHS
|
63
63
|
def self.add_default_locale_path(path)
|
64
|
-
DEFAULT_LOCALE_PATHS
|
64
|
+
DEFAULT_LOCALE_PATHS.unshift(path)
|
65
65
|
end
|
66
66
|
|
67
67
|
# Creates a new GetText::TextDomain.
|
68
68
|
# * name: the textdomain name.
|
69
|
-
# * topdir: the
|
69
|
+
# * topdir: the locale path ("%{topdir}/%{locale}/LC_MESSAGES/%{name}.mo").
|
70
70
|
# * locale: the Locale::Object or nil.
|
71
71
|
# * Returns: a newly created GetText::TextDomain object.
|
72
72
|
def initialize(name, topdir = nil, locale = nil)
|
data/lib/gettext/version.rb
CHANGED
data/po/cs/rails.po
CHANGED
@@ -8,117 +8,117 @@
|
|
8
8
|
#
|
9
9
|
msgid ""
|
10
10
|
msgstr ""
|
11
|
-
"Project-Id-Version: ruby-gettext 1.
|
12
|
-
"POT-Creation-Date: 2006-
|
11
|
+
"Project-Id-Version: ruby-gettext 1.8.0\n"
|
12
|
+
"POT-Creation-Date: 2006-08-23 00:28+0900\n"
|
13
13
|
"PO-Revision-Date: 2006-07-10 10:08+0100\n"
|
14
14
|
"Last-Translator: Karel Miarka <kajism at yahoo.com>\n"
|
15
15
|
"Language-Team: Czech\n"
|
16
16
|
"MIME-Version: 1.0\n"
|
17
17
|
"Content-Type: text/plain; charset=UTF-8\n"
|
18
18
|
"Content-Transfer-Encoding: 8bit\n"
|
19
|
-
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && 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"
|
20
21
|
"X-Poedit-Language: Czech\n"
|
21
22
|
|
22
|
-
#: lib/gettext/rails.rb:
|
23
|
-
msgid "%{fn} is not included in the list"
|
24
|
-
msgstr "%{fn} není obsaženo v seznamu možností"
|
25
|
-
|
26
|
-
#: lib/gettext/rails.rb:282
|
27
|
-
msgid "%{fn} is reserved"
|
28
|
-
msgstr "%{fn} je rezervováno a nemůže být zvoleno"
|
29
|
-
|
30
|
-
#: lib/gettext/rails.rb:283
|
31
|
-
msgid "%{fn} is invalid"
|
32
|
-
msgstr "%{fn} je chybné"
|
33
|
-
|
34
|
-
#: lib/gettext/rails.rb:284
|
35
|
-
msgid "%{fn} doesn't match confirmation"
|
36
|
-
msgstr "%{fn} není shodné s potvrzením"
|
37
|
-
|
38
|
-
#: lib/gettext/rails.rb:285
|
39
|
-
msgid "%{fn} must be accepted"
|
40
|
-
msgstr "%{fn} musí být zaškrtnuto"
|
41
|
-
|
42
|
-
#: lib/gettext/rails.rb:286
|
43
|
-
msgid "%{fn} can't be empty"
|
44
|
-
msgstr "%{fn} musí být vyplněno"
|
45
|
-
|
46
|
-
#: lib/gettext/rails.rb:287
|
47
|
-
msgid "%{fn} can't be blank"
|
48
|
-
msgstr "%{fn} musí být vyplněno"
|
49
|
-
|
50
|
-
#: lib/gettext/rails.rb:288
|
51
|
-
msgid "%{fn} is too long (max is %d characters)"
|
52
|
-
msgstr "%{fn} je příliš dlouhé (maximum je %d znaků)"
|
53
|
-
|
54
|
-
#: lib/gettext/rails.rb:289
|
55
|
-
msgid "%{fn} is too short (min is %d characters)"
|
56
|
-
msgstr "%{fn} je příliš krátké (minimum je %d znaků)"
|
57
|
-
|
58
|
-
#: lib/gettext/rails.rb:290
|
59
|
-
msgid "%{fn} is the wrong length (should be %d characters)"
|
60
|
-
msgstr "%{fn} má nesprávnou délku (musí mít %d znaků)"
|
61
|
-
|
62
|
-
#: lib/gettext/rails.rb:291
|
63
|
-
msgid "%{fn} has already been taken"
|
64
|
-
msgstr "%{fn} je již použito"
|
65
|
-
|
66
|
-
#: lib/gettext/rails.rb:292
|
67
|
-
msgid "%{fn} is not a number"
|
68
|
-
msgstr "%{fn} není správné číslo"
|
69
|
-
|
70
|
-
#: lib/gettext/rails.rb:359
|
23
|
+
#: lib/gettext/rails.rb:271
|
71
24
|
msgid "%{num} error prohibited this %{record} from being saved"
|
72
25
|
msgid_plural "%{num} errors prohibited this %{record} from being saved"
|
73
26
|
msgstr[0] "%{num} chyba znemožnila uložení záznamu %{record} "
|
74
27
|
msgstr[1] "%{num} chyby znemožnily uložení záznamu %{record} "
|
75
28
|
msgstr[2] "%{num} chyb znemožnilo uložení záznamu %{record} "
|
76
29
|
|
77
|
-
#: lib/gettext/rails.rb:
|
30
|
+
#: lib/gettext/rails.rb:273
|
78
31
|
msgid "There was a problem with the following field:"
|
79
32
|
msgid_plural "There were problems with the following fields:"
|
80
33
|
msgstr[0] "Problémy jsou s následujícím polem:"
|
81
34
|
msgstr[1] "Problémy jsou s následujícími poli:"
|
82
35
|
msgstr[2] "Problémy jsou s následujícími poli:"
|
83
36
|
|
84
|
-
#: lib/gettext/rails.rb:
|
37
|
+
#: lib/gettext/rails.rb:360
|
85
38
|
msgid "less than 5 seconds"
|
86
39
|
msgstr "méně než 5 sekund"
|
87
40
|
|
88
|
-
#: lib/gettext/rails.rb:
|
41
|
+
#: lib/gettext/rails.rb:360
|
89
42
|
msgid "less than 10 seconds"
|
90
43
|
msgstr "méně než 10 sekund"
|
91
44
|
|
92
|
-
#: lib/gettext/rails.rb:
|
45
|
+
#: lib/gettext/rails.rb:360
|
93
46
|
msgid "less than 20 seconds"
|
94
47
|
msgstr "méně než 20 sekund"
|
95
48
|
|
96
|
-
#: lib/gettext/rails.rb:
|
49
|
+
#: lib/gettext/rails.rb:361
|
97
50
|
msgid "half a minute"
|
98
51
|
msgstr "půl minuty"
|
99
52
|
|
100
|
-
#: lib/gettext/rails.rb:
|
53
|
+
#: lib/gettext/rails.rb:361
|
101
54
|
msgid "less than a minute"
|
102
55
|
msgstr "méně než minutu"
|
103
56
|
|
104
|
-
#: lib/gettext/rails.rb:
|
57
|
+
#: lib/gettext/rails.rb:362
|
105
58
|
msgid "1 minute"
|
106
59
|
msgid_plural "%{num} minutes"
|
107
60
|
msgstr[0] "1 minuta"
|
108
61
|
msgstr[1] "%{num} minuty"
|
109
62
|
msgstr[2] "%{num} minut"
|
110
63
|
|
111
|
-
#: lib/gettext/rails.rb:
|
64
|
+
#: lib/gettext/rails.rb:363
|
112
65
|
msgid "about 1 hour"
|
113
66
|
msgid_plural "about %{num} hours"
|
114
67
|
msgstr[0] "asi 1 hodina"
|
115
68
|
msgstr[1] "asi %{num} hodiny"
|
116
69
|
msgstr[2] "asi %{num} hodin"
|
117
70
|
|
118
|
-
#: lib/gettext/rails.rb:
|
71
|
+
#: lib/gettext/rails.rb:364
|
119
72
|
msgid "1 day"
|
120
73
|
msgid_plural "%{num} days"
|
121
74
|
msgstr[0] "1 den"
|
122
75
|
msgstr[1] "%{num} dny"
|
123
76
|
msgstr[2] "%{num} dnů"
|
124
77
|
|
78
|
+
#: lib/gettext/active_record.rb:166
|
79
|
+
msgid "%{fn} is not included in the list"
|
80
|
+
msgstr "%{fn} není obsaženo v seznamu možností"
|
81
|
+
|
82
|
+
#: lib/gettext/active_record.rb:167
|
83
|
+
msgid "%{fn} is reserved"
|
84
|
+
msgstr "%{fn} je rezervováno a nemůže být zvoleno"
|
85
|
+
|
86
|
+
#: lib/gettext/active_record.rb:168
|
87
|
+
msgid "%{fn} is invalid"
|
88
|
+
msgstr "%{fn} je chybné"
|
89
|
+
|
90
|
+
#: lib/gettext/active_record.rb:169
|
91
|
+
msgid "%{fn} doesn't match confirmation"
|
92
|
+
msgstr "%{fn} není shodné s potvrzením"
|
93
|
+
|
94
|
+
#: lib/gettext/active_record.rb:170
|
95
|
+
msgid "%{fn} must be accepted"
|
96
|
+
msgstr "%{fn} musí být zaškrtnuto"
|
97
|
+
|
98
|
+
#: lib/gettext/active_record.rb:171
|
99
|
+
msgid "%{fn} can't be empty"
|
100
|
+
msgstr "%{fn} musí být vyplněno"
|
101
|
+
|
102
|
+
#: lib/gettext/active_record.rb:172
|
103
|
+
msgid "%{fn} can't be blank"
|
104
|
+
msgstr "%{fn} musí být vyplněno"
|
105
|
+
|
106
|
+
#: lib/gettext/active_record.rb:173
|
107
|
+
msgid "%{fn} is too long (maximum is %d characters)"
|
108
|
+
msgstr "%{fn} je příliš dlouhé (maximum je %d znaků)"
|
109
|
+
|
110
|
+
#: lib/gettext/active_record.rb:174
|
111
|
+
msgid "%{fn} is too short (minimum is %d characters)"
|
112
|
+
msgstr "%{fn} je příliš krátké (minimum je %d znaků)"
|
113
|
+
|
114
|
+
#: lib/gettext/active_record.rb:175
|
115
|
+
msgid "%{fn} is the wrong length (should be %d characters)"
|
116
|
+
msgstr "%{fn} má nesprávnou délku (musí mít %d znaků)"
|
117
|
+
|
118
|
+
#: lib/gettext/active_record.rb:176
|
119
|
+
msgid "%{fn} has already been taken"
|
120
|
+
msgstr "%{fn} je již použito"
|
121
|
+
|
122
|
+
#: lib/gettext/active_record.rb:177
|
123
|
+
msgid "%{fn} is not a number"
|
124
|
+
msgstr "%{fn} není správné číslo"
|
data/po/cs/rgettext.po
CHANGED
@@ -8,15 +8,16 @@
|
|
8
8
|
#
|
9
9
|
msgid ""
|
10
10
|
msgstr ""
|
11
|
-
"Project-Id-Version: ruby-gettext 1.
|
12
|
-
"POT-Creation-Date: 2006-
|
11
|
+
"Project-Id-Version: ruby-gettext 1.8.0\n"
|
12
|
+
"POT-Creation-Date: 2006-08-23 00:28+0900\n"
|
13
13
|
"PO-Revision-Date: 2006-07-10 10:20+0100\n"
|
14
14
|
"Last-Translator: Karel Miarka <kajism@yahoo.com>\n"
|
15
15
|
"Language-Team: Czech\n"
|
16
16
|
"MIME-Version: 1.0\n"
|
17
17
|
"Content-Type: text/plain; charset=UTF-8\n"
|
18
18
|
"Content-Transfer-Encoding: 8bit\n"
|
19
|
-
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && 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"
|
20
21
|
"X-Poedit-Language: Czech\n"
|
21
22
|
"X-Poedit-Bookmarks: -1,-1,-1,-1,-1,-1,-1,-1,15,-1\n"
|
22
23
|
|
@@ -25,23 +26,27 @@ msgid "Usage: %s def.po ref.pot [-o output.pot]"
|
|
25
26
|
msgstr "Použití: %s def.po ref.pot [-o output.pot]"
|
26
27
|
|
27
28
|
#: lib/gettext/rmsgmerge.rb:406
|
28
|
-
msgid "
|
29
|
-
|
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."
|
30
38
|
|
31
|
-
#: lib/gettext/rmsgmerge.rb:408
|
32
|
-
#: lib/gettext/rgettext.rb:133
|
39
|
+
#: lib/gettext/rmsgmerge.rb:408 lib/gettext/rgettext.rb:153
|
33
40
|
#: lib/gettext/rmsgfmt.rb:51
|
34
41
|
msgid "Specific options:"
|
35
42
|
msgstr "Volby:"
|
36
43
|
|
37
|
-
#: lib/gettext/rmsgmerge.rb:410
|
38
|
-
#: lib/gettext/rgettext.rb:135
|
44
|
+
#: lib/gettext/rmsgmerge.rb:410 lib/gettext/rgettext.rb:155
|
39
45
|
#: lib/gettext/rmsgfmt.rb:53
|
40
46
|
msgid "write output to specified file"
|
41
47
|
msgstr "zapsat výstup od určeného souboru"
|
42
48
|
|
43
|
-
#: lib/gettext/rmsgmerge.rb:421
|
44
|
-
#: lib/gettext/rgettext.rb:144
|
49
|
+
#: lib/gettext/rmsgmerge.rb:421 lib/gettext/rgettext.rb:172
|
45
50
|
#: lib/gettext/rmsgfmt.rb:57
|
46
51
|
msgid "display version information and exit"
|
47
52
|
msgstr "zobrazit informaci o verzi a skončit"
|
@@ -58,20 +63,27 @@ msgstr "referenční pot soubor není zadán."
|
|
58
63
|
msgid "'%{klass}' is ignored."
|
59
64
|
msgstr "'%{klass}' je ignorován."
|
60
65
|
|
61
|
-
#: lib/gettext/rgettext.rb:
|
62
|
-
msgid "Usage: %s input.rb [-o output.pot]"
|
63
|
-
msgstr "Použití: %s input.rb [-o output.pot]"
|
66
|
+
#: lib/gettext/rgettext.rb:149
|
67
|
+
msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
|
68
|
+
msgstr "Použití: %s input.rb [-r parser.rb] [-o output.pot]"
|
64
69
|
|
65
|
-
#: lib/gettext/rgettext.rb:
|
70
|
+
#: lib/gettext/rgettext.rb:151
|
66
71
|
msgid "Extract translatable strings from given input files."
|
67
72
|
msgstr "Extrahuj přeložitelné texty ze zadaných vstupních souborů."
|
68
73
|
|
69
|
-
#: lib/gettext/rgettext.rb:
|
74
|
+
#: lib/gettext/rgettext.rb:159
|
70
75
|
msgid "File '%s' has already existed."
|
71
76
|
msgstr "Soubor '%s' již existoval."
|
72
77
|
|
78
|
+
#: lib/gettext/rgettext.rb:164
|
79
|
+
msgid "read an option parser"
|
80
|
+
msgstr ""
|
81
|
+
|
73
82
|
#: lib/gettext/rgettext.rb:168
|
74
|
-
|
83
|
+
msgid "run in debugging mode"
|
84
|
+
msgstr ""
|
85
|
+
|
86
|
+
#: lib/gettext/rgettext.rb:196 lib/gettext/rmsgfmt.rb:31
|
75
87
|
msgid "no input files"
|
76
88
|
msgstr "vstupní soubory nenalezeny"
|
77
89
|
|
@@ -83,60 +95,30 @@ msgstr "Použití: %s input.po [-o output.mo]"
|
|
83
95
|
msgid "Generate binary message catalog from textual translation description."
|
84
96
|
msgstr "Generovat binání katalog zpráv z textového popisu překladu."
|
85
97
|
|
86
|
-
#: lib/gettext/
|
87
|
-
msgid "
|
88
|
-
msgstr "
|
89
|
-
|
90
|
-
#: lib/gettext/rails_ext.rb:27
|
91
|
-
msgid "You have a nil object when you didn't expect it!"
|
92
|
-
msgstr "Máte nil objekt tam, kde nebyl očekáván!"
|
93
|
-
|
94
|
-
#: lib/gettext/rails_ext.rb:28
|
95
|
-
msgid ""
|
96
|
-
"\n"
|
97
|
-
"You might have expected an instance of %{klass}."
|
98
|
-
msgstr ""
|
99
|
-
"\n"
|
100
|
-
"Možná jste očekávali instanci třídy %{klass}."
|
101
|
-
|
102
|
-
#: lib/gettext/rails_ext.rb:29
|
103
|
-
msgid ""
|
104
|
-
"\n"
|
105
|
-
"The error occured while evaluating nil.%{selector}"
|
106
|
-
msgstr ""
|
107
|
-
"\n"
|
108
|
-
"Chyba nastala při vykonávání nil.%{selector}"
|
109
|
-
|
110
|
-
#: lib/gettext/rails_ext.rb:43
|
111
|
-
msgid "uninitialized constant %{const}"
|
112
|
-
msgstr "nenainicializovaná konstanta %{const}"
|
98
|
+
#: lib/gettext/parser/glade.rb:74
|
99
|
+
msgid "`%{file}' is not glade-2.0 format."
|
100
|
+
msgstr "`%{file}' není ve formátu glade-2.0."
|
113
101
|
|
114
|
-
#: lib/gettext/parser/
|
102
|
+
#: lib/gettext/parser/active_record.rb:39
|
115
103
|
msgid "'%{file}' is not found."
|
116
104
|
msgstr "'%{file}' nebyl nalezen."
|
117
105
|
|
118
|
-
#: lib/gettext/parser/
|
106
|
+
#: lib/gettext/parser/active_record.rb:79
|
119
107
|
msgid "Ignored '%{file}'. Solve dependencies first."
|
120
108
|
msgstr "'%{file}' ignorován. Nejprve vyřešte závislosti."
|
121
109
|
|
122
|
-
#: lib/gettext/parser/
|
110
|
+
#: lib/gettext/parser/active_record.rb:104
|
123
111
|
msgid "No database is available."
|
124
112
|
msgstr "Žádná databáze není k dispozici."
|
125
113
|
|
126
|
-
#: lib/gettext/parser/
|
114
|
+
#: lib/gettext/parser/active_record.rb:138
|
127
115
|
msgid "rubygems are not found."
|
128
116
|
msgstr "rubygems nenalezeny"
|
129
117
|
|
130
|
-
#:
|
131
|
-
msgid "`%{file}' is not glade-2.0 format."
|
132
|
-
msgstr "`%{file}' není ve formátu glade-2.0."
|
133
|
-
|
134
|
-
#: src/poparser.ry:26
|
135
|
-
#: src/poparser.ry:41
|
118
|
+
#: src/poparser.ry:26 src/poparser.ry:41
|
136
119
|
msgid "Warning: fuzzy message was ignored.\n"
|
137
120
|
msgstr "Varování: neurčitý (fuzzy) překlad byl ignorován.\n"
|
138
121
|
|
139
122
|
#: src/poparser.ry:125
|
140
123
|
msgid "Warning: obsolete msgid exists.\n"
|
141
124
|
msgstr "Varování: existoval zastaralý (obsolete) msgid.\n"
|
142
|
-
|