update translation

This commit is contained in:
MaysWind
2026-01-21 23:59:12 +08:00
parent 10388a5ffa
commit 2bfcfbf03d
32 changed files with 297 additions and 297 deletions
+2 -2
View File
@@ -550,7 +550,7 @@ function showReconciliationStatementCustomDateRangeDialog(account: Account, date
function moveAllTransactions(account: Account): void {
moveAllTransactionsDialog.value?.open(account).then(() => {
snackbar.value?.showMessage('All transactions in this account has been moved.');
snackbar.value?.showMessage('All transactions in this account have been moved.');
if (accountsStore.accountListStateInvalid && !loading.value) {
reload(false);
@@ -560,7 +560,7 @@ function moveAllTransactions(account: Account): void {
function clearAllTransactions(account: Account): void {
clearAllTransactionsDialog.value?.open(account).then(() => {
snackbar.value?.showMessage('All transactions in this account has been cleared');
snackbar.value?.showMessage('All transactions in this account have been cleared');
if (accountsStore.accountListStateInvalid && !loading.value) {
reload(false);
@@ -565,7 +565,7 @@ function updateClosingBalance(): void {
}
amountInputDialog.value?.open({
text: 'Please enter the new closing balance for the account',
text: 'Please enter the new closing balance for this account',
inputLabel: 'Closing Balance',
inputPlaceholder: 'Closing Balance',
currency: currentAccountCurrency.value,
@@ -178,8 +178,8 @@
item-title="displayName"
item-value="value"
persistent-placeholder
:label="tt('Show Transaction Tag')"
:placeholder="tt('Show Transaction Tag')"
:label="tt('Show Transaction Tags')"
:placeholder="tt('Show Transaction Tags')"
:items="enableDisableOptions"
v-model="showTagInTransactionListPage"
/>
@@ -267,8 +267,8 @@
item-title="displayName"
item-value="value"
persistent-placeholder
:label="tt('Show Transaction Tag')"
:placeholder="tt('Show Transaction Tag')"
:label="tt('Show Transaction Tags')"
:placeholder="tt('Show Transaction Tags')"
:items="enableDisableOptions"
v-model="showTagInInsightsExplorerPage"
/>
@@ -49,15 +49,15 @@
@click="selectInvert"></v-list-item>
<v-divider class="my-2"/>
<v-list-item :prepend-icon="mdiSelectAll"
:title="tt('Select All in This Page')"
:title="tt('Select All on This Page')"
:disabled="!!disabled"
@click="selectAllInThisPage"></v-list-item>
<v-list-item :prepend-icon="mdiSelect"
:title="tt('Select None in This Page')"
:title="tt('Select None on This Page')"
:disabled="!!disabled"
@click="selectNoneInThisPage"></v-list-item>
<v-list-item :prepend-icon="mdiSelectInverse"
:title="tt('Invert Selection in This Page')"
:title="tt('Invert Selection on This Page')"
:disabled="!!disabled"
@click="selectInvertInThisPage"></v-list-item>
</v-list>
@@ -63,11 +63,11 @@
</v-card>
</v-col>
<v-col cols="12" v-if="isOAuth2Enabled() && (loadingExternalAuth || (thirdPartyLogins && thirdPartyLogins.length))">
<v-col cols="12" v-if="isOAuth2Enabled() && (loadingExternalAuth || (thirdPartyLoginList && thirdPartyLoginList.length))">
<v-card :class="{ 'disabled': loadingExternalAuth }">
<template #title>
<div class="d-flex align-center">
<span>{{ tt('Third-Party Logins') }}</span>
<span>{{ tt('Third-Party Login') }}</span>
<v-btn density="compact" color="default" variant="text" size="24"
class="ms-2" :icon="true" :loading="loadingExternalAuth" @click="reloadExternalAuth(false)">
<template #loader>
@@ -97,7 +97,7 @@
</tr>
<tr :key="thirdPartyLogin.externalAuthType"
v-for="thirdPartyLogin in thirdPartyLogins">
v-for="thirdPartyLogin in thirdPartyLoginList">
<td class="text-sm">
<v-icon start :icon="thirdPartyLogin.icon"/>
{{ thirdPartyLogin.displayName }}
@@ -337,18 +337,18 @@ const oauth2ClientSessionId = ref<string>(generateRandomUUID());
const oauth2LinkUrl = computed<string>(() => rootStore.generateOAuth2LinkUrl('desktop', oauth2ClientSessionId.value));
const thirdPartyLogins = computed<DesktopPageLinkedThirdPartyLogin[]>(() => {
const logins: DesktopPageLinkedThirdPartyLogin[] = [];
const thirdPartyLoginList = computed<DesktopPageLinkedThirdPartyLogin[]>(() => {
const ret: DesktopPageLinkedThirdPartyLogin[] = [];
if (!externalAuths.value) {
return logins;
return ret;
}
for (const externalAuth of externalAuths.value) {
logins.push(new DesktopPageLinkedThirdPartyLogin(externalAuth));
ret.push(new DesktopPageLinkedThirdPartyLogin(externalAuth));
}
return logins;
return ret;
});
const sessions = computed<DesktopPageSessionInfo[]>(() => {
@@ -432,9 +432,9 @@ function reloadExternalAuth(silent?: boolean): void {
userExternalAuthStore.getExternalAuths().then(response => {
if (!silent) {
if (isEquals(externalAuths.value, response)) {
snackbar.value?.showMessage('Third-party logins list is up to date');
snackbar.value?.showMessage('Third-party login list is up to date');
} else {
snackbar.value?.showMessage('Third-party logins list has been updated');
snackbar.value?.showMessage('Third-party login list has been updated');
}
}