mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 16:54:25 +08:00
automatically detect file encoding when importing delimiter-separated values (DSV) file
This commit is contained in:
@@ -1443,6 +1443,7 @@
|
||||
"No results": "Keine Ergebnisse",
|
||||
"Unknown": "Unbekannt",
|
||||
"Auto detect": "Auto detect",
|
||||
"Detecting...": "Detecting...",
|
||||
"Miscellaneous": "Verschiedenes",
|
||||
"Default": "Standard",
|
||||
"Included": "Included",
|
||||
@@ -1896,6 +1897,7 @@
|
||||
"Data File": "Datendatei",
|
||||
"Data to import": "Data to import",
|
||||
"Please select a file to import": "Bitte wählen Sie eine Datei zum Importieren aus",
|
||||
"Unable to detect the file encoding automatically. Please select the actual encoding.": "Unable to detect the file encoding automatically. Please select the actual encoding.",
|
||||
"Include Header Line": "Include Header Line",
|
||||
"Time Format": "Time Format",
|
||||
"Transaction Type Mapping": "Transaction Type Mapping",
|
||||
|
||||
@@ -1443,6 +1443,7 @@
|
||||
"No results": "No results",
|
||||
"Unknown": "Unknown",
|
||||
"Auto detect": "Auto detect",
|
||||
"Detecting...": "Detecting...",
|
||||
"Miscellaneous": "Miscellaneous",
|
||||
"Default": "Default",
|
||||
"Included": "Included",
|
||||
@@ -1896,6 +1897,7 @@
|
||||
"Data File": "Data File",
|
||||
"Data to import": "Data to import",
|
||||
"Please select a file to import": "Please select a file to import",
|
||||
"Unable to detect the file encoding automatically. Please select the actual encoding.": "Unable to detect the file encoding automatically. Please select the actual encoding.",
|
||||
"Include Header Line": "Include Header Line",
|
||||
"Time Format": "Time Format",
|
||||
"Transaction Type Mapping": "Transaction Type Mapping",
|
||||
|
||||
@@ -1443,6 +1443,7 @@
|
||||
"No results": "Sin resultados",
|
||||
"Unknown": "Desconocido",
|
||||
"Auto detect": "Auto detect",
|
||||
"Detecting...": "Detecting...",
|
||||
"Miscellaneous": "Misceláneas",
|
||||
"Default": "Por defecto",
|
||||
"Included": "Included",
|
||||
@@ -1896,6 +1897,7 @@
|
||||
"Data File": "Archivo de datos",
|
||||
"Data to import": "Data to import",
|
||||
"Please select a file to import": "Please select a file to import",
|
||||
"Unable to detect the file encoding automatically. Please select the actual encoding.": "Unable to detect the file encoding automatically. Please select the actual encoding.",
|
||||
"Include Header Line": "Include Header Line",
|
||||
"Time Format": "Time Format",
|
||||
"Transaction Type Mapping": "Transaction Type Mapping",
|
||||
|
||||
@@ -1443,6 +1443,7 @@
|
||||
"No results": "Aucun résultat",
|
||||
"Unknown": "Inconnu",
|
||||
"Auto detect": "Détection automatique",
|
||||
"Detecting...": "Detecting...",
|
||||
"Miscellaneous": "Divers",
|
||||
"Default": "Par défaut",
|
||||
"Included": "Included",
|
||||
@@ -1896,6 +1897,7 @@
|
||||
"Data File": "Fichier de données",
|
||||
"Data to import": "Données à importer",
|
||||
"Please select a file to import": "Veuillez sélectionner un fichier à importer",
|
||||
"Unable to detect the file encoding automatically. Please select the actual encoding.": "Unable to detect the file encoding automatically. Please select the actual encoding.",
|
||||
"Include Header Line": "Inclure la ligne d'en-tête",
|
||||
"Time Format": "Format d'heure",
|
||||
"Transaction Type Mapping": "Mappage du type de transaction",
|
||||
|
||||
@@ -2140,6 +2140,10 @@ export function useI18n() {
|
||||
return ret;
|
||||
}
|
||||
|
||||
function getLocalizedFileEncodingName(encoding: string): string {
|
||||
return t(`encoding.${encoding}`);
|
||||
}
|
||||
|
||||
function getLocalizedOAuth2ProviderName(oauth2Provider: string, oidcDisplayNames: Record<string, string>): string {
|
||||
if (oauth2Provider === 'oidc') {
|
||||
const providerDisplayName = getServerMultiLanguageConfigContent(oidcDisplayNames);
|
||||
@@ -2452,6 +2456,7 @@ export function useI18n() {
|
||||
getAmountPrependAndAppendText,
|
||||
getCategorizedAccountsWithDisplayBalance,
|
||||
// other format functions
|
||||
getLocalizedFileEncodingName,
|
||||
getLocalizedOAuth2ProviderName,
|
||||
getLocalizedOAuth2LoginText,
|
||||
// localization setting functions
|
||||
|
||||
@@ -1443,6 +1443,7 @@
|
||||
"No results": "Nessun risultato",
|
||||
"Unknown": "Sconosciuto",
|
||||
"Auto detect": "Rilevamento automatico",
|
||||
"Detecting...": "Detecting...",
|
||||
"Miscellaneous": "Varie",
|
||||
"Default": "Predefinito",
|
||||
"Included": "Included",
|
||||
@@ -1896,6 +1897,7 @@
|
||||
"Data File": "File dati",
|
||||
"Data to import": "Dati da importare",
|
||||
"Please select a file to import": "Seleziona un file da importare",
|
||||
"Unable to detect the file encoding automatically. Please select the actual encoding.": "Unable to detect the file encoding automatically. Please select the actual encoding.",
|
||||
"Include Header Line": "Includi riga di intestazione",
|
||||
"Time Format": "Formato ora",
|
||||
"Transaction Type Mapping": "Mappatura tipo transazione",
|
||||
|
||||
@@ -1443,6 +1443,7 @@
|
||||
"No results": "結果はありません",
|
||||
"Unknown": "不明",
|
||||
"Auto detect": "自動検出",
|
||||
"Detecting...": "Detecting...",
|
||||
"Miscellaneous": "その他",
|
||||
"Default": "デフォルト",
|
||||
"Included": "Included",
|
||||
@@ -1896,6 +1897,7 @@
|
||||
"Data File": "データファイル",
|
||||
"Data to import": "インポートするデータ",
|
||||
"Please select a file to import": "インポートするファイルを選択してください",
|
||||
"Unable to detect the file encoding automatically. Please select the actual encoding.": "Unable to detect the file encoding automatically. Please select the actual encoding.",
|
||||
"Include Header Line": "ヘッダー行を含める",
|
||||
"Time Format": "時刻形式",
|
||||
"Transaction Type Mapping": "取引タイプのマッピング",
|
||||
|
||||
@@ -1443,6 +1443,7 @@
|
||||
"No results": "결과 없음",
|
||||
"Unknown": "알 수 없음",
|
||||
"Auto detect": "자동 감지",
|
||||
"Detecting...": "Detecting...",
|
||||
"Miscellaneous": "기타",
|
||||
"Default": "기본값",
|
||||
"Included": "Included",
|
||||
@@ -1896,6 +1897,7 @@
|
||||
"Data File": "데이터 파일",
|
||||
"Data to import": "가져올 데이터",
|
||||
"Please select a file to import": "가져올 파일을 선택하십시오",
|
||||
"Unable to detect the file encoding automatically. Please select the actual encoding.": "Unable to detect the file encoding automatically. Please select the actual encoding.",
|
||||
"Include Header Line": "헤더 행 포함",
|
||||
"Time Format": "시간 형식",
|
||||
"Transaction Type Mapping": "거래 유형 매핑",
|
||||
|
||||
@@ -1443,6 +1443,7 @@
|
||||
"No results": "Geen resultaten",
|
||||
"Unknown": "Onbekend",
|
||||
"Auto detect": "Automatisch detecteren",
|
||||
"Detecting...": "Detecting...",
|
||||
"Miscellaneous": "Diversen",
|
||||
"Default": "Standaard",
|
||||
"Included": "Included",
|
||||
@@ -1896,6 +1897,7 @@
|
||||
"Data File": "Gegevensbestand",
|
||||
"Data to import": "Te importeren gegevens",
|
||||
"Please select a file to import": "Selecteer een bestand om te importeren",
|
||||
"Unable to detect the file encoding automatically. Please select the actual encoding.": "Unable to detect the file encoding automatically. Please select the actual encoding.",
|
||||
"Include Header Line": "Kopregel opnemen",
|
||||
"Time Format": "Tijdsformaat",
|
||||
"Transaction Type Mapping": "Transactietypetoewijzing",
|
||||
|
||||
@@ -1443,6 +1443,7 @@
|
||||
"No results": "Sem resultados",
|
||||
"Unknown": "Desconhecido",
|
||||
"Auto detect": "Detecção automática",
|
||||
"Detecting...": "Detecting...",
|
||||
"Miscellaneous": "Diversos",
|
||||
"Default": "Padrão",
|
||||
"Included": "Included",
|
||||
@@ -1896,6 +1897,7 @@
|
||||
"Data File": "Arquivo de Dados",
|
||||
"Data to import": "Dados para importar",
|
||||
"Please select a file to import": "Por favor, selecione um arquivo para importar",
|
||||
"Unable to detect the file encoding automatically. Please select the actual encoding.": "Unable to detect the file encoding automatically. Please select the actual encoding.",
|
||||
"Include Header Line": "Incluir Linha de Cabeçalho",
|
||||
"Time Format": "Formato de Tempo",
|
||||
"Transaction Type Mapping": "Mapeamento de Tipo de Transação",
|
||||
|
||||
@@ -1443,6 +1443,7 @@
|
||||
"No results": "Нет результатов",
|
||||
"Unknown": "Неизвестно",
|
||||
"Auto detect": "Auto detect",
|
||||
"Detecting...": "Detecting...",
|
||||
"Miscellaneous": "Разное",
|
||||
"Default": "По умолчанию",
|
||||
"Included": "Included",
|
||||
@@ -1896,6 +1897,7 @@
|
||||
"Data File": "Файл данных",
|
||||
"Data to import": "Data to import",
|
||||
"Please select a file to import": "Please select a file to import",
|
||||
"Unable to detect the file encoding automatically. Please select the actual encoding.": "Unable to detect the file encoding automatically. Please select the actual encoding.",
|
||||
"Include Header Line": "Include Header Line",
|
||||
"Time Format": "Time Format",
|
||||
"Transaction Type Mapping": "Transaction Type Mapping",
|
||||
|
||||
@@ -1443,6 +1443,7 @@
|
||||
"No results": "ไม่มีผลลัพธ์",
|
||||
"Unknown": "ไม่ทราบ",
|
||||
"Auto detect": "ตรวจสอบอัตโนมัติ",
|
||||
"Detecting...": "Detecting...",
|
||||
"Miscellaneous": "อื่น ๆ",
|
||||
"Default": "ค่าเริ่มต้น",
|
||||
"Included": "Included",
|
||||
@@ -1896,6 +1897,7 @@
|
||||
"Data File": "ไฟล์ข้อมูล",
|
||||
"Data to import": "ข้อมูลที่จะนำเข้า",
|
||||
"Please select a file to import": "กรุณาเลือกไฟล์เพื่อนำเข้า",
|
||||
"Unable to detect the file encoding automatically. Please select the actual encoding.": "Unable to detect the file encoding automatically. Please select the actual encoding.",
|
||||
"Include Header Line": "รวมแถวหัวตาราง",
|
||||
"Time Format": "รูปแบบเวลา",
|
||||
"Transaction Type Mapping": "การแมปประเภทรายการ",
|
||||
|
||||
@@ -1443,6 +1443,7 @@
|
||||
"No results": "Немає результатів",
|
||||
"Unknown": "Невідомо",
|
||||
"Auto detect": "Автовизначення",
|
||||
"Detecting...": "Detecting...",
|
||||
"Miscellaneous": "Різне",
|
||||
"Default": "По замовчуванню",
|
||||
"Included": "Included",
|
||||
@@ -1896,6 +1897,7 @@
|
||||
"Data File": "Файл даних",
|
||||
"Data to import": "Дані для імпорту",
|
||||
"Please select a file to import": "Будь ласка, виберіть файл для імпорту",
|
||||
"Unable to detect the file encoding automatically. Please select the actual encoding.": "Unable to detect the file encoding automatically. Please select the actual encoding.",
|
||||
"Include Header Line": "Включити рядок заголовка",
|
||||
"Time Format": "Формат часу",
|
||||
"Transaction Type Mapping": "Відповідність типів транзакцій",
|
||||
|
||||
@@ -1443,6 +1443,7 @@
|
||||
"No results": "Không có kết quả",
|
||||
"Unknown": "Không rõ",
|
||||
"Auto detect": "Auto detect",
|
||||
"Detecting...": "Detecting...",
|
||||
"Miscellaneous": "Linh tinh",
|
||||
"Default": "Mặc định",
|
||||
"Included": "Included",
|
||||
@@ -1896,6 +1897,7 @@
|
||||
"Data File": "Tệp dữ liệu",
|
||||
"Data to import": "Data to import",
|
||||
"Please select a file to import": "Please select a file to import",
|
||||
"Unable to detect the file encoding automatically. Please select the actual encoding.": "Unable to detect the file encoding automatically. Please select the actual encoding.",
|
||||
"Include Header Line": "Include Header Line",
|
||||
"Time Format": "Time Format",
|
||||
"Transaction Type Mapping": "Transaction Type Mapping",
|
||||
|
||||
@@ -1443,6 +1443,7 @@
|
||||
"No results": "无结果",
|
||||
"Unknown": "未知",
|
||||
"Auto detect": "自动检测",
|
||||
"Detecting...": "正在检测...",
|
||||
"Miscellaneous": "杂项",
|
||||
"Default": "默认",
|
||||
"Included": "包含",
|
||||
@@ -1896,6 +1897,7 @@
|
||||
"Data File": "数据文件",
|
||||
"Data to import": "要导入的数据",
|
||||
"Please select a file to import": "请选择要导入的文件",
|
||||
"Unable to detect the file encoding automatically. Please select the actual encoding.": "无法自动检测文件编码。请选择实际的编码。",
|
||||
"Include Header Line": "包含标题行",
|
||||
"Time Format": "时间格式",
|
||||
"Amount Format": "金额格式",
|
||||
|
||||
@@ -1443,6 +1443,7 @@
|
||||
"No results": "無結果",
|
||||
"Unknown": "未知",
|
||||
"Auto detect": "自動偵測",
|
||||
"Detecting...": "正在偵測...",
|
||||
"Miscellaneous": "雜項",
|
||||
"Default": "預設",
|
||||
"Included": "包含",
|
||||
@@ -1896,6 +1897,7 @@
|
||||
"Data File": "資料檔案",
|
||||
"Data to import": "要匯入的資料",
|
||||
"Please select a file to import": "請選擇要匯入的檔案",
|
||||
"Unable to detect the file encoding automatically. Please select the actual encoding.": "無法自動偵測檔案編碼。請選擇實際的編碼。",
|
||||
"Include Header Line": "包含標頭列",
|
||||
"Time Format": "時間格式",
|
||||
"Amount Format": "金額格式",
|
||||
|
||||
Reference in New Issue
Block a user