mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 16:54:25 +08:00
support custom script to process delimiter-separated values (data) file / data
This commit is contained in:
@@ -117,6 +117,7 @@
|
||||
"youHaveAccounts": "Você registrou {count} contas",
|
||||
"addNewTag": "Adicionar nova etiqueta \"{tag}\"",
|
||||
"clickToSelectedFile": "Clique para selecionar arquivo de importação ({extensions})",
|
||||
"previewCount": "Preview Count: {count}",
|
||||
"selectedCount": "Selecionado {count} de {totalCount}",
|
||||
"youHaveUpdatedTransactions": "Você atualizou {count} transações",
|
||||
"confirmImportTransactions": "Tem certeza de que deseja importar {count} transações?",
|
||||
@@ -134,6 +135,7 @@
|
||||
"defaultExportReconciliationStatementsFileName": "ezBookkeeping_reconciliation_statements",
|
||||
"exportReconciliationStatementsFileName": "ezBookkeeping_{nickname}_reconciliation_statements",
|
||||
"defaultImportDataMappingFileName": "ezBookkeeping_import_data_mapping",
|
||||
"defaultImportHandlingScript": "ezBookkeeping_handling_script",
|
||||
"defaultImportReplaceRuleFileName": "ezBookkeeping_import_replace_rule"
|
||||
},
|
||||
"calendar": {
|
||||
@@ -1217,6 +1219,7 @@
|
||||
"invalid amount expression": "Expressão de valor é inválida",
|
||||
"invalid xml file": "Arquivo XML inválido",
|
||||
"invalid mt940 file": "Arquivo MT940 inválido",
|
||||
"invalid json file": "Invalid JSON file",
|
||||
"user custom exchange rate data not found": "Dados de taxa de câmbio personalizados do usuário não encontrados",
|
||||
"cannot update exchange rate data for base currency": "Não é possível atualizar dados de taxa de câmbio para a moeda base",
|
||||
"cannot delete exchange rate data for base currency": "Não é possível excluir dados de taxa de câmbio para a moeda base",
|
||||
@@ -1349,6 +1352,26 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"sample": {
|
||||
"importTransactionCustomScript": {
|
||||
"headerComment": "Example script:",
|
||||
"functionDescription": "The parse function will be called for each row of the parsed file data, and the function name must be 'parse'",
|
||||
"functionParamRowDescription": "An array of string, each element is a column value",
|
||||
"functionParamIndexDescription": "The row index (0-based)",
|
||||
"functionReturnDescription": "An object representing a transaction (with the fields defined below), or null to skip this row",
|
||||
"fieldTimeDescription": "[required] Transaction time, format: YYYY-MM-DD HH:mm:ss",
|
||||
"fieldUtcOffsetDescription": "[required] Transaction timezone offset in minutes, e.g. '480' for UTC+8, '-300' for UTC-5",
|
||||
"fieldTypeDescription": "[required] Transaction type, must be one of 'TransactionType.Income', 'TransactionType.Expense' or 'TransactionType.Transfer'",
|
||||
"fieldCategoryNameDescription": "[optional] Category name",
|
||||
"fieldSourceAccountNameDescription": "[optional] Source account name",
|
||||
"fieldDestinationAccountNameDescription": "[optional] Destination account name (for transfer type only)",
|
||||
"fieldSourceAmountDescription": "[required] Source amount",
|
||||
"fieldDestinationAmountDescription": "[optional] Destination amount (for transfer type only)",
|
||||
"fieldGeoLocationDescription": "[optional] Geolocation, format: 'longitude latitude', e.g. '116.3912972 39.9057136'",
|
||||
"fieldTagNamesDescription": "[optional] Comma separated tag names, e.g. 'tag1;tag2;tag3'",
|
||||
"fieldCommentDescription": "[optional] Description"
|
||||
}
|
||||
},
|
||||
"OK": "OK",
|
||||
"Cancel": "Cancelar",
|
||||
"Operation": "Operação",
|
||||
@@ -1777,6 +1800,11 @@
|
||||
"Alipay (Web) Statement File": "Alipay (Web) Statement File",
|
||||
"WeChat Pay Statement File": "WeChat Pay Statement File",
|
||||
"JD.com Finance Statement File": "JD.com Finance Statement File",
|
||||
"Handling Method": "Handling Method",
|
||||
"Column Mapping": "Column Mapping",
|
||||
"Custom Script": "Custom Script",
|
||||
"Execute Custom Script": "Execute Custom Script",
|
||||
"Execute Custom Script to Parse Data": "Execute Custom Script to Parse Data",
|
||||
"Data File": "Arquivo de Dados",
|
||||
"Data to import": "Dados para importar",
|
||||
"Please select a file to import": "Por favor, selecione um arquivo para importar",
|
||||
@@ -1799,6 +1827,14 @@
|
||||
"Load Data Mapping File": "Load Data Mapping File",
|
||||
"Save Data Mapping File": "Save Data Mapping File",
|
||||
"Data mapping file is invalid": "Data mapping file is invalid",
|
||||
"Load Script File": "Load Script File",
|
||||
"Save Script File": "Save Script File",
|
||||
"Cannot load script file": "Cannot load script file",
|
||||
"No Preview Result": "No Preview Result",
|
||||
"Please execute the custom script first": "Please execute the custom script first",
|
||||
"Executing Script...": "Executing Script...",
|
||||
"No parse function defined": "No parse function defined",
|
||||
"Failed to execute custom script": "Failed to execute custom script",
|
||||
"Batch Replace Selected Expense Categories": "Substituir em Lote as Categorias de Despesas Selecionadas",
|
||||
"Batch Replace Selected Income Categories": "Substituir em Lote as Categorias de Renda Selecionadas",
|
||||
"Batch Replace Selected Transfer Categories": "Substituir em Lote as Categorias de Transferência Selecionadas",
|
||||
|
||||
Reference in New Issue
Block a user