rubi18n 0.3
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/LICENSE +166 -0
- data/README +177 -0
- data/Rakefile +95 -0
- data/base/en.yml +15 -0
- data/base/ru.yml +13 -0
- data/lib/rubi18n/formatters.rb +74 -0
- data/lib/rubi18n/locale.rb +124 -0
- data/lib/rubi18n/translated_string.rb +33 -0
- data/lib/rubi18n/translation.rb +269 -0
- data/lib/rubi18n.rb +29 -0
- data/locales/en.yml +13 -0
- data/locales/en_US.yml +5 -0
- data/locales/ru.yml +13 -0
- data/spec/formatters_spec.rb +19 -0
- data/spec/locale_spec.rb +71 -0
- data/spec/spec_helper.rb +3 -0
- data/spec/translation_spec.rb +106 -0
- data/spec/translations/extention/en.yml +2 -0
- data/spec/translations/extention/no_TR.yml +1 -0
- data/spec/translations/general/en.yml +31 -0
- data/spec/translations/general/fr.yml +1 -0
- data/spec/translations/general/no_LC.yml +4 -0
- data/spec/translations/general/ru.yml +5 -0
- metadata +78 -0
metadata
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rubi18n
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: "0.3"
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Andrey "A.I." Sitnik
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-09-12 00:00:00 +04:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: Rubi18n is a i18n tool to translate your Ruby application. It can localize your application, has translation for commons words, storage translation in rich YAML format with pluralization and procedures and has sublocales list for each supported locale.
|
17
|
+
email: andrey@sitnik.ru
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files: []
|
23
|
+
|
24
|
+
files:
|
25
|
+
- base/en.yml
|
26
|
+
- base/ru.yml
|
27
|
+
- lib/rubi18n.rb
|
28
|
+
- lib/rubi18n
|
29
|
+
- lib/rubi18n/translation.rb
|
30
|
+
- lib/rubi18n/locale.rb
|
31
|
+
- lib/rubi18n/formatters.rb
|
32
|
+
- lib/rubi18n/translated_string.rb
|
33
|
+
- locales/en.yml
|
34
|
+
- locales/ru.yml
|
35
|
+
- locales/en_US.yml
|
36
|
+
- LICENSE
|
37
|
+
- Rakefile
|
38
|
+
- README
|
39
|
+
has_rdoc: true
|
40
|
+
homepage: http://rubi18n.rubyforge.org/
|
41
|
+
post_install_message:
|
42
|
+
rdoc_options: []
|
43
|
+
|
44
|
+
require_paths:
|
45
|
+
- lib
|
46
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: "0"
|
51
|
+
version:
|
52
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: "0"
|
57
|
+
version:
|
58
|
+
requirements: []
|
59
|
+
|
60
|
+
rubyforge_project: rubi18n
|
61
|
+
rubygems_version: 1.2.0
|
62
|
+
signing_key:
|
63
|
+
specification_version: 2
|
64
|
+
summary: I18n tool to translate your Ruby application.
|
65
|
+
test_files:
|
66
|
+
- spec/locale_spec.rb
|
67
|
+
- spec/spec_helper.rb
|
68
|
+
- spec/translations
|
69
|
+
- spec/translations/general
|
70
|
+
- spec/translations/general/en.yml
|
71
|
+
- spec/translations/general/ru.yml
|
72
|
+
- spec/translations/general/fr.yml
|
73
|
+
- spec/translations/general/no_LC.yml
|
74
|
+
- spec/translations/extention
|
75
|
+
- spec/translations/extention/en.yml
|
76
|
+
- spec/translations/extention/no_TR.yml
|
77
|
+
- spec/formatters_spec.rb
|
78
|
+
- spec/translation_spec.rb
|