i18n: better formatted yaml for newline matter

This commit is contained in:
Equim 2017-08-12 17:23:47 +08:00
parent c631c28ed4
commit e6f325e693
3 changed files with 55 additions and 51 deletions

View File

@ -134,14 +134,14 @@ settings:
automatically checked. The management of users remains a privilege of an administrator.
profileSettings: Profile Settings
ruleExample1: >
'prevents the access to any dot file (such as .git, .gitignore) in
every folder.'
prevents the access to any dot file (such as .git, .gitignore) in
every folder.
ruleExample2: blocks the access to the file named Caddyfile on the root of the scope.
rules: Rules
rulesHelp1: >
'Here you can define a set of allow and disallow rules for this specific
user. The blocked files won''t show up in the listings and they won''t be accessible
to the user. We support regex and paths relative to the user''s scope.'
Here you can define a set of allow and disallow rules for this specific
user. The blocked files won't show up in the listings and they wont be accessible
to the user. We support regex and paths relative to the users scope.
rulesHelp2: >
Each rule goes in one different line and must start with the keyword
{0} or {1}. Then you should write {2} if you are using a regular expression and
@ -150,9 +150,9 @@ settings:
settingsUpdated: Settings updated!
user: User
userCommands: Commands
userCommandsHelp:
'A space separated list with the available commands for this user.
Example:'
userCommandsHelp: >
A space separated list with the available commands for this user.
Example:
userCreated: User created!
userDeleted: User deleted!
userManagement: User Management

View File

@ -112,10 +112,11 @@ settings:
avoidChanges: "(変更を避けるために空白にしてください)"
changePassword: パスワードを変更
commands: コマンド
commandsHelp: >
ここで、名前付きイベントに実行するコマンドを設定することができます。
一行にコマンド一つを入力してください。
イベントはファイルに関連する場合、例えばファイル保存の前にまたは後で、環境変数 file はファイルのパスに割り当てられます。
commandsHelp: "\
ここで、名前付きイベントに実行するコマンドを設定することができます。\
一行にコマンド一つを入力してください。\
イベントはファイルに関連する場合、例えばファイル保存の前にまたは後で、\
環境変数 file はファイルのパスに割り当てられます。"
commandsUpdated: コマンドは更新されました!
customStylesheet: カスタムスタイルシ ート
examples:
@ -127,29 +128,31 @@ settings:
password: パスワード
passwordUpdated: パスワードは更新されました!
permissions: 権限
permissionsHelp: >
あなたはユーザーを管理者に設定し、または権限を個々に設定しできます。
"管理者"を選択する場合、その他のすべての選択肢は自動的に設定されます。
ユーザーの管理は管理者の権限として保留されました。
permissionsHelp: "\
あなたはユーザーを管理者に設定し、または権限を個々に設定しできます。\
\"管理者\"を選択する場合、その他のすべての選択肢は自動的に設定されます。\
ユーザーの管理は管理者の権限として保留されました。"
profileSettings: プロファイル設定
ruleExample1: >
'各フォルダに名前はドットで始まるファイル(例えば、.git、.gitignoreへのアクセスを制限します。'
ruleExample1: "\
各フォルダに名前はドットで始まるファイル(例えば、.git、.gitignore\
へのアクセスを制限します。"
ruleExample2: 範囲のルートパスに名前は Caddyfile のファイルへのアクセスを制限します。
rules: 規則
rulesHelp1: >
'ここに、あなたはこのユーザーの許可または拒否規則を設定できます。
ブロックされたファイルはリストに表示されません、それではアクセスも制限されます。
正規表現(regex)のサポートと範囲に相対のパスが提供されています。'
rulesHelp2: >
一行に規則一つを入力してください、その間に規則はキーワード {0} や {1} で始める必要があります。
そして正規表現を使う場合、{2} と入力し、表現やパスを入力してください。
rulesHelp1: "\
ここに、あなたはこのユーザーの許可または拒否規則を設定できます。\
ブロックされたファイルはリストに表示されません、それではアクセスも制限されます。\
正規表現(regex)のサポートと範囲に相対のパスが提供されています。"
rulesHelp2: "\
一行に規則一つを入力してください、\
その間に規則はキーワード {0} や {1} で始める必要があります。\
そして正規表現を使う場合、{2} と入力し、表現やパスを入力してください。"
scope: 範囲
settingsUpdated: 設定は更新されました!
user: ユーザー
userCommands: ユーザーのコマンド
userCommandsHelp: >
空白区切りの有効のコマンドのリストを指定してください。
例:
userCommandsHelp: "\
空白区切りの有効のコマンドのリストを指定してください。\
例:"
userCreated: ユーザーは作成されました!
userDeleted: ユーザーは削除されました!
userManagement: ユーザー管理

View File

@ -92,9 +92,9 @@ prompts:
numberDirs: 目录数
numberFiles: 文件数
replace: 替换
replaceMessage: >
您尝试上传的文件中有一个与现有文件的名称存在冲突。
是否替换现有的同名文件?
replaceMessage: "\
您尝试上传的文件中有一个与现有文件的名称存在冲突。\
是否替换现有的同名文件?"
rename: 重命名
renameMessage: 请输入新名称,旧名称为:
show: 揭示
@ -112,10 +112,10 @@ settings:
avoidChanges: '(留空以避免更改)'
changePassword: 更改密码
commands: 命令(linux 代码)
commandsHelp: >
在这里,您可以设置在指定事件中执行的命令,一行一条。
若事件与文件相关,如“在保存文件前”,
则文件的路径会被赋值给环境变量 "file"。
commandsHelp: "\
在这里,您可以设置在指定事件下执行的命令,一行一条。\
若事件与文件相关,如“在保存文件前”,\
则文件的路径会被赋值给环境变量 \"file\"。"
commandsUpdated: 命令已更新!
customStylesheet: 自定义样式表
examples: 例子
@ -127,29 +127,30 @@ settings:
password: 密码
passwordUpdated: 密码已更新!
permissions: 权限
permissionsHelp: >
'您可以将该用户设置为管理员,也可以单独选择各项权限。
如果选择了"管理员(Administrator)",则其他的选项会被自动勾上,
同时该用户可以管理其他用户。'
permissionsHelp: "\
您可以将该用户设置为管理员,也可以单独选择各项权限。\
如果选择了“管理员”,则其他的选项会被自动勾上,\
同时该用户可以管理其他用户。"
profileSettings: 配置文件设置
ruleExample1: >
'阻止用户访问所有文件夹下任何以 . 开头的文件(隐藏文件, 例如: .git, .gitignore)。'
ruleExample1: "\
阻止用户访问所有文件夹下任何以 . 开头的文件\
(隐藏文件, 例如: .git, .gitignore)。"
ruleExample2: 阻止用户访问其目录范围的根目录下名为 Caddyfile 的文件。
rules: 规则
rulesHelp1: >
'您可以为该用户制定一组黑名单或白名单式的规则,
被屏蔽的文件将不会显示在列表中, 用户也无权限访问,
支持相对于目录范围的路径。'
rulesHelp2: >
每行一条规则,且必须以关键词 {0} 或 {1} 开头。
如要使用正则表达式,请在加上 {2} 之后再附上表达式或路径。
rulesHelp1: "\
您可以为该用户制定一组黑名单或白名单式的规则,\
被屏蔽的文件将不会显示在列表中, 用户也无权限访问,\
支持相对于目录范围的路径。"
rulesHelp2: "\
每行一条规则,且必须以关键词 {0} 或 {1} 开头。\
如要使用正则表达式,请在加上 {2} 之后再附上表达式或路径。"
scope: 目录范围
settingsUpdated: 设置已更新!
user: 用户
userCommands: 用户命令(Linux 代码)
userCommandsHelp: >
指定该用户可以执行的命令(Linux 代码),用空格分隔。
userCommandsHelp: "\
指定该用户可以执行的命令(Linux 代码),用空格分隔。\
"
userCreated: 用户已创建!
userDeleted: 用户已删除!
userManagement: 用户管理