mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-22 12:11:41 +08:00
add translation for watched_file_update_status.js
This commit is contained in:
parent
5e2d1bc124
commit
7c518e9512
@ -1,3 +1,4 @@
|
||||
import { t } from "../services/i18n.js";
|
||||
import NoteContextAwareWidget from "./note_context_aware_widget.js";
|
||||
import server from "../services/server.js";
|
||||
import fileWatcher from "../services/file_watcher.js";
|
||||
@ -11,12 +12,12 @@ const TPL = `
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>File <code class="file-path"></code> has been last modified on <span class="file-last-modified"></span>.</p>
|
||||
<p>${t("watched_file_update_status.file_last_modified", { count: '' })}</p>
|
||||
|
||||
<div style="display: flex; flex-direction: row; justify-content: space-evenly;">
|
||||
<button class="btn btn-sm file-upload-button">Upload modified file</button>
|
||||
<button class="btn btn-sm file-upload-button">${t("watched_file_update_status.upload_modified_file")}</button>
|
||||
|
||||
<button class="btn btn-sm ignore-this-change-button">Ignore this change</button>
|
||||
<button class="btn btn-sm ignore-this-change-button">${t("watched_file_update_status.ignore_this_change")}</button>
|
||||
</div>
|
||||
</div>`;
|
||||
|
||||
|
@ -1414,5 +1414,10 @@
|
||||
"toc": {
|
||||
"table_of_contents": "目录",
|
||||
"options": "选项"
|
||||
},
|
||||
"watched_file_update_status": {
|
||||
"file_last_modified": "文件 <code class=\"file-path\"></code> 最后修改时间为 <span class=\"file-last-modified\"></span>。",
|
||||
"upload_modified_file": "上传修改的文件",
|
||||
"ignore_this_change": "忽略此更改"
|
||||
}
|
||||
}
|
||||
|
@ -1414,5 +1414,10 @@
|
||||
"toc": {
|
||||
"table_of_contents": "Table of Contents",
|
||||
"options": "Options"
|
||||
},
|
||||
"watched_file_update_status": {
|
||||
"file_last_modified": "File <code class=\"file-path\"></code> has been last modified on <span class=\"file-last-modified\"></span>.",
|
||||
"upload_modified_file": "Upload modified file",
|
||||
"ignore_this_change": "Ignore this change"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user