Files
leanote/public/js/i18n/msg.en.js

16 lines
11 KiB
JavaScript
Raw Normal View History

2015-06-15 18:24:28 +08:00
var MSG = {"3th":"Third-party accounts","aboutLeanote":"About Leanote","aboutMe":"About me","accountInfo":"Account Info","accountSetting":"Account","accountType":"Account Type","addChildNotebook":"Add child notebook","addLeanoteAccount":"New Leanote Account","addMemberTips":"Input username or email to add member","addNotebook":"Add notebook","addShare":"Add Friend","addSingle":"New single page","addTheme":"New theme","admin":"Admin","all":"Newest","app":"Leanote","archive":"Archive","asc":"Asc","attachSize":"Attachment Capacity","attachSizeOver":"Sorry, you have no attachment opacity, please go \u003ca href=\"/service\"\u003eupgrade your account\u003c/a\u003e.","attachments ":" Attachments","avatar":"Avatar","basicInfo":"Basic","basicInfoSet":"Blog Basic Setting","blog":"Blog","blogInfo":"You can public your knowledge and leanote is your blog!","blogSet":"Blog Settings","blue":"blue","cancel":"Cancel","cancelPublic":"Cancel public","canntNewNoteTips":"Sorry, cannot new note in here, please choose a notebook at first.","captcha":"Captcha","captchaError":"Captcha Do Not Match","cate":"Category","cateIsPublicNotebook":"Category is the published notebooks","checkEmai":"Check email","checkEmail":"Check email","chooseImage":"Choose Image","clearSearch":"Clear Search","clickAddTag":"Click to add Tag","clickToChangePermission":"Click to change permission","clickToCopy":"Click to copy","close":"Close","confirmBackup":"Are you sure to restore from this version? We will backup the current note.","confirmPassword":"Password not matched","content":"Content","cooperation":"Cooperation","cooperationInfo":"Collaborate with friends to improve your knowledge.","copy":"Copy","copyFailed":"Copy failed","copySuccess":"Copy success","copyToMyNotebook":"Copy to my notebook","create":"Create","createAccount":"Create account","createAccountFailed":"Account create failed","createAccountSuccess":"Account create success","created":"Created","createdTime":"Created time","curUser":"Email","currentEmail":"Your current email is: \u003ccode\u003e%s\u003c/code\u003e ","currentFile":"Current file","currentTheme":"Current theme","datetime":"Datetime","default":"Default","defaultComment":"Default leanote comment system","defaultShare":"Default sharing","defaulthhare":"Default","delete":"Delete","deleteAllShared":"Delete shared user","deleteGroup":"Delete group","deleteMember":"Delete member","deleteSharedNotebook":"Delete shared notebook","demoRegister":"\u003ca href=\"/register\"\u003eSign up\u003c/a\u003e","desc":"Desc","desktopApp":"App","discussion":"Discussion","domainExisted":"Custom domain is already existed","domainNotPointToLeanote":"The custom domin hasn't pointed to d.leanote.com","donate ":" Donate","download":"Download","dragAndSort":"Drag it to sort","edit":"Edit","editorTips":"Tips","editorTipsInfo":"\u003ch4\u003e1. Short cuts\u003c/h4\u003ectrl+shift+c Toggle code\u003ch4\u003e2. shift+enter Get out of current block\u003c/h4\u003e eg. \u003cimg src=\"/images/outofcode.png\" style=\"width: 90px\"/\u003e in this situation you can use shift+enter to get out of current code block.","email":"Email","emailBodyRequired":"Email body is required","emailInSending":"In sending to ","emailOrOthers":"Email or other contact way","emailSendFailed":"Email send failed","errorDomain":"The custom domain is invalid, eg. www.myblog.com","errorEmail":"Please input the right email","errorPassword":"The passowd's length is at least 6 and be sure as complex as possible","errorPerPageSize":"Page size is error","errorSortField":"Sort Field is error","errorSubDomain":"Please input the valid sub domain, the length is at least 4 and no special chars","export":"Export","exportPdf":"Export PDF","exportTheme":"Export theme","findPassword":"Find password","findPasswordSendEmailOver":"We have already send the find password link to your email, please check out your email","findPasswordTimeout":"time out","fold":"Fold","footer":"Footer","forgetPassword ":" Forget password?","fork github":"Fork Leanote on Github","friendEmail":"Friend email","friendNotExits":"Your friend hasn'
2014-10-22 16:20:45 +08:00
function getMsg(key, data) {
var msg = MSG[key]
if(msg) {
if(data) {
if(!isArray(data)) {
data = [data];
}
for(var i = 0; i < data.length; ++i) {
msg = msg.replace("%s", data[i]);
}
}
return msg;
}
return key;
}