summaryrefslogtreecommitdiff
path: root/src/client/sidebar.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-12-26 10:51:00 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-12-26 10:51:00 +0900
commit00f3a1e1ec776168adfdf87fbfcc59e2034eb2b1 (patch)
tree360b7b4607d7a6429d77f89d7b9c2c83374f51fa /src/client/sidebar.ts
parentwip (diff)
downloadsharkey-00f3a1e1ec776168adfdf87fbfcc59e2034eb2b1.tar.gz
sharkey-00f3a1e1ec776168adfdf87fbfcc59e2034eb2b1.tar.bz2
sharkey-00f3a1e1ec776168adfdf87fbfcc59e2034eb2b1.zip
wip
Diffstat (limited to 'src/client/sidebar.ts')
-rw-r--r--src/client/sidebar.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/sidebar.ts b/src/client/sidebar.ts
index 318c0c5331..98a70d2d1a 100644
--- a/src/client/sidebar.ts
+++ b/src/client/sidebar.ts
@@ -130,19 +130,19 @@ export const sidebarDef = {
icon: faColumns,
action: (ev) => {
os.modalMenu([{
- text: i18n.global.t('default'),
+ text: i18n.locale.default,
action: () => {
localStorage.setItem('ui', 'default');
location.reload();
}
}, {
- text: i18n.global.t('deck'),
+ text: i18n.locale.deck,
action: () => {
localStorage.setItem('ui', 'deck');
location.reload();
}
}, {
- text: i18n.global.t('desktop') + ' (β)',
+ text: i18n.locale.desktop + ' (β)',
action: () => {
localStorage.setItem('ui', 'desktop');
location.reload();