add translation for buttons: update_available.js

This commit is contained in:
Nriver 2024-08-02 09:06:37 +08:00
parent e2d43b4538
commit 625e9efcf3
3 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import BasicWidget from "../basic_widget.js";
import { t } from "../../services/i18n.js";
const TPL = `
<div style="display: none;">
@ -23,7 +23,7 @@ const TPL = `
}
</style>
<span class="bx bx-sync global-menu-button-update-available-button" title="Update available"></span>
<span class="bx bx-sync global-menu-button-update-available-button" title="${t('update_available.update_available')}"></span>
</div>
`;

View File

@ -618,5 +618,8 @@
},
"revisions_button": {
"note_revisions": "笔记修改历史"
},
"update_available": {
"update_available": "有更新可用"
}
}

View File

@ -619,5 +619,8 @@
},
"revisions_button": {
"note_revisions": "Note Revisions"
},
"update_available": {
"update_available": "Update available"
}
}