Skip to content

Commit 7c14af3

Browse files
authored
Merge pull request #13 from ystartgo/master
Add tchinese_utf8
2 parents fe52585 + 267c500 commit 7c14af3

11 files changed

Lines changed: 745 additions & 0 deletions

File tree

language/tchinese_utf8/admin.php

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<?php
2+
3+
/**
4+
* xLanguage module (eXtensible Language Management For XOOPS)
5+
*
6+
* You may not change or alter any portion of this comment or credits
7+
* of supporting developers from this source code or any supporting source code
8+
* which is considered copyrighted (c) material of the original comment or credit authors.
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
*
13+
* @copyright XOOPS Project (https://xoops.org)
14+
* @license {@link https://www.gnu.org/licenses/gpl-2.0.html GNU Public License}
15+
* @package xlanguage
16+
* @since 2.0
17+
* @author D.J.(phppp) php_pp@hotmail.com
18+
**/
19+
define('_AM_XLANGUAGE_CONFIG', 'XLanguage 配置');
20+
define('_AM_XLANGUAGE_DELETE_CFM', '您確定要刪除語言?');
21+
define('_AM_XLANGUAGE_DELETED', '語言已被刪除');
22+
define('_AM_XLANGUAGE_SAVED', '語言已保存');
23+
define('_AM_XLANGUAGE_EDITLANG', '編輯語言');
24+
define('_AM_XLANGUAGE_ADDLANG', '新增語言');
25+
define('_AM_XLANGUAGE_CREATED', '配置文件已建立');
26+
define('_AM_XLANGUAGE_CONFIGOK', '配置文件可用');
27+
define('_AM_XLANGUAGE_CONFIGNOTOK', '配置文件不可用');
28+
define('_AM_XLANGUAGE_ADDBASE', '新增基本語言');
29+
define('_AM_XLANGUAGE_ADDEXT', '新增擴展語言');
30+
define('_AM_XLANGUAGE_CREATECONFIG', '建立配置文件');
31+
define('_AM_XLANGUAGE_ABOUT', '關於本模組');
32+
define('_AM_XLANGUAGE_LANGLIST', '語言清單');
33+
define('_AM_XLANGUAGE_DESC', '描述');
34+
define('_AM_XLANGUAGE_NAME', '名稱');
35+
define('_AM_XLANGUAGE_CHARSET', '編碼');
36+
define('_AM_XLANGUAGE_CODE', '語言代碼');
37+
define('_AM_XLANGUAGE_IMAGE', '圖片');
38+
define('_AM_XLANGUAGE_WEIGHT', '排序');
39+
define('_AM_XLANGUAGE_BASE', '基本語言');
40+
41+
42+
// 3.03
43+
define('_AM_XLANGUAGE_ACTION', '執行');
44+
45+
//ModuleAdmin
46+
define('_AM_XLANGUAGE_MODULEADMIN_MISSING', 'Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class into /Frameworks (see /docs/readme.txt)');
47+
48+
define('_AM_XLANGUAGE_CHARSET_DESC', "'For example 'iso-8859-1' or ' gb2312' or 'UTF-8'");
49+
define('_AM_XLANGUAGE_CODE_DESC', "e.g. 'en' or 'xen', not a true language code, just a tag to indicate English content");
50+
//3.05
51+
define('_AM_XLANGUAGE_UPGRADEFAILED0', "Update failed - couldn't rename field '%s'");
52+
define('_AM_XLANGUAGE_UPGRADEFAILED1', "Update failed - couldn't add new fields");
53+
define('_AM_XLANGUAGE_UPGRADEFAILED2', "Update failed - couldn't rename table '%s'");
54+
define('_AM_XLANGUAGE_ERROR_COLUMN', 'Could not create column in database : %s');
55+
define('_AM_XLANGUAGE_ERROR_BAD_XOOPS', 'This module requires XOOPS %s+ (%s installed)');
56+
define('_AM_XLANGUAGE_ERROR_BAD_PHP', 'This module requires PHP version %s+ (%s installed)');
57+
define('_AM_XLANGUAGE_ERROR_TAG_REMOVAL', 'Could not remove tags from Tag Module');
58+
?>

language/tchinese_utf8/blocks.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
// $Id: blocks.php,v 1.1.1.3 2004/11/08 03:40:00 phppp Exp $
3+
// Blocks
4+
define('_MB_XLANGUAGE_SELECT', '點擊以選擇您的語言');
5+
define('_MB_XLANGUAGE_DISPLAY_METHOD', '顯示方式');
6+
define('_MB_XLANGUAGE_DISPLAY_FLAGLIST', '圖片清單');
7+
define('_MB_XLANGUAGE_DISPLAY_TEXTLIST', '文字清單');
8+
define('_MB_XLANGUAGE_DISPLAY_DROPDOWNLIST', '下拉列表');
9+
define('_MB_XLANGUAGE_IMAGE_SEPARATOR', '圖像分離器');
10+
define('_MB_XLANGUAGE_IMAGE_PERROW', '每行圖像');
11+
define('_MB_XLANGUAGE_OPTIONAL', '可選');
12+
?>

language/tchinese_utf8/common.php

Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
<?php
2+
/*
3+
You may not change or alter any portion of this comment or credits
4+
of supporting developers from this source code or any supporting source code
5+
which is considered copyrighted (c) material of the original comment or credit authors.
6+
7+
This program is distributed in the hope that it will be useful,
8+
but WITHOUT ANY WARRANTY; without even the implied warranty of
9+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10+
*/
11+
12+
/**
13+
* Wfdownloads module
14+
*
15+
* @copyright XOOPS Project (https://xoops.org)
16+
* @license GNU GPL 2 or later (https://www.gnu.org/licenses/gpl-2.0.html)
17+
* @package wfdownload
18+
* @since 3.23
19+
* @author Xoops Development Team
20+
*/
21+
$moduleDirName = basename(dirname(__DIR__, 2));
22+
$moduleDirNameUpper = mb_strtoupper($moduleDirName);
23+
24+
define('CO_' . $moduleDirNameUpper . '_GDLIBSTATUS', 'GD library support: ');
25+
define('CO_' . $moduleDirNameUpper . '_GDLIBVERSION', 'GD Library version: ');
26+
define('CO_' . $moduleDirNameUpper . '_GDOFF', "<span style='font-weight: bold;'>Disabled</span> (No thumbnails available)");
27+
define('CO_' . $moduleDirNameUpper . '_GDON', "<span style='font-weight: bold;'>Enabled</span> (Thumbsnails available)");
28+
define('CO_' . $moduleDirNameUpper . '_IMAGEINFO', '服務器狀態');
29+
define('CO_' . $moduleDirNameUpper . '_MAXPOSTSIZE', 'Max post size permitted (post_max_size directive in php.ini): ');
30+
define('CO_' . $moduleDirNameUpper . '_MAXUPLOADSIZE', 'Max upload size permitted (upload_max_filesize directive in php.ini): ');
31+
define('CO_' . $moduleDirNameUpper . '_MEMORYLIMIT', 'Memory limit (memory_limit directive in php.ini): ');
32+
define('CO_' . $moduleDirNameUpper . '_METAVERSION', "<span style='font-weight: bold;'>Downloads meta version:</span> ");
33+
define('CO_' . $moduleDirNameUpper . '_OFF', "<span style='font-weight: bold;'>OFF</span>");
34+
define('CO_' . $moduleDirNameUpper . '_ON', "<span style='font-weight: bold;'>ON</span>");
35+
define('CO_' . $moduleDirNameUpper . '_SERVERPATH', 'Server path to XOOPS root: ');
36+
define('CO_' . $moduleDirNameUpper . '_SERVERUPLOADSTATUS', 'Server uploads status: ');
37+
define('CO_' . $moduleDirNameUpper . '_SPHPINI', "<span style='font-weight: bold;'>Information taken from PHP ini file:</span>");
38+
define('CO_' . $moduleDirNameUpper . '_UPLOADPATHDSC', 'Note. Upload path *MUST* contain the full server path of your upload folder.');
39+
40+
define('CO_' . $moduleDirNameUpper . '_PRINT', "<span style='font-weight: bold;'>Print</span>");
41+
define('CO_' . $moduleDirNameUpper . '_PDF', "<span style='font-weight: bold;'>Create PDF</span>");
42+
43+
define('CO_' . $moduleDirNameUpper . '_UPGRADEFAILED0', "Update failed - couldn't rename field '%s'");
44+
define('CO_' . $moduleDirNameUpper . '_UPGRADEFAILED1', "Update failed - couldn't add new fields");
45+
define('CO_' . $moduleDirNameUpper . '_UPGRADEFAILED2', "Update failed - couldn't rename table '%s'");
46+
define('CO_' . $moduleDirNameUpper . '_ERROR_COLUMN', 'Could not create column in database : %s');
47+
define('CO_' . $moduleDirNameUpper . '_ERROR_BAD_XOOPS', 'This module requires XOOPS %s+ (%s installed)');
48+
define('CO_' . $moduleDirNameUpper . '_ERROR_BAD_PHP', 'This module requires PHP version %s+ (%s installed)');
49+
define('CO_' . $moduleDirNameUpper . '_ERROR_TAG_REMOVAL', 'Could not remove tags from Tag Module');
50+
51+
define('CO_' . $moduleDirNameUpper . '_FOLDERS_DELETED_OK', 'Upload Folders have been deleted');
52+
53+
// Error Msgs
54+
define('CO_' . $moduleDirNameUpper . '_ERROR_BAD_DEL_PATH', 'Could not delete %s directory');
55+
define('CO_' . $moduleDirNameUpper . '_ERROR_BAD_REMOVE', 'Could not delete %s');
56+
define('CO_' . $moduleDirNameUpper . '_ERROR_NO_PLUGIN', 'Could not load plugin');
57+
58+
//Help
59+
define('CO_' . $moduleDirNameUpper . '_DIRNAME', basename(dirname(__DIR__, 2)));
60+
define('CO_' . $moduleDirNameUpper . '_HELP_HEADER', __DIR__ . '/help/helpheader.tpl');
61+
define('CO_' . $moduleDirNameUpper . '_BACK_2_ADMIN', 'Back to Administration of ');
62+
define('CO_' . $moduleDirNameUpper . '_OVERVIEW', 'Overview');
63+
64+
//define('CO_' . $moduleDirNameUpper . '_HELP_DIR', __DIR__);
65+
66+
//help multi-page
67+
define('CO_' . $moduleDirNameUpper . '_DISCLAIMER', 'Disclaimer');
68+
define('CO_' . $moduleDirNameUpper . '_LICENSE', 'License');
69+
define('CO_' . $moduleDirNameUpper . '_SUPPORT', 'Support');
70+
71+
//Sample Data
72+
define('CO_' . $moduleDirNameUpper . '_' . 'ADD_SAMPLEDATA', 'Import Sample Data (will delete ALL current data)');
73+
define('CO_' . $moduleDirNameUpper . '_' . 'SAMPLEDATA_SUCCESS', 'Sample Date uploaded successfully');
74+
define('CO_' . $moduleDirNameUpper . '_' . 'SAVE_SAMPLEDATA', 'Export Tables to YAML');
75+
define('CO_' . $moduleDirNameUpper . '_' . 'SHOW_SAMPLE_BUTTON', '顯示按鈕?');
76+
define('CO_' . $moduleDirNameUpper . '_' . 'SHOW_SAMPLE_BUTTON_DESC', 'If yes, the "Add Sample Data" button will be visible to the Admin. It is Yes as a default for first installation.');
77+
define('CO_' . $moduleDirNameUpper . '_' . 'EXPORT_SCHEMA', 'Export DB Schema to YAML');
78+
define('CO_' . $moduleDirNameUpper . '_' . 'EXPORT_SCHEMA_SUCCESS', 'Export DB Schema to YAML was a success');
79+
define('CO_' . $moduleDirNameUpper . '_' . 'EXPORT_SCHEMA_ERROR', 'ERROR: Export of DB Schema to YAML failed');
80+
define('CO_' . $moduleDirNameUpper . '_' . 'ADD_SAMPLEDATA_OK', 'Are you sure to Import Sample Data? (It will delete ALL current data)');
81+
define('CO_' . $moduleDirNameUpper . '_' . 'HIDE_SAMPLEDATA_BUTTONS', 'Hide the Import buttons)');
82+
define('CO_' . $moduleDirNameUpper . '_' . 'SHOW_SAMPLEDATA_BUTTONS', 'Show the Import buttons)');
83+
define('CO_' . $moduleDirNameUpper . '_' . 'CONFIRM', 'Confirm');
84+
85+
//letter choice
86+
define('CO_' . $moduleDirNameUpper . '_' . 'BROWSETOTOPIC', "<span style='font-weight: bold;'>Browse items alphabetically</span>");
87+
define('CO_' . $moduleDirNameUpper . '_' . 'OTHER', 'Other');
88+
define('CO_' . $moduleDirNameUpper . '_' . 'ALL', 'All');
89+
90+
// block defines
91+
define('CO_' . $moduleDirNameUpper . '_' . 'ACCESSRIGHTS', 'Access Rights');
92+
define('CO_' . $moduleDirNameUpper . '_' . 'ACTION', 'Action');
93+
define('CO_' . $moduleDirNameUpper . '_' . 'ACTIVERIGHTS', 'Active Rights');
94+
define('CO_' . $moduleDirNameUpper . '_' . 'BADMIN', 'Block Administration');
95+
define('CO_' . $moduleDirNameUpper . '_' . 'BLKDESC', 'Description');
96+
define('CO_' . $moduleDirNameUpper . '_' . 'CBCENTER', 'Center Middle');
97+
define('CO_' . $moduleDirNameUpper . '_' . 'CBLEFT', 'Center Left');
98+
define('CO_' . $moduleDirNameUpper . '_' . 'CBRIGHT', 'Center Right');
99+
define('CO_' . $moduleDirNameUpper . '_' . 'SBLEFT', 'Left');
100+
define('CO_' . $moduleDirNameUpper . '_' . 'SBRIGHT', 'Right');
101+
define('CO_' . $moduleDirNameUpper . '_' . 'SIDE', 'Alignment');
102+
define('CO_' . $moduleDirNameUpper . '_' . 'TITLE', 'Title');
103+
define('CO_' . $moduleDirNameUpper . '_' . 'VISIBLE', 'Visible');
104+
define('CO_' . $moduleDirNameUpper . '_' . 'VISIBLEIN', 'Visible In');
105+
define('CO_' . $moduleDirNameUpper . '_' . 'WEIGHT', 'Weight');
106+
107+
define('CO_' . $moduleDirNameUpper . '_' . 'PERMISSIONS', 'Permissions');
108+
define('CO_' . $moduleDirNameUpper . '_' . 'BLOCKS', 'Blocks Admin');
109+
define('CO_' . $moduleDirNameUpper . '_' . 'BLOCKS_DESC', 'Blocks/Group Admin');
110+
111+
define('CO_' . $moduleDirNameUpper . '_' . 'BLOCKS_MANAGMENT', 'Manage');
112+
define('CO_' . $moduleDirNameUpper . '_' . 'BLOCKS_ADDBLOCK', 'Add a new block');
113+
define('CO_' . $moduleDirNameUpper . '_' . 'BLOCKS_EDITBLOCK', 'Edit a block');
114+
define('CO_' . $moduleDirNameUpper . '_' . 'BLOCKS_CLONEBLOCK', 'Clone a block');
115+
116+
//myblocksadmin
117+
define('CO_' . $moduleDirNameUpper . '_' . 'AGDS', 'Admin Groups');
118+
define('CO_' . $moduleDirNameUpper . '_' . 'BCACHETIME', 'Cache Time');
119+
define('CO_' . $moduleDirNameUpper . '_' . 'BLOCKS_ADMIN', 'Blocks Admin');
120+
define('CO_' . $moduleDirNameUpper . '_' . 'UPDATE_SUCCESS', 'Update successful');
121+
//Template Admin
122+
define('CO_' . $moduleDirNameUpper . '_' . 'TPLSETS', 'Template Management');
123+
define('CO_' . $moduleDirNameUpper . '_' . 'GENERATE', 'Generate');
124+
define('CO_' . $moduleDirNameUpper . '_' . 'FILENAME', 'File Name');
125+
126+
//Menu
127+
define('CO_' . $moduleDirNameUpper . '_' . 'ADMENU_MIGRATE', 'Migrate');
128+
define('CO_' . $moduleDirNameUpper . '_' . 'FOLDER_YES', 'Folder "%s" exist');
129+
define('CO_' . $moduleDirNameUpper . '_' . 'FOLDER_NO', 'Folder "%s" does not exist. Create the specified folder with CHMOD 777.');
130+
define('CO_' . $moduleDirNameUpper . '_' . 'SHOW_DEV_TOOLS', '顯示開發工具按鈕?');
131+
define('CO_' . $moduleDirNameUpper . '_' . 'SHOW_DEV_TOOLS_DESC', 'If yes, the "Migrate" Tab and other Development tools will be visible to the Admin.');
132+
define('CO_' . $moduleDirNameUpper . '_' . 'ADMENU_FEEDBACK', 'Feedback');
133+
define('CO_' . $moduleDirNameUpper . '_' . 'MIGRATE_OK', 'Database migrated to current schema.');
134+
define('CO_' . $moduleDirNameUpper . '_' . 'MIGRATE_WARNING', 'Warning! This is intended for developers only. Confirm write schema file from current database.');
135+
define('CO_' . $moduleDirNameUpper . '_' . 'MIGRATE_SCHEMA_OK', 'Current schema file written');
136+
137+
//Latest Version Check
138+
define('CO_' . $moduleDirNameUpper . '_' . 'NEW_VERSION', 'New Version: ');
139+
140+
//DirectoryChecker
141+
define('CO_' . $moduleDirNameUpper . '_' . 'AVAILABLE', "<span style='color: #008000;'>Available</span>");
142+
define('CO_' . $moduleDirNameUpper . '_' . 'NOTAVAILABLE', "<span style='color: #ff0000;'>Not available</span>");
143+
define('CO_' . $moduleDirNameUpper . '_' . 'NOTWRITABLE', "<span style='color: #ff0000;'>Should have permission ( %d ), but it has ( %d )</span>");
144+
define('CO_' . $moduleDirNameUpper . '_' . 'CREATETHEDIR', 'Create it');
145+
define('CO_' . $moduleDirNameUpper . '_' . 'SETMPERM', 'Set the permission');
146+
define('CO_' . $moduleDirNameUpper . '_' . 'DIRCREATED', 'The directory has been created');
147+
define('CO_' . $moduleDirNameUpper . '_' . 'DIRNOTCREATED', 'The directory cannot be created');
148+
define('CO_' . $moduleDirNameUpper . '_' . 'PERMSET', 'The permission has been set');
149+
define('CO_' . $moduleDirNameUpper . '_' . 'PERMNOTSET', 'The permission cannot be set');
150+
151+
//FileChecker
152+
//define('CO_' . $moduleDirNameUpper . '_' . 'AVAILABLE', "<span style='color: green;'>Available</span>");
153+
//define('CO_' . $moduleDirNameUpper . '_' . 'NOTAVAILABLE', "<span style='color: red;'>Not available</span>");
154+
//define('CO_' . $moduleDirNameUpper . '_' . 'NOTWRITABLE', "<span style='color: red;'>Should have permission ( %d ), but it has ( %d )</span>");
155+
//define('CO_' . $moduleDirNameUpper . '_' . 'COPYTHEFILE', 'Copy it');
156+
//define('CO_' . $moduleDirNameUpper . '_' . 'CREATETHEFILE', 'Create it');
157+
//define('CO_' . $moduleDirNameUpper . '_' . 'SETMPERM', 'Set the permission');
158+
159+
define('CO_' . $moduleDirNameUpper . '_' . 'FILECOPIED', 'The file has been copied');
160+
define('CO_' . $moduleDirNameUpper . '_' . 'FILENOTCOPIED', 'The file cannot be copied');
161+
162+
//define('CO_' . $moduleDirNameUpper . '_' . 'PERMSET', 'The permission has been set');
163+
//define('CO_' . $moduleDirNameUpper . '_' . 'PERMNOTSET', 'The permission cannot be set');
164+
165+
define('CO_' . $moduleDirNameUpper . '_' . 'TRUNCATE_LENGTH', 'Number of Characters to truncate to the long text field');
166+
define('CO_' . $moduleDirNameUpper . '_' . 'TRUNCATE_LENGTH_DESC', 'Set the maximum number of characters to truncate the long text fields');
167+
168+
//image config
169+
define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_WIDTH', 'Image Display Width');
170+
define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_WIDTH_DSC', 'Display width for image');
171+
define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_HEIGHT', 'Image Display Height');
172+
define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_HEIGHT_DSC', 'Display height for image');
173+
define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_CONFIG', '<span style="color: #FF0000; font-size: Small; font-weight: bold;">--- EXTERNAL Image configuration ---</span> ');
174+
define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_CONFIG_DSC', '');
175+
define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_UPLOAD_PATH', 'Image Upload path');
176+
define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_UPLOAD_PATH_DSC', 'Path for uploading images');
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<div id="help-template" class="outer">
2+
<{include file=$smarty.const._MI_XLANGUAGE_HELP_HEADER}>
3+
4+
<h4 class="odd">DISCLAIMER</h4>
5+
<br>
6+
<p><b>Software downloaded from the XOOPS web site is provided 'as is' without warranty
7+
of any kind, either express or implied, including, but not limited to, the implied
8+
warranties of fitness for a purpose, or the warranty of non-infringement. Without
9+
limiting the foregoing, XOOPS Projects team makes no warranty that:</b></p>
10+
<br>
11+
<ol>
12+
<li>the software will meet your requirements</li>
13+
<li>the software will be uninterrupted, timely, secure or error-free</li>
14+
<li>the results that may be obtained from the use of the software will be effective,
15+
accurate or reliable
16+
</li>
17+
<li>the quality of the software will meet your expectations any errors in the
18+
software obtained from XOOPS web site will be corrected.
19+
</li>
20+
</ol>
21+
<br>
22+
23+
<p><b>Software and its documentation made available on the XOOPS web site:</b></p>
24+
<br>
25+
<ol>
26+
<li>could include technical or other mistakes, inaccuracies or typographical
27+
errors. XOOPS may make changes to the software or documentation made available
28+
on its web site.
29+
</li>
30+
<li>may be out of date, and XOOPS makes no commitment to update such materials.</li>
31+
<li>XOOPS assumes no responsibility for errors or omissions in the software
32+
or documentation available from its web site.
33+
</li>
34+
</ol>
35+
<p><br><b>In no event shall XOOPS team be liable to you or any third parties for
36+
any special, punitive, incidental, indirect or consequential damages of any kind,
37+
or any damages whatsoever, including, without limitation, those resulting from loss
38+
of use, data or profits, whether or not XOOPS Project has been advised of the possibility
39+
of such damages, and on any theory of liability, arising out of or in connection
40+
with the use of this software.</b></p>
41+
<br><b>
42+
<p>The use of the software downloaded through any XOOPS site is done at your own discretion
43+
and risk and with agreement that you will be solely responsible for any damage to
44+
your computer system or loss of data that results from such activities. No advice
45+
or information, whether oral or written, obtained by you from XOOPS or from XOOPS
46+
web site shall create any warranty for the software</p>
47+
</b>
48+
</div>

0 commit comments

Comments
 (0)