feat: update UI text to use internationalization configuration for modals and notices

This commit is contained in:
Jiaxin Peng
2025-10-31 23:36:49 +00:00
parent fab3acdc21
commit 7c841f3db3
5 changed files with 21 additions and 21 deletions

View File

@@ -56,7 +56,7 @@ export class SettingModal extends Modal {
display(): void {
this.containerEl.addClass("settings-modal");
this.titleEl.setText('Add new database');
this.titleEl.setText(i18nConfig.AddNewDatabaseModal);
// create the dropdown button to select the database format
let { contentEl } = this;