Skip to content

Commit

Permalink
Merge pull request #1595 from PeterDaveHelloKitchen/AddTraditionalChi…
Browse files Browse the repository at this point in the history
…neseLanguage

Add Traditional Chinese(zh-TW) translation
  • Loading branch information
alextselegidis authored Nov 5, 2024
2 parents df0703b + b985eed commit 1153d76
Show file tree
Hide file tree
Showing 16 changed files with 1,252 additions and 0 deletions.
1 change: 1 addition & 0 deletions application/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
'spanish',
'swedish',
'thai',
'traditional-chinese',
'turkish',
];

Expand Down
84 changes: 84 additions & 0 deletions application/language/traditional-chinese/calendar_lang.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2019, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* @package CodeIgniter
* @author EllisLab Dev Team
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
* @copyright Copyright (c) 2014 - 2019, British Columbia Institute of Technology (https://bcit.ca/)
* @license https://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @since Version 1.0.0
* @filesource
*/
defined('BASEPATH') or exit('No direct script access allowed');

$lang['cal_su'] = '';
$lang['cal_mo'] = '';
$lang['cal_tu'] = '';
$lang['cal_we'] = '';
$lang['cal_th'] = '';
$lang['cal_fr'] = '';
$lang['cal_sa'] = '';
$lang['cal_sun'] = '週日';
$lang['cal_mon'] = '週一';
$lang['cal_tue'] = '週二';
$lang['cal_wed'] = '週三';
$lang['cal_thu'] = '週四';
$lang['cal_fri'] = '週五';
$lang['cal_sat'] = '週六';
$lang['cal_sunday'] = '星期日';
$lang['cal_monday'] = '星期一';
$lang['cal_tuesday'] = '星期二';
$lang['cal_wednesday'] = '星期三';
$lang['cal_thursday'] = '星期四';
$lang['cal_friday'] = '星期五';
$lang['cal_saturday'] = '星期六';
$lang['cal_jan'] = '1月';
$lang['cal_feb'] = '2月';
$lang['cal_mar'] = '3月';
$lang['cal_apr'] = '4月';
$lang['cal_may'] = '5月';
$lang['cal_jun'] = '6月';
$lang['cal_jul'] = '7月';
$lang['cal_aug'] = '8月';
$lang['cal_sep'] = '9月';
$lang['cal_oct'] = '10月';
$lang['cal_nov'] = '11月';
$lang['cal_dec'] = '12月';
$lang['cal_january'] = '一月';
$lang['cal_february'] = '二月';
$lang['cal_march'] = '三月';
$lang['cal_april'] = '四月';
$lang['cal_mayl'] = '五月';
$lang['cal_june'] = '六月';
$lang['cal_july'] = '七月';
$lang['cal_august'] = '八月';
$lang['cal_september'] = '九月';
$lang['cal_october'] = '十月';
$lang['cal_november'] = '十一月';
$lang['cal_december'] = '十二月';
94 changes: 94 additions & 0 deletions application/language/traditional-chinese/date_lang.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2019, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* @package CodeIgniter
* @author EllisLab Dev Team
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
* @copyright Copyright (c) 2014 - 2019, British Columbia Institute of Technology (https://bcit.ca/)
* @license https://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @since Version 1.0.0
* @filesource
*/
defined('BASEPATH') or exit('No direct script access allowed');

$lang['date_year'] = '';
$lang['date_years'] = '';
$lang['date_month'] = '';
$lang['date_months'] = '個月';
$lang['date_week'] = '';
$lang['date_weeks'] = '';
$lang['date_day'] = '';
$lang['date_days'] = '';
$lang['date_hour'] = '小時';
$lang['date_hours'] = '小時';
$lang['date_minute'] = '分鐘';
$lang['date_minutes'] = '分鐘';
$lang['date_second'] = '';
$lang['date_seconds'] = '';

$lang['UM12'] = '(UTC -12:00) 貝克島/豪蘭島';
$lang['UM11'] = '(UTC -11:00) 紐埃';
$lang['UM10'] = '(UTC -10:00) 夏威夷-阿留申標準時間,庫克群島,大溪地';
$lang['UM95'] = '(UTC -9:30) 馬克薩斯群島';
$lang['UM9'] = '(UTC -9:00) 阿拉斯加標準時間,甘比爾群島';
$lang['UM8'] = '(UTC -8:00) 太平洋標準時間,克利珀頓島';
$lang['UM7'] = '(UTC -7:00) 山區標準時間';
$lang['UM6'] = '(UTC -6:00) 中部標準時間';
$lang['UM5'] = '(UTC -5:00) 東部標準時間,西加勒比海標準時間';
$lang['UM45'] = '(UTC -4:30) 委內瑞拉標準時間';
$lang['UM4'] = '(UTC -4:00) 大西洋標準時間,東加勒比海標準時間';
$lang['UM35'] = '(UTC -3:30) 紐芬蘭標準時間';
$lang['UM3'] = '(UTC -3:00) 阿根廷,巴西,法屬圭亞那,烏拉圭';
$lang['UM2'] = '(UTC -2:00) 南喬治亞島/南桑威奇群島';
$lang['UM1'] = '(UTC -1:00) 亞速爾群島,維德角群島';
$lang['UTC'] = '(UTC) 格林威治標準時間,西歐時間';
$lang['UP1'] = '(UTC +1:00) 中歐時間,西非時間';
$lang['UP2'] = '(UTC +2:00) 中非時間,東歐時間,加里寧格勒時間';
$lang['UP3'] = '(UTC +3:00) 莫斯科時間,東非時間,阿拉伯標準時間';
$lang['UP35'] = '(UTC +3:30) 伊朗標準時間';
$lang['UP4'] = '(UTC +4:00) 亞塞拜然標準時間,薩馬拉時間';
$lang['UP45'] = '(UTC +4:30) 阿富汗';
$lang['UP5'] = '(UTC +5:00) 巴基斯坦標準時間,葉卡捷琳堡時間';
$lang['UP55'] = '(UTC +5:30) 印度標準時間,斯里蘭卡時間';
$lang['UP575'] = '(UTC +5:45) 尼泊爾時間';
$lang['UP6'] = '(UTC +6:00) 孟加拉標準時間,不丹時間,鄂木斯克時間';
$lang['UP65'] = '(UTC +6:30) 科科斯群島,緬甸';
$lang['UP7'] = '(UTC +7:00) 克拉斯諾亞爾斯克時間,柬埔寨,寮國,泰國,越南';
$lang['UP8'] = '(UTC +8:00) 澳洲西部標準時間,北京時間,伊爾庫次克時間';
$lang['UP875'] = '(UTC +8:45) 澳洲中西部標準時間';
$lang['UP9'] = '(UTC +9:00) 日本標準時間,韓國標準時間,雅庫茨克時間';
$lang['UP95'] = '(UTC +9:30) 澳洲中部標準時間';
$lang['UP10'] = '(UTC +10:00) 澳洲東部標準時間,海參崴時間';
$lang['UP105'] = '(UTC +10:30) 豪勳爵島';
$lang['UP11'] = '(UTC +11:00) 中科雷姆斯克時間,所羅門群島,萬那杜';
$lang['UP115'] = '(UTC +11:30) 諾福克島';
$lang['UP12'] = '(UTC +12:00) 斐濟,吉爾伯特群島,堪察加時間,紐西蘭標準時間';
$lang['UP1275'] = '(UTC +12:45) 查塔姆群島標準時間';
$lang['UP13'] = '(UTC +13:00) 薩摩亞時區,鳳凰群島時間,東加';
$lang['UP14'] = '(UTC +14:00) 萊恩群島';
63 changes: 63 additions & 0 deletions application/language/traditional-chinese/db_lang.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2017, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* @package CodeIgniter
* @author EllisLab Dev Team
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
* @copyright Copyright (c) 2014 - 2017, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @since Version 1.0.0
* @filesource
*/
defined('BASEPATH') or exit('No direct script access allowed');

$lang['db_invalid_connection_str'] = '無法根據您提交的連線字串判斷資料庫設定。';
$lang['db_unable_to_connect'] = '無法使用提供的設定連線至您的資料庫伺服器。';
$lang['db_unable_to_select'] = '無法選擇指定的資料庫:%s';
$lang['db_unable_to_create'] = '無法建立指定的資料庫:%s';
$lang['db_invalid_query'] = '您提交的查詢無效。';
$lang['db_must_set_table'] = '您必須設定要在查詢中使用的資料表。';
$lang['db_must_use_set'] = '您必須使用 "set" 方法來更新項目。';
$lang['db_must_use_index'] = '您必須指定一個索引來進行批次更新。';
$lang['db_batch_missing_index'] = '批次更新中的一個或多個列缺少指定的索引。';
$lang['db_must_use_where'] = '除非包含 "where" 子句,否則不允許進行更新。';
$lang['db_del_must_use_where'] = '除非包含 "where" 或 "like" 子句,否則不允許進行刪除。';
$lang['db_field_param_missing'] = '取得欄位需要表格名稱作為參數。';
$lang['db_unsupported_function'] = '您使用的資料庫不支援此功能。';
$lang['db_transaction_failure'] = '交易失敗:已執行回復。';
$lang['db_unable_to_drop'] = '無法刪除指定的資料庫。';
$lang['db_unsupported_feature'] = '您使用的資料庫平台不支援此功能。';
$lang['db_unsupported_compression'] = '您的伺服器不支援您選擇的檔案壓縮格式。';
$lang['db_filepath_error'] = '無法將資料寫入您提交的檔案路徑。';
$lang['db_invalid_cache_path'] = '您提交的快取路徑無效或無法寫入。';
$lang['db_table_name_required'] = '此操作需要表格名稱。';
$lang['db_column_name_required'] = '此操作需要欄位名稱。';
$lang['db_column_definition_required'] = '此操作需要欄位定義。';
$lang['db_unable_to_set_charset'] = '無法設定用戶端連線字元集:%s';
$lang['db_error_heading'] = '發生資料庫錯誤';
58 changes: 58 additions & 0 deletions application/language/traditional-chinese/email_lang.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2017, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* @package CodeIgniter
* @author EllisLab Dev Team
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
* @copyright Copyright (c) 2014 - 2017, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @since Version 1.0.0
* @filesource
*/
defined('BASEPATH') or exit('No direct script access allowed');

$lang['email_must_be_array'] = '電子郵件驗證方法必須傳入一個陣列。';
$lang['email_invalid_address'] = '無效的電子郵件地址:%s';
$lang['email_attachment_missing'] = '無法找到以下電子郵件附件:%s';
$lang['email_attachment_unreadable'] = '無法開啟此附件:%s';
$lang['email_no_from'] = '無法傳送沒有「寄件人」標頭的郵件。';
$lang['email_no_recipients'] = '您必須包含收件人:收件人、副本或密件副本';
$lang['email_send_failure_phpmail'] = '無法使用 PHP mail() 傳送電子郵件。您的伺服器可能未設定為使用此方法傳送電子郵件。';
$lang['email_send_failure_sendmail'] = '無法使用 PHP Sendmail 傳送電子郵件。您的伺服器可能未設定為使用此方法傳送電子郵件。';
$lang['email_send_failure_smtp'] = '無法使用 PHP SMTP 傳送電子郵件。您的伺服器可能未設定為使用此方法傳送電子郵件。';
$lang['email_sent'] = '您的訊息已成功使用以下協定傳送:%s';
$lang['email_no_socket'] = '無法開啟 Sendmail 的通訊端。請檢查設定。';
$lang['email_no_hostname'] = '您未指定 SMTP 主機名稱。';
$lang['email_smtp_error'] = '遇到以下 SMTP 錯誤:%s';
$lang['email_no_smtp_unpw'] = '錯誤:您必須指定 SMTP 使用者名稱和密碼。';
$lang['email_failed_smtp_login'] = '無法傳送 AUTH LOGIN 指令。錯誤:%s';
$lang['email_smtp_auth_un'] = '無法驗證使用者名稱。錯誤:%s';
$lang['email_smtp_auth_pw'] = '無法驗證密碼。錯誤:%s';
$lang['email_smtp_data_failure'] = '無法傳送資料:%s';
$lang['email_exit_status'] = '結束狀態碼:%s';
69 changes: 69 additions & 0 deletions application/language/traditional-chinese/form_validation_lang.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2019, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* @package CodeIgniter
* @author EllisLab Dev Team
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
* @copyright Copyright (c) 2014 - 2019, British Columbia Institute of Technology (https://bcit.ca/)
* @license https://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @since Version 1.0.0
* @filesource
*/
defined('BASEPATH') or exit('No direct script access allowed');

$lang['form_validation_required'] = '{field} 欄位為必填';
$lang['form_validation_isset'] = '{field} 欄位必須有值';
$lang['form_validation_valid_email'] = '{field} 欄位必須是有效的電子郵件地址';
$lang['form_validation_valid_emails'] = '{field} 欄位必須包含所有有效的電子郵件地址';
$lang['form_validation_valid_url'] = '{field} 欄位必須是有效的網址';
$lang['form_validation_valid_ip'] = '{field} 欄位必須是有效的 IP 位址';
$lang['form_validation_valid_base64'] = '{field} 欄位必須是有效的 Base64 字串';
$lang['form_validation_min_length'] = '{field} 欄位長度至少需要 {param} 個字元';
$lang['form_validation_max_length'] = '{field} 欄位長度不能超過 {param} 個字元';
$lang['form_validation_exact_length'] = '{field} 欄位長度必須剛好是 {param} 個字元';
$lang['form_validation_alpha'] = '{field} 欄位僅能包含英文字母';
$lang['form_validation_alpha_numeric'] = '{field} 欄位僅能包含英文字母與數字';
$lang['form_validation_alpha_numeric_spaces'] = '{field} 欄位僅能包含英文字母、數字和空格';
$lang['form_validation_alpha_dash'] = '{field} 欄位僅能包含英文字母、數字、底線和破折號';
$lang['form_validation_numeric'] = '{field} 欄位僅能包含數字';
$lang['form_validation_is_numeric'] = '{field} 欄位僅能包含數字字元';
$lang['form_validation_integer'] = '{field} 欄位必須是整數';
$lang['form_validation_regex_match'] = '{field} 欄位格式不正確';
$lang['form_validation_matches'] = '{field} 欄位與 {param} 欄位不相符';
$lang['form_validation_differs'] = '{field} 欄位必須與 {param} 欄位不同';
$lang['form_validation_is_unique'] = '{field} 欄位必須是唯一值';
$lang['form_validation_is_natural'] = '{field} 欄位僅能包含數字';
$lang['form_validation_is_natural_no_zero'] = '{field} 欄位僅能包含數字且必須大於零';
$lang['form_validation_decimal'] = '{field} 欄位必須是十進位數字';
$lang['form_validation_less_than'] = '{field} 欄位必須小於 {param}';
$lang['form_validation_less_than_equal_to'] = '{field} 欄位必須小於或等於 {param}';
$lang['form_validation_greater_than'] = '{field} 欄位必須大於 {param}';
$lang['form_validation_greater_than_equal_to'] = '{field} 欄位必須大於或等於 {param}';
$lang['form_validation_error_message_not_set'] = '無法存取與您的欄位名稱 {field} 相對應的錯誤訊息';
$lang['form_validation_in_list'] = '{field} 欄位必須是下列其中之一:{param}';
Loading

0 comments on commit 1153d76

Please sign in to comment.