i18n
This commit is contained in:
parent
07139ab8cf
commit
1b1df9cef7
1
Gmeek.py
1
Gmeek.py
@ -75,6 +75,7 @@ class GMEEK():
|
||||
postBase["faviconUrl"]=self.blogBase["faviconUrl"]
|
||||
postBase["filingNum"]=self.blogBase["filingNum"]
|
||||
postBase["startSite"]=self.blogBase["startSite"]
|
||||
postBase["i18n"]=self.blogBase["i18n"]
|
||||
postBase["commentNum"]=issue["commentNum"]
|
||||
postBase["repoName"]=options.repo_name
|
||||
|
||||
|
||||
@ -74,7 +74,7 @@ h1 a{margin-left: 4px;margin-top: 16px;}
|
||||
|
||||
var blogBase=%s
|
||||
|
||||
var i18nEN=["switch theme","website run "," days","links","about me","Search"];
|
||||
var i18nEN=["switch theme","Run "," days","links","about me","Search"];
|
||||
var i18nCN=["切换主题","网站运行","天","友情链接","关于","搜索"];
|
||||
if(blogBase["i18n"]=="CN"){var i18n=i18nCN;}
|
||||
else{var i18n=i18nEN;}
|
||||
|
||||
@ -59,7 +59,7 @@ h1 {display:flex;}
|
||||
|
||||
var blogBase=%s
|
||||
|
||||
var i18nEN=["switch theme","website run "," days","Home"];
|
||||
var i18nEN=["switch theme","Run "," days","Home"];
|
||||
var i18nCN=["切换主题","网站运行","天","首页"];
|
||||
if(blogBase["i18n"]=="CN"){var i18n=i18nCN;}
|
||||
else{var i18n=i18nEN;}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user