[問題] 後台編輯語系翻譯協助

phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
阿維
竹貓忠實會員
竹貓忠實會員
文章: 868
註冊時間: 2003-02-23 13:36
來自: 台南市

[問題] 後台編輯語系翻譯協助

文章 阿維 »

檔頭:

代碼: 選擇全部

############################################################## 
## MOD Title:		Language settings - Admin tool
## MOD Author:		Ptirhiik < ptirhiik@clanmckeen.com > (Pierre) http://rpgnet.clanmckeen.com
## MOD Description:	This tool will add a new menu in your Admin Configuration Panel, allowing
##			you to edit your languages pack.
##
## MOD Version: 1.0.0
## 
## Installation Level: Easy
## Installation Time: 3 Minutes
## Files To Edit: (n/a)
## Included Files:
##		admin_lang_extend.php
##
##		lang_extend_body.tpl
##		lang_extend_def.tpl
##		lang_extend_key_body.tpl
##		lang_extend_pack_body.tpl
##		lang_extend_search_body.tpl
##
##		lang_extend.php
##		lang_extend_lang_extend.php
##
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes: 
## 
##	COPY to each of your language installed directories (ie: languages/lang_english/) and
##	CHMOD 666 those files :
##		COPY mod-lang_settings/lang_extend.php TO language/lang_*/lang_extend.php
##
############################################################## 
## MOD History: 
## 
##   2003-10-16 - Version 1.0.0
##      - first release
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################
問題外掛:Language settings - Admin tool 1.0.0
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php?t=22300
使用版本:phpBB 2.0.18
網站位置:自機架設
狀況描述:請問有前輩可以幫忙翻譯"簡易合併主題控制介面"裡面的"後台編輯語系"模組嗎?
原檔:

代碼: 選擇全部

<?php
/***************************************************************************
 *						lang_extend_lang_extend.php [English]
 *						-------------------------------------
 *	begin				: 29/09/2003
 *	copyright			: Ptirhiik
 *	email				: ptirhiik@clanmckeen.com
 *
 *	version				: 1.0.1 - 16/10/2003
 *
 ***************************************************************************/
 
/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

if ( !defined('IN_PHPBB') )
{
	die("Hacking attempt");
}

// admin part
if ( $lang_extend_admin )
{
	$lang['Lang_extend_lang_extend'] = 'Extension for languages packs';
	$lang['Lang_extend__custom'] = 'Custom language pack';
	$lang['Lang_extend__phpBB'] = 'phpBB language pack';

	$lang['Languages'] = 'Languages';
	$lang['Lang_management'] = 'Management';
	$lang['Lang_extend'] = 'Lang extend management';
	$lang['Lang_extend_explain'] = 'Here you can add or modify languages key entries';
	$lang['Lang_extend_pack'] = 'Language Pack';
	$lang['Lang_extend_pack_explain'] = 'This is the name of the pack, usualy the name of the MOD refering to';

	$lang['Lang_extend_entry'] = 'Language key entry';
	$lang['Lang_extend_entries'] = 'Language key entries';
	$lang['Lang_extend_level_admin'] = 'Admin';
	$lang['Lang_extend_level_normal'] = 'Normal';

	$lang['Lang_extend_add_entry'] = 'Add a new lang key entry';

	$lang['Lang_extend_key_main'] = 'Language main key entry';
	$lang['Lang_extend_key_main_explain'] = 'This is the main key entry, usualy the only one';
	$lang['Lang_extend_key_sub'] = 'Secondary key entry';
	$lang['Lang_extend_key_sub_explain'] = 'This second level key entry is usualy not used';
	$lang['Lang_extend_level'] = 'Level of the lang key entry';
	$lang['Lang_extend_level_explain'] = 'Admin level can only be used in the admin configuration panel. Normal level can be used everywhere.';

	$lang['Lang_extend_missing_value'] = 'You have to provide at least the English value';
	$lang['Lang_extend_key_missing'] = 'Main entry key is missing';
	$lang['Lang_extend_duplicate_entry'] = 'This entry already exists (see pack %)';

	$lang['Lang_extend_update_done'] = 'The entry has been successfully updated.<br /><br />Click %sHere%s to return to the entry.<br /><br />Click %sHere%s to return to entries list';
	$lang['Lang_extend_delete_done'] = 'The entry has been successfully deleted.<br />Note that only customized key entries are deleted, not the basic key entries if exist.<br /><br />Click %sHere%s to return to entries list';

	$lang['Lang_extend_search'] = 'Search in language key entries';
	$lang['Lang_extend_search_words'] = 'Words to find';
	$lang['Lang_extend_search_words_explain'] = 'Separate words with a space';
	$lang['Lang_extend_search_all'] = 'All words';
	$lang['Lang_extend_search_one'] = 'One of those';
	$lang['Lang_extend_search_in'] = 'Search in';
	$lang['Lang_extend_search_in_explain'] = 'Precise where to search';
	$lang['Lang_extend_search_in_key'] = 'keys';
	$lang['Lang_extend_search_in_value'] = 'values';
	$lang['Lang_extend_search_in_both'] = 'both';
	$lang['Lang_extend_search_all_lang'] = 'All languages installed';

	$lang['Lang_extend_search_no_words'] = 'No words to search provided.<br /><br />Click %sHere%s to return to the pack list.';
	$lang['Lang_extend_search_results'] = 'Search results';
	$lang['Lang_extend_value'] = 'Value';
	$lang['Lang_extend_level_leg'] = 'Level';

	$lang['Lang_extend_added_modified'] = '*';
	$lang['Lang_extend_modified'] = 'Modified';
	$lang['Lang_extend_added'] = 'Added';
}

?>
阿維
竹貓忠實會員
竹貓忠實會員
文章: 868
註冊時間: 2003-02-23 13:36
來自: 台南市

文章 阿維 »

請問有前輩可以幫忙翻譯嗎?
hpo14
竹貓忠實會員
竹貓忠實會員
文章: 414
註冊時間: 2003-05-10 16:37
來自: M Starbucks

文章 hpo14 »

只幫你翻最簡單的部份...其他還沒翻因為我要使用過才知道他是啥功能..
會比較好翻!!

代碼: 選擇全部

<?php 
/*************************************************************************** 
 *                  lang_extend_lang_extend.php [English] 
 *                  ------------------------------------- 
 *   begin            : 29/09/2003 
 *   copyright         : Ptirhiik 
 *   email            : ptirhiik@clanmckeen.com 
 * 
 *   version            : 1.0.1 - 16/10/2003 
 * 
 ***************************************************************************/ 
  
/*************************************************************************** 
 * 
 *   This program is free software; you can redistribute it and/or modify 
 *   it under the terms of the GNU General Public License as published by 
 *   the Free Software Foundation; either version 2 of the License, or 
 *   (at your option) any later version. 
 * 
 ***************************************************************************/ 

if ( !defined('IN_PHPBB') ) 
{ 
   die("Hacking attempt"); 
} 

// admin part 
if ( $lang_extend_admin ) 
{ 
   $lang['Lang_extend_lang_extend'] = 'Extension for languages packs'; 
   $lang['Lang_extend__custom'] = '自訂語言?#93;'; 
   $lang['Lang_extend__phpBB'] = 'phpBB 語言?#93;'; 

   $lang['Languages'] = '語言'; 
   $lang['Lang_management'] = '管理'; 
   $lang['Lang_extend'] = 'Lang extend management'; 
   $lang['Lang_extend_explain'] = 'Here you can add or modify languages key entries'; 
   $lang['Lang_extend_pack'] = '語言?#93;'; 
   $lang['Lang_extend_pack_explain'] = 'This is the name of the pack, usualy the name of the MOD refering to'; 

   $lang['Lang_extend_entry'] = 'Language key entry'; 
   $lang['Lang_extend_entries'] = 'Language key entries'; 
   $lang['Lang_extend_level_admin'] = '管理員'; 
   $lang['Lang_extend_level_normal'] = '一般'; 

   $lang['Lang_extend_add_entry'] = 'Add a new lang key entry'; 

   $lang['Lang_extend_key_main'] = 'Language main key entry'; 
   $lang['Lang_extend_key_main_explain'] = 'This is the main key entry, usualy the only one'; 
   $lang['Lang_extend_key_sub'] = 'Secondary key entry'; 
   $lang['Lang_extend_key_sub_explain'] = 'This second level key entry is usualy not used'; 
   $lang['Lang_extend_level'] = 'Level of the lang key entry'; 
   $lang['Lang_extend_level_explain'] = 'Admin level can only be used in the admin configuration panel. Normal level can be used everywhere.'; 

   $lang['Lang_extend_missing_value'] = 'You have to provide at least the English value'; 
   $lang['Lang_extend_key_missing'] = 'Main entry key is missing'; 
   $lang['Lang_extend_duplicate_entry'] = 'This entry already exists (see pack %)'; 

   $lang['Lang_extend_update_done'] = 'The entry has been successfully updated.<br /><br />Click %sHere%s to return to the entry.<br /><br />Click %sHere%s to return to entries list'; 
   $lang['Lang_extend_delete_done'] = 'The entry has been successfully deleted.<br />Note that only customized key entries are deleted, not the basic key entries if exist.<br /><br />Click %sHere%s to return to entries list'; 

   $lang['Lang_extend_search'] = 'Search in language key entries'; 
   $lang['Lang_extend_search_words'] = '尋找'; 
   $lang['Lang_extend_search_words_explain'] = '在字中間插入空白'; 
   $lang['Lang_extend_search_all'] = 'All words'; 
   $lang['Lang_extend_search_one'] = 'One of those'; 
   $lang['Lang_extend_search_in'] = '在這尋找'; 
   $lang['Lang_extend_search_in_explain'] = 'Precise where to search'; 
   $lang['Lang_extend_search_in_key'] = 'keys'; 
   $lang['Lang_extend_search_in_value'] = '值'; 
   $lang['Lang_extend_search_in_both'] = '全部'; 
   $lang['Lang_extend_search_all_lang'] = '所有語言都已安裝'; 

   $lang['Lang_extend_search_no_words'] = 'No words to search provided.<br /><br />Click %sHere%s to return to the pack list.'; 
   $lang['Lang_extend_search_results'] = '搜尋結果'; 
   $lang['Lang_extend_value'] = '值'; 
   $lang['Lang_extend_level_leg'] = '等級'; 

   $lang['Lang_extend_added_modified'] = '*'; 
   $lang['Lang_extend_modified'] = '修改'; 
   $lang['Lang_extend_added'] = '新增'; 
} 

?>
最後由 hpo14 於 2005-12-17 14:00 編輯,總共編輯了 1 次。
非官方外掛問題區公告: [必看]請配合發問格式及明確主題發問(2004 02/16更新)

竹貓星球發問規則:
http://phpbb-tw.net/phpbb/viewtopic.php?t=16149

請不要濫用 私人訊息 或是 MSN 問問題...你以為竹貓是架好看的阿
DL
竹貓忠實會員
竹貓忠實會員
文章: 717
註冊時間: 2005-03-05 15:29

文章 DL »

這外掛是幹啥用的?
阿維
竹貓忠實會員
竹貓忠實會員
文章: 868
註冊時間: 2003-02-23 13:36
來自: 台南市

文章 阿維 »

感謝hpo14前輩的協助,這樣就能夠在後台編輯語系檔了 8-)
hpo14
竹貓忠實會員
竹貓忠實會員
文章: 414
註冊時間: 2003-05-10 16:37
來自: M Starbucks

文章 hpo14 »

我不是前輩啦~~!!
這樣叫我,我好像很老的樣子....XD

直接用我帳號稱呼我就好嚕..
非官方外掛問題區公告: [必看]請配合發問格式及明確主題發問(2004 02/16更新)

竹貓星球發問規則:
http://phpbb-tw.net/phpbb/viewtopic.php?t=16149

請不要濫用 私人訊息 或是 MSN 問問題...你以為竹貓是架好看的阿
阿維
竹貓忠實會員
竹貓忠實會員
文章: 868
註冊時間: 2003-02-23 13:36
來自: 台南市

文章 阿維 »

那就謝啦hpo14! :mrgreen:
hpo14
竹貓忠實會員
竹貓忠實會員
文章: 414
註冊時間: 2003-05-10 16:37
來自: M Starbucks

文章 hpo14 »

我翻譯的文件上面貼在竹貓的 code 代碼裡\r
"" 變成了 " ?#93; "

要自己改一下唷
非官方外掛問題區公告: [必看]請配合發問格式及明確主題發問(2004 02/16更新)

竹貓星球發問規則:
http://phpbb-tw.net/phpbb/viewtopic.php?t=16149

請不要濫用 私人訊息 或是 MSN 問問題...你以為竹貓是架好看的阿
主題已鎖定

回到「外掛問題討論」