From d35116206ec47d4fe297729537db7064106b8fee Mon Sep 17 00:00:00 2001 From: W Asd Date: Fri, 12 Dec 2014 17:43:19 +0800 Subject: [PATCH 1/6] Fix typo --- doc/TRANSLATING_STIKKED.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/TRANSLATING_STIKKED.md b/doc/TRANSLATING_STIKKED.md index 43474fc..b1c5181 100644 --- a/doc/TRANSLATING_STIKKED.md +++ b/doc/TRANSLATING_STIKKED.md @@ -1,7 +1,7 @@ How to translate Stikked into your own language ----------------------------------------------- -1. Make a copy of the folder htdocs/application/language/swissgerman, and name it as you like. +1. Make a copy of the folder `htdocs/application/language/swissgerman`, and name it as you like. 2. Start placing in your texts! -The date_lang.php and form_validation_lang.php are optional; they lay in the system folder for english fallback. stikked_lang.php is required. If you miss a translation, it will be shown as [tanslation_index] in Stikked. +The date_lang.php and form_validation_lang.php are optional; they lay in the system folder for english fallback. stikked_lang.php is required. If you miss a translation, it will be shown as [translation_index] in Stikked. From bbf9b8b589d5953dca16ee623b269d092e44d74b Mon Sep 17 00:00:00 2001 From: W Asd Date: Fri, 12 Dec 2014 17:52:40 +0800 Subject: [PATCH 2/6] Update zh_Hant Translation. --- .../chinese-traditional/stikked_lang.php | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/htdocs/application/language/chinese-traditional/stikked_lang.php b/htdocs/application/language/chinese-traditional/stikked_lang.php index 731a7b1..3f67c63 100644 --- a/htdocs/application/language/chinese-traditional/stikked_lang.php +++ b/htdocs/application/language/chinese-traditional/stikked_lang.php @@ -16,7 +16,7 @@ $lang['paste_create_shorturl'] = '建立短鏈接'; $lang['paste_shorturl_desc'] = '建立一個較短的URL,連接到這個程式碼'; $lang['paste_private'] = '私人'; $lang['paste_private_desc'] = '私人程式碼不會顯示在最近列表中'; -$lang['paste_delete'] = '多久後刪除'; +$lang['paste_delete'] = '儲存期限'; $lang['paste_delete_desc'] = '我們應該什麼時候刪除這張程式碼?'; $lang['paste_recent'] = '最近的程式碼'; $lang['paste_trending'] = '程式碼趨勢'; @@ -45,14 +45,17 @@ $lang['paste_replyto_desc'] = '這兒你可以回覆上面這條程式碼'; $lang['paste_missing'] = '這兒暫無程式碼'; $lang['paste_spam'] = '防濫用'; $lang['paste_spam_desc'] = '鍵入這些字元'; -$lang['exp_forever'] = '不刪除'; -$lang['exp_30min'] = '30分鐘'; -$lang['exp_1h'] = '1小時'; -$lang['exp_6h'] = '5小時'; -$lang['exp_12h'] = '12小時'; -$lang['exp_1d'] = '1天'; -$lang['exp_1w'] = '1周'; -$lang['exp_4w'] = '4周'; +$lang['exp_forever'] = '永久保留'; +$lang['exp_burn'] = '閱後即焚'; +$lang['exp_5min'] = '五分鐘'; +$lang['exp_30min'] = '半小時'; +$lang['exp_1h'] = '一小時'; +$lang['exp_6h'] = '六小時'; +$lang['exp_12h'] = '半天'; +$lang['exp_1d'] = '一天'; +$lang['exp_1w'] = '一週'; +$lang['exp_4w'] = '四週'; +$lang['exp_1y'] = '一年'; $lang['paste_create'] = '建立'; $lang['menu_create'] = '建立'; $lang['menu_create_title'] = '建立一個新的程式碼'; From dbc1fe0f833d613d2fa46964c1f0ec8dd9bf8541 Mon Sep 17 00:00:00 2001 From: W Asd Date: Fri, 12 Dec 2014 17:52:46 +0800 Subject: [PATCH 3/6] Update zh_Hans Translation. --- .../chinese-simplified/stikked_lang.php | 25 +++++++++++-------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/htdocs/application/language/chinese-simplified/stikked_lang.php b/htdocs/application/language/chinese-simplified/stikked_lang.php index 8e0da0f..613b4ec 100644 --- a/htdocs/application/language/chinese-simplified/stikked_lang.php +++ b/htdocs/application/language/chinese-simplified/stikked_lang.php @@ -16,9 +16,9 @@ $lang['paste_create_shorturl'] = '创建短链接'; $lang['paste_shorturl_desc'] = '创建一个较短的URL,连接到这个便签'; $lang['paste_private'] = '私人'; $lang['paste_private_desc'] = '私人便签不会显示在最近列表中'; -$lang['paste_delete'] = '多久后删除'; +$lang['paste_delete'] = '保存期限'; $lang['paste_delete_desc'] = '我们应该什么时候删除这张便签?'; -$lang['paste_recent'] = '最近的便签'; +$lang['paste_recent'] = '最近便签'; $lang['paste_trending'] = '便签趋势'; $lang['paste_from'] = '来自'; $lang['paste_ago'] = '%s 前'; @@ -45,14 +45,17 @@ $lang['paste_replyto_desc'] = '这儿你可以回复上面这条便签'; $lang['paste_missing'] = '这儿暂无便签'; $lang['paste_spam'] = '防滥用'; $lang['paste_spam_desc'] = '键入这些字符'; -$lang['exp_forever'] = '不删除'; -$lang['exp_30min'] = '30分钟'; -$lang['exp_1h'] = '1小时'; -$lang['exp_6h'] = '5小时'; -$lang['exp_12h'] = '12小时'; -$lang['exp_1d'] = '1天'; -$lang['exp_1w'] = '1周'; -$lang['exp_4w'] = '4周'; +$lang['exp_forever'] = '永久保留'; +$lang['exp_burn'] = '阅后即焚'; +$lang['exp_5min'] = '五分钟'; +$lang['exp_30min'] = '半小时'; +$lang['exp_1h'] = '一小时'; +$lang['exp_6h'] = '六小时'; +$lang['exp_12h'] = '半天'; +$lang['exp_1d'] = '一天'; +$lang['exp_1w'] = '一周'; +$lang['exp_4w'] = '四周'; +$lang['exp_1y'] = '一年'; $lang['paste_create'] = '创建'; $lang['menu_create'] = '创建'; $lang['menu_create_title'] = '创建一张新的便签'; @@ -67,5 +70,5 @@ $lang['table_name'] = '提交人'; $lang['table_lang'] = '语言'; $lang['table_hits'] = '点击'; $lang['table_time'] = '时间'; -$lang['powered_by'] = '自豪的选用'; +$lang['powered_by'] = '自豪地选用'; From 554a46cbe5f69ba80f0273259918b2cea0ac4f15 Mon Sep 17 00:00:00 2001 From: W Asd Date: Fri, 12 Dec 2014 17:56:34 +0800 Subject: [PATCH 4/6] Update stikked_lang.php --- htdocs/application/language/chinese-traditional/stikked_lang.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/application/language/chinese-traditional/stikked_lang.php b/htdocs/application/language/chinese-traditional/stikked_lang.php index 3f67c63..7cfaab9 100644 --- a/htdocs/application/language/chinese-traditional/stikked_lang.php +++ b/htdocs/application/language/chinese-traditional/stikked_lang.php @@ -55,6 +55,7 @@ $lang['exp_12h'] = '半天'; $lang['exp_1d'] = '一天'; $lang['exp_1w'] = '一週'; $lang['exp_4w'] = '四週'; +$lang['exp_1m'] = '一月'; $lang['exp_1y'] = '一年'; $lang['paste_create'] = '建立'; $lang['menu_create'] = '建立'; From db491d752138a63667833b1501ef5f8a814776d3 Mon Sep 17 00:00:00 2001 From: W Asd Date: Fri, 12 Dec 2014 17:56:47 +0800 Subject: [PATCH 5/6] Update stikked_lang.php --- htdocs/application/language/chinese-simplified/stikked_lang.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/application/language/chinese-simplified/stikked_lang.php b/htdocs/application/language/chinese-simplified/stikked_lang.php index 613b4ec..2b48d1b 100644 --- a/htdocs/application/language/chinese-simplified/stikked_lang.php +++ b/htdocs/application/language/chinese-simplified/stikked_lang.php @@ -55,6 +55,7 @@ $lang['exp_12h'] = '半天'; $lang['exp_1d'] = '一天'; $lang['exp_1w'] = '一周'; $lang['exp_4w'] = '四周'; +$lang['exp_1m'] = '一月'; $lang['exp_1y'] = '一年'; $lang['paste_create'] = '创建'; $lang['menu_create'] = '创建'; From 32a1e8daea8bea1ce23997893e4317f4b13f40ce Mon Sep 17 00:00:00 2001 From: W Asd Date: Fri, 12 Dec 2014 18:04:09 +0800 Subject: [PATCH 6/6] Update stikked_lang.php --- htdocs/application/language/chinese-simplified/stikked_lang.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/application/language/chinese-simplified/stikked_lang.php b/htdocs/application/language/chinese-simplified/stikked_lang.php index 2b48d1b..c3c71c3 100644 --- a/htdocs/application/language/chinese-simplified/stikked_lang.php +++ b/htdocs/application/language/chinese-simplified/stikked_lang.php @@ -26,7 +26,7 @@ $lang['paste_writtenin'] = '写在'; $lang['paste_viewed'] = '查看'; $lang['paste_times'] = '次'; $lang['paste_isareply'] = '这张便签是回复'; -$lang['paste_viewdiff'] = '查看修改'; +$lang['paste_viewdiff'] = '对比版本'; $lang['paste_viewdiffs'] = '查看修改,在'; $lang['paste_goback'] = '返回'; $lang['paste_url'] = 'URL';