refactor(client): i18n.locale -> i18n.ts
This commit is contained in:
@@ -60,7 +60,7 @@ export default defineComponent({
|
||||
|
||||
setup(props, context) {
|
||||
const INFO = {
|
||||
title: i18n.locale.importAndExport,
|
||||
title: i18n.ts.importAndExport,
|
||||
icon: 'fas fa-boxes',
|
||||
bg: 'var(--bg)',
|
||||
};
|
||||
@@ -71,14 +71,14 @@ export default defineComponent({
|
||||
const onExportSuccess = () => {
|
||||
os.alert({
|
||||
type: 'info',
|
||||
text: i18n.locale.exportRequested,
|
||||
text: i18n.ts.exportRequested,
|
||||
});
|
||||
};
|
||||
|
||||
const onImportSuccess = () => {
|
||||
os.alert({
|
||||
type: 'info',
|
||||
text: i18n.locale.importRequested,
|
||||
text: i18n.ts.importRequested,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user