<?php
//需加入模組語系
define("_TAD_NEED_TADTOOLS", " 需要 tadtools 模組，可至<a href='http://www.tad0616.net/modules/tad_uploader/index.php?of_cat_sn=50' target='_blank'>Tad教材網</a>下載。");

define("_MD_TCW_HOME", "回總覽");
define("_MD_TCW_CLASS_HOME", "首頁");
define("_MD_TCW_ADMIN", "管理");
define("_MD_TCW_ADMIN_MEM", "管理成員");
define("_MD_TCW_CLEAR", "清除");
define("_MD_TCW_TOTAL", "共");
define("_MD_TCW_PEOPLE", "人");
define("_MD_TCW_TOOLS", "網站設定");
define("_MD_TCW_PLUGIN_TOOLS", "功能設定");
define("_MD_TCW_HEAD_TOOLS", "標題設定");
define("_MD_TCW_LOGO_TOOLS", "Logo 設定");
define("_MD_TCW_BG_TOOLS", "背景圖設定");
define("_MD_TCW_COLOR_TOOLS", "顏色設定");
define("_MD_TCW_BLOCK_TOOLS", "區塊設定");
define("_MD_TCW_DATA_NOT_EXIST", "該資訊不存在");

//header.php
define("_MD_TCW_ALL_CLASS", "網站列表");
define("_MD_TCW_MY_CLASS", "關於我們");
define("_MD_TCW_ALL_WEB", "網頁列表");
define("_MD_TCW_ALL_WEB_TITLE", "正式名稱");
define("_MD_TCW_ALL_WEB_NAME", "網頁名稱");
define("_MD_TCW_ALL_WEB_COUNTER", "人氣");
define("_MD_TCW_ALL_WEB_OWNER", "擁有者");

//common
define("_MD_TCW_TEAMID", "所屬網頁");
define("_MD_TCW_NOT_OWNER", "非網頁擁有者，無法使用此功能。");
define("_MD_TCW_AUTO_TO_HOME", "自動轉至您所屬的網頁，以使用新增功能。");
define("_MD_TCW_NEED_LOGIN", "登入後才能觀看完整內容");
define("_MD_TCW_EMPTY", "尚無資料");
define("_MD_TCW_MORE", "更多");
define("_MD_TADWEB_SELECT_TO_DEL", "編輯檔案：選取欲刪除的檔案：");
define("_MD_TCW_INFO", "%s 於 %s 發布，已有 %s 人次閱讀過");
define("_MD_TCW_MKPIC_ERROR", "無法建立GD圖片");
define("_MD_TCW_EMPTY_TITLE", "無標題");

define("_MD_TCW_CLASS_SETUP", "班級名稱設定");
define("_MD_TCW_FCNCTION_SETUP", "功能設定");
define("_MD_TCW_SELECT_TO_CANCEL", "請將想要隱藏的功能打勾");
define("_MD_TCW_CLICK_TO_CHANG", "點選下圖以切換圖片，並可拖動上方底圖或logo圖，以調整喜歡的位置。");
define("_MD_TCW_GOOD_LOGO_SITE", "可從 <a href='http://www.qt86.com/random.php' target='_blank'>http://www.qt86.com/random.php</a> 線上製作 logo 圖。");

define("_MD_TCW_RAND_IMAGE", "回復成隨機背景");
define("_MD_TCW_BG_TOP", "上");
define("_MD_TCW_BG_CENTER", "中");
define("_MD_TCW_BG_BOTTOM", "下");
define("_MD_TCW_BG_POSITION", "圖片位置：");
define("_MD_TCW_MEM_UNAME", "學生帳號");
define("_MD_TCW_MEM_PASSWD", "學生密碼");
define("_MD_TCW_PLEASE_INPUT", "請輸入");
define("_MD_TCW_LOGIN", "登入");
define("_MD_TCW_HELLO", "您好！歡迎使用討論區，請注意禮貌喔！");
define("_MD_TCW_EXIT", "離開");

define("_MD_TCW_CONFIG_NONE", "無");
define("_MD_TCW_CONFIG_HEAD", "標題底圖");
define("_MD_TCW_CONFIG_NONE_BG", "僅使用底色");
define("_MD_TCW_CONTAINER_BG_COLOR", "主內容區底色");
define("_MD_TCW_MAIN_BG_COLOR", "網站底色");
define("_MD_TCW_MAIN_DEFAULT_COLOR", "原本顏色");
define("_MD_TCW_MAIN_NAV_COLOR", "導覽列文字顏色");
define("_MD_TCW_MAIN_NAV_TOP_COLOR", "導覽列底色");
define("_MD_TCW_MAIN_NAV_HOVER_COLOR", "滑鼠移過導覽列文字顏色");
define("_MD_TCW_MAIN_NAV_HOVER_BG_COLOR", "滑鼠移過導覽列底色");

define("_MD_TCW_BLOCKS_LIST", "可選用區塊");
define("_MD_TCW_BLOCKS_SELECTED", "已選用區塊");

define("_MD_TCW_NEW_CATE", "建立新分類");
define("_MD_TCW_SELECT_CATE", "選擇分類");
define("_MD_TCW_CATE_TOOLS", "分類管理");
define("_MD_TCW_DEL_CATE_MOVE_TO", "刪除分類並將底下資料移至：");
define("_MD_TCW_DEL_CATE_ALL", "刪除分類（含底下所有資料）");
define("_MD_TCW_CATE_NAME", "原始名稱");
define("_MD_TCW_CATE_NEW_NAME", "新名稱或目的地");
define("_MD_TCW_CATE_ACT", "欲執行動作");
define("_MD_TCW_CATE_NONE", "無");
define("_MD_TCW_CATE_MODIFY", "修改分類名稱為：");
define("_MD_TCW_CATE_MOVE", "搬移分類底下資料至：");
define("_MD_TCW_DEL_CATE_ALL_ALERT", "我確定要刪除整個指定分類以及底下所有資料。");
define("_MD_TCW_OTHER_CLASS_SETUP", "請連到我另一個班網網址：");

define("_MD_TCW_CATE_PLUGIN_ENABLE", "是否啟用");
define("_MD_TCW_CATE_PLUGIN_TITLE", "功能名稱");
define("_MD_TCW_CATE_PLUGIN_NEW_NAME", "自訂名稱");
define("_MD_TCW_CATE_PLUGIN_IN_FRONTPAGE", "在首頁顯示/資料數");
define("_MD_TCW_ADD", "新增");

$dir = XOOPS_ROOT_PATH . "/modules/tad_web/plugins/";
if (is_dir($dir)) {
    if ($dh = opendir($dir)) {
        while (($file = readdir($dh)) !== false) {
            if (filetype($dir . $file) == "dir") {
                if (substr($file, 0, 1) == '.') {
                    continue;
                }
                include_once XOOPS_ROOT_PATH . "/modules/tad_web/plugins/{$file}/langs/tchinese_utf8.php";
            }
        }
        closedir($dh);
    }
}
