summaryrefslogtreecommitdiff
path: root/packages/client/src/menu.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-01-28 11:39:49 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-01-28 11:39:49 +0900
commit57ec04d9ecc51060225bb15867215c7475685f92 (patch)
treef2874f44108201de10ffef4076edfa1c137ab809 /packages/client/src/menu.ts
parentchore(client): improve chart rendering (diff)
downloadmisskey-57ec04d9ecc51060225bb15867215c7475685f92.tar.gz
misskey-57ec04d9ecc51060225bb15867215c7475685f92.tar.bz2
misskey-57ec04d9ecc51060225bb15867215c7475685f92.zip
refactor(client): i18n.locale -> i18n.ts
Diffstat (limited to 'packages/client/src/menu.ts')
-rw-r--r--packages/client/src/menu.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/client/src/menu.ts b/packages/client/src/menu.ts
index 184779f21f..5f7a527095 100644
--- a/packages/client/src/menu.ts
+++ b/packages/client/src/menu.ts
@@ -73,7 +73,7 @@ export const menuDef = reactive({
})), null, {
type: 'link',
to: '/my/lists',
- text: i18n.locale.manageLists,
+ text: i18n.ts.manageLists,
icon: 'fas fa-cog',
}];
items.value = _items;
@@ -104,7 +104,7 @@ export const menuDef = reactive({
})), null, {
type: 'link',
to: '/my/antennas',
- text: i18n.locale.manageAntennas,
+ text: i18n.ts.manageAntennas,
icon: 'fas fa-cog',
}];
items.value = _items;
@@ -173,28 +173,28 @@ export const menuDef = reactive({
icon: 'fas fa-columns',
action: (ev) => {
os.popupMenu([{
- text: i18n.locale.default,
+ text: i18n.ts.default,
active: ui === 'default' || ui === null,
action: () => {
localStorage.setItem('ui', 'default');
unisonReload();
}
}, {
- text: i18n.locale.deck,
+ text: i18n.ts.deck,
active: ui === 'deck',
action: () => {
localStorage.setItem('ui', 'deck');
unisonReload();
}
}, {
- text: i18n.locale.classic,
+ text: i18n.ts.classic,
active: ui === 'classic',
action: () => {
localStorage.setItem('ui', 'classic');
unisonReload();
}
}, /*{
- text: i18n.locale.desktop + ' (β)',
+ text: i18n.ts.desktop + ' (β)',
active: ui === 'desktop',
action: () => {
localStorage.setItem('ui', 'desktop');