diff --git a/src/public/app/widgets/watched_file_update_status.js b/src/public/app/widgets/watched_file_update_status.js index 05e5567e7..1747723d5 100644 --- a/src/public/app/widgets/watched_file_update_status.js +++ b/src/public/app/widgets/watched_file_update_status.js @@ -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 = ` } -
File has been last modified on .
${t("watched_file_update_status.file_last_modified", { count: '' })}
最后修改时间为 。",
+ "upload_modified_file": "上传修改的文件",
+ "ignore_this_change": "忽略此更改"
}
}
diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json
index 2e742374a..c72abb34d 100644
--- a/src/public/translations/en/translation.json
+++ b/src/public/translations/en/translation.json
@@ -1414,5 +1414,10 @@
"toc": {
"table_of_contents": "Table of Contents",
"options": "Options"
+ },
+ "watched_file_update_status": {
+ "file_last_modified": "File
has been last modified on .",
+ "upload_modified_file": "Upload modified file",
+ "ignore_this_change": "Ignore this change"
}
}