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
@@ -40,7 +40,7 @@ export const ALL_APPLICATION_CLOUD_SETTINGS: CategorizedApplicationCloudSettingI
items: [
{ settingKey: 'itemsCountInTransactionListPage', settingName: 'Transactions Per Page', mobile: false, desktop: true },
{ settingKey: 'showTotalAmountInTransactionListPage', settingName: 'Show Monthly Total Amount', mobile: true, desktop: true },
{ settingKey: 'showTagInTransactionListPage', settingName: 'Show Transaction Tag', mobile: true, desktop: true }
{ settingKey: 'showTagInTransactionListPage', settingName: 'Show Transaction Tags', mobile: true, desktop: true }
]
},
{
@@ -61,7 +61,7 @@ export const ALL_APPLICATION_CLOUD_SETTINGS: CategorizedApplicationCloudSettingI
categoryName: 'Insights Explorer Page',
items: [
{ settingKey: 'insightsExplorerDefaultDateRangeType', settingName: 'Default Date Range', mobile: false, desktop: true },
{ settingKey: 'showTagInInsightsExplorerPage', settingName: 'Show Transaction Tag', mobile: false, desktop: true }
{ settingKey: 'showTagInInsightsExplorerPage', settingName: 'Show Transaction Tags', mobile: false, desktop: true }
]
},
{
@@ -46,7 +46,7 @@ export function useAppSettingPageBase() {
return [
{ name: tt('Disabled'), value: 'disabled' },
{ name: tt('Enabled'), value: 'enabled' },
{ name: tt('Show Confirmation Every Time'), value: 'confirmation' }
{ name: tt('Always Show Confirmation'), value: 'confirmation' }
];
});
+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');
}
}
+1 -1
View File
@@ -411,7 +411,7 @@ function clearAllTransactions(password: string): void {
hideLoading();
showInputPasswordSheetForClearAllTransactions.value = false;
showToast('All transactions in this account has been cleared');
showToast('All transactions in this account have been cleared');
}).catch(error => {
clearingData.value = false;
hideLoading();
@@ -147,7 +147,7 @@ function confirm(): void {
moving.value = false;
hideLoading();
showToast('All transactions in this account has been moved.');
showToast('All transactions in this account have been moved.');
router.back();
}).catch(error => {
moving.value = false;
@@ -323,7 +323,7 @@
<number-pad-sheet :min-value="TRANSACTION_MIN_AMOUNT"
:max-value="TRANSACTION_MAX_AMOUNT"
:currency="currentAccountCurrency"
:hint="tt('Please enter the new closing balance for the account')"
:hint="tt('Please enter the new closing balance for this account')"
v-model:show="showNewClosingBalanceSheet"
v-model="newClosingBalance"
@update:model-value="updateClosingBalance"
@@ -82,7 +82,7 @@
</f7-list-item>
<f7-list-item>
<template #after-title>
{{ tt('Show Transaction Tag') }}
{{ tt('Show Transaction Tags') }}
</template>
<template #after>
<f7-toggle :checked="showTagInTransactionListPage" @toggle:change="showTagInTransactionListPage = $event"></f7-toggle>
+1 -1
View File
@@ -24,7 +24,7 @@
<f7-list strong inset dividers class="margin-top" v-if="!loading && noAvailableTemplate">
<f7-list-item :title="tt('No available template')"
:footer="tt('Once you add templates, you can long press the Add button on the home page to quickly add a new transaction')"
:footer="tt('Once you add templates, you can long-press the Add button on the home page to quickly add a new transaction')"
v-if="templateType === TemplateType.Normal.type"></f7-list-item>
<f7-list-item :title="tt('No available scheduled transactions')" v-else-if="templateType === TemplateType.Schedule.type"></f7-list-item>
<f7-list-item :title="tt('No available template')" v-else></f7-list-item>