change the text of the unset start and end time in scheduled transaction
This commit is contained in:
@@ -55,6 +55,7 @@ const props = defineProps<{
|
||||
readonly?: boolean;
|
||||
clearable?: boolean;
|
||||
label?: string;
|
||||
noDataText?: string;
|
||||
}>();
|
||||
|
||||
const emit = defineEmits<{
|
||||
@@ -83,6 +84,8 @@ const isYearFirst = computed<boolean>(() => isLongDateMonthAfterYear());
|
||||
const displayTime = computed<string>(() => {
|
||||
if (props.modelValue) {
|
||||
return formatDateToLongDate(props.modelValue);
|
||||
} else if (props.noDataText) {
|
||||
return props.noDataText;
|
||||
} else {
|
||||
return tt('Unspecified');
|
||||
}
|
||||
|
||||
@@ -1331,6 +1331,7 @@
|
||||
"None": "Keine",
|
||||
"Unspecified": "Nicht angegeben",
|
||||
"Not set": "Nicht festgelegt",
|
||||
"No limit": "No limit",
|
||||
"No results": "Keine Ergebnisse",
|
||||
"Unknown": "Unbekannt",
|
||||
"Auto detect": "Auto detect",
|
||||
|
||||
@@ -1331,6 +1331,7 @@
|
||||
"None": "None",
|
||||
"Unspecified": "Unspecified",
|
||||
"Not set": "Not set",
|
||||
"No limit": "No limit",
|
||||
"No results": "No results",
|
||||
"Unknown": "Unknown",
|
||||
"Auto detect": "Auto detect",
|
||||
|
||||
@@ -1331,6 +1331,7 @@
|
||||
"None": "Ninguno",
|
||||
"Unspecified": "No especificado",
|
||||
"Not set": "No establecido",
|
||||
"No limit": "No limit",
|
||||
"No results": "Sin resultados",
|
||||
"Unknown": "Desconocido",
|
||||
"Auto detect": "Auto detect",
|
||||
|
||||
@@ -1331,6 +1331,7 @@
|
||||
"None": "Nessuno",
|
||||
"Unspecified": "Non specificato",
|
||||
"Not set": "Non impostato",
|
||||
"No limit": "No limit",
|
||||
"No results": "Nessun risultato",
|
||||
"Unknown": "Sconosciuto",
|
||||
"Auto detect": "Rilevamento automatico",
|
||||
|
||||
@@ -1331,6 +1331,7 @@
|
||||
"None": "なし",
|
||||
"Unspecified": "不特定",
|
||||
"Not set": "セットしていない",
|
||||
"No limit": "No limit",
|
||||
"No results": "結果はありません",
|
||||
"Unknown": "不明",
|
||||
"Auto detect": "自動検出",
|
||||
|
||||
@@ -1331,6 +1331,7 @@
|
||||
"None": "Nenhum",
|
||||
"Unspecified": "Não especificado",
|
||||
"Not set": "Não definido",
|
||||
"No limit": "No limit",
|
||||
"No results": "Sem resultados",
|
||||
"Unknown": "Desconhecido",
|
||||
"Auto detect": "Detecção automática",
|
||||
|
||||
@@ -1331,6 +1331,7 @@
|
||||
"None": "Нет",
|
||||
"Unspecified": "Не указано",
|
||||
"Not set": "Не установлено",
|
||||
"No limit": "No limit",
|
||||
"No results": "Нет результатов",
|
||||
"Unknown": "Неизвестно",
|
||||
"Auto detect": "Auto detect",
|
||||
|
||||
@@ -1331,6 +1331,7 @@
|
||||
"None": "Немає",
|
||||
"Unspecified": "Не вказано",
|
||||
"Not set": "Не встановлено",
|
||||
"No limit": "No limit",
|
||||
"No results": "Немає результатів",
|
||||
"Unknown": "Невідомо",
|
||||
"Auto detect": "Автовизначення",
|
||||
|
||||
@@ -1331,6 +1331,7 @@
|
||||
"None": "Không có",
|
||||
"Unspecified": "Không xác định",
|
||||
"Not set": "Not set",
|
||||
"No limit": "No limit",
|
||||
"No results": "Không có kết quả",
|
||||
"Unknown": "Không rõ",
|
||||
"Auto detect": "Auto detect",
|
||||
|
||||
@@ -1331,6 +1331,7 @@
|
||||
"None": "无",
|
||||
"Unspecified": "未指定",
|
||||
"Not set": "未设置",
|
||||
"No limit": "无限制",
|
||||
"No results": "无结果",
|
||||
"Unknown": "未知",
|
||||
"Auto detect": "自动检测",
|
||||
|
||||
@@ -1331,6 +1331,7 @@
|
||||
"None": "無",
|
||||
"Unspecified": "未指定",
|
||||
"Not set": "未設置",
|
||||
"No limit": "無限制",
|
||||
"No results": "無結果",
|
||||
"Unknown": "未知",
|
||||
"Auto detect": "自動偵測",
|
||||
|
||||
@@ -258,6 +258,7 @@
|
||||
:disabled="loading || submitting"
|
||||
:clearable="true"
|
||||
:label="tt('Start Date')"
|
||||
:no-data-text="tt('No limit')"
|
||||
v-model="transaction.scheduledStartDate" />
|
||||
</v-col>
|
||||
<v-col cols="12" md="6" v-if="type === TransactionEditPageType.Template && transaction instanceof TransactionTemplate && transaction.templateType === TemplateType.Schedule.type">
|
||||
@@ -266,6 +267,7 @@
|
||||
:disabled="loading || submitting"
|
||||
:clearable="true"
|
||||
:label="tt('End Date')"
|
||||
:no-data-text="tt('No limit')"
|
||||
v-model="transaction.scheduledEndDate" />
|
||||
</v-col>
|
||||
<v-col cols="12" md="12" v-if="type === TransactionEditPageType.Transaction">
|
||||
|
||||
@@ -756,7 +756,7 @@ const transactionDisplayScheduledStartDate = computed<string>(() => {
|
||||
if (template.scheduledStartDate) {
|
||||
return formatDateToLongDate(template.scheduledStartDate);
|
||||
} else {
|
||||
return tt('Unspecified');
|
||||
return tt('No limit');
|
||||
}
|
||||
});
|
||||
|
||||
@@ -770,7 +770,7 @@ const transactionDisplayScheduledEndDate = computed<string>(() => {
|
||||
if (template.scheduledEndDate) {
|
||||
return formatDateToLongDate(template.scheduledEndDate);
|
||||
} else {
|
||||
return tt('Unspecified');
|
||||
return tt('No limit');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user