r18n-desktop 0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +4 -3
  2. data/Rakefile +9 -7
  3. data/lib/r18n-desktop.rb +1 -1
  4. metadata +4 -4
data/README.rdoc CHANGED
@@ -7,11 +7,12 @@ information.
7
7
 
8
8
  == Features
9
9
 
10
- * If there isn’t translation in user locale, it will be found in locales, which
10
+ * It has special support for countries with two official languages. If there
11
+ isn’t translation in user locale, it will be found in locales, which
11
12
  user may know (not only in default locale). For example, many people in
12
13
  Belarus can understand Russian, and locale has information about it.
13
- * It can localize your application: format numbers to the rules of the user
14
- locale, translate month and week days name and give other locale information.
14
+ * It can format numbers and time to the rules of the user locale, translate
15
+ month and week days name and give other locale information.
15
16
  * It has translation for commons words, like “OK”, “Cancel”, etc.
16
17
  * It storage translation in rich YAML format. You can put procedures and
17
18
  pluralization (“1 comment”, “5 comments”) in your translation.
data/Rakefile CHANGED
@@ -4,7 +4,8 @@ require 'rake/gempackagetask'
4
4
  require 'spec/rake/spectask'
5
5
 
6
6
  PKG_NAME = 'r18n-desktop'
7
- PKG_VERSION = '0.1'
7
+ gem 'r18n-core'
8
+ require 'r18n-core/version'
8
9
 
9
10
  ##############################################################################
10
11
  # Tests
@@ -54,14 +55,15 @@ end
54
55
  spec = Gem::Specification.new do |s|
55
56
  s.platform = Gem::Platform::RUBY
56
57
  s.name = PKG_NAME
57
- s.version = PKG_VERSION
58
+ s.version = R18n::VERSION
58
59
  s.summary = 'A tool to translate your Ruby desktop application.'
59
60
  s.description = <<-EOF
60
61
  A tool to translate your desktop application in several languages.
61
62
  It is just a wrap for R18n core library.
62
- It can localize your application, has translation for commons words,
63
- storage translation in rich YAML format with pluralization and procedures
64
- and has sublocales list for each supported locale.
63
+ It can format numbers and time to the rules of the user locale,
64
+ has translation for common words, storage translation in YAML format with
65
+ pluralization and procedures and has special support for countries
66
+ with two official languages.
65
67
  EOF
66
68
 
67
69
  s.files = FileList[
@@ -75,7 +77,7 @@ spec = Gem::Specification.new do |s|
75
77
  s.require_path = 'lib'
76
78
  s.has_rdoc = true
77
79
 
78
- s.add_dependency 'r18n-core', '0.1'
80
+ s.add_dependency 'r18n-core', R18n::VERSION
79
81
 
80
82
  s.author = 'Andrey "A.I." Sitnik'
81
83
  s.email = 'andrey@sitnik.ru'
@@ -90,5 +92,5 @@ end
90
92
  desc 'Install as a gem'
91
93
  task :install => [:package] do
92
94
  sudo = RUBY_PLATFORM =~ /win32/ ? '' : 'sudo'
93
- sh %{#{sudo} gem install pkg/#{PKG_NAME}-#{PKG_VERSION}}
95
+ sh %{#{sudo} gem install pkg/#{PKG_NAME}-#{R18n::VERSION}}
94
96
  end
data/lib/r18n-desktop.rb CHANGED
@@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
18
18
  =end
19
19
 
20
20
  require 'rubygems'
21
- gem 'r18n-core', '=0.1'
21
+ gem 'r18n-core', '~>0.1'
22
22
  require 'r18n-core'
23
23
 
24
24
  require 'pathname'
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.1"
4
+ version: 0.1.1
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: 2008-11-18 00:00:00 +03:00
12
+ date: 2008-11-23 00:00:00 +03: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.1"
23
+ version: 0.1.1
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 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.
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 procedures and has special support for countries with two official languages.
26
26
  email: andrey@sitnik.ru
27
27
  executables: []
28
28