locomotive_cms 2.1.4 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -5
- data/app/assets/images/locomotive/icons/flags/zh-CN.png +0 -0
- data/app/assets/javascripts/aloha/plugins/custom/inputcontrol/css/inputcontrol.css +3 -0
- data/app/assets/javascripts/aloha/plugins/custom/inputcontrol/lib/inputcontrol-plugin.js +94 -0
- data/app/assets/javascripts/aloha/plugins/custom/inputcontrol/package.json +1 -0
- data/app/assets/javascripts/locomotive.js +2 -1
- data/app/assets/javascripts/locomotive/models/content_type.js.coffee +6 -2
- data/app/assets/javascripts/locomotive/models/page.js.coffee +1 -1
- data/app/assets/javascripts/locomotive/models/site.js.coffee +1 -1
- data/app/assets/javascripts/locomotive/utils/aloha_settings.js.coffee +17 -7
- data/app/assets/javascripts/locomotive/utils/tinymce_settings.js.coffee +6 -0
- data/app/assets/javascripts/locomotive/views/application_view.js.coffee +13 -2
- data/app/assets/javascripts/locomotive/views/content_entries/_form_view.js.coffee +19 -2
- data/app/assets/javascripts/locomotive/views/content_entries/_popup_form_view.js.coffee +1 -1
- data/app/assets/javascripts/locomotive/views/content_entries/index_view.js.coffee +2 -2
- data/app/assets/javascripts/locomotive/views/content_types/_form_view.js.coffee +2 -1
- data/app/assets/javascripts/locomotive/views/content_types/custom_field_entry_view.js.coffee +3 -0
- data/app/assets/javascripts/locomotive/views/current_site/edit_view.js.coffee +2 -1
- data/app/assets/javascripts/locomotive/views/editable_elements/edit_all_view.js.coffee +3 -6
- data/app/assets/javascripts/locomotive/views/editable_elements/text_view.js.coffee +47 -0
- data/app/assets/javascripts/locomotive/views/inline_editor/toolbar_view.js.coffee +1 -1
- data/app/assets/javascripts/locomotive/views/pages/_form_view.js.coffee +2 -1
- data/app/assets/javascripts/locomotive/views/pages/list_view.js.coffee +2 -2
- data/app/assets/javascripts/locomotive/views/shared/fields/belongs_to_view.js.coffee +32 -0
- data/app/assets/javascripts/locomotive/views/shared/fields/has_many_view.js.coffee +2 -2
- data/app/assets/javascripts/locomotive/views/shared/fields/many_to_many_view.js.coffee +2 -2
- data/app/assets/javascripts/locomotive/views/shared/form_view.js.coffee +2 -0
- data/app/assets/javascripts/locomotive/views/snippets/_form_view.js.coffee +2 -1
- data/app/assets/javascripts/locomotive/views/theme_assets/_form_view.js.coffee +2 -1
- data/app/assets/javascripts/locomotive/views/theme_assets/index_view.js.coffee +0 -1
- data/app/assets/javascripts/tinymce/plugins/locomotive_media/langs/es.js +1 -0
- data/app/assets/javascripts/tinymce/plugins/locomotive_media/langs/et.js +1 -0
- data/app/assets/javascripts/tinymce/plugins/locomotive_media/langs/it.js +1 -0
- data/app/assets/javascripts/tinymce/plugins/locomotive_media/langs/ja.js +1 -0
- data/app/assets/javascripts/tinymce/plugins/locomotive_media/langs/nb.js +1 -0
- data/app/assets/javascripts/tinymce/plugins/locomotive_media/langs/nl.js +1 -0
- data/app/assets/javascripts/tinymce/plugins/locomotive_media/langs/no.js +1 -0
- data/app/assets/javascripts/tinymce/plugins/locomotive_media/langs/pl.js +1 -0
- data/app/assets/javascripts/tinymce/plugins/locomotive_media/langs/pt.js +1 -0
- data/app/assets/javascripts/tinymce/plugins/locomotive_media/langs/zh-cn.js +1 -0
- data/app/assets/stylesheets/locomotive.css +1 -0
- data/app/assets/stylesheets/locomotive/backoffice/codemirror_changes.css.scss +2 -0
- data/app/assets/stylesheets/locomotive/backoffice/formtastic_changes.css.scss +17 -3
- data/app/controllers/locomotive/content_entries_controller.rb +6 -2
- data/app/controllers/locomotive/public/content_entries_controller.rb +6 -0
- data/app/helpers/locomotive/base_helper.rb +8 -0
- data/app/helpers/locomotive/sites_helper.rb +6 -0
- data/app/models/locomotive/content_entry.rb +35 -5
- data/app/models/locomotive/content_type.rb +26 -8
- data/app/models/locomotive/editable_element.rb +15 -1
- data/app/models/locomotive/editable_file.rb +0 -2
- data/app/models/locomotive/editable_long_text.rb +3 -3
- data/app/models/locomotive/editable_short_text.rb +3 -64
- data/app/models/locomotive/editable_text.rb +84 -0
- data/app/models/locomotive/extensions/content_entry/csv.rb +7 -3
- data/app/models/locomotive/extensions/page/editable_elements.rb +3 -5
- data/app/models/locomotive/extensions/site/locales.rb +20 -0
- data/app/models/locomotive/extensions/site/timezone.rb +35 -0
- data/app/models/locomotive/site.rb +20 -16
- data/app/models/locomotive/theme_asset.rb +1 -1
- data/app/presenters/locomotive/content_entry_presenter.rb +1 -1
- data/app/presenters/locomotive/{editable_short_text_presenter.rb → editable_text_presenter.rb} +14 -2
- data/app/views/locomotive/current_site/_form.html.haml +1 -0
- data/app/views/locomotive/custom_fields/types/_belongs_to.html.haml +6 -5
- data/app/views/locomotive/pages/_editable_elements.html.haml +1 -1
- data/app/views/locomotive/shared/_head.html.haml +2 -0
- data/app/views/locomotive/shared/_main_app_head_before_backbone.html.haml +1 -0
- data/config/locales/admin_ui.de.yml +1 -0
- data/config/locales/admin_ui.en.yml +1 -0
- data/config/locales/admin_ui.et.yml +1 -0
- data/config/locales/admin_ui.fr.yml +1 -0
- data/config/locales/admin_ui.ja.yml +1 -0
- data/config/locales/admin_ui.nb.yml +2 -0
- data/config/locales/admin_ui.pl.yml +1 -0
- data/config/locales/admin_ui.pt-BR.yml +2 -1
- data/config/locales/admin_ui.ru.yml +24 -4
- data/config/locales/admin_ui.zh-CN.yml +347 -0
- data/config/locales/carrierwave.zh-CN.yml +4 -0
- data/config/locales/default.zh-CN.yml +116 -0
- data/config/locales/devise.nb.yml +1 -0
- data/config/locales/devise.zh-CN.yml +64 -0
- data/config/locales/flash.zh-CN.yml +115 -0
- data/config/locales/formtastic.en.yml +1 -0
- data/config/locales/formtastic.ru.yml +4 -1
- data/config/locales/formtastic.zh-CN.yml +112 -0
- data/features/backoffice/content_types/localized.feature +63 -0
- data/features/backoffice/pages.feature +3 -1
- data/features/backoffice/site.feature +7 -0
- data/features/public/contact_form.feature +11 -0
- data/features/public/content_entries.feature +13 -0
- data/features/public/pages.feature +24 -0
- data/features/step_definitions/page_steps.rb +6 -0
- data/features/step_definitions/web_steps.rb +24 -7
- data/lib/generators/locomotive/install/templates/locomotive.rb +2 -2
- data/lib/generators/locomotive/install/templates/mongoid.yml +23 -29
- data/lib/locomotive.rb +1 -4
- data/lib/locomotive/configuration.rb +3 -3
- data/lib/locomotive/dependencies.rb +1 -0
- data/lib/locomotive/engine.rb +2 -1
- data/lib/locomotive/liquid/drops/page.rb +1 -1
- data/lib/locomotive/liquid/filters/date.rb +3 -1
- data/lib/locomotive/liquid/filters/misc.rb +4 -0
- data/lib/locomotive/liquid/filters/text.rb +4 -0
- data/lib/locomotive/liquid/tags/editable.rb +1 -2
- data/lib/locomotive/liquid/tags/editable/text.rb +79 -0
- data/lib/locomotive/liquid/tags/inline_editor.rb +1 -1
- data/lib/locomotive/liquid/tags/link_to.rb +72 -13
- data/lib/locomotive/liquid/tags/with_scope.rb +3 -3
- data/lib/locomotive/middlewares.rb +0 -1
- data/lib/locomotive/mongoid/patches.rb +0 -16
- data/lib/locomotive/render.rb +1 -1
- data/lib/locomotive/version.rb +1 -1
- data/lib/tasks/locomotive.rake +15 -9
- data/mongodb/migrate/20130326201349_rename_entry_to_content_entry.rb +1 -1
- data/mongodb/migrate/20130621135025_create_editable_texts.rb +42 -0
- data/mongodb/migrate/20130627101548_localize_slugs_of_content_entries.rb +43 -0
- data/spec/dummy/config/initializers/locomotive.rb +1 -1
- data/spec/dummy/config/initializers/session_store.rb +1 -1
- data/spec/lib/locomotive/liquid/drops/page_spec.rb +1 -1
- data/spec/lib/locomotive/liquid/filters/misc_spec.rb +26 -0
- data/spec/lib/locomotive/liquid/tags/editable/text_spec.rb +85 -0
- data/spec/lib/locomotive/liquid/tags/link_to_spec.rb +111 -0
- data/spec/lib/locomotive/liquid/tags/with_scope_spec.rb +6 -0
- data/spec/models/locomotive/content_entry_spec.rb +27 -7
- data/spec/models/locomotive/{editable_short_text_spec.rb → editable_text_spec.rb} +53 -8
- data/spec/models/locomotive/extensions/page/editable_elements_spec.rb +6 -6
- data/spec/models/locomotive/site_spec.rb +52 -32
- data/vendor/assets/images/select2-spinner.gif +0 -0
- data/vendor/assets/images/select2.png +0 -0
- data/vendor/assets/images/select2x2.png +0 -0
- data/vendor/assets/javascripts/locomotive/liquid_mode.js +1 -1
- data/vendor/assets/javascripts/select2/select2.js +3054 -0
- data/vendor/assets/stylesheets/select2/select2.css.scss +652 -0
- metadata +77 -33
- data/app/assets/javascripts/locomotive/views/editable_elements/long_text_view.js.coffee +0 -36
- data/app/assets/javascripts/locomotive/views/editable_elements/short_text_view.js.coffee +0 -22
- data/app/presenters/locomotive/editable_long_text_presenter.rb +0 -5
- data/lib/locomotive/liquid/tags/editable/long_text.rb +0 -33
- data/lib/locomotive/liquid/tags/editable/short_text.rb +0 -41
- data/lib/locomotive/middlewares/fonts.rb +0 -42
- data/lib/locomotive/session_store.rb +0 -64
- data/spec/lib/locomotive/liquid/tags/editable/short_text_spec.rb +0 -46
- data/spec/models/locomotive/editable_long_text_spec.rb +0 -50
@@ -0,0 +1 @@
|
|
1
|
+
- # this partial can be overridden in the main app in order to include extra js before Backbone is initialized to include your own backbone Views/Models when extending the backoffice with your custom views.
|
@@ -22,6 +22,7 @@ nb:
|
|
22
22
|
ru: Russisk
|
23
23
|
et: Estisk
|
24
24
|
ja: Anamnese
|
25
|
+
zh-CN: Kinesisk
|
25
26
|
|
26
27
|
messages:
|
27
28
|
confirm: Er du sikker?
|
@@ -43,6 +44,7 @@ nb:
|
|
43
44
|
account: Min konto
|
44
45
|
site: Siden
|
45
46
|
theme_assets: Temafiler
|
47
|
+
translations: Oversettelser
|
46
48
|
form:
|
47
49
|
change_file: Endre
|
48
50
|
delete_file: Slett
|
@@ -22,6 +22,7 @@ pt-BR:
|
|
22
22
|
ru: Russo
|
23
23
|
et: Estoniano
|
24
24
|
ja: Japonês
|
25
|
+
zh-CN: Chinês
|
25
26
|
|
26
27
|
messages:
|
27
28
|
confirm: Você tem certeza?
|
@@ -310,4 +311,4 @@ pt-BR:
|
|
310
311
|
step_2:
|
311
312
|
title: "Passo 2/2 — Criar primeiro site"
|
312
313
|
explanations: "Este é o último passo da instalação. Você pode enviar um tema como um arquivo zip. Nós temos alguns temas de graça para download <a href=\"http://www.locomotivecms.com/support/themes\">aqui</a>."
|
313
|
-
next: Criar Site
|
314
|
+
next: Criar Site
|
@@ -22,6 +22,7 @@ ru:
|
|
22
22
|
ru: Русский
|
23
23
|
et: Эстонский
|
24
24
|
ja: японский
|
25
|
+
zh-CN: китайский
|
25
26
|
|
26
27
|
messages:
|
27
28
|
confirm: Вы уверены ?
|
@@ -43,6 +44,7 @@ ru:
|
|
43
44
|
account: Аккаунт
|
44
45
|
site: Сайт
|
45
46
|
theme_assets: Файлы темы
|
47
|
+
translations: Переводы
|
46
48
|
form:
|
47
49
|
change_file: изменить
|
48
50
|
delete_file: удалить
|
@@ -56,7 +58,7 @@ ru:
|
|
56
58
|
send: Отправить
|
57
59
|
disable_with: В ожидании...
|
58
60
|
list:
|
59
|
-
untranslated:
|
61
|
+
untranslated: Не переведено
|
60
62
|
|
61
63
|
errors:
|
62
64
|
"500":
|
@@ -75,7 +77,11 @@ ru:
|
|
75
77
|
type: "Модель: %{type}"
|
76
78
|
|
77
79
|
sites_picker:
|
78
|
-
new: +
|
80
|
+
new: + новый сайт
|
81
|
+
|
82
|
+
api_key:
|
83
|
+
none: Нажмите на кнопку, чтобы сгенерировать ключ API.
|
84
|
+
button: Создать
|
79
85
|
|
80
86
|
custom_fields:
|
81
87
|
edit:
|
@@ -88,7 +94,7 @@ ru:
|
|
88
94
|
delete_file: Удалить файл
|
89
95
|
has_many:
|
90
96
|
empty: Пусто
|
91
|
-
new_entry: +
|
97
|
+
new_entry: + новый элемент
|
92
98
|
many_to_many:
|
93
99
|
empty: Список пуст. Добавьте элемент из селекта ниже.
|
94
100
|
form:
|
@@ -119,7 +125,7 @@ ru:
|
|
119
125
|
index:
|
120
126
|
title: Список страниц
|
121
127
|
help: "Страницы организованы в виде дерева. Вы можете сортировать как страницы, так и папки"
|
122
|
-
no_items: "
|
128
|
+
no_items: "Сейчас здесь нет ни одной страницы. Перейдите по <a href=\"%{url}\">ссылке</a>, чтобы создать первую."
|
123
129
|
new: новая страница
|
124
130
|
latest_entries: Страницы за последнее время
|
125
131
|
new:
|
@@ -224,6 +230,20 @@ ru:
|
|
224
230
|
no_items: "Нет ни одного изображения."
|
225
231
|
upload: "Upload theme images"
|
226
232
|
|
233
|
+
translations:
|
234
|
+
untranslated: "Ожидают перевода: %{list}"
|
235
|
+
index:
|
236
|
+
title: Переводы
|
237
|
+
new: новый перевод
|
238
|
+
no_items: "Сейчас нет ни одного перевода. Пройдите по <a href=\"%{url}\">ссылке</a>, чтобы создать перевод."
|
239
|
+
remove: Удалить %{key}
|
240
|
+
new:
|
241
|
+
title: "Новый перевод"
|
242
|
+
help: "Страницы и сниппеты могут использовать один и тот же шаблон для всех языков, тогда как некоторые надписи можно перевести с помощью liquid-тэга <b>translate</b>."
|
243
|
+
edit:
|
244
|
+
title: "Редактирование %{key}"
|
245
|
+
help: "Вы можете использовать этот перевод следующим образом: <span class='code'>{{ '%{key}' | translate }}</span>."
|
246
|
+
|
227
247
|
content_assets:
|
228
248
|
picker:
|
229
249
|
title: "Вставьте медиа-файл"
|
@@ -0,0 +1,347 @@
|
|
1
|
+
zh-CN:
|
2
|
+
locomotive:
|
3
|
+
buttons:
|
4
|
+
login: 登录
|
5
|
+
send_password: 发送
|
6
|
+
change_password: 更新
|
7
|
+
new_item: "+ 添加"
|
8
|
+
switch_to_site: 去往
|
9
|
+
delete: "删除"
|
10
|
+
close: "关闭"
|
11
|
+
|
12
|
+
locales:
|
13
|
+
en: 英语
|
14
|
+
de: 德语
|
15
|
+
fr: 法语
|
16
|
+
pl: 波兰语
|
17
|
+
pt-BR: "葡萄牙语(巴西)"
|
18
|
+
it: 意大利语
|
19
|
+
nl: 菏兰语
|
20
|
+
nb: 挪威语
|
21
|
+
es: 西班牙语
|
22
|
+
ru: 俄语
|
23
|
+
et: 爱沙尼亚语
|
24
|
+
ja: 日语
|
25
|
+
zh-CN: 中文
|
26
|
+
|
27
|
+
messages:
|
28
|
+
confirm: 确定?
|
29
|
+
sending_form: 正在提交表单
|
30
|
+
|
31
|
+
shared:
|
32
|
+
header:
|
33
|
+
welcome: 欢迎, %{name}
|
34
|
+
see: 查看网站
|
35
|
+
switch: 切换到另一个网站
|
36
|
+
help: 帮助
|
37
|
+
logout: 退出
|
38
|
+
menu:
|
39
|
+
contents: 内容
|
40
|
+
assets: 资产
|
41
|
+
settings: 设置
|
42
|
+
pages: 页面
|
43
|
+
snippets: 片段
|
44
|
+
account: 我的账户
|
45
|
+
site: 网站
|
46
|
+
theme_assets: 主题文件
|
47
|
+
translations: 翻译
|
48
|
+
form:
|
49
|
+
change_file: 更改
|
50
|
+
delete_file: 删除
|
51
|
+
cancel: 取消
|
52
|
+
form_actions:
|
53
|
+
back: 不保存返回
|
54
|
+
create: 创建
|
55
|
+
update: 保存
|
56
|
+
send: 发送
|
57
|
+
disable_with: 待定...
|
58
|
+
list:
|
59
|
+
untranslated: 未翻译的
|
60
|
+
footer:
|
61
|
+
who_is_behind: "LocomotiveCMS 由 %{development} 开发, 由 <a href=\"http://www.sachagreif.com\">Sacha Greif</a> — 设计 <small>版本</small> %{version}"
|
62
|
+
|
63
|
+
errors:
|
64
|
+
"500":
|
65
|
+
title: 应用出错
|
66
|
+
notice: "对不起,出错了"
|
67
|
+
link: "→ 返回应用"
|
68
|
+
"404":
|
69
|
+
title: 页面找不到
|
70
|
+
notice: "你请求的页面不存在"
|
71
|
+
link: "→ 返回应用"
|
72
|
+
|
73
|
+
notifications:
|
74
|
+
new_content_entry:
|
75
|
+
subject: "[%{domain}][%{type}] 新建条目"
|
76
|
+
title: "Hi %{name}, 仅仅是让你知道一个新的实例在%{date}时被创建,在网站<b>%{domain}</b>下"
|
77
|
+
type: "类型: %{type}"
|
78
|
+
|
79
|
+
pagination:
|
80
|
+
first: "第一页"
|
81
|
+
last: "末页"
|
82
|
+
previous: "前一页"
|
83
|
+
next: "后一页"
|
84
|
+
truncate: "…"
|
85
|
+
|
86
|
+
sites_picker:
|
87
|
+
new: + 新建网站
|
88
|
+
|
89
|
+
api_key:
|
90
|
+
none: 请点击下面的按钮生成API key
|
91
|
+
button: 重新生成
|
92
|
+
|
93
|
+
custom_fields:
|
94
|
+
edit:
|
95
|
+
title: 编辑自定义的字段
|
96
|
+
text_formatting:
|
97
|
+
none: None
|
98
|
+
html: HTML
|
99
|
+
types:
|
100
|
+
file:
|
101
|
+
delete_file: 删除文件
|
102
|
+
has_many:
|
103
|
+
empty: 列表为空
|
104
|
+
new_entry: + 新建条目
|
105
|
+
many_to_many:
|
106
|
+
empty: 列表为空。从下面的选择框里添加一个条目
|
107
|
+
|
108
|
+
form:
|
109
|
+
required: 必需的Required
|
110
|
+
default_label: 字段名Field name
|
111
|
+
select_options:
|
112
|
+
ask_name: "填写选项标签"
|
113
|
+
|
114
|
+
sessions:
|
115
|
+
new:
|
116
|
+
title: 登录
|
117
|
+
link: "忘记密码?"
|
118
|
+
email: "邮箱"
|
119
|
+
password: "密码"
|
120
|
+
|
121
|
+
passwords:
|
122
|
+
new:
|
123
|
+
title: 忘记密码
|
124
|
+
link: "→ 返回到登录页面"
|
125
|
+
email: "你的邮箱"
|
126
|
+
edit:
|
127
|
+
title: 更新密码
|
128
|
+
link: "→ 返回到登录页面"
|
129
|
+
password: "新密码"
|
130
|
+
password_confirmation: "确认新密码"
|
131
|
+
|
132
|
+
pages:
|
133
|
+
index:
|
134
|
+
title: 页面列表
|
135
|
+
help: "页面是以树的方式组织的,你可以像文件夹那样排列页面"
|
136
|
+
no_items: "现在还没有页面,请点击<a href=\"%{url}\">这里</a>创建第一个页面"
|
137
|
+
new: 新建页面
|
138
|
+
latest_entries: 最近的页面
|
139
|
+
new:
|
140
|
+
title: 新建页面
|
141
|
+
help: "请填写下面的表单创建你的页面,注意页面默认是不发布的。"
|
142
|
+
page:
|
143
|
+
updated_at: 更新于
|
144
|
+
edit:
|
145
|
+
show: 显示
|
146
|
+
help: "页面标题可以通过点击来更新,要应用你的更新,点击保存按钮"
|
147
|
+
ask_for_title: "请输入新的页面标题"
|
148
|
+
form:
|
149
|
+
change_file: 更改
|
150
|
+
delete_file: 删除
|
151
|
+
cancel: 取消
|
152
|
+
default_block: 默认
|
153
|
+
cache_strategy:
|
154
|
+
none: 无
|
155
|
+
simple: 简单
|
156
|
+
hour: "1 小时"
|
157
|
+
day: "1 天"
|
158
|
+
week: "1 周"
|
159
|
+
month: "1 个月"
|
160
|
+
redirect_type:
|
161
|
+
permanent: "Permanent (301)"
|
162
|
+
temporary: "Temporary (302)"
|
163
|
+
|
164
|
+
snippets:
|
165
|
+
index:
|
166
|
+
title: 片段列表
|
167
|
+
help: "片段是一段HTML代码,可以遍布于网站的各个地方(比如页面的页脚footer)"
|
168
|
+
no_items: "现在还没有片段,点击<a href=\"%{url}\">here</a> 创建第一个片段"
|
169
|
+
new: 新建片段
|
170
|
+
new:
|
171
|
+
title: 新建片段
|
172
|
+
help: "填写下面的表单来更新你的片段"
|
173
|
+
edit:
|
174
|
+
title: 编辑片段
|
175
|
+
help: "用如下的liquid代码包含你的片段到你的页面模板: <span class='code'>{% include '%{slug}' %}</span>."
|
176
|
+
snippet:
|
177
|
+
updated_at: 更新于
|
178
|
+
|
179
|
+
sites:
|
180
|
+
new:
|
181
|
+
title: 新建网站
|
182
|
+
help: "填写下面的表单来创建你的网站"
|
183
|
+
domains:
|
184
|
+
empty: "还没有域名绑定到这个网站,只要在下面简单地添加你的域名。<b>不要忘记升级你的DNS</b>"
|
185
|
+
|
186
|
+
current_site:
|
187
|
+
edit:
|
188
|
+
new_membership: 添加账户
|
189
|
+
help: "点击网站名称更新它,要应用你的更改,点击\"保存\"按钮"
|
190
|
+
ask_for_name: "请输入新的网站名"
|
191
|
+
|
192
|
+
memberships:
|
193
|
+
roles:
|
194
|
+
admin: 管理员
|
195
|
+
designer: 设计师
|
196
|
+
author: 作者
|
197
|
+
new:
|
198
|
+
title: 新建成员
|
199
|
+
help: "请给一个账户的邮箱进行添加。如果该邮箱不存在,你将被跳转到创建账户的表单页面。"
|
200
|
+
|
201
|
+
accounts:
|
202
|
+
new:
|
203
|
+
title: 新建账户
|
204
|
+
help: "填写下面的表单来创建一个账户"
|
205
|
+
|
206
|
+
my_account:
|
207
|
+
edit:
|
208
|
+
help: "点击你的账户名更新,要应用你的更新,点击\"保存\"按钮。"
|
209
|
+
new_site: 新建网站
|
210
|
+
ask_for_name: "请输入你的新名称"
|
211
|
+
|
212
|
+
theme_assets:
|
213
|
+
index:
|
214
|
+
title: 主题文件列表
|
215
|
+
help: "主题文件部分是你管理那些在页面模板、HTML片段里需要的文件。如果你需要管理一个图片库,那么可以创建一个新的内容类型。<br /><b>警告</b>依赖权限的控制,你可能看不到所有的资产。"
|
216
|
+
quick_upload: 快速上传
|
217
|
+
new: 新建文件
|
218
|
+
snippets: 片段
|
219
|
+
css_and_js: 样式css与javascript
|
220
|
+
fonts: 字体
|
221
|
+
images: 图片
|
222
|
+
media: 媒体
|
223
|
+
no_items: "现在还没有文件"
|
224
|
+
asset:
|
225
|
+
updated_at: 更新于
|
226
|
+
new:
|
227
|
+
title: 新建文件
|
228
|
+
help: "你可以选择上传文件,也可以直接复制粘贴纯文本的css样式或javascript代码"
|
229
|
+
edit:
|
230
|
+
title: "编辑 %{file}"
|
231
|
+
help: "这个资产可以通过以下地址访问: <a href='%{url}'>%{url}</a>"
|
232
|
+
help_image: "用如下的liquid代码包含图片到你的页面模板或片段中:<span class='code'>{{ '%{path}' | theme_image_tag }}</span>.<br/>你当前的图片尺寸 : <b>%{width}px x %{height}px</b>.<br/>"
|
233
|
+
help_javascript: "用如下的liquid代码包含javascript文件到你的页面模板或片段中:<span class='code'>{{ '%{path}' | javascript_tag }}</span>.<br/>"
|
234
|
+
help_stylesheet: "用如下的liquid代码包含样式文件到你的页面模板或片段中:<span class='code'>{{ '%{path}' | stylesheet_tag }}</span>.<br/>"
|
235
|
+
form:
|
236
|
+
picker_link: 插入一个文件到代码中
|
237
|
+
choose_file: 选择文件
|
238
|
+
choose_plain_text: 选择纯文本
|
239
|
+
image_picker:
|
240
|
+
title: "插入主题图片"
|
241
|
+
no_items: "现在还没有图片。"
|
242
|
+
upload: "上传主题图片"
|
243
|
+
|
244
|
+
translations:
|
245
|
+
untranslated: "未翻译的语言: %{list}"
|
246
|
+
index:
|
247
|
+
title: 翻译
|
248
|
+
new: 新建翻译
|
249
|
+
no_items: "现在还没有翻译。点击<a href=\"%{url}\">这里</a>创建第一个翻译。"
|
250
|
+
remove: 删除 %{key}
|
251
|
+
new:
|
252
|
+
title: "新建翻译"
|
253
|
+
help: "对于所有的语言,页面/片段可以共享同一个模板,除了那些可以被liquid tag <b>translate</b>处理的标签。"
|
254
|
+
edit:
|
255
|
+
title: "编辑 %{key}"
|
256
|
+
help: "你可以用如下的liquid代码来使用那个翻译的key:<span class='code'>{{ '%{key}' | translate }}</span>。"
|
257
|
+
|
258
|
+
content_assets:
|
259
|
+
picker:
|
260
|
+
title: "插入媒体"
|
261
|
+
no_items: "现在还没有媒体There are no media for now."
|
262
|
+
upload: "上传媒体"
|
263
|
+
|
264
|
+
content_types:
|
265
|
+
index:
|
266
|
+
new: 新建内容类型
|
267
|
+
edit: 编辑内容类型
|
268
|
+
new:
|
269
|
+
title: 新建内容类型
|
270
|
+
help: "创建你自己的内容类型(Projects, People, ...etc)。你的内容类型应该至少有一个字段。从这个内容类型创建的条目必须强制性地拥有他们的第一个字段"
|
271
|
+
edit:
|
272
|
+
title: 编辑内容类型
|
273
|
+
help: "Your model should have one field at least. The items created from this content type would have their first field mandatory."
|
274
|
+
show_entries: 显示条目
|
275
|
+
new_entry: 新建条目
|
276
|
+
form:
|
277
|
+
order_by:
|
278
|
+
created_at: 'By创建时间'
|
279
|
+
updated_at: 'By更新时间'
|
280
|
+
position_in_list: 手动
|
281
|
+
order_direction:
|
282
|
+
asc: 升序
|
283
|
+
desc: 降序
|
284
|
+
|
285
|
+
content_entries:
|
286
|
+
index:
|
287
|
+
title: '列表 "%{type}"'
|
288
|
+
edit: 编辑
|
289
|
+
destroy: 删除
|
290
|
+
download: 下载条目
|
291
|
+
new: 新建条目
|
292
|
+
category_noname: "没有名称"
|
293
|
+
latest_entries: "最近的条目"
|
294
|
+
updated_at: "更新于"
|
295
|
+
list:
|
296
|
+
no_items: "现在还没有条目。点击<a href=\"%{url}\">这里</a>创建第一个。"
|
297
|
+
new:
|
298
|
+
title: '%{type} — 新建条目'
|
299
|
+
edit:
|
300
|
+
title: '%{type} — 编辑条目'
|
301
|
+
form:
|
302
|
+
edit_select_options: 编辑选项
|
303
|
+
has_many:
|
304
|
+
new_entry: 新建条目
|
305
|
+
|
306
|
+
code_editing:
|
307
|
+
image_picker: 插入一个图片到代码
|
308
|
+
copy_template: 从主要的语言复制模板
|
309
|
+
|
310
|
+
cross_domain_sessions:
|
311
|
+
new:
|
312
|
+
title: 夸域认证
|
313
|
+
notice: 几秒后将跳转到网站
|
314
|
+
|
315
|
+
installation:
|
316
|
+
common:
|
317
|
+
title: 首次安装locomotive
|
318
|
+
next: 下一步
|
319
|
+
step_1:
|
320
|
+
title: "步骤 1/2 — 创建账户"
|
321
|
+
name: 帐户名
|
322
|
+
email: 邮箱
|
323
|
+
password: 密码
|
324
|
+
password_confirmation: 确认密码
|
325
|
+
done: "你已经添加一个账户:<br/><strong>%{name}</strong>, <em>%{email}</em>"
|
326
|
+
next: 创建账户
|
327
|
+
step_2:
|
328
|
+
title: "步骤 2/2 — 创建你的第一个网站"
|
329
|
+
explanations: "你已快完成了。请给你网站取个名称并选择一个默认的语言"
|
330
|
+
default_site_locale: 网站语言
|
331
|
+
default_site_locales_hints: 稍微你可以在设置面板添加更多的语言。
|
332
|
+
next: 创建网站
|
333
|
+
|
334
|
+
public:
|
335
|
+
pages:
|
336
|
+
show_toolbar:
|
337
|
+
statuses:
|
338
|
+
loading: "加载中...."
|
339
|
+
disabled: "Inline编辑器被禁用"
|
340
|
+
labels:
|
341
|
+
save_changes: "保存更改: "
|
342
|
+
editing_mode: "编辑模式: "
|
343
|
+
lang: "语言: "
|
344
|
+
buttons:
|
345
|
+
back: 返回到管理后台
|
346
|
+
confirm: 确认
|
347
|
+
cancel: 取消
|