zh localize almost done

This commit is contained in:
wogong 2013-05-07 16:29:17 +08:00
parent a63e3aded3
commit 4c3f9b2820
2 changed files with 23 additions and 23 deletions

View file

@ -126,7 +126,7 @@ function localize($phrase, $count=-1) {
static $translations = NULL;
/* If no instance of $translations has occured load the language file */
if (is_null($translations)) {
$lang = "zh";
$lang = "en";
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE']))
{
//$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);

View file

@ -60,29 +60,29 @@
"tags.alphabetical.many":"{0} 个标签的字母索引",
"tags.alphabetical.one":"Alphabetical index of the single tag - very useful indeed ;)",
"tags.alphabetical.none":"Alphabetical index of absolutely no tag - very useful indeed ;)",
"splitByLetter.tag.other":"Other tags",
"authors.series.title":"Series: {0}",
"splitByLetter.tag.other":"其他标签",
"authors.series.title":"系列: {0}",
"authors.title":"作者",
"authors.alphabetical.many":"{0} 位作者的字母索引",
"authors.alphabetical.one":"Alphabetical index of the single author - very useful indeed ;)",
"authors.alphabetical.none":"Alphabetical index of absolutely no author - very useful indeed ;)",
"splitByLetter.author.other":"Other authors",
"splitByLetter.author.other":"其他作者",
"series.title":"系列",
"series.alphabetical.many":"{0} 个系列的字母索引",
"series.alphabetical.one":"Alphabetical index of the single series - very useful indeed ;)",
"series.alphabetical.none":"Alphabetical index of absolutely no series - very useful indeed ;)",
"splitByLetter.series.other":"Other series",
"splitByLetter.series.other":"其他系列",
"recent.title":"最近添加",
"recent.list":"{0} 本最近添加的书",
"recent.list.single":"Most recent single book - very useful indeed ;)",
"rating.title":"Rating",
"rating.summary":"{0}, grouped by rating",
"rating.summary":"{0}, 根据评分分组",
"allbooks.title":"所有书籍",
"allbooks.alphabetical.many":"{0} 本书籍的字母索引",
"allbooks.alphabetical.one":"Alphabetical index of the single book - very useful indeed ;)",
"allbooks.alphabetical.none":"Alphabetical index of absolutely no book - very useful indeed ;)",
"splitByLetter.book.other":"Other books",
"main.title":"Calibre library",
"splitByLetter.book.other":"其他书籍",
"main.title":"Calibre 书架",
"main.summary":"{0} has catalogued {1}",
"startup.newhome":"Default configuration folder home redirected to {0}",
"startup.redirectfound":".redirect file found in {0}",
@ -95,28 +95,28 @@
"startup.foldertilde":"Try configuration folder from tilde folder {0}",
"startup.folderjar":"Try configuration folder from .jar location {0}",
"startup.foldernotexist":"... but specified folder does not exist",
"i18n.and":"and",
"i18n.downloads":"Downloads, links and other catalogs",
"i18n.links":"Links and other catalogs",
"i18n.and":"",
"i18n.downloads":"下载,链接和其他目录 ",
"i18n.links":"链接和其他目录",
"i18n.coversection":"封面",
"i18n.downloadfile":"下载文件",
"i18n.downloadsection":"下载",
"i18n.relatedsection":"Related catalogs",
"i18n.linksection":"External links",
"i18n.backToMain":"Back to the main page of the catalog",
"i18n.relatedsection":"相关目录",
"i18n.linksection":"外部链接",
"i18n.backToMain":"返回目录主页",
"i18n.summarysection":"描述",
"i18n.dateGenerated":"Catalog generated on {0}",
"i18n.dateGenerated":"目录生成于 {0}",
"deeplevel.summary":"{0} broken up by authors, tags, etc. ",
"about.title":"关于COPS",
"about.summary":"关于Calibre2Opds的说明",
"usage.intro":"The options are taken from the configuration file located at {0}",
"usage.intro":"选项从此配置文件生成 {0}",
"config.Language.label":"语言",
"config.Language.description":"This setting changes the language used by the program ; use the standard ISO language code (e.g. EN, FR, DE...)",
"config.Language.possible":"Possible values : {0}",
"intro.goal":"Generate OPDS and HTML catalogs from your Calibre ebooks database",
"intro.wiki.title":"The project''s home : ",
"config.Language.description":"此项设置将会改变程序使用的语言 ; 请使用ISO标准语言代码 (例如 EN, FR, DE...)",
"config.Language.possible":"可能的选项 : {0}",
"intro.goal":"从你的 Calibre 数据库生成 OPDS 和 HTML 目录",
"intro.wiki.title":"项目主页 : ",
"intro.wiki.url":"http://calibre2opds.com",
"intro.team.title":"The Calibre2Opds team :",
"intro.team.title":"项目人员 :",
"intro.team.list1":"David Pierron - main programmer",
"intro.team.list2":"Dave Walker - guru, features manager and tester extraordinaire",
"intro.team.list3":"Farid Soussi - css and html guru",
@ -124,10 +124,10 @@
"intro.team.list5":"Jane Litte - beta tester and moral support",
"intro.thanks.1":"Special thanks to Kb Sriram, who not only programmed Trook, an excellent and OPDS compatible ",
"intro.thanks.2":"library manager for the Nook, but also was kind enough to donate a Nook !",
"search.result":"Search result for *{0}*",
"search.result":"*{0}* 的搜索结果",
"search.sortorder.asc":"升序",
"search.sortorder.desc":"降序",
"permalink.alternate":"Permalink",
"permalink.alternate":"永久链接",
"home.alternate":"首页",
"search.alternate":"搜索",
"sort.alternate":"排序",