i18n
This commit is contained in:
parent
1ee33693f0
commit
07139ab8cf
@ -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","website run "," days","links","about me","Search"];
|
||||
var i18nCN=["切换主题","网站运行","天","友情链接","关于","搜索"];
|
||||
if(blogBase["i18n"]=="CN"){var i18n=i18nCN;}
|
||||
else{var i18n=i18nEN;}
|
||||
@ -96,7 +96,7 @@ document.getElementById("blogTitle").innerHTML=blogBase["title"].substring(1);
|
||||
document.getElementById("blogSubTitle").innerHTML=blogBase["subTitle"];
|
||||
document.getElementById("changeTheme").setAttribute("title",i18n[0]);
|
||||
document.getElementById("buttonLink").setAttribute("title",i18n[3]);
|
||||
document.getElementById("buttonLink").setAttribute("title",i18n[4]);
|
||||
document.getElementById("buttonAbout").setAttribute("title",i18n[4]);
|
||||
document.getElementById("buttonSearch").innerHTML=i18n[5];
|
||||
|
||||
if(blogBase["filingNum"]!=""){document.getElementById("filingNum").innerHTML=blogBase["filingNum"]+" • ";}
|
||||
|
||||
@ -59,7 +59,7 @@ h1 {display:flex;}
|
||||
|
||||
var blogBase=%s
|
||||
|
||||
var i18nEN=["switch theme","website run","days","Home"];
|
||||
var i18nEN=["switch theme","website run "," days","Home"];
|
||||
var i18nCN=["切换主题","网站运行","天","首页"];
|
||||
if(blogBase["i18n"]=="CN"){var i18n=i18nCN;}
|
||||
else{var i18n=i18nEN;}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user