<?php
$lang = [

/*
   Language Settings
*/
'LangISO'		=> 'zh-tw',
'LangLocale'	=> 'zh_TW',
'LangName'		=> '正體中文',
'LangDir'		=> 'ltr',

/*
   Config Defaults

   localized page tags (no spaces)
*/
'ConfigDefaults'	=> [
	'category_page'		=> '分類',
	'groups_page'		=> '群組',
	'users_page'		=> '使用者',
	'tools_page'		=> '工具',

	'search_page'		=> '搜尋',
	'login_page'		=> '登入',
	'account_page'		=> '設定',
	'registration_page'	=> '建立帳號',
	'password_page'		=> '密碼',

	'whatsnew_page'		=> 'WhatsNew',
	'changes_page'		=> '近期變動',
	'comments_page'		=> '最近評論',
	'index_page'		=> '頁面索引',

	'random_page'		=> '隨機頁面',
	#'help_page'			=> 'Help',
	#'terms_page'		=> 'Terms',
	#'privacy_page'		=> 'Privacy',
],

/*
   Generic Page Text
*/
'TitleInstallation'				=> 'WackoWiki 安裝',
'TitleUpdate'					=> 'WackoWiki Update',
'Continue'						=> '繼續',
'Back'							=> '返回',
'Recommended'					=> '建議',
'InvalidAction'					=> '動作無效',

/*
   Locking Check
 */
'LockAuthorization'				=> '授權',
'LockAuthorizationInfo'			=> '請輸入您儲存在檔案 %1 中的密碼。',
'LockPassword'					=> '密碼:',
'LockLogin'						=> '登入',
'LockPasswordInvalid'			=> '密碼無效。',
'LockedTryLater'				=> '本網站正在升級中，請稍後再試。',
'EmptyAuthFile'					=> '缺少或空的 %1 檔案。請建立該檔案並在其中設定密碼。',


/*
   Language Selection Page
*/
'lang'							=> '語言設定',
'PleaseUpgradeToR6'				=> '您似乎正在使用舊版本的 WackoWiki %1。若要更新至此版本的 WackoWiki，您必須先將安裝更新至 %2。',
'UpgradeFromWacko'				=> '歡迎來到 WackoWiki！您似乎正在從 WackoWiki %1 升級至 %2。接下來的幾頁將引導您完成升級流程。',
'FreshInstall'					=> '歡迎來到 WackoWiki！您即將安裝 WackoWiki %1。接下來的頁面將引導您完成安裝流程。',
'PleaseBackup'					=> '請務必在啟動升級程序前，<strong>備份</strong>您的資料庫、設定檔以及所有已修改的檔案（例如已套用本地化修改或修補程式之檔案）。此舉可避免您日後陷入棘手的困境。',
'LangDesc'						=> '請選擇安裝程序的語言。此語言亦將作為您的 WackoWiki 安裝預設語言。',

/*
   System Requirements Page
*/
'version-check'					=> '系統需求',
'PhpVersion'					=> 'PHP 版本',
'PhpDetected'					=> 'Detected PHP',
'ModRewrite'					=> 'Apache Rewrite Extension (Optional)',
'ModRewriteInstalled'			=> 'Rewrite Extension (mod_rewrite) Installed?',
'Database'						=> '資料庫',
'PhpExtensions'					=> 'PHP 擴充',
'Permissions'					=> '權限',
'ReadyToInstall'				=> 'Ready to Install?',
'Requirements'					=> 'Your server must meet the requirements listed below.',
'OK'							=> 'OK',
'Problem'						=> '問題',
'Example'						=> 'Example',
'NotePhpExtensions'				=> '',
'ErrorPhpExtensions'			=> '您的PHP安裝似乎缺少WackoWiki所要求的PHP擴展名。 ',
'PcreWithoutUtf8'				=> 'PHP 的 PCRE 模組在編譯時未包含 PCRE_UTF8 支援。',
'NotePermissions'				=> 'This installer will try to write the configuration data to the file %1, located in your WackoWiki directory. In order for this to work, you must make sure the web server has write access to that file.  If you can\'t do this, you will have to edit the file manually (the installer will tell you how).<br><br>See <a href="https://wackowiki.org/doc/Doc/English/Installation" target="_blank">WackoWiki:Doc/English/Installation</a> for details.',
'ErrorPermissions'				=> 'It would appear that the installer cannot automatically set the required file permissions for WackoWiki to work correctly. You will be prompted later in the installation process to manually configure the required file permissions on your server.',
'ErrorMinPhpVersion'			=> 'The PHP version must be greater than %1. Your server appears to be running an earlier version.  You must upgrade to a more recent PHP version for WackoWiki to work correctly.',
'Ready'							=> 'Congratulations, it appears that your server is capable of running WackoWiki. The next few pages will take you through the configuration process.',

/*
   Site Config Page
*/
'config-site'					=> '網站設定',
'SiteName'						=> 'Wiki Name',
'SiteNameDesc'					=> 'Please enter the name of your Wiki site.',
'SiteNameDefault'				=> '我的 wiki',
'HomePage'						=> '首頁',
'HomePageDesc'					=> 'Enter the name you would like your home page to have. This will be the default page users will see when they visit your site and should be a <a href="https://wackowiki.org/doc/Doc/English/WikiName" title="View Help" target="_blank">WikiName</a>.',
'HomePageDefault'				=> '首頁',
'MultiLang'						=> 'Multi Language Mode',
'MultiLangDesc'					=> 'Multilingual mode allows you to have pages with different language settings within a single installation. When this mode is enabled, the installer creates initial menu items for all languages available in the distribution.',
'AllowedLang'					=> 'Allowed Languages',
'AllowedLangDesc'				=> 'It is recommended to select only the set of languages you want to use, otherwise all languages are selected.',
'AclMode'						=> '預設 ACL 設定',
'AclModeDesc'					=> '',
'PublicWiki'					=> '公共 Wiki（所有人可閱讀，註冊用戶可撰寫和評論）',
'PrivateWiki'					=> '私人 Wiki（僅限註冊用戶閱讀、撰寫、評論）',
'Admin'							=> 'Admin Name',
'AdminDesc'						=> 'Enter the admin\'s username. This should be a <a href="https://wackowiki.org/doc/Doc/English/WikiName" title="View Help" target="_blank">WikiName</a> (e.g. <code>WikiAdmin</code>).',
'NameAlphanumOnly'				=> 'Username must be between %1 and %2 chars long and use only alphanumeric characters. Uppercase characters are OK.',
'NameCamelCaseOnly'				=> '使用者名稱長度必須在 %1 - %2 字元間，並且為WikiName的格式。',
'Password'						=> 'Admin Password',
'PasswordDesc'					=> 'Choose a password for the admin with a minimum of %1 characters.',
'PasswordConfirm'				=> 'Repeat Password:',
'Mail'							=> 'Admin Email Address',
'MailDesc'						=> 'Enter the admin\'s email address.',
'Base'							=> 'Base URL',
'BaseDesc'						=> 'Your WackoWiki site base URL.  Page names get appended to it, so if you are using mod_rewrite the address should end with a forward slash, i.e.',
'Rewrite'						=> '重寫模式',
'RewriteDesc'					=> 'Rewrite mode should be enabled if you are using WackoWiki with URL rewriting.',
'Enabled'						=> 'Enabled:',
'ErrorAdminEmail'				=> 'You have entered an invalid email address!',
'ErrorAdminPasswordMismatch'	=> 'The passwords do not match!.',
'ErrorAdminPasswordShort'		=> 'The admin password is too short! The minimum length is %1 characters.',
'ModRewriteStatusUnknown'		=> 'The installer cannot verify that mod_rewrite is enabled. This, however, does not mean it is disabled.',

/*
   Database Config Page
*/
'config-database'				=> '資料庫設定',
'DbDriver'						=> 'Driver',
'DbDriverDesc'					=> 'The database driver you want to use.',
'DbSqlMode'						=> 'SQL mode',
'DbSqlModeDesc'					=> 'The SQL mode you want use.',
'DbVendor'						=> 'Vendor',
'DbVendorDesc'					=> 'The database vendor you use.',
'DbCharset'						=> 'Charset',
'DbCharsetDesc'					=> 'The database charset you want to use.',
'DbEngine'						=> '儲存引擎',
'DbEngineDesc'					=> 'The database engine you want to use.',
'DbHost'						=> '資料庫主機',
'DbHostDesc'					=> 'The host your database server is running on, usually <code>127.0.0.1</code> or <code>localhost</code> (i.e., the same machine your WackoWiki site is on).',
'DbPort'						=> '資料庫埠號 (Optional)',
'DbPortDesc'					=> 'The port number your database server is accessible through. Leave it blank to use the default port number.',
'DbName'						=> '資料庫名稱',
'DbNameDesc'					=> 'The database WackoWiki should use. This database needs to exist already before you continue!',
'DbNameSqliteDesc'				=> 'SQLite 應該用於 WackoWiki 的資料目錄和檔名。',
'DbNameSqliteHelp'				=> 'SQLite 將所有資料儲存於單一檔案中。<br><br>安裝時，您提供的目錄必須可被網頁伺服器寫入。<br><br>該目錄應<strong>不可</strong>透過網頁存取。<br><br>安裝程式會同步建立 <code>.htaccess</code> 檔案，若此機制失效，他人可能直接存取原始資料庫。<br>這包含原始使用者資料（電子郵件地址、雜湊密碼）以及維基上的受保護頁面與其他限制性資料。<br><br>建議將資料庫另存至其他位置，例如 <code>/var/lib/wackowiki/yourwiki</code>。',
'DbUser'						=> '資料庫使用者名稱',
'DbUserDesc'					=> 'Name of the user used to connect to your database.',
'DbPassword'					=> '資料庫密碼',
'DbPasswordDesc'				=> 'Password of the user used to connect to your database.',
'Prefix'						=> '資料庫資料表名稱的字首',
'PrefixDesc'					=> 'Prefix of all tables used by WackoWiki. This allows you to run multiple WackoWiki installations using the same database by configuring them to use different table prefixes (e.g. wacko_).',
'ErrorNoDbDriverDetected'		=> 'No database driver has been detected, please enable either the mysqli or pdo_mysql extension in your php.ini file.',
'ErrorNoDbDriverSelected'		=> 'No database driver has been selected, please pick one from the list.',
'DeleteTables'					=> 'Delete Existing Tables?',
'DeleteTablesDesc'				=> 'ATTENTION! If you proceed with this option selected all current wiki data will be erased from your database.  This cannot be undone, and you will be required to manually restore the data from a backup.',
'ConfirmTableDeletion'			=> 'Are you sure you want to delete all current wiki tables?',

/*
   Database Installation Page
*/
'install-database'				=> '資料庫安裝',
'TestingConfiguration'			=> 'Testing Configuration',
'TestConnectionString'			=> 'Testing database connection settings',
'TestDatabaseExists'			=> 'Checking if the database you specified exists',
'TestDatabaseVersion'			=> 'Checking database minimum version requirements',
'SqliteFileExtensionError'		=> '請使用以下其中一種檔案副檔名：db、sdb、sqlite。',
'SqliteParentUnwritableGroup'	=> '無法建立資料目錄 <code>%1</code>，因網頁伺服器對該目錄所在的上層目錄 <code>%2</code> 沒有寫入權限。<br><br>安裝程序所使用的身份依據您用來執行網頁伺服器的身份而定，<br>請開啟網頁伺服器對 <code>%3</code> 的寫入權以繼續安裝，<br>在 Unix/Linux 系統可以執行以下指令：<br><br><pre>cd %2<br>mkdir %3<br>chgrp %4 %3<br>chmod g+w %3</pre>',
'SqliteParentUnwritableNogroup'	=> '無法建立資料目錄 %1</code>，因網頁伺服器對該目錄所在的上層目錄 <code>%2</code> 沒有寫入權限。<br><br>安裝程序所使用的身份依據您用來執行網頁伺服器的身份而定，<br>請開啟全部人對 <code>%3</code> 的寫入權以繼續安裝，<br>在 Unix/Linux 系統可以執行以下指令：<br><br><pre>cd %2<br>mkdir %3<br>chmod a+w %3</pre>',
'SqliteMkdirError'				=> '建立資料目錄 <code>%1</code> 時發生錯誤。\n請檢查路徑後再試一次。',
'SqliteDirUnwritable'			=> '無法寫入目錄 <code>%1</code>.<br>請修改該目錄的權限，請開啟網頁伺服器的寫入權限後，再試一次。',
'SqliteReadonly'				=> '檔案 <code>%1</code> 無寫入權限。',
'SqliteCantCreateDb'			=> '無法建立資料庫檔案 <code>%1</code>。',
'InstallTables'					=> 'Installing Tables',
'ErrorDbConnection'				=> 'There was a problem with the database connection details you specified, please go back and check they are correct.',
'ErrorDatabaseVersion'			=> 'The database version is %1 but requires at least %2.',
'To'							=> 'to',
'AlterTable'					=> 'Altering %1 table',
'InsertRecord'					=> 'Inserting Record into %1 table',
'RenameTable'					=> 'Renaming %1 table',
'UpdateTable'					=> 'Updating %1 table',
'InstallDefaultData'			=> 'Adding Default Data',
'InstallPagesBegin'				=> 'Adding Default Pages',
'InstallPagesEnd'				=> 'Finished Adding Default Pages',
'InstallSystemAccount'			=> 'Adding <code>System</code> User',
'InstallDeletedAccount'			=> 'Adding <code>Deleted</code> User',
'InstallAdmin'					=> '新增管理員',
'InstallAdminSetting'			=> 'Adding Admin User Preferences',
'InstallAdminGroup'				=> 'Adding Admins Group',
'InstallAdminGroupMember'		=> 'Adding Admins Group Member',
'InstallEverybodyGroup'			=> 'Adding Everybody Group',
'InstallModeratorGroup'			=> 'Adding Moderator Group',
'InstallReviewerGroup'			=> 'Adding Reviewer Group',
'InstallLogoImage'				=> 'Adding Logo Image',
'LogoImage'						=> 'Logo image',
'InstallConfigValues'			=> 'Adding Config Values',
'ConfigValues'					=> 'Config Values',
'ErrorInsertPage'				=> 'Error inserting %1 page',
'ErrorInsertPagePermission'		=> 'Error setting permission for %1 page',
'ErrorInsertDefaultMenuItem'	=> 'Error setting page %1 as default menu item',
'ErrorPageAlreadyExists'		=> 'The %1 page already exists',
'ErrorAlterTable'				=> 'Error altering %1 table',
'ErrorInsertRecord'				=> 'Error Inserting Record into %1 table',
'ErrorRenameTable'				=> 'Error renaming %1 table',
'ErrorUpdatingTable'			=> 'Error updating %1 table',
'CreatingTable'					=> 'Creating %1 table',
'CreatingIndex'					=> 'Creating %1 index',
'CreatingTrigger'				=> 'Creating %1 trigger',
'ErrorAlreadyExists'			=> 'The %1 already exists',
'ErrorCreatingTable'			=> 'Error creating %1 table, does it already exist?',
'ErrorCreatingIndex'			=> 'Error creating %1 index, does it already exist?',
'ErrorCreatingTrigger'			=> 'Error creating %1 trigger, does it already exist?',
'DeletingTables'				=> '刪除表',
'DeletingTablesEnd'				=> 'Finished Deleting Tables',
'ErrorDeletingTable'			=> 'Error deleting %1 table. The most likely reason is that the table does not exist, in which case you can ignore this warning.',
'DeletingTable'					=> 'Deleting %1 table',
'NextStep'						=> 'In the next step, the installer will try to write the updated configuration file, %1.  Please make sure the web server has write access to the file, or you will have to edit it manually.  Once again, see  <a href="https://wackowiki.org/doc/Doc/English/Installation" target="_blank">WackoWiki:Doc/English/Installation</a> for details.',

/*
   Write Config Page
*/
'write-config'					=> 'Write Config File',
'FinalStep'						=> '最後一步',
'Writing'						=> '寫入設定檔',
'RemovingWritePrivilege'		=> 'Removing Write Privilege',
'InstallationComplete'			=> '安装完成',
'ThatsAll'						=> 'That\'s all! You can now <a href="%1">view your WackoWiki site</a>.',
'SecurityConsiderations'		=> 'Security Considerations',
'SecurityRisk'					=> 'You are advised to remove write access to %1 now that it\'s been written. Leaving the file writable can be a security risk!<br>i.e. %2',
'RemoveSetupDirectory'			=> 'You should delete the %1 directory now that the installation process has been completed.',
'ErrorGivePrivileges'			=> 'The configuration file %1 could not be written. You will need to give your web server temporary write access to either your WackoWiki directory, or a blank file called %1<br>%2.<br><br> Don\'t forget to remove write access again later, i.e., <br>%3.<br><br>',
'ErrorPrivilegesInstall'		=> 'If, for any reason, you can\'t do this, you\'ll have to copy the text below into a new file and save/upload it as %1 into the WackoWiki directory. Once you\'ve done this, your WackoWiki site should work. If not, please visit <a href="https://wackowiki.org/doc/Doc/English/Installation" target="_blank">WackoWiki:Doc/English/Installation</a>',
'ErrorPrivilegesUpgrade'		=> 'Once you\'ve done this, your WackoWiki site should work. If not, please visit <a href="https://wackowiki.org/doc/Doc/English/Upgrade" target="_blank">WackoWiki:Doc/English/Upgrade</a>',
'WrittenAt'						=> 'written at ',
'DontChange'					=> 'do not change wacko_version manually!',
'ConfigDescription'				=> 'detailed description: https://wackowiki.org/doc/Doc/English/Configuration',
'TryAgain'						=> '再试一次',

];
