r18n-desktop 0.2.3 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +4 -4
- metadata +6 -6
data/README.rdoc
CHANGED
@@ -15,7 +15,7 @@ information.
|
|
15
15
|
month and week days name and give other locale information.
|
16
16
|
* It has translation for commons words, like “OK”, “Cancel”, etc.
|
17
17
|
* It storage translation in rich YAML format. You can put procedures and
|
18
|
-
pluralization (“1 comment”, “5 comments”)
|
18
|
+
pluralization (“1 comment”, “5 comments”) or create you own filters.
|
19
19
|
|
20
20
|
== How To
|
21
21
|
1. Create translations dir. For example: <tt>./i18n/</tt>.
|
@@ -55,9 +55,9 @@ information.
|
|
55
55
|
|
56
56
|
i18n.l -12000.5 #=> "−12,000.5"
|
57
57
|
|
58
|
-
i18n.l Time.now #=> "
|
59
|
-
i18n.l Time.now, :
|
60
|
-
i18n.l Time.now,
|
58
|
+
i18n.l Time.now #=> "08/09/2009 21:41"
|
59
|
+
i18n.l Time.now, :human #=> "now"
|
60
|
+
i18n.l Time.now, :full #=> "August 9th, 2009 21:41"
|
61
61
|
|
62
62
|
# Base translation
|
63
63
|
i18n.ok #=> "OK"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: r18n-desktop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: "0.3"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey "A.I." Sitnik
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-09-26 00:00:00 +04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,9 +20,9 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - "="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.
|
23
|
+
version: "0.3"
|
24
24
|
version:
|
25
|
-
description: A tool to translate your desktop application in several languages. It is just a wrap for R18n core library. It can format numbers and time to the rules of the user locale, has translation for common words, storage translation in YAML format with pluralization and
|
25
|
+
description: A tool to translate your desktop application in several languages. It is just a wrap for R18n core library. It can format numbers and time to the rules of the user locale, has translation for common words, storage translation in YAML format with pluralization, procedures and user filters and has special support for countries with two official languages.
|
26
26
|
email: andrey@sitnik.ru
|
27
27
|
executables: []
|
28
28
|
|
@@ -33,8 +33,8 @@ extra_rdoc_files:
|
|
33
33
|
- LICENSE
|
34
34
|
files:
|
35
35
|
- lib/r18n-desktop
|
36
|
-
- lib/r18n-desktop/win32.rb
|
37
36
|
- lib/r18n-desktop/java.rb
|
37
|
+
- lib/r18n-desktop/win32.rb
|
38
38
|
- lib/r18n-desktop/posix.rb
|
39
39
|
- lib/r18n-desktop.rb
|
40
40
|
- LICENSE
|
@@ -66,5 +66,5 @@ signing_key:
|
|
66
66
|
specification_version: 2
|
67
67
|
summary: A tool to translate your Ruby desktop application.
|
68
68
|
test_files:
|
69
|
-
- spec/r18n-desktop_spec.rb
|
70
69
|
- spec/spec_helper.rb
|
70
|
+
- spec/r18n-desktop_spec.rb
|