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>
`;