mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 07:57:33 +08:00
scheduled transaction supports start time and end time (#36)
This commit is contained in:
@@ -1123,6 +1123,7 @@
|
||||
"scheduled transaction is not enabled": "Geplante Transaktion ist nicht aktiviert",
|
||||
"scheduled transaction frequency is invalid": "Häufigkeit der geplanten Transaktion ist ungültig",
|
||||
"transaction template has too many tags": "Transaktionsvorlage hat zu viele Tags",
|
||||
"scheduled transaction start date is later than end time": "Scheduled transaction start date is later than end time",
|
||||
"transaction picture id is invalid": "Transaktionsbild-ID ist ungültig",
|
||||
"transaction picture not found": "Transaktionsbild nicht gefunden",
|
||||
"no transaction picture": "Kein Transaktionsbild vorhanden",
|
||||
@@ -1289,6 +1290,8 @@
|
||||
"Previous Billing Cycle": "Vorheriger Abrechnungszeitraum",
|
||||
"Current Billing Cycle": "Aktueller Abrechnungszeitraum",
|
||||
"Custom Date": "Benutzerdefiniertes Datum",
|
||||
"Start Date": "Start Date",
|
||||
"End Date": "End Date",
|
||||
"Start Time": "Startzeit",
|
||||
"End Time": "Endzeit",
|
||||
"Select Date": "Datum auswählen",
|
||||
|
||||
@@ -1123,6 +1123,7 @@
|
||||
"scheduled transaction is not enabled": "Scheduled transaction is not enabled",
|
||||
"scheduled transaction frequency is invalid": "Scheduled transaction frequency is invalid",
|
||||
"transaction template has too many tags": "There are too many tags in this transaction template",
|
||||
"scheduled transaction start date is later than end time": "Scheduled transaction start date is later than end time",
|
||||
"transaction picture id is invalid": "Transaction picture ID is invalid",
|
||||
"transaction picture not found": "Transaction picture is not found",
|
||||
"no transaction picture": "There is no transaction picture file",
|
||||
@@ -1289,6 +1290,8 @@
|
||||
"Previous Billing Cycle": "Previous Billing Cycle",
|
||||
"Current Billing Cycle": "Current Billing Cycle",
|
||||
"Custom Date": "Custom Date",
|
||||
"Start Date": "Start Date",
|
||||
"End Date": "End Date",
|
||||
"Start Time": "Start Time",
|
||||
"End Time": "End Time",
|
||||
"Select Date": "Select Date",
|
||||
|
||||
@@ -1123,6 +1123,7 @@
|
||||
"scheduled transaction is not enabled": "La transacción programada no está habilitada",
|
||||
"scheduled transaction frequency is invalid": "La frecuencia de transacción programada no es válida",
|
||||
"transaction template has too many tags": "Hay demasiadas etiquetas en esta plantilla de transacción",
|
||||
"scheduled transaction start date is later than end time": "Scheduled transaction start date is later than end time",
|
||||
"transaction picture id is invalid": "El ID de la imagen de la transacción no es válido",
|
||||
"transaction picture not found": "No se encuentra la imagen de la transacción",
|
||||
"no transaction picture": "No hay ningún archivo de imagen de transacción.",
|
||||
@@ -1289,6 +1290,8 @@
|
||||
"Previous Billing Cycle": "Ciclo de facturación anterior",
|
||||
"Current Billing Cycle": "Ciclo de facturación actual",
|
||||
"Custom Date": "Fecha personalizada",
|
||||
"Start Date": "Start Date",
|
||||
"End Date": "End Date",
|
||||
"Start Time": "Hora de inicio",
|
||||
"End Time": "Hora de finalización",
|
||||
"Select Date": "Seleccionar fecha",
|
||||
|
||||
@@ -117,6 +117,7 @@ import {
|
||||
isPM,
|
||||
formatUnixTime,
|
||||
formatCurrentTime,
|
||||
formatDate,
|
||||
parseDateFromUnixTime,
|
||||
getYear,
|
||||
getTimezoneOffset,
|
||||
@@ -1297,6 +1298,10 @@ export function useI18n() {
|
||||
return getLocalizedDateTimeType(ShortTimeFormat.all(), ShortTimeFormat.values(), userStore.currentUserShortTimeFormat, 'shortTimeFormat', ShortTimeFormat.Default).isMeridiemIndicatorFirst || false;
|
||||
}
|
||||
|
||||
function formatDateToLongDate(date: string): string {
|
||||
return formatDate(date, getLocalizedLongDateFormat());
|
||||
}
|
||||
|
||||
function formatYearQuarter(year: number, quarter: number): string {
|
||||
if (1 <= quarter && quarter <= 4) {
|
||||
return t('format.yearQuarter.q' + quarter, {
|
||||
@@ -1713,6 +1718,7 @@ export function useI18n() {
|
||||
formatUnixTimeToShortMonthDay: (unixTime: number, utcOffset?: number, currentUtcOffset?: number) => formatUnixTime(unixTime, getLocalizedShortMonthDayFormat(), utcOffset, currentUtcOffset),
|
||||
formatUnixTimeToLongTime: (unixTime: number, utcOffset?: number, currentUtcOffset?: number) => formatUnixTime(unixTime, getLocalizedLongTimeFormat(), utcOffset, currentUtcOffset),
|
||||
formatUnixTimeToShortTime: (unixTime: number, utcOffset?: number, currentUtcOffset?: number) => formatUnixTime(unixTime, getLocalizedShortTimeFormat(), utcOffset, currentUtcOffset),
|
||||
formatDateToLongDate,
|
||||
formatYearQuarter,
|
||||
formatDateRange,
|
||||
getTimezoneDifferenceDisplayText,
|
||||
|
||||
@@ -1123,6 +1123,7 @@
|
||||
"scheduled transaction is not enabled": "Запланированная транзакция не включена",
|
||||
"scheduled transaction frequency is invalid": "Частота запланированной транзакции недействительна",
|
||||
"transaction template has too many tags": "Слишком много тегов в этом шаблоне транзакции",
|
||||
"scheduled transaction start date is later than end time": "Scheduled transaction start date is later than end time",
|
||||
"transaction picture id is invalid": "ID изображения транзакции недействителен",
|
||||
"transaction picture not found": "Изображение транзакции не найдено",
|
||||
"no transaction picture": "Нет файла изображения транзакции",
|
||||
@@ -1289,6 +1290,8 @@
|
||||
"Previous Billing Cycle": "Предыдущий расчетный период",
|
||||
"Current Billing Cycle": "Текущий расчетный период",
|
||||
"Custom Date": "Выбрать дату",
|
||||
"Start Date": "Start Date",
|
||||
"End Date": "End Date",
|
||||
"Start Time": "Время начала",
|
||||
"End Time": "Время окончания",
|
||||
"Select Date": "Выбрать дату",
|
||||
|
||||
@@ -1123,6 +1123,7 @@
|
||||
"scheduled transaction is not enabled": "Giao dịch theo lịch trình chưa được bật",
|
||||
"scheduled transaction frequency is invalid": "Tần suất giao dịch theo lịch trình không hợp lệ",
|
||||
"transaction template has too many tags": "Có quá nhiều thẻ trong mẫu giao dịch này",
|
||||
"scheduled transaction start date is later than end time": "Scheduled transaction start date is later than end time",
|
||||
"transaction picture id is invalid": "ID ảnh giao dịch không hợp lệ",
|
||||
"transaction picture not found": "Không tìm thấy ảnh giao dịch",
|
||||
"no transaction picture": "Không có tệp ảnh giao dịch",
|
||||
@@ -1289,6 +1290,8 @@
|
||||
"Previous Billing Cycle": "Previous Billing Cycle",
|
||||
"Current Billing Cycle": "Current Billing Cycle",
|
||||
"Custom Date": "Ngày tùy chỉnh",
|
||||
"Start Date": "Start Date",
|
||||
"End Date": "End Date",
|
||||
"Start Time": "Thời gian bắt đầu",
|
||||
"End Time": "Thời gian kết thúc",
|
||||
"Select Date": "Chọn ngày",
|
||||
|
||||
@@ -1123,6 +1123,7 @@
|
||||
"scheduled transaction is not enabled": "定时交易没有启用",
|
||||
"scheduled transaction frequency is invalid": "定时交易周期无效",
|
||||
"transaction template has too many tags": "交易模板中的标签过多",
|
||||
"scheduled transaction start date is later than end time": "定时交易开始时间晚于结束时间",
|
||||
"transaction picture id is invalid": "交易图片ID无效",
|
||||
"transaction picture not found": "交易图片不存在",
|
||||
"no transaction picture": "没有交易图片文件",
|
||||
@@ -1289,6 +1290,8 @@
|
||||
"Previous Billing Cycle": "上个账单周期",
|
||||
"Current Billing Cycle": "当前账单周期",
|
||||
"Custom Date": "自定义日期",
|
||||
"Start Date": "开始日期",
|
||||
"End Date": "结束日期",
|
||||
"Start Time": "开始时间",
|
||||
"End Time": "结束时间",
|
||||
"Select Date": "选择日期",
|
||||
|
||||
Reference in New Issue
Block a user