refactor(client): i18n.locale -> i18n.ts

This commit is contained in:
syuilo
2022-01-28 11:39:49 +09:00
parent 6ebab5f577
commit 57ec04d9ec
74 changed files with 424 additions and 424 deletions

View File

@@ -59,7 +59,7 @@ export default defineComponent({
const renote = (viaKeyboard = false) => {
pleaseLogin();
os.popupMenu([{
text: i18n.locale.renote,
text: i18n.ts.renote,
icon: 'fas fa-retweet',
action: () => {
os.api('notes/create', {
@@ -67,7 +67,7 @@ export default defineComponent({
});
}
}, {
text: i18n.locale.quote,
text: i18n.ts.quote,
icon: 'fas fa-quote-right',
action: () => {
os.post({