aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Resources/CraueConfigBundle/translations/CraueConfigBundle.zh.yml40
-rwxr-xr-xapp/Resources/static/themes/material/index.js6
-rw-r--r--app/config/capistrano/deploy.rb19
-rw-r--r--app/config/capistrano/deploy/production.rb0
-rw-r--r--app/config/capistrano/deploy/staging.rb2
-rw-r--r--app/config/wallabag.yml1
6 files changed, 44 insertions, 24 deletions
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.zh.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.zh.yml
new file mode 100644
index 00000000..59dd7f1b
--- /dev/null
+++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.zh.yml
@@ -0,0 +1,40 @@
1settings_changed: 配置已更新
2download_pictures: 在你的服务器上缓存图片
3carrot: 启用分享到 Carrot
4diaspora_url: diaspora* 链接,如果该服务已被启用
5export_epub: 启用 ePub 导出
6export_mobi: 启用 .mobi 导出
7export_pdf: 启用 PDF 导出
8export_csv: 启用 CSV 导出
9export_json: 启用 JSON 导出
10export_txt: 启用 TXT 导出
11export_xml: 启用 XML 导出
12import_with_rabbitmq: 启用 RabbitMQ 来异步导入数据
13import_with_redis: 启用 Redis 来异步导入数据
14shaarli_url: Shaarli 链接,如果该服务已被启用
15scuttle_url: Scuttle 链接,如果该服务已被启用
16unmark_url: Unmark 链接,如果该服务已被启用
17share_diaspora: 启用分享到 diaspora*
18share_mail: 启用邮件分享
19share_shaarli: 启用分享到 Shaarli
20share_scuttle: 启用分享到 Scuttle
21share_twitter: 启用分享到 Twitter
22share_unmark: 启用分享到 Unmark.it
23show_printlink: 展示一个用于打印内容的链接
24wallabag_support_url: wallabag 的支持链接
25entry: "文章"
26export: "导出"
27import: "导入"
28misc: "杂项"
29modify_settings: "申请"
30piwik_host: 你的网站在 Piwik 的主机名(不包括 http:// or https://)
31piwik_site_id: 你的网站在 Piwik 的 ID
32piwik_enabled: 启用 Piwik
33demo_mode_enabled: "启用演示模式?(仅用于 wallabag 公开演示)"
34demo_mode_username: "Demo user"
35share_public: 允许为项目启用公开链接
36download_images_enabled: 在本地缓存图片
37restricted_access: 启用针对带有付费墙网站的认证
38api_user_registration: 允许新用户通过 API 注册
39store_article_headers: 让 wallabag 存储每篇文章的 HTTP header
40shaarli_share_origin_url: 选择分享原始链接到 Shaarli,如果该服务已被启用
diff --git a/app/Resources/static/themes/material/index.js b/app/Resources/static/themes/material/index.js
index e808d75c..da055e80 100755
--- a/app/Resources/static/themes/material/index.js
+++ b/app/Resources/static/themes/material/index.js
@@ -57,9 +57,9 @@ $(document).ready(() => {
57 $('.datepicker').pickadate({ 57 $('.datepicker').pickadate({
58 selectMonths: true, 58 selectMonths: true,
59 selectYears: 15, 59 selectYears: 15,
60 formatSubmit: 'dd/mm/yyyy', 60 formatSubmit: 'yyyy-mm-dd',
61 hiddenName: true, 61 hiddenName: false,
62 format: 'dd/mm/yyyy', 62 format: 'yyyy-mm-dd',
63 container: 'body', 63 container: 'body',
64 }); 64 });
65 65
diff --git a/app/config/capistrano/deploy.rb b/app/config/capistrano/deploy.rb
deleted file mode 100644
index fee04620..00000000
--- a/app/config/capistrano/deploy.rb
+++ /dev/null
@@ -1,19 +0,0 @@
1# config valid only for current version of Capistrano
2
3set :application, 'wallabag'
4set :repo_url, 'git@github.com:wallabag/wallabag.git'
5
6set :ssh_user, 'framasoft_bag'
7server '78.46.248.87', user: fetch(:ssh_user), roles: %w{web app db}
8
9set :format, :pretty
10set :log_level, :info
11# set :log_level, :debug
12
13set :composer_install_flags, '--no-dev --prefer-dist --no-interaction --optimize-autoloader'
14
15set :linked_files, %w{app/config/parameters.yml}
16set :linked_dirs, [fetch(:log_path), "var/sessions", "web/uploads", "data"]
17set :keep_releases, 3
18
19after 'deploy:updated', 'symfony:cache:clear'
diff --git a/app/config/capistrano/deploy/production.rb b/app/config/capistrano/deploy/production.rb
deleted file mode 100644
index e69de29b..00000000
--- a/app/config/capistrano/deploy/production.rb
+++ /dev/null
diff --git a/app/config/capistrano/deploy/staging.rb b/app/config/capistrano/deploy/staging.rb
deleted file mode 100644
index ad899a85..00000000
--- a/app/config/capistrano/deploy/staging.rb
+++ /dev/null
@@ -1,2 +0,0 @@
1set :branch, 'master'
2set :deploy_to, '/var/www/v2.wallabag.org/web/'
diff --git a/app/config/wallabag.yml b/app/config/wallabag.yml
index c54d7eb7..611c8414 100644
--- a/app/config/wallabag.yml
+++ b/app/config/wallabag.yml
@@ -16,6 +16,7 @@ wallabag_core:
16 it: 'Italiano' 16 it: 'Italiano'
17 pt: 'Português' 17 pt: 'Português'
18 ru: 'Русский' 18 ru: 'Русский'
19 zh: '简体中文'
19 items_on_page: 12 20 items_on_page: 12
20 theme: material 21 theme: material
21 language: '%locale%' 22 language: '%locale%'