locomotivecms 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/locales/carrierwave.zh-CN.yml +4 -0
- data/config/locales/default.lt.yml +13 -0
- data/config/locales/default.ru.yml +13 -0
- data/config/locales/default.zh-CN.yml +13 -0
- data/config/locales/devise.lt.yml +61 -0
- data/config/locales/devise.ru.yml +61 -0
- data/config/locales/devise.zh-CN.yml +61 -0
- data/config/locales/en.yml +1 -0
- data/config/locales/flash.lt.yml +79 -0
- data/config/locales/flash.nl.yml +3 -0
- data/config/locales/flash.ru.yml +82 -0
- data/config/locales/flash.zh-CN.yml +82 -0
- data/config/locales/inputs.lt.yml +1 -0
- data/config/locales/inputs.ru.yml +19 -0
- data/config/locales/inputs.zh-CN.yml +19 -0
- data/config/locales/lt.yml +320 -0
- data/config/locales/mongoid.lt.yml +47 -0
- data/config/locales/mongoid.ru.yml +47 -0
- data/config/locales/mongoid.zh-CN.yml +47 -0
- data/config/locales/nl.yml +10 -3
- data/config/locales/ru.yml +328 -0
- data/config/locales/simple_form.de.yml +105 -0
- data/config/locales/simple_form.lt.yml +153 -0
- data/config/locales/simple_form.nl.yml +1 -1
- data/config/locales/simple_form.ru.yml +153 -0
- data/config/locales/simple_form.zh-CN.yml +153 -0
- data/config/locales/zh-CN.yml +328 -0
- data/lib/generators/locomotive/install/templates/locomotive.rb +1 -1
- data/lib/locomotive/version.rb +1 -1
- metadata +27 -6
@@ -0,0 +1,328 @@
|
|
1
|
+
zh-CN:
|
2
|
+
locomotive:
|
3
|
+
locales:
|
4
|
+
en: 中文
|
5
|
+
de: 德文
|
6
|
+
fr: 法文
|
7
|
+
pl: 波兰
|
8
|
+
pt: 葡萄牙
|
9
|
+
pt-BR: "巴西葡萄牙语"
|
10
|
+
it: 意大利
|
11
|
+
nl: 荷兰
|
12
|
+
nb: 挪威
|
13
|
+
es: 西班牙
|
14
|
+
ru: 俄语
|
15
|
+
et: 爱沙尼亚
|
16
|
+
ja: 日语
|
17
|
+
zh-CN: 中文
|
18
|
+
cs: 捷克
|
19
|
+
bg: 保加利亚
|
20
|
+
sk: 斯洛伐克
|
21
|
+
sr: 塞尔维亚
|
22
|
+
sv: 瑞典
|
23
|
+
el: 希腊
|
24
|
+
messages:
|
25
|
+
confirm: 确定?
|
26
|
+
unsaved_content_warning: "是否确定离开本页?你输入的数据将不会保存。"
|
27
|
+
shared:
|
28
|
+
header:
|
29
|
+
welcome: 欢迎, %{name}
|
30
|
+
sites: 我的站点
|
31
|
+
account: 账户设置
|
32
|
+
see: 浏览网站
|
33
|
+
help: 帮助
|
34
|
+
logout: 注销
|
35
|
+
sidebar:
|
36
|
+
dashboard: 控制台
|
37
|
+
assets: 资源
|
38
|
+
settings: 通用设置
|
39
|
+
metafields: 属性
|
40
|
+
developers: 开发者
|
41
|
+
content_types:
|
42
|
+
title: 模型
|
43
|
+
translations: 翻译
|
44
|
+
list:
|
45
|
+
untranslated: 未翻译
|
46
|
+
created_at: "%{distance} 前创建"
|
47
|
+
created_by: "由 %{who} %{distance} 前创建"
|
48
|
+
updated_at: "%{distance} 前最后修改"
|
49
|
+
updated_by: "%{who} %{distance} 前最后修改"
|
50
|
+
rte:
|
51
|
+
toolbar:
|
52
|
+
table:
|
53
|
+
merge: 合并
|
54
|
+
insert_row_before: 前面插入行
|
55
|
+
insert_row_after: 后面插入行
|
56
|
+
insert_col_before: 前面插入列
|
57
|
+
insert_col_after: 后面插入列
|
58
|
+
delete_row: 删除行
|
59
|
+
delete_col: 删除列
|
60
|
+
errors:
|
61
|
+
'500':
|
62
|
+
title: 程序错误
|
63
|
+
message: "抱歉,出错了。请联系管理员。"
|
64
|
+
'404':
|
65
|
+
title: 页面未找到
|
66
|
+
message: "请求的页面不存在。"
|
67
|
+
no_site:
|
68
|
+
title: 站点未找到
|
69
|
+
next: "下一个 →"
|
70
|
+
message:
|
71
|
+
create_account: "创建站点前请先创建账户"
|
72
|
+
add_domain: "将 <strong>%{host}</strong> 添加为你站点的一个域名"
|
73
|
+
sign_in: "请先登录,在将 <strong>%{host}</strong> 添加为你站点的一个域名"
|
74
|
+
notifications:
|
75
|
+
new_content_entry:
|
76
|
+
subject: "[%{domain}][%{type}] 新记录"
|
77
|
+
title: "你好 %{name},站点 <b>%{domain}</b> 的一个新实例在 %{date} 被创建"
|
78
|
+
type: "模型: %{type}"
|
79
|
+
activity:
|
80
|
+
site:
|
81
|
+
created: '创建站点'
|
82
|
+
page:
|
83
|
+
created: '创建 %{page} 页面'
|
84
|
+
updated: '更新 %{page} 页面'
|
85
|
+
destroyed: '删除 %{page} 页面'
|
86
|
+
sorted: '页面排序'
|
87
|
+
editable_element:
|
88
|
+
updated_bulk: '修改 %{pages} 的内容'
|
89
|
+
content_entry:
|
90
|
+
created: '添加 %{entry} 到 %{content_type}'
|
91
|
+
created_public: '从Public form添加 %{entry} 到 %{content_type} '
|
92
|
+
updated: '从 %{content_type} 更新 %{entry} '
|
93
|
+
destroyed: '从 %{content_type} 删除 %{entry} '
|
94
|
+
sorted: '%{content_type} 排序'
|
95
|
+
content_asset:
|
96
|
+
created_bulk: '更新 %{count} 个资源'
|
97
|
+
destroyed: '删除 %{name} 个资源'
|
98
|
+
membership:
|
99
|
+
created: '添加 %{name} 到站点'
|
100
|
+
pagination:
|
101
|
+
first: "«"
|
102
|
+
last: "»"
|
103
|
+
previous: "‹"
|
104
|
+
next: "›"
|
105
|
+
truncate: "…"
|
106
|
+
custom_fields:
|
107
|
+
select_options:
|
108
|
+
edit:
|
109
|
+
title: "%{type} — 编辑选项"
|
110
|
+
back: "回到记录"
|
111
|
+
option:
|
112
|
+
edit: 编辑
|
113
|
+
apply: 应用
|
114
|
+
cancel: 取消
|
115
|
+
types:
|
116
|
+
belongs_to:
|
117
|
+
edit: 编辑
|
118
|
+
placeholder: "选择一个 %{name}"
|
119
|
+
searching: 搜索...
|
120
|
+
no_matches: 未找到匹配
|
121
|
+
too_short: 请输入至少1个字符
|
122
|
+
many_to_many:
|
123
|
+
placeholder: "选个一个 %{name}"
|
124
|
+
searching: 搜索...
|
125
|
+
no_matches: 未找到匹配
|
126
|
+
too_short: 请输入至少1个字符
|
127
|
+
select:
|
128
|
+
edit: 编辑选项
|
129
|
+
file:
|
130
|
+
delete_file: 删除文件
|
131
|
+
has_many:
|
132
|
+
new_label: 新增一个
|
133
|
+
form:
|
134
|
+
required: 必填
|
135
|
+
default_label: 字段名
|
136
|
+
select_options:
|
137
|
+
ask_name: "输入选项名称"
|
138
|
+
dashboard:
|
139
|
+
show:
|
140
|
+
title: '控制台'
|
141
|
+
url:
|
142
|
+
title: "站点URL:"
|
143
|
+
visit: '访问'
|
144
|
+
change_domain: '使用你自己的域名'
|
145
|
+
activity:
|
146
|
+
title: 活动
|
147
|
+
unknown_account: 某人
|
148
|
+
load_more: 载入更多
|
149
|
+
loading_activity_feed: 载入中...
|
150
|
+
sessions:
|
151
|
+
new:
|
152
|
+
email: "Email"
|
153
|
+
link: "忘记密码"
|
154
|
+
password: "密码"
|
155
|
+
sign_up: 还没有账号?
|
156
|
+
submit: 登录
|
157
|
+
title: 登录
|
158
|
+
registrations:
|
159
|
+
new:
|
160
|
+
confirm_password: 确认密码
|
161
|
+
description: "创建账户然后开始使用Locomotive"
|
162
|
+
sign_in: 已有账户?
|
163
|
+
submit: 注册
|
164
|
+
title: 注册
|
165
|
+
passwords:
|
166
|
+
new:
|
167
|
+
description: "在下方填写Email,你将收到一封重置密码的说明邮件。"
|
168
|
+
link: "返回登录页面"
|
169
|
+
email: "你的Email"
|
170
|
+
submit: "提交"
|
171
|
+
title: "忘记密码"
|
172
|
+
edit:
|
173
|
+
description: "在下填写新密码。"
|
174
|
+
link: "返回登录页面"
|
175
|
+
password: "你的新密码"
|
176
|
+
password_confirmation: "确认密码"
|
177
|
+
submit: "更新我的密码"
|
178
|
+
title: "重置密码"
|
179
|
+
pages:
|
180
|
+
index:
|
181
|
+
title: '页面'
|
182
|
+
new: '新页面'
|
183
|
+
list_content_entries: "列出 %{name}"
|
184
|
+
new_content_entry: "新的 %{name}"
|
185
|
+
new:
|
186
|
+
title: 新页面
|
187
|
+
help: "填写下方的表单以新建页面。请注意,默认情况下页面不会发布。"
|
188
|
+
edit:
|
189
|
+
title: "%{title} — <small>%{fullpath}</small>"
|
190
|
+
form:
|
191
|
+
no_layout: 使用父级页面的layout
|
192
|
+
redirect_type:
|
193
|
+
permanent: "Permanent (301)"
|
194
|
+
temporary: "Temporary (302)"
|
195
|
+
editable_elements:
|
196
|
+
index:
|
197
|
+
redirection_error: "非Locomotive页面不允许编辑。"
|
198
|
+
iframe:
|
199
|
+
buttons:
|
200
|
+
edit: 编辑
|
201
|
+
index_without_preview:
|
202
|
+
title: "%{title} — <small>%{fullpath}</small>"
|
203
|
+
edit:
|
204
|
+
settings_link: '设置'
|
205
|
+
no_editable_elements: '未找到可编辑元素'
|
206
|
+
parsing_error: "<b>抱歉,无法解析你页面的模板</b><br/>请确认你的模板在Wagon是可用的"
|
207
|
+
blocks:
|
208
|
+
all: 全部
|
209
|
+
unknown: 未知
|
210
|
+
form:
|
211
|
+
model:
|
212
|
+
buttons:
|
213
|
+
list: 管理
|
214
|
+
edit: 编辑
|
215
|
+
sites:
|
216
|
+
index:
|
217
|
+
description: "下方列出所有你可访问的站点。点击任意一个将会重定向到该站点的内容管理模块。"
|
218
|
+
new: 新增站点
|
219
|
+
title: 我的站点
|
220
|
+
new:
|
221
|
+
description: "填写如下表单并点击提交。成功之后将会创建一个新站点。"
|
222
|
+
go_back: 返回
|
223
|
+
submit: 创建站点
|
224
|
+
title: 创建新站点
|
225
|
+
site:
|
226
|
+
no_domain: 没有域名
|
227
|
+
current_site:
|
228
|
+
edit:
|
229
|
+
title: 编辑当前站点
|
230
|
+
form:
|
231
|
+
main:
|
232
|
+
new_membership: "添加账号"
|
233
|
+
advanced:
|
234
|
+
destroy: "删除站点"
|
235
|
+
confirm_destroy: "请在下方输入站点名称以确认"
|
236
|
+
current_site_metafields:
|
237
|
+
index:
|
238
|
+
title: 正在编辑属性
|
239
|
+
no_metafields: 你的站点未定义metafields。
|
240
|
+
memberships:
|
241
|
+
roles:
|
242
|
+
admin: 管理员
|
243
|
+
designer: 设计师
|
244
|
+
author: 作者
|
245
|
+
new:
|
246
|
+
title: 新成员
|
247
|
+
help: "请提供账号email。如果没有则会跳转到账户创建表单页面。"
|
248
|
+
back: "返回站点设置"
|
249
|
+
edit:
|
250
|
+
title: "编辑 <b>%{name}</b> 的成员"
|
251
|
+
back: "返回站点设置"
|
252
|
+
accounts:
|
253
|
+
new:
|
254
|
+
title: 新账号
|
255
|
+
help: "填写如下表单以创建新账号"
|
256
|
+
my_account:
|
257
|
+
edit:
|
258
|
+
title: 编辑我的账号
|
259
|
+
form:
|
260
|
+
api:
|
261
|
+
api_key: "使用Wagon来部署你的站点(请检查你的Wagon站点中的config/deploy.yml)"
|
262
|
+
translations:
|
263
|
+
untranslated: "未翻译:%{list}"
|
264
|
+
index:
|
265
|
+
title: 翻译
|
266
|
+
no_items: "未找到任何翻译"
|
267
|
+
search_placeholder: "输入key或者翻译"
|
268
|
+
help: "Translate all the entries with a orange (partially localized) or red (not localized) dots."
|
269
|
+
filter_by:
|
270
|
+
all: 全部
|
271
|
+
done: 已翻译
|
272
|
+
partially: 部分翻译
|
273
|
+
none: 未翻译
|
274
|
+
edit:
|
275
|
+
title: "翻译 — 编辑 %{key}"
|
276
|
+
form:
|
277
|
+
not_translated: "未翻译"
|
278
|
+
content_assets:
|
279
|
+
index:
|
280
|
+
title: "资源"
|
281
|
+
upload: 上传文件
|
282
|
+
edit_in_drawer:
|
283
|
+
buttons:
|
284
|
+
resize: "修改尺寸"
|
285
|
+
crop: "裁剪"
|
286
|
+
apply: "应用"
|
287
|
+
dropzone:
|
288
|
+
instructions: "<strong> 从你的电脑中拖动文件到这里。 </strong><br/> 你还可以"
|
289
|
+
browse: "浏览文件"
|
290
|
+
list:
|
291
|
+
no_items: "现在没有media"
|
292
|
+
buttons:
|
293
|
+
select: "选择"
|
294
|
+
edit: "编辑"
|
295
|
+
nav:
|
296
|
+
types:
|
297
|
+
all: 全部
|
298
|
+
pdf: PDFs
|
299
|
+
image: 图片
|
300
|
+
media: 富媒体
|
301
|
+
others: 其他
|
302
|
+
search_form:
|
303
|
+
placeholder: 通过文件名搜索
|
304
|
+
public_submission_accounts:
|
305
|
+
edit:
|
306
|
+
title: "%{name} — 通知设置"
|
307
|
+
content_entries:
|
308
|
+
index:
|
309
|
+
title: '%{type}'
|
310
|
+
download: 下载记录
|
311
|
+
new: 新记录
|
312
|
+
edit_notification_settings: 编辑通知设置
|
313
|
+
search_placeholder: "在此输入搜索关键字"
|
314
|
+
group_by:
|
315
|
+
all: 全部
|
316
|
+
list:
|
317
|
+
no_items: "现在没有任何记录。 点击 <a href=\"%{url}\">这里</a> 创建第一条。"
|
318
|
+
new:
|
319
|
+
title: '%{type} — 新记录'
|
320
|
+
edit:
|
321
|
+
title: '%{type} — 编辑记录'
|
322
|
+
shared:
|
323
|
+
back: '← 返回记录列表'
|
324
|
+
developers_documentation:
|
325
|
+
show:
|
326
|
+
title: 开发者
|
327
|
+
wagon: Wagon
|
328
|
+
api: API
|
@@ -18,7 +18,7 @@ Locomotive.configure do |config|
|
|
18
18
|
config.default_locale = :en
|
19
19
|
|
20
20
|
# locales allowed for the back-office UI
|
21
|
-
|
21
|
+
config.locales = [:en, :fr, :de, :"zh-CN", :cs, :el, :lt, :"pt-BR", :nl, :ru]
|
22
22
|
|
23
23
|
# available locales suggested to "localize" a site. You will have to pick up at least one among that list.
|
24
24
|
# config.site_locales = %w{en de fr pl pt pt-BR it nl nb es ru ja cs bg sk}
|
data/lib/locomotive/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: locomotivecms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Didier Lafforgue
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 4.2.
|
33
|
+
version: 4.2.6
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 4.2.
|
40
|
+
version: 4.2.6
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: net-ssh
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,14 +170,14 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 1.1.
|
173
|
+
version: 1.1.1
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 1.1.
|
180
|
+
version: 1.1.1
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: slim
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1034,6 +1034,7 @@ files:
|
|
1034
1034
|
- config/locales/carrierwave.nl.yml
|
1035
1035
|
- config/locales/carrierwave.pt-BR.yml
|
1036
1036
|
- config/locales/carrierwave.ru.yml
|
1037
|
+
- config/locales/carrierwave.zh-CN.yml
|
1037
1038
|
- config/locales/cs.yml
|
1038
1039
|
- config/locales/de.yml
|
1039
1040
|
- config/locales/default.cs.yml
|
@@ -1041,15 +1042,21 @@ files:
|
|
1041
1042
|
- config/locales/default.el.yml
|
1042
1043
|
- config/locales/default.en.yml
|
1043
1044
|
- config/locales/default.fr.yml
|
1045
|
+
- config/locales/default.lt.yml
|
1044
1046
|
- config/locales/default.nl.yml
|
1045
1047
|
- config/locales/default.pt-BR.yml
|
1048
|
+
- config/locales/default.ru.yml
|
1049
|
+
- config/locales/default.zh-CN.yml
|
1046
1050
|
- config/locales/devise.cs.yml
|
1047
1051
|
- config/locales/devise.de.yml
|
1048
1052
|
- config/locales/devise.el.yml
|
1049
1053
|
- config/locales/devise.en.yml
|
1050
1054
|
- config/locales/devise.fr.yml
|
1055
|
+
- config/locales/devise.lt.yml
|
1051
1056
|
- config/locales/devise.nl.yml
|
1052
1057
|
- config/locales/devise.pt-BR.yml
|
1058
|
+
- config/locales/devise.ru.yml
|
1059
|
+
- config/locales/devise.zh-CN.yml
|
1053
1060
|
- config/locales/el.yml
|
1054
1061
|
- config/locales/en.yml
|
1055
1062
|
- config/locales/flash.cs.yml
|
@@ -1057,8 +1064,11 @@ files:
|
|
1057
1064
|
- config/locales/flash.el.yml
|
1058
1065
|
- config/locales/flash.en.yml
|
1059
1066
|
- config/locales/flash.fr.yml
|
1067
|
+
- config/locales/flash.lt.yml
|
1060
1068
|
- config/locales/flash.nl.yml
|
1061
1069
|
- config/locales/flash.pt-BR.yml
|
1070
|
+
- config/locales/flash.ru.yml
|
1071
|
+
- config/locales/flash.zh-CN.yml
|
1062
1072
|
- config/locales/fr.yml
|
1063
1073
|
- config/locales/inputs.cs.yml
|
1064
1074
|
- config/locales/inputs.de.yml
|
@@ -1068,22 +1078,33 @@ files:
|
|
1068
1078
|
- config/locales/inputs.lt.yml
|
1069
1079
|
- config/locales/inputs.nl.yml
|
1070
1080
|
- config/locales/inputs.pt-BR.yml
|
1081
|
+
- config/locales/inputs.ru.yml
|
1082
|
+
- config/locales/inputs.zh-CN.yml
|
1083
|
+
- config/locales/lt.yml
|
1071
1084
|
- config/locales/mongoid.cs.yml
|
1072
1085
|
- config/locales/mongoid.de.yml
|
1073
1086
|
- config/locales/mongoid.el.yml
|
1074
1087
|
- config/locales/mongoid.en.yml
|
1075
1088
|
- config/locales/mongoid.fr.yml
|
1089
|
+
- config/locales/mongoid.lt.yml
|
1076
1090
|
- config/locales/mongoid.nl.yml
|
1077
1091
|
- config/locales/mongoid.pt-BR.yml
|
1092
|
+
- config/locales/mongoid.ru.yml
|
1093
|
+
- config/locales/mongoid.zh-CN.yml
|
1078
1094
|
- config/locales/nl.yml
|
1079
1095
|
- config/locales/pt-BR.yml
|
1096
|
+
- config/locales/ru.yml
|
1080
1097
|
- config/locales/simple_form.cs.yml
|
1081
1098
|
- config/locales/simple_form.de.yml
|
1082
1099
|
- config/locales/simple_form.el.yml
|
1083
1100
|
- config/locales/simple_form.en.yml
|
1084
1101
|
- config/locales/simple_form.fr.yml
|
1102
|
+
- config/locales/simple_form.lt.yml
|
1085
1103
|
- config/locales/simple_form.nl.yml
|
1086
1104
|
- config/locales/simple_form.pt-BR.yml
|
1105
|
+
- config/locales/simple_form.ru.yml
|
1106
|
+
- config/locales/simple_form.zh-CN.yml
|
1107
|
+
- config/locales/zh-CN.yml
|
1087
1108
|
- config/routes.rb
|
1088
1109
|
- lib/generators/locomotive/install/install_generator.rb
|
1089
1110
|
- lib/generators/locomotive/install/templates/README
|