show language name in current language
This commit is contained in:
parent
612c652a2b
commit
95fc7e6b42
|
@ -284,6 +284,11 @@ server.overload=远程服务器繁忙, 无法处理当前请求.
|
||||||
rpc.request.parse.failed=处理 RPC 请求失败.
|
rpc.request.parse.failed=处理 RPC 请求失败.
|
||||||
checksum.failed=文件校验失败.
|
checksum.failed=文件校验失败.
|
||||||
|
|
||||||
|
[languages]
|
||||||
|
English=英语
|
||||||
|
Simplified Chinese=简体中文
|
||||||
|
Traditional Chinese=繁体中文
|
||||||
|
|
||||||
[format]
|
[format]
|
||||||
longdate=YYYY年MM月DD日 HH:mm:ss
|
longdate=YYYY年MM月DD日 HH:mm:ss
|
||||||
time.millisecond={{value}} 毫秒
|
time.millisecond={{value}} 毫秒
|
||||||
|
|
|
@ -284,6 +284,11 @@ server.overload=遠端伺服器繁忙, 無法處理目前要求.
|
||||||
rpc.request.parse.failed=處理 RPC 要求失敗.
|
rpc.request.parse.failed=處理 RPC 要求失敗.
|
||||||
checksum.failed=檔案校驗失敗.
|
checksum.failed=檔案校驗失敗.
|
||||||
|
|
||||||
|
[languages]
|
||||||
|
English=英語
|
||||||
|
Simplified Chinese=簡體中文
|
||||||
|
Traditional Chinese=繁體中文
|
||||||
|
|
||||||
[format]
|
[format]
|
||||||
longdate=YYYY年MM月DD日 HH:mm:ss
|
longdate=YYYY年MM月DD日 HH:mm:ss
|
||||||
time.millisecond={{value}} 毫秒
|
time.millisecond={{value}} 毫秒
|
||||||
|
|
|
@ -288,6 +288,11 @@
|
||||||
'rpc.request.parse.failed': 'Failed to parse JSON-RPC request.',
|
'rpc.request.parse.failed': 'Failed to parse JSON-RPC request.',
|
||||||
'checksum.failed': 'Checksum validation failed.'
|
'checksum.failed': 'Checksum validation failed.'
|
||||||
},
|
},
|
||||||
|
'languages': {
|
||||||
|
'English': 'English',
|
||||||
|
'Simplified Chinese': 'Simplified Chinese',
|
||||||
|
'Traditional Chinese': 'Traditional Chinese'
|
||||||
|
},
|
||||||
'format': {
|
'format': {
|
||||||
'longdate': 'MM/DD/YYYY HH:mm:ss',
|
'longdate': 'MM/DD/YYYY HH:mm:ss',
|
||||||
'time.millisecond': '{{value}} Millisecond',
|
'time.millisecond': '{{value}} Millisecond',
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="setting-value col-sm-8">
|
<div class="setting-value col-sm-8">
|
||||||
<select class="form-control" style="width: 100%;" ng-model="context.settings.language"
|
<select class="form-control" style="width: 100%;" ng-model="context.settings.language"
|
||||||
ng-options="type as language.displayName for (type, language) in context.languages"
|
ng-options="type as (((('languages.' + language.name) | translate) !== ('languages.' + language.name) ? (('languages.' + language.name) | translate) : language.name) + ' (' + language.displayName + ')') for (type, language) in context.languages"
|
||||||
ng-change="setLanguage(context.settings.language)">
|
ng-change="setLanguage(context.settings.language)">
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue