mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-19 10:07:12 +00:00
为 Leanote 提供日语语言包
为 Leanote 提供日语语言包 影响范围: 1.基本页面及菜单 2.语言设置菜单 3.主题设置菜单
This commit is contained in:
@@ -74,6 +74,36 @@ define(function() {
|
||||
"Database": "數據庫",
|
||||
"Image": "圖片",
|
||||
"Attachment": "附件",
|
||||
},
|
||||
'ja-jp': {
|
||||
'Accounts': 'アカウント管理',
|
||||
"Username": "名前",
|
||||
"Is Local": "ローカルアカウント",
|
||||
'Host': 'サーバー',
|
||||
"Yes": "はい",
|
||||
"No": "いいえ",
|
||||
"DB Optimization": "データベース最適化",
|
||||
"Open Dir": "ディレクトリを開く",
|
||||
"Data": "データ",
|
||||
"Options": "操作",
|
||||
"Current": "現在の",
|
||||
"Delete": "削除",
|
||||
"Close": "クローズ",
|
||||
|
||||
"Optimizing": "最適化しています",
|
||||
"Completed": "最適化した",
|
||||
"Deleted": "削除した",
|
||||
|
||||
"Error": "エラー",
|
||||
"No such account": "本アカウントがない",
|
||||
"Are you sure, it can't be recovered after it has been deleted": "本当にこのアカウントを削除したいですか? このアカウントについてのデータを全て削除します。",
|
||||
"Notebook": "ノートブック",
|
||||
"Note": "ノート",
|
||||
"Tag": "タグ",
|
||||
|
||||
"Database": "データベース",
|
||||
"Image": "イメージ",
|
||||
"Attachment": "添付ファイル",
|
||||
}
|
||||
},
|
||||
_tpl: `
|
||||
@@ -88,7 +118,7 @@ define(function() {
|
||||
}
|
||||
#accountsDialog td button {
|
||||
padding: 5px 8px;
|
||||
|
||||
|
||||
}
|
||||
#accountsDialog .modal-dialog {
|
||||
width: 830px ;
|
||||
@@ -263,7 +293,7 @@ define(function() {
|
||||
var host = user.Host || Api.evtService.getHost();
|
||||
username += '<br />' + me.getMsg('Host') + ': <a onclick="openExternal(\'' + host +'\')">' + host + '</a>';
|
||||
}
|
||||
|
||||
|
||||
var tr = '<td>' + username + '</td>';
|
||||
|
||||
tr += '<td>' + (user.IsLocal ? me.getMsg('Yes') : me.getMsg('No')) + '</td>';
|
||||
@@ -459,7 +489,7 @@ define(function() {
|
||||
// 如果是笔记, 则迁移它的笔记历史记录
|
||||
if (name === 'notes') {
|
||||
me.migrateNoteHistories(
|
||||
doc.NoteId,
|
||||
doc.NoteId,
|
||||
sourceDb['noteHistories'],
|
||||
distDb['noteHistories'],
|
||||
function () {
|
||||
@@ -479,7 +509,7 @@ define(function() {
|
||||
callback(true);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
},
|
||||
|
||||
dbNames: ['notebooks', 'notes', 'tags', 'images', 'attachs', 'noteHistories'],
|
||||
@@ -513,7 +543,7 @@ define(function() {
|
||||
cb();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
me.migrateEach(userId, sourceDb, distDb, name, function(ok) {
|
||||
if (ok) {
|
||||
// console.log(name + ' Over');
|
||||
@@ -572,4 +602,4 @@ define(function() {
|
||||
|
||||
return accounts;
|
||||
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user