Skip to content

Commit

Permalink
[translation] Update zh_hant translations (#2498)
Browse files Browse the repository at this point in the history
* 更新 yaml.update.yml

* Update yaml.update.yml

* [translation] Update yaml.split.yml

* [translation] Update yaml.merge.yml

* [translation] Update yaml.diff.yml

* [translation] Update views.plugins.debug.yml

* [translation] Update views.debug.yml

* [translation] Update user.password.reset.yml

* Add translation to user.password.hash.yml & user.login.url.yml

* Add translation to user.login.clear.attempts.yml

* Add translation to user.delete.yml

* Add translation to update.execute.yml

* Fix the placeholder for update:execute msg in zh_hans translation

* Add translation to update commands

* Add translation to translation commands

* Add translation to translation commands

* Add translation to theme.uninstall.yml

* Add translation to theme.install.yml

* Add translation to theme.download.yml

* Update translation to theme.debug.yml

* Add translation to test.debug and test.run

* Add translation to state commands

* Add translations to site commands

* Add translations to settings commands

* Add translation to server.yml

* Add translation to rest commands

* Add translation to router commands

* Add translation to self-update; update site:status command

* Update newly added translations to user commands after merge

* Update newly added translations to translation commands after merge

* Update newly added translations to site:new commands after merge

* Update translation in rest.debug.yml

* [translation] Update plugin.debug.yml and node.access.rebuild.yml

* [translation] Update for multisite debug

* Sync translation files to zh_hant

* [translation] Update translations
  • Loading branch information
amouro authored and enzolutions committed Jul 5, 2016
1 parent 96d10a8 commit 0969979
Show file tree
Hide file tree
Showing 52 changed files with 392 additions and 285 deletions.
132 changes: 68 additions & 64 deletions composer.lock

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions config/translations/zh_hant/cache.context.debug.yml
@@ -0,0 +1,5 @@
description: 'Displays current cache context for the application.'
messages:
code: 'Context ID'
label: 'Label'
class: 'Class path'
2 changes: 2 additions & 0 deletions config/translations/zh_hant/common.yml
@@ -1,11 +1,13 @@
options:
class: 'Class name'
events: 'Load events from the container'
module: 'The Module name.'
services: 'Load services from the container.'
tags: 'Set service tags from the container.'
inputs: 'Create inputs in a form.'
permissions: 'Create permissions.'
questions:
class: 'Enter the Class name'
module: 'Enter the module name'
confirm: 'Do you confirm generation?'
canceled: 'Command generation canceled.'
Expand Down
10 changes: 5 additions & 5 deletions config/translations/zh_hant/event.debug.yml
@@ -1,9 +1,9 @@
description: 'Display current events '
help: 'The <info>event:debug</info> command helps you debug events.'
arguments:
event: 'Event to debug'
event: 'Event to debug'
messages:
event: Event Name
class: 'Class'
method: 'Method'
no-events: "This event does not exist, try to execute command: event:debug"
event: 'Event Name'
class: Class
method: Method
no-events: 'This event does not exist, try to execute command: event:debug'
8 changes: 8 additions & 0 deletions config/translations/zh_hant/exec.yml
@@ -0,0 +1,8 @@
description: 'Execute an external command.'
arguments:
bin: 'Executable name.'
messages:
success: 'Executed the command.'
invalid-bin: 'Error executing the command.'
missing-bin: 'Provide a executable.'

14 changes: 14 additions & 0 deletions config/translations/zh_hant/generate.breakpoint.yml
@@ -0,0 +1,14 @@
description: 'Generate breakpoint'
help: 'The <info>generate:theme</info> command helps you generates a new breakpoint'
welcome: 'Welcome to the Drupal breakpoint generator'
options:
theme: 'Theme name'
breakpoints: Breakpoints
questions:
theme: 'Enter the theme name (i.e. classy, stable)'
breakpoint-name: 'Enter breakpoint name'
breakpoint-label: 'Enter breakpoint label'
breakpoint-media-query: 'Enter breakpoint media query'
breakpoint-weight: 'Enter breakpoint weight'
breakpoint-multipliers: 'Enter breakpoint multipliers'
breakpoint-add: 'Do you want to add another breakpoint'
1 change: 1 addition & 0 deletions config/translations/zh_hant/generate.form.alter.yml
Expand Up @@ -6,3 +6,4 @@ messages:
inputs: "You can add form fields to modify form.\nThis is optional, press <info>enter</info> to <info>continue</info>"
loading-forms: 'Loading forms definition from Webprofiler module'
hide-form-elements: 'Optionally you can select form items for hide'
help-already-implemented: 'The hook form alter was already implemented in module "%s"'
2 changes: 2 additions & 0 deletions config/translations/zh_hant/generate.form.yml
Expand Up @@ -7,6 +7,7 @@ options:
form-id: 'The Form id'
services: common.options.services
inputs: common.options.inputs
path: 'Enter the form path'
routing: 'Generate routing'
questions:
module: common.questions.module
Expand All @@ -19,3 +20,4 @@ questions:
menu_link_title: 'A title for the menu link'
menu_parent: 'Menu parent'
menu_link_desc: 'A description for the menu link'
path: 'Enter the route path'
4 changes: 2 additions & 2 deletions config/translations/zh_hant/generate.help.yml
@@ -1,6 +1,6 @@
description: 'Generate an implementation of hook_help()'
help: 'The <info>"%s"</info> command helps you generate a hook help "%s"'
options:
questions:
options: null
questions: null
messages:
help-already-implemented: 'The hook help was already implemented in module "%s"'
7 changes: 7 additions & 0 deletions config/translations/zh_hant/generate.module.file.yml
@@ -0,0 +1,7 @@
description: 'Generate a .module file'
help: 'The <info>generate:module:file</info> command helps you generates a new .module file'
welcome: 'Welcome to the Drupal module generator'
options:
module: 'The Module name'
questions:
module: 'Enter the new module name'
2 changes: 2 additions & 0 deletions config/translations/zh_hant/generate.service.yml
Expand Up @@ -7,9 +7,11 @@ options:
class: 'Class name'
interface: Interface
services: common.questions.services
path: Path
questions:
module: common.questions.module
service-name: 'Enter the service name'
class: 'Enter the Class name'
interface: 'Create an interface'
services: common.options.services
path: 'Enter the path for the services'
7 changes: 7 additions & 0 deletions config/translations/zh_hant/generate.twig.extension.yml
@@ -0,0 +1,7 @@
description: 'Generate a Twig extension.'
help: 'The <info>generate:twig:extension</info> command helps you to generate a Twig extension.'
welcome: 'Welcome to the Drupal Twig Extension generator'
options:
name: 'Twig Extension name'
questions:
twig-extension: 'Enter the Twig extension name'
6 changes: 4 additions & 2 deletions config/translations/zh_hant/module.debug.yml
Expand Up @@ -8,11 +8,13 @@ messages:
status: Status
origin: Origin
package: Package
enabled: Enabled
disabled: Disabled
installed: Installed
uninstalled: Uninstalled
version: Version
schema-version: 'Schema version'
total-downloads: 'Total installs'
total-monthly: 'Monthly installs'
total-daily: 'Daily installs'
no-results: 'Module %s was not found in the repository'
enabled: Enabled
disabled: Disabled
5 changes: 5 additions & 0 deletions config/translations/zh_hant/module.download.yml
Expand Up @@ -15,3 +15,8 @@ messages:
select-release: 'Please select your favorite release'
outside-drupal: 'Drupal root can''t be determined. Use --root to set the destination, current folder will be used instead of.'
error-creating-folder: 'Error creating folder %s, please check your permissions'
no-composer-repo: 'Please, configure Composer in ~/.console/config.yml'
composer: 'Module %s was downloaded successfully using Composer'
tips:
-
tip: 'Pass a «true» value to «shellexec_output» key in your config.yml file to see interactively Composer''s output or «false» to hide it'
3 changes: 1 addition & 2 deletions config/translations/zh_hant/module.path.yml
Expand Up @@ -3,5 +3,4 @@ arguments:
module: 'The Module name (machine name)'
options:
absolute: 'Return module absolute path'
messages:

messages: null
12 changes: 6 additions & 6 deletions config/translations/zh_hant/multisite.debug.yml
@@ -1,7 +1,7 @@
description: 'List all multisites available in system'
help: 'The <info>multisite:debug</info> list all known multi sites.'
description: 列出系統中可用的多站設置
help: '<info>multisite:debug</info> 指令可列出所有已知的多站設置'
messages:
no-multisites: 'There aren''t multisites configured'
site: Site
directory: Directory
site-format: 'Sites are written using the format: <port>.<domain>.<path>'
no-multisites: 找不到可用的多站設置
site: 網站
directory: 目錄
site-format: 網站名稱格式為:<連接埠>.<網域>.<路徑>
24 changes: 24 additions & 0 deletions config/translations/zh_hant/multisite.new.yml
@@ -0,0 +1,24 @@
description: "Sets up the files for a new multisite install."
help: "The <info>multisite:new</info> command assists in setting up new multisite installs by creating the needed subdirectory and files, and can optionally copy an existing 'default' installation."
arguments:
sites-subdir: "Name of directory under 'sites' which should be created."
options:
site-uri: "Site URI to add to sites.php."
copy-install: "Copies existing site from the default install."
errors:
subdir-empty: "You must specify a multisite subdirectory to create."
subdir-exists: "The sites/%s directory already exists."
default-missing: "The sites/default directory is missing."
mkdir-fail: "Unable to create sites/%s. Please check the sites directory permissions and try again."
sites-invalid: "The sites.php file located is either not readable or not a file."
sites-missing: "No sites.php or example.sites.php to copy from."
sites-other: "A problem was encountered when attempting to write sites.php"
file-missing: "The file '%s' was not found for copying."
copy-fail: "Unable to copy %s to %s. Please check the permissions and try again."
write-fail: "Unable to write to the file %s. Please check the file permissions and try again."
chmod-fail: "Unable to change permissions on the file %s. Please ensure that the permissions on that file are correct."
warnings:
missing-files: "No sites/default/files directory found. The files directory will need to be created by hand."
messages:
copy-install: "The default install was successfully copied to sites/%s."
fresh-site: "The new multisite structure was successfully created at sites/%s and is ready for installation."
12 changes: 6 additions & 6 deletions config/translations/zh_hant/node.access.rebuild.yml
@@ -1,11 +1,11 @@
description: 'Rebuild node access permissions. Rebuilding will remove all privileges to content and replace them with permissions based on the current modules and settings.'
description: 重建內容存取權限。重建過程將移除現有權限並依照目前模組與設定取代成為新權限。
options:
batch: 'Process in batch mode.'
batch: 以批次方式執行
messages:
rebuild: 'Rebuilding node access permissions, one moment please.'
completed: 'Done rebuilding permissions.'
failed: 'Rebuilding permissions was not successful.'
rebuild: 正在重建內容存取權限,請稍候。
completed: 內容存取權限重建完成。
failed: 內容存取權限重建失敗
examples:
-
description: 'Rebuild node access permissions'
description: 重建內容存取權限
execution: 'drupal node:access:rebuild --batch'
22 changes: 11 additions & 11 deletions config/translations/zh_hant/plugin.debug.yml
@@ -1,14 +1,14 @@
description: 'Display all plugin types, plugin instances of a specific type, or the definition for a specific plugin.'
help: "List all plugin types:\n<info>drupal plugin:debug</info>\n\nList all instances of the image effect plugin type:\n<info>drupal plugin:debug image.effect</info>\n\nShow the definition for the image convert plugin:\n<info>drupal plugin:debug image.effect image_convert</info>\n\n<comment>NOTE: Only plugin types exposed through services are supported.</comment> When developing a custom plugin type, expose it as a service by adding it to modulename.services.yml with the name \"plugin.manager.PLUGIN_TYPE\".\n"
description: 顯示全部外掛模組資訊,包含外掛類型、指定類別的外掛實體,或是指定外掛的定義說明
help: "顯示全部外掛模組類型:\n<info>drupal plugin:debug</info>\n\n顯示所有 image effect 的外掛類型:\n<info>drupal plugin:debug image.effect</info>\n\n顯示 image convert 外掛的定義:\n<info>drupal plugin:debug image.effect image_convert</info>\n\n<comment>注意:只有列在 Service 當中的外掛類型支援此查詢指令。</comment> 當開發外掛類型時,為外掛加入 \"plugin.manager.[外掛類型]\"modulename.services.yml 檔案中,以便列於 Serivice 列表。\n"
arguments:
type: 'Plugin type'
id: 'Plugin ID'
type: 外掛類型
id: '外掛 ID'
errors:
plugin-type-not-found: 'Plugin type "%s" not found. No service available for that type.'
plugin-type-not-found: '找不到 "%s" 此外掛類型。沒有此外掛類型可用的服務(Service)。'
table-headers:
plugin-type-name: 'Plugin type'
plugin-type-class: 'Plugin manager class'
plugin-id: 'Plugin ID'
plugin-class: 'Plugin class'
definition-key: Key
definition-value: Value
plugin-type-name: 外掛類型
plugin-type-class: 外掛管理器類別
plugin-id: '外掛 ID'
plugin-class: 外掛類別
definition-key: 鍵名
definition-value: 鍵值
5 changes: 5 additions & 0 deletions config/translations/zh_hant/queue.debug.yml
@@ -0,0 +1,5 @@
description: '顯示網站應用中的排程隊列'
messages:
queue: '排程隊列'
items: '項目數量'
class: '類別(Class)'
9 changes: 9 additions & 0 deletions config/translations/zh_hant/queue.run.yml
@@ -0,0 +1,9 @@
description: '處理選中的排程隊列(queue)。'
arguments:
name: '排程隊列名稱'
messages:
success: '已處理 %s: %s/%s 個項目(處理時間 %s 秒)'
failed: '%s 處理失敗: %s.'
missing-name: '請提供有效的排程隊列名稱。'
invalid-name: '所提供的排程隊列名稱 %s 有誤。'

28 changes: 14 additions & 14 deletions config/translations/zh_hant/rest.debug.yml
@@ -1,17 +1,17 @@
description: 'Display current rest resource for the application'
description: '列出網站應用中的 REST 資源'
arguments:
resource-id: 'Rest ID'
resource-id: 'REST ID'
options:
status: 'Rest resource status enabled | disabled'
status: '指定 REST 資源狀態:enabled | disabled'
messages:
id: 'Rest ID'
label: Label
canonical_url: 'Canonical URL'
status: Status
provider: Provider
enabled: Enabled
disabled: Disabled
rest-state: 'REST States'
supported-formats: 'Supported Formats'
supported_auth: 'Supported Authentication Providers'
not-found: 'Rest resource %s not found'
id: 'REST ID'
label: 標籤
canonical_url: '標準網址 (Canonical URL'
status: 狀態
provider: 提供者
enabled: 已啟用
disabled: 已停用
rest-state: 'REST 狀態'
supported-formats: 支援的格式
supported_auth: 支援的驗證提供者
not-found: '找不到 REST 資源 %s'
10 changes: 5 additions & 5 deletions config/translations/zh_hant/rest.disable.yml
@@ -1,8 +1,8 @@
description: 'Disable a rest resource for the application'
description: '停用網站應用中的 REST 資源'
arguments:
resource-id: 'Rest ID'
states: 'REST States to disable for Rest resource'
resource-id: 'REST ID'
states: '要停用的 REST 資源狀態'
questions:
resource-id: 'Rest ID'
resource-id: 'REST ID'
messages:
invalid-rest-id: 'Rest ID %s is invalid'
invalid-rest-id: '找不到符合的 REST ID %s'
22 changes: 11 additions & 11 deletions config/translations/zh_hant/rest.enable.yml
@@ -1,14 +1,14 @@
description: 'Enable a rest resource for the application'
description: '為網站應用啟用 REST 資源'
arguments:
resource-id: 'Rest ID'
states: 'REST States to enable for Rest resource'
authorizations: 'Authorizations providers enabled for Rest Resource'
resource-id: 'REST ID'
states: '要啟用的 REST 資源狀態'
authorizations: 'REST 資源中啟用的驗證提供者'
questions:
resource-id: 'Rest ID'
resource-id: 'REST ID'
messages:
invalid-rest-id: 'Rest ID %s is invalid'
formats: 'Available serialization formats'
authentication-providers: 'Available Authentication Providers'
selected-state: 'Selected State'
selected-formats: 'Selected formats'
selected-authentication-providers: 'Selected Authentication Providers'
invalid-rest-id: '找不到符合的 REST ID %s'
formats: 可用的序列化格式
authentication-providers: 可用的驗證提供者
selected-state: 採用狀態
selected-formats: 採用格式
selected-authentication-providers: 採用驗證提供者
16 changes: 8 additions & 8 deletions config/translations/zh_hant/router.debug.yml
@@ -1,10 +1,10 @@
description: 'Displays current routes for the application'
description: 顯示目前網站應用中建立的途徑
arguments:
route-name: 'Route names'
route-name: 途徑名稱
messages:
name: 'Route name'
class: 'Class path'
route: Route
path: Path
defaults: Defaults
options: Options
name: 途徑名稱
class: 類別路徑
route: 途徑
path: 路徑
defaults: 預設值
options: 選項
8 changes: 4 additions & 4 deletions config/translations/zh_hant/router.rebuild.yml
@@ -1,6 +1,6 @@
description: 'Rebuild routes for the application'
description: 重建網站應用途徑
arguments:
route-name: 'Route names'
route-name: 途徑名稱
messages:
rebuilding: 'Rebuilding routes, wait a moment please'
completed: 'Done rebuilding route(s).'
rebuilding: 重建途徑中,請稍候...
completed: 途徑重建完畢。
24 changes: 12 additions & 12 deletions config/translations/zh_hant/self-update.yml
@@ -1,15 +1,15 @@
description: 'Update project to the latest version.'
help: 'Update project to the latest version.'
description: 升級網站到最新版本
help: 升級網站到最新版本
options:
major: 'Update to a new major version, if available.'
manifest: 'Override the manifest file path.'
current-version: 'Override the version to update from.'
major: 升級到可取得的最新主版本
manifest: 覆寫宣告資訊檔路徑
current-version: 覆寫指定版本
questions:
update: 'Update from version %s to version %s.'
update: '由版本 %s 升級到 %s'
messages:
not-phar: 'This instance of the CLI was not installed as a Phar archive.'
update: 'Updating to version %s.'
success: 'Updated from version %s to version %s.'
check: 'Checking for updates from version: %s'
current-version: 'The latest version %s, was already installed on your system.'
instructions: "Update using: composer global update\nOr you can switch to a Phar install recommended\ncomposer global remove drupal/console\ncurl https://drupalconsole.com/installer -L -o drupal.phar\n"
not-phar: '此指令介面工具並非以 Phar 封裝版安裝。'
update: '正在升級到版本 %s.'
success: '由版本 %s 成功升級到 %s'
check: 檢查要升級的版本:%s
current-version: '你已經安裝了最新版本 %s'
instructions: "使用更新指令:composer global update\n或改用建議的 Phar 封裝版安裝\ncomposer global remove drupal/console\ncurl https://drupalconsole.com/installer -L -o drupal.phar\n"
8 changes: 4 additions & 4 deletions config/translations/zh_hant/server.yml
Expand Up @@ -6,12 +6,12 @@ messages:
errors:
binary: '找不到 PHP 執行檔,無法啟動伺服器。'
examples:
-
-
description: '以預設伺服器位址(127.0.0.1:8088)啟動伺服器'
execution: 'drupal server'
-
description: '以指定的伺服器位址參數啟動伺服器'
-
description: 以指定的伺服器位址參數啟動伺服器
execution: 'drupal server 127.0.0.1:8089'
-
-
description: '以預設伺服器位址啟動伺服器,加上 --root 參數以指定 Drupal 所在路徑'
execution: 'drupal --root=/var/www/drupal8.dev server'

0 comments on commit 0969979

Please sign in to comment.