rails_admin-i18n 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -14,5 +14,5 @@ Happy translating!
14
14
 
15
15
  ## Copyright
16
16
 
17
- Copyright (c) 2011 Christopher Dell. See LICENSE.txt for
17
+ Copyright (c) 2011 Pham Trung Nam, base on [devise-i18n](https://github.com/tigrish/devise-i18n). See LICENSE.txt for
18
18
  further details.
data/locales/en-US.yml ADDED
@@ -0,0 +1,130 @@
1
+ en-US:
2
+ home:
3
+ name: Home
4
+ views:
5
+ pagination:
6
+ previous: "« Prev"
7
+ next: "Next »"
8
+ truncate: "…"
9
+ admin:
10
+ misc:
11
+ filter_date_format: "mm/dd/yy" # a combination of 'dd', 'mm' and 'yy' with any delimiter. No other interpolation will be done!
12
+ search: "Search"
13
+ filter: "Filter"
14
+ refresh: "Refresh"
15
+ show_all: "Show all"
16
+ add_filter: "Add filter"
17
+ bulk_menu_title: "Selected items"
18
+ remove: "Remove"
19
+ add_new: "Add new"
20
+ chosen: "Chosen %{name}"
21
+ chose_all: "Choose all"
22
+ clear_all: "Clear all"
23
+ up: "Up"
24
+ down: "Down"
25
+ navigation: "Navigation"
26
+ log_out: "Log out"
27
+ ago: "ago"
28
+ flash:
29
+ successful: "%{name} successfully %{action}"
30
+ error: "%{name} failed to be %{action}"
31
+ noaction: "No actions were taken"
32
+ model_not_found: "Model '%{model}' could not be found"
33
+ object_not_found: "%{model} with id '%{id}' could not be found"
34
+ table_headers:
35
+ model_name: "Model name"
36
+ last_used: "Last used"
37
+ records: "Records"
38
+ username: "User"
39
+ changes: "Changes"
40
+ created_at: "Date/Time"
41
+ item: "Item"
42
+ message: "Message"
43
+ actions:
44
+ dashboard:
45
+ title: "Site administration"
46
+ menu: "Dashboard"
47
+ breadcrumb: "Dashboard"
48
+ index:
49
+ title: "List of %{model_label_plural}"
50
+ menu: "List"
51
+ breadcrumb: "%{model_label_plural}"
52
+ show:
53
+ title: "Details for %{model_label} '%{object_label}'"
54
+ menu: "Show"
55
+ breadcrumb: "%{object_label}"
56
+ show_in_app:
57
+ menu: "Show in app"
58
+ new:
59
+ title: "New %{model_label}"
60
+ menu: "Add new"
61
+ breadcrumb: "New"
62
+ link: "Add a new %{model_label}"
63
+ done: "created"
64
+ edit:
65
+ title: "Edit %{model_label} '%{object_label}'"
66
+ menu: "Edit"
67
+ breadcrumb: "Edit"
68
+ link: "Edit this %{model_label}"
69
+ done: "updated"
70
+ delete:
71
+ title: "Delete %{model_label} '%{object_label}'"
72
+ menu: "Delete"
73
+ breadcrumb: "Delete"
74
+ link: "Delete '%{object_label}'"
75
+ done: "deleted"
76
+ bulk_delete:
77
+ title: "Delete %{model_label_plural}"
78
+ menu: "Multiple delete"
79
+ breadcrumb: "Multiple delete"
80
+ bulk_link: "Delete selected %{model_label_plural}"
81
+ export:
82
+ title: "Export %{model_label_plural}"
83
+ menu: "Export"
84
+ breadcrumb: "Export"
85
+ link: "Export found %{model_label_plural}"
86
+ bulk_link: "Export selected %{model_label_plural}"
87
+ done: "exported"
88
+ history_index:
89
+ title: "History for %{model_label_plural}"
90
+ menu: "History"
91
+ breadcrumb: "History"
92
+ history_show:
93
+ title: "History for %{model_label} '%{object_label}'"
94
+ menu: "History"
95
+ breadcrumb: "History"
96
+ form:
97
+ cancel: "Cancel"
98
+ basic_info: "Basic info"
99
+ required: "Required"
100
+ optional: "Optional"
101
+ one_char: "character"
102
+ char_length_up_to: "length up to"
103
+ char_length_of: "length of"
104
+ save: "Save"
105
+ save_and_add_another: "Save and add another"
106
+ save_and_edit: "Save and edit"
107
+ all_of_the_following_related_items_will_be_deleted: "? The following related items may be deleted or orphaned:"
108
+ are_you_sure_you_want_to_delete_the_object: "Are you sure you want to delete this %{model_name}"
109
+ confirmation: "Yes, I'm sure"
110
+ bulk_delete: "The following objects will be deleted, which may delete or orphan some of their related dependencies:"
111
+ new_model: "%{name} (new)"
112
+ export:
113
+ confirmation: "Export to %{name}"
114
+ select: "Select fields to export"
115
+ fields_from: "Fields from %{name}"
116
+ fields_from_associated: "Fields from associated %{name}"
117
+ display: "Display %{name}: %{type}"
118
+ options_for: "Options for %{name}"
119
+ empty_value_for_associated_objects: "<empty>"
120
+ click_to_reverse_selection: 'Click to reverse selection'
121
+ csv:
122
+ header_for_root_methods: "%{name}" # 'model' is available
123
+ header_for_association_methods: "%{name} [%{association}]"
124
+ encoding_to: "Encode to"
125
+ encoding_to_help: "Choose output encoding. Leave empty to let current input encoding untouched: (%{name})"
126
+ skip_header: "No header"
127
+ skip_header_help: "Do not output a header (no fields description)"
128
+ default_col_sep: ","
129
+ col_sep: "Column separator"
130
+ col_sep_help: "Leave blank for default ('%{value}')" # value is default_col_sep
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rails_admin-i18n}
8
- s.version = "0.0.1"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Nam Pham Trung}]
@@ -29,7 +29,8 @@ Gem::Specification.new do |s|
29
29
  "VERSION",
30
30
  "rails_admin-i18n.gemspec",
31
31
  "lib/rails_admin-i18n.rb",
32
- "locales/en.yml",
32
+ "locales/en.yml",
33
+ "locales/en-US.yml",
33
34
  "locales/vi.yml",
34
35
  "spec/rails_admin-i18n_spec.rb",
35
36
  "spec/spec_helper.rb"
@@ -3,6 +3,6 @@ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
3
3
  Dir.glob('locales/*.yml').each do |locale_file|
4
4
  describe "a rails_admin-i18n #{locale_file} locale file" do
5
5
  it_behaves_like 'a valid locale file', locale_file
6
- it { locale_file.should be_a_subset_of 'locales/en.yml' }
6
+ it { locale_file.should be_a_subset_of 'locales/en-US.yml' }
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-05-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &74709350 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,15 +21,10 @@ dependencies:
21
21
  version: 2.4.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: 2.4.0
24
+ version_requirements: *74709350
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: bundler
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &74709110 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ~>
@@ -37,15 +32,10 @@ dependencies:
37
32
  version: 1.1.2
38
33
  type: :development
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: 1.1.2
35
+ version_requirements: *74709110
46
36
  - !ruby/object:Gem::Dependency
47
37
  name: jeweler
48
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &74708810 !ruby/object:Gem::Requirement
49
39
  none: false
50
40
  requirements:
51
41
  - - ! '>'
@@ -53,15 +43,10 @@ dependencies:
53
43
  version: 1.6.4
54
44
  type: :development
55
45
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>'
60
- - !ruby/object:Gem::Version
61
- version: 1.6.4
46
+ version_requirements: *74708810
62
47
  - !ruby/object:Gem::Dependency
63
48
  name: i18n-spec
64
- requirement: !ruby/object:Gem::Requirement
49
+ requirement: &74708560 !ruby/object:Gem::Requirement
65
50
  none: false
66
51
  requirements:
67
52
  - - ! '>='
@@ -69,15 +54,10 @@ dependencies:
69
54
  version: '0'
70
55
  type: :development
71
56
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
57
+ version_requirements: *74708560
78
58
  - !ruby/object:Gem::Dependency
79
59
  name: localeapp
80
- requirement: !ruby/object:Gem::Requirement
60
+ requirement: &74708300 !ruby/object:Gem::Requirement
81
61
  none: false
82
62
  requirements:
83
63
  - - ! '>='
@@ -85,12 +65,7 @@ dependencies:
85
65
  version: '0'
86
66
  type: :development
87
67
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
68
+ version_requirements: *74708300
94
69
  description: Translations for the rails_admin gem
95
70
  email: nampt@kbsvn.vn
96
71
  executables: []
@@ -112,6 +87,7 @@ files:
112
87
  - rails_admin-i18n.gemspec
113
88
  - lib/rails_admin-i18n.rb
114
89
  - locales/en.yml
90
+ - locales/en-US.yml
115
91
  - locales/vi.yml
116
92
  - spec/rails_admin-i18n_spec.rb
117
93
  - spec/spec_helper.rb
@@ -136,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
112
  version: '0'
137
113
  requirements: []
138
114
  rubyforge_project:
139
- rubygems_version: 1.8.23
115
+ rubygems_version: 1.8.11
140
116
  signing_key:
141
117
  specification_version: 3
142
118
  summary: Translations for the rails_admin gem