diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Resources/CraueConfigBundle/translations/CraueConfigBundle.zh.yml | 40 | ||||
-rwxr-xr-x | app/Resources/static/themes/material/index.js | 6 | ||||
-rw-r--r-- | app/config/capistrano/deploy.rb | 19 | ||||
-rw-r--r-- | app/config/capistrano/deploy/production.rb | 0 | ||||
-rw-r--r-- | app/config/capistrano/deploy/staging.rb | 2 | ||||
-rw-r--r-- | app/config/wallabag.yml | 1 |
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 @@ | |||
1 | settings_changed: 配置已更新 | ||
2 | download_pictures: 在你的服务器上缓存图片 | ||
3 | carrot: 启用分享到 Carrot | ||
4 | diaspora_url: diaspora* 链接,如果该服务已被启用 | ||
5 | export_epub: 启用 ePub 导出 | ||
6 | export_mobi: 启用 .mobi 导出 | ||
7 | export_pdf: 启用 PDF 导出 | ||
8 | export_csv: 启用 CSV 导出 | ||
9 | export_json: 启用 JSON 导出 | ||
10 | export_txt: 启用 TXT 导出 | ||
11 | export_xml: 启用 XML 导出 | ||
12 | import_with_rabbitmq: 启用 RabbitMQ 来异步导入数据 | ||
13 | import_with_redis: 启用 Redis 来异步导入数据 | ||
14 | shaarli_url: Shaarli 链接,如果该服务已被启用 | ||
15 | scuttle_url: Scuttle 链接,如果该服务已被启用 | ||
16 | unmark_url: Unmark 链接,如果该服务已被启用 | ||
17 | share_diaspora: 启用分享到 diaspora* | ||
18 | share_mail: 启用邮件分享 | ||
19 | share_shaarli: 启用分享到 Shaarli | ||
20 | share_scuttle: 启用分享到 Scuttle | ||
21 | share_twitter: 启用分享到 Twitter | ||
22 | share_unmark: 启用分享到 Unmark.it | ||
23 | show_printlink: 展示一个用于打印内容的链接 | ||
24 | wallabag_support_url: wallabag 的支持链接 | ||
25 | entry: "文章" | ||
26 | export: "导出" | ||
27 | import: "导入" | ||
28 | misc: "杂项" | ||
29 | modify_settings: "申请" | ||
30 | piwik_host: 你的网站在 Piwik 的主机名(不包括 http:// or https://) | ||
31 | piwik_site_id: 你的网站在 Piwik 的 ID | ||
32 | piwik_enabled: 启用 Piwik | ||
33 | demo_mode_enabled: "启用演示模式?(仅用于 wallabag 公开演示)" | ||
34 | demo_mode_username: "Demo user" | ||
35 | share_public: 允许为项目启用公开链接 | ||
36 | download_images_enabled: 在本地缓存图片 | ||
37 | restricted_access: 启用针对带有付费墙网站的认证 | ||
38 | api_user_registration: 允许新用户通过 API 注册 | ||
39 | store_article_headers: 让 wallabag 存储每篇文章的 HTTP header | ||
40 | shaarli_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 | |||
3 | set :application, 'wallabag' | ||
4 | set :repo_url, 'git@github.com:wallabag/wallabag.git' | ||
5 | |||
6 | set :ssh_user, 'framasoft_bag' | ||
7 | server '78.46.248.87', user: fetch(:ssh_user), roles: %w{web app db} | ||
8 | |||
9 | set :format, :pretty | ||
10 | set :log_level, :info | ||
11 | # set :log_level, :debug | ||
12 | |||
13 | set :composer_install_flags, '--no-dev --prefer-dist --no-interaction --optimize-autoloader' | ||
14 | |||
15 | set :linked_files, %w{app/config/parameters.yml} | ||
16 | set :linked_dirs, [fetch(:log_path), "var/sessions", "web/uploads", "data"] | ||
17 | set :keep_releases, 3 | ||
18 | |||
19 | after '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 @@ | |||
1 | set :branch, 'master' | ||
2 | set :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%' |