r18n-core 1.1.7 → 1.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d1722656695a79ee26f9232bf464d6052b798a6
4
- data.tar.gz: 312898e2722d61e6c924451901f53124124a3209
3
+ metadata.gz: f07e28c0af5c9c852ee329fa462399b4b864b722
4
+ data.tar.gz: d7ff096547b52b3d123873b216f9e53289be5855
5
5
  SHA512:
6
- metadata.gz: a27c2c68f3b9dabe61f797fb10d5d14dacfd24063510b7f171d8036ad648b78fc07b32a045c6b0b171d797946cc3aa5cb327c7d9c750f41ca132ce3560ceb388
7
- data.tar.gz: c66260207a48437d4ec10df95663a7e486a349f8531dceb2f441941421a25208b212cdefdb8babb616bf2ffefd59d0da1055bbcf40c04053f745b57c5808a1e3
6
+ metadata.gz: f32d5e2aac16e20d0c185e953e91e9885df22f691e927347d1581b42855dfad95b8196449e335f27a7e198260d1bd47178fd9af0e3629221cdc46e285e37c75e
7
+ data.tar.gz: 7306bcfd36a393dfe1f6ad39b5fac691d06be377f56562359884c085c0543d3a57b5b9cc02651d6d48752faf064b93851db36ce932396e7ea88d350522fe65d1
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.1.8 (Osam)
2
+ * Add Croatian locale (by Dino Kovač).
3
+ * Add Serbian latin locale (by Dino Kovač).
4
+
1
5
  == 1.1.7 (Tujuh)
2
6
  * Return nil on untranslated in models with Translated.
3
7
  * Add transliterate method to I18n backend.
data/base/hr.yml ADDED
@@ -0,0 +1,35 @@
1
+ ok: 'U redu'
2
+ save: 'Spremi'
3
+ cancel: 'Odustani'
4
+ 'yes': 'Da'
5
+ 'no': 'Ne'
6
+ exit: 'Izlaz'
7
+ delete: 'Obriši'
8
+
9
+ human_time:
10
+ after_days: !!pl
11
+ 1: '%1 dan nakon'
12
+ n: '%1 dana nakon'
13
+ tomorrow: 'sutra'
14
+ after_hours: !!pl
15
+ 1: '%1 sat nakon'
16
+ 2: '%1 sata nakon'
17
+ n: '%1 sati nakon'
18
+ after_minutes: !!pl
19
+ 1: '%1 minutu nakon'
20
+ 2: '%1 minute nakon'
21
+ n: '%1 minuta nakon'
22
+ now: 'sad'
23
+ today: 'danas'
24
+ minutes_ago: !!pl
25
+ 1: 'prije jedne minute'
26
+ 2: 'prije %1 minute'
27
+ n: 'prije %1 minuta'
28
+ hours_ago: !!pl
29
+ 1: 'prije jednog sata'
30
+ 2: 'prije %1 sata'
31
+ n: 'prije %1 sati'
32
+ yesterday: 'jučer'
33
+ days_ago: !!pl
34
+ 1: 'prije %1 dan'
35
+ n: 'prije %1 dana'
data/base/sr-latn.yml ADDED
@@ -0,0 +1,33 @@
1
+ ok: 'U redu'
2
+ save: 'Sačuvaj'
3
+ cancel: 'Otkaži'
4
+ 'yes': 'Da'
5
+ 'no': 'Ne'
6
+ exit: 'Izlaz'
7
+ delete: 'Obriši'
8
+
9
+ human_time:
10
+ after_days: !!pl
11
+ 1: '%1 dan posle'
12
+ n: '%1 dana posle'
13
+ tomorrow: 'sutra'
14
+ after_hours: !!pl
15
+ 1: '%1 sat posle'
16
+ 2: '%1 sata posle'
17
+ n: '%1 sati posle'
18
+ after_minutes: !!pl
19
+ 1: 'jedan minut posle'
20
+ n: '%1 minuta posle'
21
+ now: 'sada'
22
+ today: 'danas'
23
+ minutes_ago: !!pl
24
+ 1: 'pre jednog minuta'
25
+ n: 'pre %1 minuta'
26
+ hours_ago: !!pl
27
+ 1: 'pre jednog sata'
28
+ 2: 'pre %1 sata'
29
+ n: 'pre %1 sati'
30
+ yesterday: 'jučer'
31
+ days_ago: !!pl
32
+ 1: 'pre jednog dana'
33
+ n: 'pre %1 dana'
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module R18n
3
- VERSION = '1.1.7'.freeze unless defined? R18n::VERSION
3
+ VERSION = '1.1.8'.freeze unless defined? R18n::VERSION
4
4
  end
data/locales/hr.rb ADDED
@@ -0,0 +1,33 @@
1
+ # encoding: utf-8
2
+ module R18n
3
+ class Locales::Hr < Locale
4
+ set :title => 'Hrvatski',
5
+
6
+ :week_start => :monday,
7
+ :wday_names => %w{Nedjelja Ponedjeljak Utorak Srijeda Četvrtak Petak
8
+ Subota},
9
+ :wday_abbrs => %w{Ned Pon Uto Sri Čet Pet Sub},
10
+
11
+ :month_names => %w{Siječanj Veljača Ožujak Travanj Svibanj Lipanj Srpanj Kolovoz
12
+ Rujan Listopad Studeni Prosinac},
13
+ :month_abbrs => %w{Sij Velj Ožu Tra Svi Lip Srp Kol Ruj Lis Stu Pro},
14
+
15
+ :date_format => '%d.%m.%Y',
16
+ :full_format => '%e. %B',
17
+
18
+ :number_decimal => ",",
19
+ :number_group => "."
20
+
21
+ def pluralize(n)
22
+ if 0 == n
23
+ 0
24
+ elsif n == 1
25
+ 1
26
+ elsif n >= 2 and n <= 4
27
+ 2
28
+ else
29
+ 'n'
30
+ end
31
+ end
32
+ end
33
+ end
data/locales/id.rb CHANGED
@@ -2,8 +2,7 @@ module R18n
2
2
  class Locales::Id < Locale
3
3
  set :title => 'Bahasa Indonesia',
4
4
 
5
- :wday_names => %w{Minggu Senin Selasa Rabu Kamis Jumat
6
- Sabtu},
5
+ :wday_names => %w{Minggu Senin Selasa Rabu Kamis Jumat Sabtu},
7
6
  :wday_abbrs => %w{Min Sen Sel Rab Kam Jum Sab},
8
7
 
9
8
  :month_names => %w{Januari Februari Maret April Mei Juni Juli Agustus
@@ -0,0 +1,34 @@
1
+ # encoding: utf-8
2
+ module R18n
3
+ class Locales::SrLatn < Locale
4
+ set :title => 'Srpski',
5
+ :sublocales => [],
6
+
7
+ :week_start => :monday,
8
+ :wday_names => %w{nedelja ponedeljak utorak sreda četvrtak petak
9
+ subota},
10
+ :wday_abbrs => %w{ned pon uto sri čet pet sub},
11
+
12
+ :month_names => %w{januar februar mart april maj juni juli avgust
13
+ septembar oktobar novembar decembar},
14
+ :month_abbrs => %w{jan feb mar apr maj jun jul avg sep okt nov dec},
15
+
16
+ :date_format => '%d.%m.%Y',
17
+ :full_format => '%e. %B',
18
+
19
+ :number_decimal => ",",
20
+ :number_group => "."
21
+
22
+ def pluralize(n)
23
+ if 0 == n
24
+ 0
25
+ elsif n == 1
26
+ 1
27
+ elsif n >= 2 and n <= 4
28
+ 2
29
+ else
30
+ 'n'
31
+ end
32
+ end
33
+ end
34
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r18n-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey "A.I." Sitnik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-13 00:00:00.000000000 Z
11
+ date: 2013-12-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  R18n is a i18n tool to translate your Ruby application.
@@ -24,7 +24,7 @@ extra_rdoc_files:
24
24
  - LICENSE
25
25
  - ChangeLog
26
26
  files:
27
- - .rspec
27
+ - ".rspec"
28
28
  - ChangeLog
29
29
  - LICENSE
30
30
  - README.md
@@ -40,6 +40,7 @@ files:
40
40
  - base/fi.yml
41
41
  - base/fr.yml
42
42
  - base/gl.yml
43
+ - base/hr.yml
43
44
  - base/hu.yml
44
45
  - base/id.yml
45
46
  - base/it.yml
@@ -53,6 +54,7 @@ files:
53
54
  - base/pt.yml
54
55
  - base/ru.yml
55
56
  - base/sk.yml
57
+ - base/sr-latn.yml
56
58
  - base/sv-se.yml
57
59
  - base/th.yml
58
60
  - base/tr.yml
@@ -88,6 +90,7 @@ files:
88
90
  - locales/fi.rb
89
91
  - locales/fr.rb
90
92
  - locales/gl.rb
93
+ - locales/hr.rb
91
94
  - locales/hu.rb
92
95
  - locales/id.rb
93
96
  - locales/it.rb
@@ -103,6 +106,7 @@ files:
103
106
  - locales/pt.rb
104
107
  - locales/ru.rb
105
108
  - locales/sk.rb
109
+ - locales/sr-latn.rb
106
110
  - locales/sv-se.rb
107
111
  - locales/th.rb
108
112
  - locales/tr.rb
@@ -147,17 +151,17 @@ require_paths:
147
151
  - lib
148
152
  required_ruby_version: !ruby/object:Gem::Requirement
149
153
  requirements:
150
- - - '>='
154
+ - - ">="
151
155
  - !ruby/object:Gem::Version
152
156
  version: '0'
153
157
  required_rubygems_version: !ruby/object:Gem::Requirement
154
158
  requirements:
155
- - - '>='
159
+ - - ">="
156
160
  - !ruby/object:Gem::Version
157
161
  version: '0'
158
162
  requirements: []
159
163
  rubyforge_project:
160
- rubygems_version: 2.0.3
164
+ rubygems_version: 2.2.0
161
165
  signing_key:
162
166
  specification_version: 4
163
167
  summary: I18n tool to translate your Ruby application.