Skip to content

Commit

Permalink
Merge pull request #2009 from wuinfo/master
Browse files Browse the repository at this point in the history
translate chinese
  • Loading branch information
enzolutions committed Mar 13, 2016
2 parents 5e6c547 + d31d7c4 commit 72ce29f
Show file tree
Hide file tree
Showing 32 changed files with 102 additions and 102 deletions.
14 changes: 7 additions & 7 deletions config/translations/zh_hans/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ options:
uri: 'Drupal 网站的 URI( 用于多站点环境或运行在不同的端口)'
'yes': 跳过确认并继续
target: 与之交互的站点名字(本地或远程网站)
help: 'Display this help message'
quiet: 'Do not output any message'
verbose: 'Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug'
help: '显示这个帮助信息'
quiet: '不显示任何帮助信息'
verbose: '输出信息控制: 1 普通输出, 2 详细输出 and 3 调试信息输出'
version: '<info>%s</info> 版本 <comment>%s</comment>'
ansi: 'Force ANSI output'
no-ansi: 'Disable ANSI output'
no-interaction: 'Do not ask any interactive question'
ansi: '启用 ANSI 输出'
no-ansi: '停止 ANSI 输出'
no-interaction: '非交互式'
arguments:
command: 'The command to execute'
command: '要执行的命令'
messages:
completed: 命令执行成功!
chain:
Expand Down
16 changes: 8 additions & 8 deletions config/translations/zh_hans/config.diff.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
description: 'Ouput configuration items that are different in active configuration compared with a directory.'
description: '输出选取目录中和使用中不同的配置项目.'
arguments:
directory: 'The directory to diff against. If omitted, choose from Drupal config directories.'
directory: '要对比的目录. 缺省使用配置目录.'
options:
reverse: 'See the changes in reverse (i.e diff a directory to the active configuration).'
reverse: '反向显示差异(就是说:从一个目录到使用配置的比较).'
questions:
directories: 'Config directory:'
directories: '配置目录:'
table:
headers:
collection: Collection
config-name: 'Configuration item'
operation: Operation
collection: 集合
config-name: '配置项'
operation: 操作
messages:
no-changes: 'There are no changes.'
no-changes: '没有更改.'
2 changes: 1 addition & 1 deletion config/translations/zh_hans/config.export.single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ description: '导出单个配置'
arguments:
config-name: '配置名称'
options:
include-dependencies: 'Export dependencies of the configuration as well.'
include-dependencies: '同时输出其他相关配置.'
simple-configuration: '简单配置'
questions:
config-type: '配置类型'
Expand Down
2 changes: 1 addition & 1 deletion config/translations/zh_hans/config.export.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description: '导出配置'
arguments:
directory: '导出配置存放目录'
tar: 'If set, the configuration will be exported to an archive file.'
tar: '如果启用,配置文件会导出到一个存档文件.'
messages:
directory: '导出配置存放目录:'
2 changes: 1 addition & 1 deletion config/translations/zh_hans/config.import.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
description: '导入配置'
arguments:
file: '配置文件路径'
directory: 'Path to a directory of configuration to import.'
directory: '要导入的配置文件的目录路径.'
remove-files: '同步后删除文件.'
messages:
config_files_imported: '列出配置文件.'
Expand Down
4 changes: 2 additions & 2 deletions config/translations/zh_hans/config.settings.debug.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: '配置文件调试'
help: 'The <info>config:settings:debug</info> command helps you displaying current key:value on settings file.'
welcome: 'Welcome to the Drupal Config Settings Debug command'
help: '<info>config:settings:debug</info>命令帮助显示当前的配置文件里的当前的键:值'
welcome: '欢迎使用Drupal调试配置命令'
messages:
current: '配置文件里的当前 Key:Value'
4 changes: 2 additions & 2 deletions config/translations/zh_hans/generate.entity.content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ options:
entity-name: '内容实体名称'
label: '标签'
has-bundles: 'Entity has bundles'
base-path: 'The base-path for the content entity routes'
base-path: '内容实体的基本路径'
questions:
module: common.questions.module
entity-class: '输入新内容实体的类名'
entity-name: '输入新内容实体的名称'
label: '输入新内容实体的标签'
has-bundles: 'Do you want this (content) entity to have bundles'
base-path: 'Enter the base-path for the content entity routes'
base-path: '输入内容实体的基本路径'
2 changes: 1 addition & 1 deletion config/translations/zh_hans/generate.event.subscriber.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: '生成事件订阅者'
questions:
class: 'Class name'
class: '类名'
callback-name: 事件的回调函数名
class-name: 类名
12 changes: 6 additions & 6 deletions config/translations/zh_hans/generate.form.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ help: '命令 <info>"%s"</info> 用于生成新的"%s"'
welcome: '欢迎使用 Drupal 表单生成器'
options:
module: common.options.module
class: 'The form class name'
class: '表格类名'
form-id: '表格ID'
services: common.options.services
inputs: common.options.inputs
routing: 更新路径
class-name: '表格类名'
questions:
module: common.questions.module
class: 'Enter the Form Class name'
class: '输入表格类名'
form-id: '输入表格ID'
services: common.questions.services
inputs: common.questions.inputs
routing: 更新路径文件
menu_link_gen: 'Generate a menu link'
menu_link_title: 'A title for the menu link'
menu_parent: 'Menu parent'
menu_link_desc: 'A description for the menu link'
menu_link_gen: '生成菜单连接'
menu_link_title: '菜单连接标题'
menu_parent: '上一级菜单'
menu_link_desc: '菜单连接说明'
class-name: '输入表格类名'
26 changes: 13 additions & 13 deletions config/translations/zh_hans/generate.module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ options:
description: 模块说明
core: '内核版本'
feature: 'Set module compatible with Features module'
package: 'Module package'
module-file: 'Add a .module file'
composer: 'Add a composer.json file'
package: '模块包'
module-file: '加一.module文件'
composer: '加一composer.json文件'
dependencies: 'Module dependencies separated by commas (i.e. context, panels)'
test: 'Generate a test class'
controller: 'Default Controller'
test: '生成一个测试类'
controller: '缺省控制器'
questions:
module: 'Enter the new module name'
machine-name: 'Enter the module machine name'
module-path: 'Enter the module Path'
description: 'Enter module description'
core: 'Enter Drupal Core version'
package: 'Enter package name'
module: '输入新模块名'
machine-name: '输入模块机器名'
module-path: '输入模块路径'
description: '输入模块说明'
core: '输入Drupal版本'
package: '输入包名'
feature: 'Define module as feature'
module-file: 'Do you want to generate a .module file'
composer: 'Do you want to add a composer.json file to your module'
module-file: '你要生成一个.module文件?'
composer: '你要在模块里加一个composer.json文件吗?'
dependencies: 'Would you like to add module dependencies'
test: 'Do you want to generate a unit test class'
controller: 'Do you want to generate a default Controller'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ help: '<info>generate:plugin:type:annotation</info>命令帮助生成一个新
welcome: '欢迎使用 Drupal 插件类别生成器'
options:
module: common.options.module
class: 'Plugin type class name'
class: '插件类别类名'
machine-name: '插件类别内部机器名'
label: '插件类别标签'
questions:
Expand Down
4 changes: 2 additions & 2 deletions config/translations/zh_hans/generate.plugin.type.yaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ help: '<info>generate:plugin:type:yaml</info>命令帮你生成一个新的有
welcome: 欢迎到Drupal插件类别生成器
options:
module: common.options.module
class: 'Plugin type class name'
class: '插件类型类名'
plugin-name: '插件类别内部机器名'
plugin-file-name: 插件文件名
questions:
module: common.questions.module
class: '输入插件类型类名'
plugin-name: '输入插件类别内部机器名Enter the plugin type machine name'
plugin-name: '输入插件类别内部机器名'
plugin-file-name: '输入插件文件名(比如:MODULE.plugin.filename.yml)'
4 changes: 2 additions & 2 deletions config/translations/zh_hans/locale.translation.status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ messages:
no-translations: '无翻译状态可用。请手动检查'
project: 项目
version: 版本
local-age: '本地 age'
remote-age: '远程 age'
local-age: '本地年龄'
remote-age: '远程年龄'
info: 信息
no-translation-files: '无翻译文件提供给开发版本'
file-not-found: '文件在 %s,%s 都没有找到'
Expand Down
4 changes: 2 additions & 2 deletions config/translations/zh_hans/migrate.setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ options:
db-pass: '数据库密码'
db-prefix: 数据库前缀
db-port: 数据库端口
files-directory: 'Files Directory'
files-directory: '文件目录'
questions:
db-type: 'Drupal 数据库类型'
db-host: 数据库主机
Expand All @@ -16,7 +16,7 @@ questions:
db-pass: '数据库密码'
db-prefix: 数据库前缀
db-port: 数据库端口
files-directory: 'Files Directory'
files-directory: '文件目录'
messages:
not-drupal: '来源数据库不包含可识别的 Drupal 版本'
migrations-created: '%s 迁移创建成功 %s.'
Expand Down
2 changes: 1 addition & 1 deletion config/translations/zh_hans/module.debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ messages:
package: ''
enabled: 启用
disabled: 禁用
schema-version: 'Schema version'
schema-version: 'Schema 版本'
4 changes: 2 additions & 2 deletions config/translations/zh_hans/module.download.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
description: 下载模块
arguments:
module: 'Module or modules to be enabled should be separated by a space'
module: '要启用的模块之间用空格隔开'
options:
latest: 'Default to download most recent version'
latest: '缺省下载最新版本'
version: 模块版本,例如:1.x-dev
messages:
no-releases: '模块 %s 没有发布任何版本'
Expand Down
2 changes: 1 addition & 1 deletion config/translations/zh_hans/module.install.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description: '安装模块'
arguments:
module: 'Module or modules to be enabled should be separated by a space'
module: '模块间用空格隔开'
options:
latest: 'Default to download most recent version'
module: 一个或多个模块,模块之间使用逗号分隔
Expand Down
2 changes: 1 addition & 1 deletion config/translations/zh_hans/module.uninstall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ messages:
dependents: '模块 %s 不能卸载,它被 %s 所依赖'
nothing: 任何事都不用做,所有模块都已经被卸载了
success: 以下模块被成功卸载:%s
missing: 'Unable to install modules %s due to missing modules %s'
missing: '由于模块%s缺失,无法安装模块%s '
6 changes: 3 additions & 3 deletions config/translations/zh_hans/rest.debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ description: '显示当前 REST 资源'
arguments:
resource-id: 'REST 资源 ID'
options:
status: 'REST 资源状态 enabled | disabled'
status: 'REST 资源状态 启用 | 停用'
messages:
id: 'REST 资源 ID'
label: '标签'
canonical_url: 'Canonical URL'
canonical_url: '规范网址'
status: 状态
provider: Provider
provider: 提供者
enabled: 启用
disabled: 禁用
rest-state: 'REST 状态'
Expand Down
4 changes: 2 additions & 2 deletions config/translations/zh_hans/router.debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ arguments:
route-name: 路由名称
messages:
name: 路由名称
class: 'Class path'
route: Route
class: '类路径'
route: 路径
path: 类路径
defaults: 默认
options: 选项
Expand Down
4 changes: 2 additions & 2 deletions config/translations/zh_hans/self-update.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
description: 更新项目到最新版本
help: 更新项目到最新版本
options:
major: 'Update to a new major version, if available.'
major: '如果有,更新到最近主版本.'
manifest: 'Override the manifest file path.'
current-version: 'Override the version to update from.'
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.'
Expand Down
8 changes: 4 additions & 4 deletions config/translations/zh_hans/settings.debug.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: 'List user Drupal Console settings.'
description: '列出用户Drupal控制台设置.'
messages:
config-key: 'Config key'
config-value: 'Config value'
config-file: 'Config file'
config-key: '配置键'
config-value: '配置值'
config-file: '配置文件'
6 changes: 3 additions & 3 deletions config/translations/zh_hans/settings.set.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ arguments:
setting-name: 'Setting name in yaml flatten format to set a value in Drupal Console config file'
setting-value: 'Setting value to set in Drupal Console config file'
messages:
error-parsing: 'An error occurs during parsing of YAML file "%s".'
error-generating: 'Error setting new language in config file.'
error-writing: 'Error writing config file.'
error-parsing: '处理YAML文件"%s"时出错.'
error-generating: '在配置文件中设置语言出错.'
error-writing: '写入配置文件出错.'
success: 'Setting %s was set to %s for Drupal Console'
8 changes: 4 additions & 4 deletions config/translations/zh_hans/site.new.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
description: 生成一个新的Drupal项目
arguments:
directory: 'Directory when downloading Drupal'
directory: '下载Drupal的目录'
version: 下载特定的Drupal版本
site-name: 站名
messages:
select-release: 'Select a core release'
select-release: '选择内核版本'
getting-releases: 取得Drupal发布的版本
downloading: '下载Drupal %s'
extracting: '解压缩Drupal %s文件'
no-releases: 没有可用Drupal版本
downloaded: '下载Drupal %s到目录%s'
error-copying: 重命名目录%s时出错
release: 'Please select a release'
release: '请选择一个版本'
questions:
directory: 'Enter the directory name when downloading Drupal'
directory: '输入下载Drupal的目录'
14 changes: 7 additions & 7 deletions config/translations/zh_hans/site.statistics.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
description: 'Show the current statistics of website.'
help: 'Show the current statistics of website.'
messages:
stat-name: 'Name'
stat-quantity: 'Quantity'
node-type: 'Node:%s'
stat-name: '名字'
stat-quantity: '数量'
node-type: '节点:%s'
comments: 'Comments'
vocabulary: 'Vocabularies'
taxonomy-terms: 'Taxonomy terms'
files: 'Files'
users: 'Users'
modules-enabled: 'Modules enabled'
modules-disabled: 'Modules disabled'
themes-enabled: 'Themes enabled'
themes-disabled: 'Themes disabled'
modules-enabled: '启用的模块'
modules-disabled: '停用的模块'
themes-enabled: '启用的主题'
themes-disabled: '停用的主题'
6 changes: 3 additions & 3 deletions config/translations/zh_hans/site.status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ messages:
directory_temporary: 网站临时目录
directory_theme_default: 网站主题目录
directory_theme_admin: 管理员主题目录
current_version: 'Current Drupal version (%s)'
not_installed: 'Drupal is not installed'
not_available: 'Not available'
current_version: '当前Drupal版本(%s)'
not_installed: '未安装Drupal'
not_available: '不可用,没有'
configuration: '配置'
active: '有效配置路径'
staging: '中间站(Staging)配置路径'
2 changes: 1 addition & 1 deletion config/translations/zh_hans/test.debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ messages:
methods: 测试方法
not-found: '没找到调试,试着在测试ID上加双引号.'
success-groups: 'All testing groups were listed sucessfully, use the group argument to filter Test unit by group i.e $ drupal test:debug Url'
success-group: 'All test units for group %s were listed sucessfully'
success-group: '成功列出组(%s)所有测试单位'
2 changes: 1 addition & 1 deletion config/translations/zh_hans/test.run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ messages:
method: 方法
line: 行(线)
message: 消息
invalid-class: 'Testing class %s doesn''t exists'
invalid-class: '测试类%s不存在'
6 changes: 3 additions & 3 deletions config/translations/zh_hans/user.debug.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description: 'Displays current users for the application'
help: 'The <info>user:debug</info> command helps you get current users.'
welcome: 'Welcome to the Drupal user debug'
description: '显示当前用户的程序'
help: '<info>user:debug</info>命令帮助取得当前用户.'
welcome: '欢迎到用户调试'
options:
roles: 用于过滤用户的角色
limit: 指定显示的用户数量
Expand Down
Loading

0 comments on commit 72ce29f

Please sign in to comment.