next up previous contents
Next: view_entry.php 程式修改 Up: Timetable 課表 Previous: en/block_mrbs.php 程式修改   Contents

zh_tw/block_mrbs.php 程式修改

  1. MRBS 修改成 timetable 後,中文字串也必須修改。
    [root@moodle mod_tmp]# diff -urNwbBE mrbs/lang/zh_tw/block_mrbs.php ../blocks/mrbs/lang/zh_tw/block_mrbs.php
    --- mrbs/lang/zh_tw/block_mrbs.php	2012-10-21 19:24:42.000000000 +0800
    +++ ../blocks/mrbs/lang/zh_tw/block_mrbs.php	2013-09-23 19:57:58.000000000 +0800
    @@ -1,4 +1,5 @@
     <?php // -*-mode: PHP; coding:utf-8;-*-
    +//Add by dywang Wed Jun 12 10:44:28 CST 2013
     
     // $Id: block_mrbs.php,v 1.1 2009/02/26 07:20:13 arborrow Exp $
     
    @@ -15,23 +16,24 @@
     $string["charset"]            = "utf-8";
     
     // Used for Moodle
    -$string['blockname']          = 'Booking system';
    -$string['accessmrbs']         = 'Schedule a Resource';
    +$string['blockname']          = '課表';
    +$string['accessmrbs']         = '我的課表';
     
     // Used in style.inc
    -$string["mrbs"]               = "會議室預約系統";
    +$string["mrbs"]               = "我的課表";
     
     // Used in functions.inc
     $string["report"]             = "報表";
     $string["admin"]              = "系統管理";
     $string["help"]               = "說明";
     $string["search"]             = "搜尋";
    +$string['roomsearch']         = '課表搜尋';
     $string["not_php3"]           = "WARNING: This probably doesn't work with PHP3";
     
     // Used in day.php
     $string["bookingsfor"]        = "預約";
     $string["bookingsforpost"]    = "";
    -$string["areas"]              = "區域";
    +$string["areas"]              = "學期";
     $string["daybefore"]          = "查看前一天";
     $string["dayafter"]           = "查看後一天";
     $string["gototoday"]          = "查看今天";
    @@ -55,7 +57,7 @@
     $string["start_date"]         = "起始時間";
     $string["end_date"]           = "結束時間";
     $string["time"]               = "時間";
    -$string["period"]             = "Period";
    +$string["period"]             = "節次";
     $string["duration"]           = "持續時間";
     $string["seconds"]            = "秒";
     $string["minutes"]            = "分";
    @@ -63,7 +65,7 @@
     $string["days"]               = "天";
     $string["weeks"]              = "星期";
     $string["years"]              = "年";
    -$string["periods"]            = "periods";
    +$string["periods"]            = "節次";
     $string["all_day"]            = "整天";
     $string["type"]               = "種類";
     $string["internal"]           = "內部使用";
    @@ -73,29 +75,29 @@
     $string["rep_type_0"]         = "不重複";
     $string["rep_type_1"]         = "每天";
     $string["rep_type_2"]         = "每週";
    -$string["rep_type_3"]         = "每月";
    +$string["rep_type_3"]         = "每月(同?日)";
     $string["rep_type_4"]         = "每年";
    -$string["rep_type_5"]         = "每月對應的日期";
    -$string["rep_type_6"]         = "(每週)";
    +$string["rep_type_5"]         = "每月(同星期?)";
    +$string["rep_type_6"]         = "(每週-彈性選擇重複到星期?及重複週數)";
     $string["rep_end_date"]       = "結束重複的日期";
     $string["rep_rep_day"]        = "重複的星期";
    -$string["rep_for_weekly"]     = "(每週)";
    +$string["rep_for_weekly"]     = "(每週-彈性選擇重複到星期?及重複週數)";
     $string["rep_freq"]           = "頻率";
     $string["rep_num_weeks"]      = "重複幾週";
    -$string["rep_for_nweekly"]    = "(每週)";
    +$string["rep_for_nweekly"]    = "(每週-彈性選擇重複到星期?及重複週數)";
     $string["ctrl_click"]         = "用Control+滑鼠右鍵可以重複選擇";
     $string["entryid"]            = "登記序號 ";
     $string["repeat_id"]          = "重複序號 "; 
     $string["you_have_not_entered"] = "你沒有輸入";
     $string["you_have_not_selected"] = "你沒有選";
    -$string["valid_room"]         = "會議室/設備.";
    +$string["valid_room"]         = "課表.";
     $string["valid_time_of_day"]  = "可以預約的時間.";
     $string["brief_description"]  = "簡要說明.";
     $string["useful_n-weekly_value"] = "可以提供預約的星期.";
     
     // Used in view_entry.php
     $string["description"]        = "說明";
    -$string["room"]               = "會議室/設備";
    +$string["room"]               = "課表";
     $string["createdby"]          = "預約人";
     $string["lastupdate"]         = "最後更新";
     $string["deleteentry"]        = "刪除";
    @@ -198,21 +200,21 @@
     $string["gotothismonth"]      = "這個月";
     
     // Used in {day week month}.php
    -$string["no_rooms_for_area"]  = "這個種類沒有定義會議室/設備";
    +$string["no_rooms_for_area"]  = "這個種類沒有定義課表";
     
     // Used in admin.php
     $string["edit"]               = "編輯";
     $string["delete"]             = "刪除";
    -$string["rooms"]              = "會議室/設備";
    +$string["rooms"]              = "課表";
     $string["in"]                 = "在";
     $string["noareas"]            = "沒有種類";
     $string["addarea"]            = "新增種類";
     $string["name"]               = "名稱";
     $string["noarea"]             = "還沒選擇種類";
     $string["browserlang"]        = "你的瀏覽器設為";
    -$string["addroom"]            = "新增會議室/設備";
    +$string["addroom"]            = "新增課表";
     $string["capacity"]           = "容量";
    -$string["norooms"]            = "沒有會議室/設備.";
    +$string["norooms"]            = "沒有課表.";
     $string["administration"]     = "管理者";
     
     // Used in edit_area_room.php
    @@ -220,12 +222,12 @@
     $string["change"]             = "改變";
     $string["backadmin"]          = "回到管理首頁";
     $string["editroomarea"]       = "修改描述";
    -$string["editroom"]           = "修改會議室/設備";
    +$string["editroom"]           = "修改課表";
     $string["update_room_failed"] = "更新失敗: ";
    -$string["error_room"]         = "錯誤: 會議室/設備 ";
    +$string["error_room"]         = "錯誤課表 ";
     $string["not_found"]          = "找不到";
     $string["update_area_failed"] = "更新區域失敗: ";
    -$string["error_area"]         = "錯誤: 區域 ";
    +$string["error_area"]         = "錯誤: 區域/學期 ";
     $string["room_admin_email"]   = "會議室管理者email";
     $string["area_admin_email"]   = "區域管理者email";
     $string["invalid_email"]      = "不合法的email!";
    @@ -246,5 +248,9 @@
     
     // Used in mysql.inc AND pgsql.inc
     $string["failed_connect_db"]  = "Fatal Error: 無法連上資料庫";
    +$string['findroom']           = '找課表';
    +
    +$string['forciblybook'] = '強制設定';
    +$string['forciblybook2'] = '強制設定(自動移除已存在課程)';
     
     ?>
    



2017-08-04