Add word 'Language' to translation list.
This commit is contained in:
parent
a2d9cab47b
commit
62cab3ed7e
|
@ -6,7 +6,10 @@
|
||||||
// Add '.translations('ll_CC', translations.ll_CC)' before '.determinePreferredLanguage();'
|
// Add '.translations('ll_CC', translations.ll_CC)' before '.determinePreferredLanguage();'
|
||||||
// 3. in index.html
|
// 3. in index.html
|
||||||
// Add '<script src="js/translate/ll_CC.js"></script>' after '<script src="js/libs/angular-translate.js"></script>'
|
// Add '<script src="js/translate/ll_CC.js"></script>' after '<script src="js/libs/angular-translate.js"></script>'
|
||||||
// 4. Then Browser determining preferred language automatically.
|
// 4. To add Language to changeLanguage button, see "{{ 'Language' | translate }}" in index.html.
|
||||||
|
// flag-icon usage:
|
||||||
|
// https://github.com/lipis/flag-icon-css
|
||||||
|
// 5. Browser determining preferred language automatically.
|
||||||
// http://angular-translate.github.io/docs/en/#/guide/07_multi-language
|
// http://angular-translate.github.io/docs/en/#/guide/07_multi-language
|
||||||
|
|
||||||
if(typeof translations == 'undefined'){
|
if(typeof translations == 'undefined'){
|
||||||
|
@ -30,12 +33,11 @@ translations.en_US = { // replace en_US to ll_CC, examples: zh_CN, de_AT.
|
||||||
'Global Settings': '',
|
'Global Settings': '',
|
||||||
'Server info': '',
|
'Server info': '',
|
||||||
'About and contribute': '',
|
'About and contribute': '',
|
||||||
|
'Language': '',
|
||||||
// body
|
// body
|
||||||
// nav side bar
|
// nav side bar
|
||||||
|
// global statistics
|
||||||
'Global Statistics': '',
|
'Global Statistics': '',
|
||||||
'Displaying': '',
|
|
||||||
'of': '',
|
|
||||||
'downloads': '',
|
|
||||||
// download filters
|
// download filters
|
||||||
'Download Filters': '',
|
'Download Filters': '',
|
||||||
'Running': '',
|
'Running': '',
|
||||||
|
@ -46,6 +48,9 @@ translations.en_US = { // replace en_US to ll_CC, examples: zh_CN, de_AT.
|
||||||
'Paused': '',
|
'Paused': '',
|
||||||
'Removed': '',
|
'Removed': '',
|
||||||
'Hide linked meta-data': '',
|
'Hide linked meta-data': '',
|
||||||
|
'Displaying': '',
|
||||||
|
'of': '',
|
||||||
|
'downloads': '',
|
||||||
'Toggle': '',
|
'Toggle': '',
|
||||||
'Reset filters': '',
|
'Reset filters': '',
|
||||||
// starred properties
|
// starred properties
|
||||||
|
|
|
@ -19,12 +19,11 @@ translations.th_TH = {
|
||||||
'Global Settings': 'ตั้งค่าทั่วไป',
|
'Global Settings': 'ตั้งค่าทั่วไป',
|
||||||
'Server info': 'ข้อมูลเซอร์เวอร์',
|
'Server info': 'ข้อมูลเซอร์เวอร์',
|
||||||
'About and contribute': 'เกี่ยวกับและช่วย',
|
'About and contribute': 'เกี่ยวกับและช่วย',
|
||||||
|
//'Language': '', // TODO
|
||||||
// body
|
// body
|
||||||
// nav side bar
|
// nav side bar
|
||||||
|
// global statistics
|
||||||
'Global Statistics': 'สถิติทั่วไป',
|
'Global Statistics': 'สถิติทั่วไป',
|
||||||
'Displaying': 'แแสดงดาวน์โหลด',
|
|
||||||
'of': 'อันใน',
|
|
||||||
'downloads': 'อันทั้งหมด',
|
|
||||||
// download filters
|
// download filters
|
||||||
'Download Filters': 'กรองดาวน์โหลด',
|
'Download Filters': 'กรองดาวน์โหลด',
|
||||||
'Running': 'กำลังทำงาน',
|
'Running': 'กำลังทำงาน',
|
||||||
|
@ -35,6 +34,9 @@ translations.th_TH = {
|
||||||
'Paused': 'หยุดอยู่',
|
'Paused': 'หยุดอยู่',
|
||||||
'Removed': 'ลบแล้ว',
|
'Removed': 'ลบแล้ว',
|
||||||
'Hide linked meta-data': 'ซ่อนข้อมูลเมตาที่เชื่อมโยง',
|
'Hide linked meta-data': 'ซ่อนข้อมูลเมตาที่เชื่อมโยง',
|
||||||
|
'Displaying': 'แแสดงดาวน์โหลด',
|
||||||
|
'of': 'อันใน',
|
||||||
|
'downloads': 'อันทั้งหมด',
|
||||||
'Toggle': 'สลับ',
|
'Toggle': 'สลับ',
|
||||||
'Reset filters': 'รีเซตตัวกรอง',
|
'Reset filters': 'รีเซตตัวกรอง',
|
||||||
// starred properties
|
// starred properties
|
||||||
|
|
|
@ -19,8 +19,11 @@ translations.zh_CN = {
|
||||||
'Global Settings': '全局设置',
|
'Global Settings': '全局设置',
|
||||||
'Server info': '服务器信息',
|
'Server info': '服务器信息',
|
||||||
'About and contribute': '关于和贡献',
|
'About and contribute': '关于和贡献',
|
||||||
|
'Language': '语言',
|
||||||
// body
|
// body
|
||||||
// nav side bar
|
// nav side bar
|
||||||
|
// global statistics
|
||||||
|
'Global Statistics': '',
|
||||||
// download filters
|
// download filters
|
||||||
'Download Filters': '下载过滤器',
|
'Download Filters': '下载过滤器',
|
||||||
'Running': '下载中',
|
'Running': '下载中',
|
||||||
|
@ -31,6 +34,9 @@ translations.zh_CN = {
|
||||||
'Paused': '暂停',
|
'Paused': '暂停',
|
||||||
'Removed': '已删除',
|
'Removed': '已删除',
|
||||||
'Hide linked meta-data': '隐藏链接的元数据',
|
'Hide linked meta-data': '隐藏链接的元数据',
|
||||||
|
//'Displaying': '', // TODO 3 lines
|
||||||
|
//'of': '',
|
||||||
|
//'downloads': '',
|
||||||
'Toggle': '确定',
|
'Toggle': '确定',
|
||||||
'Reset filters': '重置过滤器',
|
'Reset filters': '重置过滤器',
|
||||||
// starred properties
|
// starred properties
|
||||||
|
|
Loading…
Reference in New Issue
Block a user