rails_admin-i18n 0.0.2 → 0.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/README.md +1 -1
- data/locales/en.yml +3 -4
- data/locales/vi.yml +3 -4
- data/rails_admin-i18n.gemspec +2 -3
- metadata +38 -13
- data/locales/en-US.yml +0 -130
data/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Translations for **[Rails Admin v0.0.3+](https://github.com/sferik/rails_admin)*
|
|
|
6
6
|
|
|
7
7
|
## Contributing to rails_admin-i18n
|
|
8
8
|
|
|
9
|
-
- Edit the translations directly on the [rails_admin-i18n](http://www.localeapp.com/projects/
|
|
9
|
+
- Edit the translations directly on the [rails_admin-i18n](http://www.localeapp.com/projects/905) project on Locale.
|
|
10
10
|
- **That's it!**
|
|
11
11
|
- The maintainer will then pull translations from the Locale project and push to Github.
|
|
12
12
|
|
data/locales/en.yml
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
en:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
admin:
|
|
3
|
+
home:
|
|
4
|
+
name: "Home"
|
|
5
5
|
pagination:
|
|
6
6
|
previous: "« Prev"
|
|
7
7
|
next: "Next »"
|
|
8
8
|
truncate: "…"
|
|
9
|
-
admin:
|
|
10
9
|
misc:
|
|
11
10
|
filter_date_format: "mm/dd/yy" # a combination of 'dd', 'mm' and 'yy' with any delimiter. No other interpolation will be done!
|
|
12
11
|
search: "Search"
|
data/locales/vi.yml
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
vi:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
admin:
|
|
3
|
+
home:
|
|
4
|
+
name: Trang chủ
|
|
5
5
|
pagination:
|
|
6
6
|
previous: "« Trước"
|
|
7
7
|
next: "Tiếp »"
|
|
8
8
|
truncate: "…"
|
|
9
|
-
admin:
|
|
10
9
|
misc:
|
|
11
10
|
filter_date_format: "dd/mm/yy" # a combination of 'dd', 'mm' and 'yy' with any delimiter. No other interpolation will be done!
|
|
12
11
|
search: "Tìm kiếm"
|
data/rails_admin-i18n.gemspec
CHANGED
|
@@ -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.
|
|
8
|
+
s.version = "0.0.3"
|
|
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,8 +29,7 @@ Gem::Specification.new do |s|
|
|
|
29
29
|
"VERSION",
|
|
30
30
|
"rails_admin-i18n.gemspec",
|
|
31
31
|
"lib/rails_admin-i18n.rb",
|
|
32
|
-
|
|
33
|
-
"locales/en-US.yml",
|
|
32
|
+
"locales/en.yml",
|
|
34
33
|
"locales/vi.yml",
|
|
35
34
|
"spec/rails_admin-i18n_spec.rb",
|
|
36
35
|
"spec/spec_helper.rb"
|
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.
|
|
4
|
+
version: 0.0.3
|
|
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:
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,10 +21,15 @@ dependencies:
|
|
|
21
21
|
version: 2.4.0
|
|
22
22
|
type: :development
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements:
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ! '>='
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: 2.4.0
|
|
25
30
|
- !ruby/object:Gem::Dependency
|
|
26
31
|
name: bundler
|
|
27
|
-
requirement:
|
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
|
28
33
|
none: false
|
|
29
34
|
requirements:
|
|
30
35
|
- - ~>
|
|
@@ -32,10 +37,15 @@ dependencies:
|
|
|
32
37
|
version: 1.1.2
|
|
33
38
|
type: :development
|
|
34
39
|
prerelease: false
|
|
35
|
-
version_requirements:
|
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
+
none: false
|
|
42
|
+
requirements:
|
|
43
|
+
- - ~>
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: 1.1.2
|
|
36
46
|
- !ruby/object:Gem::Dependency
|
|
37
47
|
name: jeweler
|
|
38
|
-
requirement:
|
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
|
39
49
|
none: false
|
|
40
50
|
requirements:
|
|
41
51
|
- - ! '>'
|
|
@@ -43,10 +53,15 @@ dependencies:
|
|
|
43
53
|
version: 1.6.4
|
|
44
54
|
type: :development
|
|
45
55
|
prerelease: false
|
|
46
|
-
version_requirements:
|
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
+
none: false
|
|
58
|
+
requirements:
|
|
59
|
+
- - ! '>'
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: 1.6.4
|
|
47
62
|
- !ruby/object:Gem::Dependency
|
|
48
63
|
name: i18n-spec
|
|
49
|
-
requirement:
|
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
|
50
65
|
none: false
|
|
51
66
|
requirements:
|
|
52
67
|
- - ! '>='
|
|
@@ -54,10 +69,15 @@ dependencies:
|
|
|
54
69
|
version: '0'
|
|
55
70
|
type: :development
|
|
56
71
|
prerelease: false
|
|
57
|
-
version_requirements:
|
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
73
|
+
none: false
|
|
74
|
+
requirements:
|
|
75
|
+
- - ! '>='
|
|
76
|
+
- !ruby/object:Gem::Version
|
|
77
|
+
version: '0'
|
|
58
78
|
- !ruby/object:Gem::Dependency
|
|
59
79
|
name: localeapp
|
|
60
|
-
requirement:
|
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
|
61
81
|
none: false
|
|
62
82
|
requirements:
|
|
63
83
|
- - ! '>='
|
|
@@ -65,7 +85,12 @@ dependencies:
|
|
|
65
85
|
version: '0'
|
|
66
86
|
type: :development
|
|
67
87
|
prerelease: false
|
|
68
|
-
version_requirements:
|
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
89
|
+
none: false
|
|
90
|
+
requirements:
|
|
91
|
+
- - ! '>='
|
|
92
|
+
- !ruby/object:Gem::Version
|
|
93
|
+
version: '0'
|
|
69
94
|
description: Translations for the rails_admin gem
|
|
70
95
|
email: nampt@kbsvn.vn
|
|
71
96
|
executables: []
|
|
@@ -87,7 +112,6 @@ files:
|
|
|
87
112
|
- rails_admin-i18n.gemspec
|
|
88
113
|
- lib/rails_admin-i18n.rb
|
|
89
114
|
- locales/en.yml
|
|
90
|
-
- locales/en-US.yml
|
|
91
115
|
- locales/vi.yml
|
|
92
116
|
- spec/rails_admin-i18n_spec.rb
|
|
93
117
|
- spec/spec_helper.rb
|
|
@@ -112,8 +136,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
112
136
|
version: '0'
|
|
113
137
|
requirements: []
|
|
114
138
|
rubyforge_project:
|
|
115
|
-
rubygems_version: 1.8.
|
|
139
|
+
rubygems_version: 1.8.24
|
|
116
140
|
signing_key:
|
|
117
141
|
specification_version: 3
|
|
118
142
|
summary: Translations for the rails_admin gem
|
|
119
143
|
test_files: []
|
|
144
|
+
has_rdoc:
|
data/locales/en-US.yml
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
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
|