This commit is contained in:
Florian Dupret 2020-05-16 15:01:19 +02:00
parent 7f8ed7abb6
commit e532b4d4fc
5 changed files with 17014 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -475,7 +475,7 @@
// if count is 0, send user onwards.
if (this.createAnother) {
// do message:
this.success_message = '<a href="transactions/show/' + groupId + '">Transaction #' + groupId + ' ("' + this.escapeHTML(title) + '")</a> has been stored.';
this.success_message = this.$t('firefly.transaction_stored_link', { ID: groupId });
this.error_message = '';
if (this.resetFormAfter) {
// also clear form.

View File

@ -656,10 +656,10 @@
this.setDefaultErrors();
// do message if update or new:
if (this.storeAsNew) {
this.success_message = '<a href="transactions/show/' + groupId + '">Transaction #' + groupId + '</a> has been created.';
this.success_message = this.$t('firefly.transaction_stored_link', { ID: groupId });
this.error_message = '';
} else {
this.success_message = '<a href="transactions/show/' + groupId + '">The transaction</a> has been updated.';
this.success_message = this.$t('firefly.transaction_updated_link', { ID: groupId });
this.error_message = '';
}
} else {

View File

@ -7,6 +7,8 @@
"split_transaction_title": "Description of the split transaction",
"errors_submission": "There was something wrong with your submission. Please check out the errors below.",
"split": "Split",
"transaction_stored_link": "<a href=\"transactions/show/{ID}\">Transaction #{ID}</a> has been stored.",
"transaction_updated_link": "<a href=\"transactions/show/{ID}\">Transaction #{ID}</a> has been updated.",
"transaction_journal_information": "Transaction information",
"no_budget_pointer": "You seem to have no budgets yet. You should create some on the <a href=\"\/budgets\">budgets<\/a>-page. Budgets can help you keep track of expenses.",
"source_account": "Source account",
@ -52,4 +54,4 @@
"config": {
"html_language": "en"
}
}
}