mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-18 09:24:55 +00:00
i18n
This commit is contained in:
@@ -40,11 +40,11 @@ Note.switchView = function(view) {
|
||||
Note.switchView(Config.view || 'snippet');
|
||||
|
||||
Note.getItemTpl = function() {
|
||||
return Note.itemTpl;
|
||||
return Note.itemTpl;
|
||||
}
|
||||
|
||||
Note.getItemTplNoImg = function() {
|
||||
return Note.itemTplNoImg;
|
||||
return Note.itemTplNoImg;
|
||||
}
|
||||
|
||||
// 定时保存信息
|
||||
@@ -3226,7 +3226,7 @@ $(function() {
|
||||
var themeSubmenus = new gui.Menu();
|
||||
themeSubmenus.append(new gui.MenuItem({
|
||||
checked: Config.view === "snippet",
|
||||
label: "摘要视图",
|
||||
label: Api.getMsg("snippetView"),
|
||||
type: "checkbox",
|
||||
click: function() {
|
||||
Note.switchView('snippet');
|
||||
@@ -3234,7 +3234,7 @@ $(function() {
|
||||
}));
|
||||
themeSubmenus.append(new gui.MenuItem({
|
||||
checked: Config.view === "list",
|
||||
label: "列表视图",
|
||||
label: Api.getMsg("listView"),
|
||||
type: "checkbox",
|
||||
click: function() {
|
||||
Note.switchView('list');
|
||||
|
@@ -1977,19 +1977,17 @@ function setMacTopMenu() {
|
||||
type: 'separator'
|
||||
},
|
||||
{
|
||||
label: 'Summary View',
|
||||
label: Api.getMsg('snippetView'),
|
||||
type: "checkbox",
|
||||
click: function() {
|
||||
Config.view = 'summary';
|
||||
Notebook.renderCurNotebook();
|
||||
Api.writeConfig(Config);
|
||||
Note.switchView('snippet');
|
||||
},
|
||||
},
|
||||
{
|
||||
label: 'List View',
|
||||
label: Api.getMsg('listView'),
|
||||
type: "checkbox",
|
||||
click: function() {
|
||||
Config.view = 'list';
|
||||
Notebook.renderCurNotebook();
|
||||
Api.writeConfig(Config);
|
||||
Note.switchView('list');
|
||||
},
|
||||
},
|
||||
]
|
||||
|
@@ -87,6 +87,7 @@
|
||||
"leanoteBlog": "Blog",
|
||||
"leftHidden": "Hidden slide bar",
|
||||
"leftShow": "Show slide bar",
|
||||
"listView": "List view",
|
||||
"login": "Sign in",
|
||||
"loginSuccess": "login success",
|
||||
"logining": "Sign in",
|
||||
@@ -145,6 +146,7 @@
|
||||
"shareInfo": "Share your knowledge to your friends in leanote.",
|
||||
"shareToFriends": "Share to friends",
|
||||
"simple": "Simple",
|
||||
"snippetView": "Snippet view",
|
||||
"submit": "submit",
|
||||
"suggestions": "Suggestions",
|
||||
"suggestionsInfo": "help us to improve our service.",
|
||||
@@ -189,4 +191,4 @@
|
||||
"localAccountTips": "Please note that your account is local account which <b>is not the Leanote's account</b>, and your data just save onto your local disk. Once your disk is broken, the data cannot be recovered. So we recommend you to use Leanote Desktop App with Leanote account, and your data will sync to Leanote server.<p>Leanote Desktop App has disabled the feature that create a local account. You can login Leanote Desktop App with local account whitch created before. But we recommend you to use Leanote Desktop App with Leanote account.</p>",
|
||||
|
||||
"ForceFullSyncMsg": "Full sync will remove the current account's all local data (includes database, images and attachments) and load all data from server, are you sure ?"
|
||||
}
|
||||
}
|
||||
|
@@ -84,6 +84,7 @@
|
||||
"leanoteBlog": "官方博客",
|
||||
"leftHidden": "隐藏左侧",
|
||||
"leftShow": "展开左侧",
|
||||
"listView": "列表视图",
|
||||
"login": "登录",
|
||||
"loginSuccess": "登录成功, 正在跳转",
|
||||
"logining": "正在登录",
|
||||
@@ -140,6 +141,7 @@
|
||||
"shareInfo": "你也可以将知识分享给你的好友.",
|
||||
"shareToFriends": "分享给好友",
|
||||
"simple": "简约",
|
||||
"snippetView": "摘要视图",
|
||||
"submit": "提交",
|
||||
"suggestions": "建议",
|
||||
"suggestionsInfo": "帮助我们完善leanote",
|
||||
@@ -311,4 +313,4 @@
|
||||
"Don't Show Anymore": "不再提示",
|
||||
|
||||
"ctrl/cmd+e Toggle Modify with Readonly": "ctrl/cmd+e 切换编辑与只读"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user