refactor: deprecate i18n.t
This commit is contained in:
parent
a637b4e282
commit
7dbf873a2f
84 changed files with 7701 additions and 343 deletions
|
|
@ -205,9 +205,7 @@ export async function mainBoot() {
|
|||
const lastUsedDate = parseInt(lastUsed, 10);
|
||||
// 二時間以上前なら
|
||||
if (Date.now() - lastUsedDate > 1000 * 60 * 60 * 2) {
|
||||
toast(i18n.t('welcomeBackWithName', {
|
||||
name: $i.name || $i.username,
|
||||
}));
|
||||
toast(i18n.tsx.welcomeBackWithName($i.name || $i.username));
|
||||
}
|
||||
}
|
||||
miLocalStorage.setItem('lastUsed', Date.now().toString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue