Merge pull request #61 from wogong/master

add Chinese localization file and add charset setting
This commit is contained in:
Sébastien Lucas 2013-05-07 05:10:35 -07:00
commit 32d4588cbd
3 changed files with 139 additions and 2 deletions

View file

@ -24,7 +24,7 @@
$withToolbar = false;
if (!isset($_COOKIE['toolbar'])) $withToolbar = true;
header ("Content-Type:application/xhtml+xml");
header ("Content-Type:application/xhtml+xml;charset=utf-8");
$page = getURLParam ("page", Base::PAGE_INDEX);
$query = getURLParam ("query");
$qid = getURLParam ("id");

137
lang/Localization_zh.json Normal file
View file

@ -0,0 +1,137 @@
{
"boolean.no":"否",
"boolean.yes":"是",
"splitByLetter.letter":"{0} 以 {1} 开头",
"home.title":"目录",
"link.fullentry":"全部条目",
"title.nextpage":"下一页 ({0} of {1})",
"title.lastpage":"最后一页",
"title.numberOfPages":"{0} (共 {1} 页)",
"pubdate.title":"出版时间",
"bookword.title":"书名",
"bookword.none":"没有书籍",
"bookword.one":"1 本书籍",
"bookword.many":"{0} 本书籍",
"authorword.title":"作者",
"authorword.none":"未知",
"authorword.one":"1 位作者",
"authorword.many":"{0} 位作者",
"taglevelword.title":"Tag levels",
"taglevelword.none":"No tag level",
"taglevelword.one":"1 tag level",
"taglevelword.many":"{0} tag levels",
"seriesword.title":"系列",
"seriesword.none":"没有系列",
"seriesword.one":"1 个系列",
"seriesword.many":"{0} 系列",
"tagword.title":"标签",
"tagword.none":"没有标签",
"tagword.one":"1 个标签",
"tagword.many":"{0} 标签",
"content.tags":"标签:",
"content.series":"系列:",
"content.series.data":"{0} 系列的第 {0} 本",
"content.publisher":"出版社:",
"content.published":"出版时间",
"content.added":"添加了: ",
"content.modified":"修改了:",
"content.publisher.data":"由 {0} 出版于 {1}",
"content.summary":"概要",
"bookentry.series":"Book {0} in the {1} series",
"bookentry.author":"{0} 由作者 {1}",
"bookentry.tags":"{0} 在标签 {1}",
"bookentry.ratings":"{0} 评分 {1}",
"bookentry.goodreads":"Goodreads 上的这本书",
"bookentry.goodreads.review":"在 Goodreads上评论这本书",
"bookentry.goodreads.author":"{0} 在 Goodreads",
"bookentry.wikipedia":"维基百科上的这本书",
"bookentry.wikipedia.author":"{0} 在维基百科上",
"bookentry.librarything":"LibraryThing 上的这本书",
"bookentry.librarything.author":"{0} 在 LibraryThing",
"bookentry.amazon":"Amazon上的这本书",
"bookentry.amazon.author":"{0} 在 Amazon",
"bookentry.isfdb.author":"{0} 在 ISFDB",
"bookentry.download":"下载这本书 {0}",
"bookentry.rated":"{0} {1}",
"bookentry.fullentrylink":"全部条目",
"tags.title":"标签",
"tags.categorized":"Categorized index of the {0} tags",
"tags.categorized.single":"Categorized index of the single tag - very useful indeed ;)",
"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":"其他标签",
"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":"其他作者",
"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":"其他系列",
"recent.title":"最近添加",
"recent.list":"{0} 本最近添加的书",
"recent.list.single":"Most recent single book - very useful indeed ;)",
"rating.title":"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":"其他书籍",
"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}",
"startup.redirectreadfail":"... failure reading .redirect file",
"startup.redirectnotfound":"... unable to find redirect folder {0}",
"startup.redirectabandoned":"... so redirect abandoned",
"startup.redirecting":"redirecting home folder to {0}",
"startup.configusing":"Using configuration folder {0}",
"startup.folderuserhome":"Try configuration folder in user home folder {0}",
"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":"和",
"i18n.downloads":"下载,链接和其他目录 ",
"i18n.links":"链接和其他目录",
"i18n.coversection":"封面",
"i18n.downloadfile":"下载文件",
"i18n.downloadsection":"下载",
"i18n.relatedsection":"相关目录",
"i18n.linksection":"外部链接",
"i18n.backToMain":"返回目录主页",
"i18n.summarysection":"描述",
"i18n.dateGenerated":"目录生成于 {0}",
"deeplevel.summary":"{0} broken up by authors, tags, etc. ",
"about.title":"关于COPS",
"about.summary":"关于Calibre2Opds的说明",
"usage.intro":"选项从此配置文件生成 {0}",
"config.Language.label":"语言",
"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":"项目人员 :",
"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",
"intro.team.list4":"Douglas Steele - programmer",
"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":"*{0}* 的搜索结果",
"search.sortorder.asc":"升序",
"search.sortorder.desc":"降序",
"permalink.alternate":"永久链接",
"home.alternate":"首页",
"search.alternate":"搜索",
"sort.alternate":"排序",
"paging.next.alternate":"下一页",
"paging.previous.alternate":"上一页",
"fin":"fin"
}