refinerycms-i18n 2.0.0 → 2.0.2
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/.gitignore +86 -0
- data/.travis.yml +17 -0
- data/Gemfile +1 -1
- data/config/locales/cs.rb +6 -4
- data/config/locales/mn.yml +13 -13
- data/config/locales/th.rb +1 -0
- data/refinerycms-i18n.gemspec +17 -0
- metadata +48 -62
data/.gitignore
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# Rails
|
|
2
|
+
.bundle
|
|
3
|
+
db/*.sqlite3
|
|
4
|
+
db/*.sqlite3-journal
|
|
5
|
+
*.log
|
|
6
|
+
tmp/**/*
|
|
7
|
+
|
|
8
|
+
# Documentation
|
|
9
|
+
doc/api
|
|
10
|
+
doc/app
|
|
11
|
+
doc/*
|
|
12
|
+
.yardoc
|
|
13
|
+
.yardopts
|
|
14
|
+
|
|
15
|
+
# Public Uploads
|
|
16
|
+
public/system/*
|
|
17
|
+
public/themes/*
|
|
18
|
+
|
|
19
|
+
# Public Cache
|
|
20
|
+
public/javascripts/cache
|
|
21
|
+
public/stylesheets/cache
|
|
22
|
+
|
|
23
|
+
# Vendor Cache
|
|
24
|
+
vendor/cache
|
|
25
|
+
|
|
26
|
+
# Acts as Indexed
|
|
27
|
+
index/**/*
|
|
28
|
+
|
|
29
|
+
# Refinery Specific
|
|
30
|
+
*.tmproj
|
|
31
|
+
*.autobackupbyrefinery.*
|
|
32
|
+
/refinerycms-*.gem
|
|
33
|
+
.autotest
|
|
34
|
+
|
|
35
|
+
# Mac
|
|
36
|
+
.DS_Store
|
|
37
|
+
|
|
38
|
+
# Windows
|
|
39
|
+
Thumbs.db
|
|
40
|
+
|
|
41
|
+
# NetBeans
|
|
42
|
+
nbproject
|
|
43
|
+
|
|
44
|
+
# Eclipse
|
|
45
|
+
.project
|
|
46
|
+
|
|
47
|
+
# Redcar
|
|
48
|
+
.redcar
|
|
49
|
+
|
|
50
|
+
# Rubinius
|
|
51
|
+
*.rbc
|
|
52
|
+
|
|
53
|
+
# Vim
|
|
54
|
+
*.swp
|
|
55
|
+
*.swo
|
|
56
|
+
|
|
57
|
+
# RubyMine
|
|
58
|
+
.idea
|
|
59
|
+
|
|
60
|
+
# Backup
|
|
61
|
+
*~
|
|
62
|
+
|
|
63
|
+
# Capybara Bug
|
|
64
|
+
capybara-*html
|
|
65
|
+
|
|
66
|
+
# sass
|
|
67
|
+
.sass-cache
|
|
68
|
+
.sass-cache/*
|
|
69
|
+
|
|
70
|
+
#rvm
|
|
71
|
+
.rvmrc
|
|
72
|
+
.rvmrc.*
|
|
73
|
+
|
|
74
|
+
# REFINERY CMS DEVELOPMENT ====================================================
|
|
75
|
+
# Always keep this section at the bottom.
|
|
76
|
+
|
|
77
|
+
config/database.yml
|
|
78
|
+
config/amazon_s3.yml
|
|
79
|
+
config/rackspace_cloudfiles.yml
|
|
80
|
+
your_*.*
|
|
81
|
+
db/schema.rb
|
|
82
|
+
|
|
83
|
+
# END REFINERY CMS DEVELOPMENT =================================================
|
|
84
|
+
|
|
85
|
+
Gemfile.lock
|
|
86
|
+
spec/dummy
|
data/.travis.yml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
before_script:
|
|
2
|
+
- "bundle exec rake refinery:testing:dummy_app > /dev/null"
|
|
3
|
+
script: "bundle exec rspec ./spec"
|
|
4
|
+
notifications:
|
|
5
|
+
email:
|
|
6
|
+
- parndt@gmail.com
|
|
7
|
+
- ugis.ozolss@gmail.com
|
|
8
|
+
env:
|
|
9
|
+
- DB=sqlite3
|
|
10
|
+
matrix:
|
|
11
|
+
allow_failures:
|
|
12
|
+
- rvm: rbx
|
|
13
|
+
rvm:
|
|
14
|
+
- 1.8.7
|
|
15
|
+
- 1.9.3
|
|
16
|
+
- rbx
|
|
17
|
+
- jruby
|
data/Gemfile
CHANGED
data/config/locales/cs.rb
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
1
2
|
# Czech translations for Ruby on Rails
|
|
2
3
|
# by Karel Minařík (karmi@karmi.cz)
|
|
3
4
|
|
|
@@ -17,7 +18,7 @@
|
|
|
17
18
|
:formats => {
|
|
18
19
|
:default => "%d. %m. %Y",
|
|
19
20
|
:short => "%d %b",
|
|
20
|
-
:long => "%d. %B %Y"
|
|
21
|
+
:long => "%d. %B %Y"
|
|
21
22
|
},
|
|
22
23
|
:day_names => %w{Neděle Pondělí Úterý Středa Čtvrtek Pátek Sobota},
|
|
23
24
|
:abbr_day_names => %w{Ne Po Út St Čt Pá So},
|
|
@@ -50,7 +51,7 @@
|
|
|
50
51
|
:precision => 2,
|
|
51
52
|
:format => '%n %u',
|
|
52
53
|
:separator => ",",
|
|
53
|
-
:delimiter => " "
|
|
54
|
+
:delimiter => " "
|
|
54
55
|
}
|
|
55
56
|
},
|
|
56
57
|
:human => {
|
|
@@ -65,7 +66,7 @@
|
|
|
65
66
|
:kb => "KB",
|
|
66
67
|
:mb => "MB",
|
|
67
68
|
:gb => "GB",
|
|
68
|
-
:tb => "TB"
|
|
69
|
+
:tb => "TB"
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
72
|
},
|
|
@@ -163,4 +164,5 @@
|
|
|
163
164
|
}
|
|
164
165
|
}
|
|
165
166
|
}
|
|
166
|
-
}
|
|
167
|
+
}
|
|
168
|
+
|
data/config/locales/mn.yml
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
# Mongolian localization for Ruby on Rails 2.2+
|
|
2
2
|
# by Ochirkhuyag.L <ochkoo@gmail.com>
|
|
3
3
|
#
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
mn:
|
|
6
6
|
date:
|
|
7
7
|
formats:
|
|
8
8
|
default: "%Y-%m-%d"
|
|
9
9
|
short: "%y-%m-%d"
|
|
10
10
|
long: "%Y %B %d"
|
|
11
|
-
|
|
11
|
+
|
|
12
12
|
day_names: [Ням, Даваа, Мягмар, Лхагва, Пүрэв, Баасан, Бямба]
|
|
13
13
|
abbr_day_names: [Ня, Да, Мя, Лх, Пү, Ба, Бя]
|
|
14
|
-
|
|
14
|
+
|
|
15
15
|
month_names: [~, 1 сар, 2 сар, 3 сар, 4 сар, 5 сар, 6 сар, 7 сар, 8 сар, 9 сар, 10 сар, 11 сар, 12 сар]
|
|
16
16
|
abbr_month_names: [~, 1 сар, 2 сар, 3 сар, 4 сар, 5 сар, 6 сар, 7 сар, 8 сар, 9 сар, 10 сар, 11 сар, 12 сар]
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
order:
|
|
19
19
|
- :year
|
|
20
20
|
- :month
|
|
21
21
|
- :day
|
|
22
|
-
|
|
22
|
+
|
|
23
23
|
time:
|
|
24
24
|
formats:
|
|
25
25
|
default: "%Y-%m-%d %H:%M"
|
|
@@ -27,13 +27,13 @@ mn:
|
|
|
27
27
|
long: "%Y %B %d, %H:%M:%S"
|
|
28
28
|
am: "өглөө"
|
|
29
29
|
pm: "орой"
|
|
30
|
-
|
|
30
|
+
|
|
31
31
|
number:
|
|
32
32
|
format:
|
|
33
33
|
separator: "."
|
|
34
34
|
delimiter: " "
|
|
35
35
|
precision: 3
|
|
36
|
-
|
|
36
|
+
|
|
37
37
|
currency:
|
|
38
38
|
format:
|
|
39
39
|
format: "%n %u"
|
|
@@ -41,22 +41,22 @@ mn:
|
|
|
41
41
|
separator: "."
|
|
42
42
|
delimiter: " "
|
|
43
43
|
precision: 2
|
|
44
|
-
|
|
44
|
+
|
|
45
45
|
percentage:
|
|
46
46
|
format:
|
|
47
47
|
delimiter: ""
|
|
48
|
-
|
|
48
|
+
|
|
49
49
|
precision:
|
|
50
50
|
format:
|
|
51
51
|
delimiter: ""
|
|
52
|
-
|
|
52
|
+
|
|
53
53
|
human:
|
|
54
54
|
format:
|
|
55
55
|
delimiter: ""
|
|
56
56
|
precision: 1
|
|
57
57
|
# Rails 2.2
|
|
58
58
|
# storage_units: [байт, КБ, МБ, ГБ, ТБ]
|
|
59
|
-
|
|
59
|
+
|
|
60
60
|
# Rails 2.3
|
|
61
61
|
storage_units:
|
|
62
62
|
# Storage units output formatting.
|
|
@@ -70,10 +70,10 @@ mn:
|
|
|
70
70
|
mb: "МБ"
|
|
71
71
|
gb: "ГБ"
|
|
72
72
|
tb: "ТБ"
|
|
73
|
-
|
|
73
|
+
|
|
74
74
|
datetime:
|
|
75
75
|
distance_in_words:
|
|
76
|
-
half_a_minute: "хагас минут"
|
|
76
|
+
half_a_minute: "хагас минут"
|
|
77
77
|
less_than_x_seconds:
|
|
78
78
|
one: "%{count} секундээс бага"
|
|
79
79
|
other: "%{count} секундээс бага"
|
data/config/locales/th.rb
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Gem::Specification.new do |s|
|
|
2
|
+
s.name = %q{refinerycms-i18n}
|
|
3
|
+
s.version = %q{2.0.2}
|
|
4
|
+
s.description = %q{i18n logic extracted from Refinery CMS, for Refinery CMS.}
|
|
5
|
+
s.date = %q{2012-08-03}
|
|
6
|
+
s.summary = %q{i18n logic for Refinery CMS.}
|
|
7
|
+
s.email = %q{info@refinerycms.com}
|
|
8
|
+
s.homepage = %q{http://refinerycms.com}
|
|
9
|
+
s.authors = ['Philip Arndt']
|
|
10
|
+
s.require_paths = %w(lib)
|
|
11
|
+
|
|
12
|
+
s.add_dependency 'refinerycms-core', '~> 2.0.0'
|
|
13
|
+
s.add_dependency 'routing-filter', '>= 0.2.3'
|
|
14
|
+
|
|
15
|
+
s.files = `git ls-files`.split("\n")
|
|
16
|
+
s.test_files = `git ls-files -- spec/*`.split("\n")
|
|
17
|
+
end
|
metadata
CHANGED
|
@@ -1,63 +1,56 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: refinerycms-i18n
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 2.0.2
|
|
5
5
|
prerelease:
|
|
6
|
-
segments:
|
|
7
|
-
- 2
|
|
8
|
-
- 0
|
|
9
|
-
- 0
|
|
10
|
-
version: 2.0.0
|
|
11
6
|
platform: ruby
|
|
12
|
-
authors:
|
|
7
|
+
authors:
|
|
13
8
|
- Philip Arndt
|
|
14
9
|
autorequire:
|
|
15
10
|
bindir: bin
|
|
16
11
|
cert_chain: []
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
- !ruby/object:Gem::Dependency
|
|
12
|
+
date: 2012-08-03 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
21
15
|
name: refinerycms-core
|
|
22
|
-
|
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
24
17
|
none: false
|
|
25
|
-
requirements:
|
|
18
|
+
requirements:
|
|
26
19
|
- - ~>
|
|
27
|
-
- !ruby/object:Gem::Version
|
|
28
|
-
hash: 15
|
|
29
|
-
segments:
|
|
30
|
-
- 2
|
|
31
|
-
- 0
|
|
32
|
-
- 0
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
33
21
|
version: 2.0.0
|
|
34
22
|
type: :runtime
|
|
35
|
-
version_requirements: *id001
|
|
36
|
-
- !ruby/object:Gem::Dependency
|
|
37
|
-
name: routing-filter
|
|
38
23
|
prerelease: false
|
|
39
|
-
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ~>
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: 2.0.0
|
|
30
|
+
- !ruby/object:Gem::Dependency
|
|
31
|
+
name: routing-filter
|
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
|
40
33
|
none: false
|
|
41
|
-
requirements:
|
|
42
|
-
- -
|
|
43
|
-
- !ruby/object:Gem::Version
|
|
44
|
-
hash: 17
|
|
45
|
-
segments:
|
|
46
|
-
- 0
|
|
47
|
-
- 2
|
|
48
|
-
- 3
|
|
34
|
+
requirements:
|
|
35
|
+
- - ! '>='
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
49
37
|
version: 0.2.3
|
|
50
38
|
type: :runtime
|
|
51
|
-
|
|
39
|
+
prerelease: false
|
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
+
none: false
|
|
42
|
+
requirements:
|
|
43
|
+
- - ! '>='
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: 0.2.3
|
|
52
46
|
description: i18n logic extracted from Refinery CMS, for Refinery CMS.
|
|
53
47
|
email: info@refinerycms.com
|
|
54
48
|
executables: []
|
|
55
|
-
|
|
56
49
|
extensions: []
|
|
57
|
-
|
|
58
50
|
extra_rdoc_files: []
|
|
59
|
-
|
|
60
|
-
|
|
51
|
+
files:
|
|
52
|
+
- .gitignore
|
|
53
|
+
- .travis.yml
|
|
61
54
|
- Gemfile
|
|
62
55
|
- Rakefile
|
|
63
56
|
- app/assets/images/refinery/icons/flags/ad.png
|
|
@@ -393,43 +386,36 @@ files:
|
|
|
393
386
|
- lib/translate/keys.rb
|
|
394
387
|
- lib/translate/log.rb
|
|
395
388
|
- lib/translate/storage.rb
|
|
389
|
+
- refinerycms-i18n.gemspec
|
|
396
390
|
- spec/requests/dashboard_locale_picker_spec.rb
|
|
397
391
|
- spec/spec_helper.rb
|
|
398
392
|
- tasks/rspec.rake
|
|
399
393
|
- translate-readme.md
|
|
400
394
|
homepage: http://refinerycms.com
|
|
401
395
|
licenses: []
|
|
402
|
-
|
|
403
396
|
post_install_message:
|
|
404
397
|
rdoc_options: []
|
|
405
|
-
|
|
406
|
-
require_paths:
|
|
398
|
+
require_paths:
|
|
407
399
|
- lib
|
|
408
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
400
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
409
401
|
none: false
|
|
410
|
-
requirements:
|
|
411
|
-
- -
|
|
412
|
-
- !ruby/object:Gem::Version
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
- 0
|
|
416
|
-
version: "0"
|
|
417
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
402
|
+
requirements:
|
|
403
|
+
- - ! '>='
|
|
404
|
+
- !ruby/object:Gem::Version
|
|
405
|
+
version: '0'
|
|
406
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
418
407
|
none: false
|
|
419
|
-
requirements:
|
|
420
|
-
- -
|
|
421
|
-
- !ruby/object:Gem::Version
|
|
422
|
-
|
|
423
|
-
segments:
|
|
424
|
-
- 0
|
|
425
|
-
version: "0"
|
|
408
|
+
requirements:
|
|
409
|
+
- - ! '>='
|
|
410
|
+
- !ruby/object:Gem::Version
|
|
411
|
+
version: '0'
|
|
426
412
|
requirements: []
|
|
427
|
-
|
|
428
413
|
rubyforge_project:
|
|
429
|
-
rubygems_version: 1.8.
|
|
414
|
+
rubygems_version: 1.8.22
|
|
430
415
|
signing_key:
|
|
431
416
|
specification_version: 3
|
|
432
417
|
summary: i18n logic for Refinery CMS.
|
|
433
|
-
test_files:
|
|
434
|
-
|
|
418
|
+
test_files:
|
|
419
|
+
- spec/requests/dashboard_locale_picker_spec.rb
|
|
420
|
+
- spec/spec_helper.rb
|
|
435
421
|
has_rdoc:
|