Rebuild frontend, first working edit form (with feedback)

This commit is contained in:
James Cole 2021-03-21 20:38:44 +01:00
parent 1088a43866
commit 4affed8f68
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D
31 changed files with 260 additions and 70 deletions

View File

@ -116,5 +116,10 @@ class InterestingMessage
session()->flash('success_uri', route('transactions.show', [$transactionGroupId]));
session()->flash('success', (string)trans(sprintf('firefly.updated_%s', $type), ['description' => $title]));
}
if('no_change' === $message) {
$type = strtolower($journal->transactionType->type);
session()->flash('warning_uri', route('transactions.show', [$transactionGroupId]));
session()->flash('warning', (string)trans(sprintf('firefly.no_changes_%s', $type), ['description' => $title]));
}
}
}

View File

@ -22,6 +22,7 @@
<div>
<Alert :message="errorMessage" type="danger"/>
<Alert :message="successMessage" type="success"/>
<Alert :message="warningMessage" type="warning"/>
<SplitPills :transactions="transactions"/>
<div class="tab-content">
@ -93,8 +94,8 @@
</div>
<div class="col">
<div class="form-check">
<input id="createAnother" v-model="createAnother" class="form-check-input" type="checkbox">
<label class="form-check-label" for="createAnother">
<input id="stayHere" v-model="stayHere" class="form-check-input" type="checkbox">
<label class="form-check-label" for="stayHere">
<span class="small">{{ $t('firefly.after_update_create_another') }}</span>
</label>
</div>
@ -129,6 +130,7 @@ export default {
return {
successMessage: '',
errorMessage: '',
warningMessage: '',
// transaction props
transactions: [],
@ -158,6 +160,7 @@ export default {
submittedTransaction: false,
submittedLinks: false,
submittedAttachments: false,
inError: false,
// meta data for accounts
allowedOpposingTypes: {},
@ -166,8 +169,7 @@ export default {
// states for the form (makes sense right)
enableSubmit: true,
createAnother: false,
resetFormAfter: false,
stayHere: false,
}
},
@ -177,6 +179,22 @@ export default {
SplitForm,
TransactionGroupTitle
},
watch: {
submittedTransaction: function () {
// see finalizeSubmit()
this.finalizeSubmit();
},
submittedLinks: function () {
// see finalizeSubmit()
this.finalizeSubmit();
},
submittedAttachments: function () {
// see finalizeSubmit()
this.finalizeSubmit();
}
},
methods: {
/**
* Grap transaction group from URL and submit GET.
@ -534,16 +552,30 @@ export default {
}
console.log('submitTransaction');
console.log(shouldUpload);
console.log(shouldLinks);
console.log(shouldSubmit);
console.log('shouldUpload : ' + shouldUpload);
console.log('shouldLinks : ' + shouldLinks);
console.log('shouldSubmit : ' + shouldSubmit);
if (shouldSubmit) {
this.submitUpdate(submission, shouldLinks, shouldUpload);
}
if (!shouldSubmit) {
this.submittedTransaction = true;
}
if (!shouldLinks) {
this.submittedLinks = true;
}
if (!shouldUpload) {
this.submittedAttachments = true;
}
if (!shouldSubmit && shouldLinks) {
this.submitTransactionLinks();
}
if (!shouldSubmit && shouldLinks) {
// TODO
//this.submittedAttachments();
}
console.log('Done with submit methd.');
//console.log(submission);
},
compareLinks: function (array) {
@ -568,6 +600,7 @@ export default {
},
submitUpdate: function (submission, shouldLinks, shouldUpload) {
console.log('submitUpdate');
this.inError = false;
const url = './api/v1/transactions/' + this.groupId;
console.log(submission);
axios.put(url, submission)
@ -584,11 +617,14 @@ export default {
if (!shouldLinks) {
console.log('No need to update links.');
}
// TODO attachments:
// this.submitAttachments(data, response);
//
// // meanwhile, store the ID and the title in some easy to access variables.
// this.returnedGroupId = parseInt(response.data.data.id);
// this.returnedGroupTitle = null === response.data.data.attributes.group_title ? response.data.data.attributes.transactions[0].description : response.data.data.attributes.group_title;
this.returnedGroupId = parseInt(response.data.data.id);
this.returnedGroupTitle = null === response.data.data.attributes.group_title ? response.data.data.attributes.transactions[0].description : response.data.data.attributes.group_title;
}
)
.catch(error => {
@ -763,43 +799,11 @@ export default {
}));
}
}
// shouldLinks = true;
}
}
}
return;
let result = response.data.data.attributes.transactions;
// for (let i in data.transactions) {
// if (data.transactions.hasOwnProperty(i) && /^0$|^[1-9]\d*$/.test(i) && i <= 4294967294) {
// let submitted = data.transactions[i];
// if (result.hasOwnProperty(i)) {
// // found matching created transaction.
// let received = result[i];
// // grab ID from received, loop "submitted" transaction links
// for (let ii in submitted.links) {
// if (submitted.links.hasOwnProperty(ii) && /^0$|^[1-9]\d*$/.test(ii) && ii <= 4294967294) {
// let currentLink = submitted.links[ii];
// total++;
// if (0 === currentLink.outward_id) {
// currentLink.outward_id = received.transaction_journal_id;
// }
// if (0 === currentLink.inward_id) {
// currentLink.inward_id = received.transaction_journal_id;
// }
// // submit transaction link:
// promises.push(axios.post('./api/v1/transaction_links', currentLink).then(response => {
// // TODO error handling.
// }));
// }
// }
// }
// }
// }
if (0 === total) {
this.submittedLinks = true;
return;
@ -808,6 +812,66 @@ export default {
this.submittedLinks = true;
});
},
finalizeSubmit: function () {
console.log('now in finalizeSubmit()');
console.log('submittedTransaction : ' + this.submittedTransaction);
console.log('submittedLinks : ' + this.submittedLinks);
console.log('submittedAttachments : ' + this.submittedAttachments);
if (this.submittedTransaction && this.submittedAttachments && this.submittedLinks) {
console.log('all true');
console.log('inError = ' + this.inError);
console.log('stayHere = ' + this.stayHere);
console.log('returnedGroupId = ' + this.returnedGroupId);
// no error + no changes + no redirect
if (true === this.stayHere && false === this.inError && 0 === this.returnedGroupId) {
console.log('no error + no changes + no redirect');
// show message:
this.errorMessage = '';
this.successMessage = '';
// maybe nothing changed in post
this.warningMessage = this.$t('firefly.transaction_updated_no_changes', {ID: this.returnedGroupId, title: this.returnedGroupTitle});
}
// no error + no changes + redirect
if (false === this.stayHere && false === this.inError && 0 === this.returnedGroupId) {
console.log('no error + no changes + redirect');
window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=no_change';
}
// no error + changes + no redirect
if (true === this.stayHere && false === this.inError && 0 !== this.returnedGroupId) {
console.log('no error + changes + redirect');
// show message:
this.errorMessage = '';
this.warningMessage = '';
// maybe nothing changed in post
this.successMessage = this.$t('firefly.transaction_updated_link', {ID: this.returnedGroupId, title: this.returnedGroupTitle});
}
// no error + changes + redirect
if (false === this.stayHere && false === this.inError && 0 !== this.returnedGroupId) {
console.log('no error + changes + redirect');
window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=updated';
}
console.log('end of the line');
// enable flags:
this.enableSubmit = true;
this.submittedTransaction = false;
this.submittedLinks = false;
this.submittedAttachments = false;
this.inError = false;
// reset attachments (always do this)
for (let i in this.transactions) {
if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\d*$/.test(i) && i <= 4294967294) {
if (this.transactions.hasOwnProperty(i)) {
// TODO
}
}
}
}
}
}
}
</script>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@
"split": "Split",
"single_split": "Split",
"transaction_stored_link": "<a href=\"transactions\/show\/{ID}\">Transaction #{ID} (\"{title}\")<\/a> has been stored.",
"transaction_updated_link": "<a href=\"transactions\/show\/{ID}\">Transaction #{ID}<\/a> has been updated.",
"transaction_updated_link": "<a href=\"transactions\/show\/{ID}\">Transaction #{ID}<\/a> (\"{title}\") has been updated.",
"transaction_new_stored_link": "<a href=\"transactions\/show\/{ID}\">Transaction #{ID}<\/a> has been stored.",
"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.",

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Тегленето ":description" бе обновено',
'updated_deposit' => 'Депозитът ":description" бе обновен',
'updated_transfer' => 'Прехвърлянето ":description" бе обновено',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Изтрий тегленето ":description"',
'delete_deposit' => 'Изтрий депозита ":description"',
'delete_transfer' => 'Изтрий прехвърлянето ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Тази транзакция е свързана със сметка <a href=":route">:name </a>. За да изтриете връзката, премахнете отметката от квадратчето. Използвайте правила, за да я свържете с друга сметка.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Транзакция #{ID}("{title}")</a> беше записана.',
'transaction_new_stored_link' => '<a href="transactions/show/{ID}">Транзакция #{ID}</a> беше записана.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Транзакция #{ID}</a> беше обновена.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'The first split determines the value of this field',
'first_split_overrules_source' => 'The first split may overrule the source account',
'first_split_overrules_destination' => 'The first split may overrule the destination account',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Aktualizován výběr „:description“',
'updated_deposit' => 'Aktualizován vklad „:description“',
'updated_transfer' => 'Aktualizován převod „:description“',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Smazat výběr „:description“',
'delete_deposit' => 'Smazat vklad „:description“',
'delete_transfer' => 'Smazat převod „:description“',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'This transaction is linked to bill <a href=":route">:name</a>. To remove the connection, uncheck the checkbox. Use rules to connect it to another bill.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Transaction #{ID} ("{title}")</a> has been stored.',
'transaction_new_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_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'The first split determines the value of this field',
'first_split_overrules_source' => 'The first split may overrule the source account',
'first_split_overrules_destination' => 'The first split may overrule the destination account',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Ausgabe ":description" aktualisiert',
'updated_deposit' => 'Einnahme ":description" aktualisiert',
'updated_transfer' => 'Umbuchung ":description" aktualisiert',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Ausgabe ":description" löschen',
'delete_deposit' => 'Einnahme ":description" löschen',
'delete_transfer' => 'Umbuchung ":description" löschen',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Diese Buchung ist mit der Rechnung <a href=":route">:name</a> verknüpft. Um diese Verbindung aufzuheben, deaktivieren Sie das Kontrollkästchen. Verwenden Sie Regeln, um es mit einer anderen Rechnung zu verbinden.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Buchung #{ID} ("{title}")</a> wurde gespeichert.',
'transaction_new_stored_link' => '<a href="transactions/show/{ID}">Buchung #{ID}</a> wurde gespeichert.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Buchung#{ID}</a> wurde aktualisiert.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'Die erste Aufteilung bestimmt den Wert dieses Feldes',
'first_split_overrules_source' => 'Die erste Aufteilung könnte das Quellkonto überschreiben',
'first_split_overrules_destination' => 'Die erste Aufteilung könnte das Zielkonto überschreiben',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Ενημερώθηκε η ανάληψη ":description"',
'updated_deposit' => 'Ενημερώθηκε η κατάθεση ":description"',
'updated_transfer' => 'Ενημερώθηκε η μεταφορά ":description"',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Διαγραφή ανάληψης ":description"',
'delete_deposit' => 'Διαγραφή κατάθεσης ":description"',
'delete_transfer' => 'Διαγραφή μεταφοράς ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Αυτή η συναλλαγή συνδέεται με το πάγιο έξοδο <a href=":route">:name</a>. Για να καταργήσετε τη σύνδεση, καταργήστε την επιλογή στο κουτάκι. Χρησιμοποιήστε κανόνες για να το συνδέσετε με ένα άλλο πάγιο έξοδο.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Η συναλλαγή #{ID} ("{title}")</a> έχει αποθηκευτεί.',
'transaction_new_stored_link' => '<a href="transactions/show/{ID}">Η συναλλαγή #{ID}</a> έχει αποθηκευτεί.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Η συναλλαγή #{ID}</a> έχει ενημερωθεί.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'The first split determines the value of this field',
'first_split_overrules_source' => 'The first split may overrule the source account',
'first_split_overrules_destination' => 'The first split may overrule the destination account',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Updated withdrawal ":description"',
'updated_deposit' => 'Updated deposit ":description"',
'updated_transfer' => 'Updated transfer ":description"',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Delete withdrawal ":description"',
'delete_deposit' => 'Delete deposit ":description"',
'delete_transfer' => 'Delete transfer ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'This transaction is linked to bill <a href=":route">:name</a>. To remove the connection, untick the checkbox. Use rules to connect it to another bill.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Transaction #{ID} ("{title}")</a> has been stored.',
'transaction_new_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_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'The first split determines the value of this field',
'first_split_overrules_source' => 'The first split may overrule the source account',
'first_split_overrules_destination' => 'The first split may overrule the destination account',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Updated withdrawal ":description"',
'updated_deposit' => 'Updated deposit ":description"',
'updated_transfer' => 'Updated transfer ":description"',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Delete withdrawal ":description"',
'delete_deposit' => 'Delete deposit ":description"',
'delete_transfer' => 'Delete transfer ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'This transaction is linked to bill <a href=":route">:name</a>. To remove the connection, uncheck the checkbox. Use rules to connect it to another bill.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Transaction #{ID} ("{title}")</a> has been stored.',
'transaction_new_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_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'The first split determines the value of this field',
'first_split_overrules_source' => 'The first split may overrule the source account',
'first_split_overrules_destination' => 'The first split may overrule the destination account',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Retiro actualizado',
'updated_deposit' => 'Actualización de deposito ":description"',
'updated_transfer' => 'Transferencia actualizada ":description"',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Eliminar ":description"',
'delete_deposit' => 'Eliminar deposito ":description"',
'delete_transfer' => 'Eliminar transferencia ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Esta transacción está vinculada a la factura <a href=":route">:name</a>. Para eliminar la conexión, desmarca la casilla de verificación. Usa reglas para conectarla a otra factura.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">La transacción #{ID} ("{title}")</a> ha sido almacenada.',
'transaction_new_stored_link' => '<a href="transactions/show/{ID}">La transacción #{ID}</a> ha sido guardada.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">La transacción #{ID}</a> ha sido actualizada.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'The first split determines the value of this field',
'first_split_overrules_source' => 'The first split may overrule the source account',
'first_split_overrules_destination' => 'The first split may overrule the destination account',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Päivitettiin nosto ":description"',
'updated_deposit' => 'Päivitettiin talletus ":description"',
'updated_transfer' => 'Päivitettiin siirto ":description"',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Poista nosto ":description"',
'delete_deposit' => 'Poista talletus ":description"',
'delete_transfer' => 'Poista siirto ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Tämä tapahtuma liittyy laskuun <a href=":route">:name</a>. Jos haluat poistaa yhteyden, poista valinta liitos-valintaruudusta. Käytä sääntöjä yhdistääksesi tapahtuma toiseen laskuun.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Transaction #{ID} ("{title}")</a> has been stored.',
'transaction_new_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_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'The first split determines the value of this field',
'first_split_overrules_source' => 'The first split may overrule the source account',
'first_split_overrules_destination' => 'The first split may overrule the destination account',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Dépense ":description" mise à jour',
'updated_deposit' => 'Dépôt ":description" mis à jour',
'updated_transfer' => 'Transfert ":description" mis à jour',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Supprimer la dépense ":description"',
'delete_deposit' => 'Supprimer le dépôt ":description"',
'delete_transfer' => 'Supprimer le transfert ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Cette opération est liée à la facture <a href=":route">:name</a>. Pour supprimer l\'association, décocher la case. Utilisez les règles pour la connecter à une autre facture.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">L\'opération n°{ID} ("{title}")</a> a été enregistrée.',
'transaction_new_stored_link' => '<a href="transactions/show/{ID}">L\'opération n°{ID}</a> a été enregistrée.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">L\'opération n°{ID}</a> a été mise à jour.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'La première ventilation détermine la valeur de ce champ',
'first_split_overrules_source' => 'La première ventilation peut remplacer le compte source',
'first_split_overrules_destination' => 'La première ventilation peut remplacer le compte de destination',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Költség frissítve ":description"',
'updated_deposit' => '":description" bevétel frissítve',
'updated_transfer' => 'Átvezetés frissítve ":description"',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Költség törölve ":description"',
'delete_deposit' => '":description" bevétel törlése',
'delete_transfer' => 'Átvezetés törlése ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Ez a tranzakció <a href=":route">:name</a> számlához van csatolva. A kapcsolat eltávolításához ki kell venni a jelölést a jelölőnégyzetből. Szabályok használatával másik számlához lehet csatolni.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Transaction #{ID} ("{title}")</a> mentve.',
'transaction_new_stored_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> mentve.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> has been updated.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'The first split determines the value of this field',
'first_split_overrules_source' => 'The first split may overrule the source account',
'first_split_overrules_destination' => 'The first split may overrule the destination account',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Penarikan yang telah diupdate ":description"',
'updated_deposit' => 'Deposit Diperbarui ":description"',
'updated_transfer' => 'Transfer yang diperbarui ":description"',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Hapus penarikan ":description"',
'delete_deposit' => 'Hapus deposit ":description"',
'delete_transfer' => 'Hapus transfer ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'This transaction is linked to bill <a href=":route">:name</a>. To remove the connection, uncheck the checkbox. Use rules to connect it to another bill.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Transaction #{ID} ("{title}")</a> has been stored.',
'transaction_new_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_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'The first split determines the value of this field',
'first_split_overrules_source' => 'The first split may overrule the source account',
'first_split_overrules_destination' => 'The first split may overrule the destination account',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Prelievo ":description" aggiornato',
'updated_deposit' => 'Entrata aggiornata ":description"',
'updated_transfer' => 'Trasferimento ":description" aggiornato',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Elimina prelievo ":description"',
'delete_deposit' => 'Elimina entrata ":description"',
'delete_transfer' => 'Elimina trasferimento ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Questa transazione è collegata alla bolletta <a href=":route">:name</a>. Per rimuovere il collegamento, deseleziona la casella di controllo. Usa le regole per collegarla ad un\'altra bolletta.',
'transaction_stored_link' => 'La <a href="transactions/show/{ID}">transazione #{ID} ("{title}")</a> è stata salvata.',
'transaction_new_stored_link' => 'La <a href="transactions/show/{ID}">transazione #{ID}</a> è stata salvata.',
'transaction_updated_link' => 'La <a href="transactions/show/{ID}">transazione #{ID}</a> è stata aggiornata.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'La prima suddivisione determina il valore di questo campo',
'first_split_overrules_source' => 'La prima suddivisione potrebbe sovrascrivere l\'account di origine',
'first_split_overrules_destination' => 'La prima suddivisione potrebbe sovrascrivere l\'account di destinazione',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Oppdatert uttak ":description"',
'updated_deposit' => 'Oppdatert innskudd ":description"',
'updated_transfer' => 'Oppdatert overføring ":description"',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Slett uttak ":description"',
'delete_deposit' => 'Slett innskudd ":description"',
'delete_transfer' => 'Slett overføring ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Denne transaksjonen er knyttet til regning <a href=":route">:name</a>. Hvis du vil fjerne knytningen, fjerner du avmerkingen. Bruke regler for å koble den til en annen regning.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Transaction #{ID} ("{title}")</a> has been stored.',
'transaction_new_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_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'The first split determines the value of this field',
'first_split_overrules_source' => 'The first split may overrule the source account',
'first_split_overrules_destination' => 'The first split may overrule the destination account',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Uitgave ":description" geüpdatet',
'updated_deposit' => 'Inkomsten ":description" geüpdatet',
'updated_transfer' => 'Overschrijving ":description" geüpdatet',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Verwijder uitgave ":description"',
'delete_deposit' => 'Verwijder inkomsten ":description"',
'delete_transfer' => 'Verwijder overschrijving ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Deze transactie is gekoppeld aan contract <a href=":route">:name</a>. Om de verbinding te verwijderen haal je het vinkje weg. Gebruik regels om een ander contract te koppelen.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Transactie #{ID} ("{title}")</a> is opgeslagen.',
'transaction_new_stored_link' => '<a href="transactions/show/{ID}">Transactie #{ID}</a> is opgeslagen.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transactie #{ID}</a> is geüpdatet.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'De eerste split bepaalt wat hier staat',
'first_split_overrules_source' => 'De eerste split kan de bronrekening overschrijven',
'first_split_overrules_destination' => 'De eerste split kan de doelrekening overschrijven',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Zaktualizowano wypłatę ":description"',
'updated_deposit' => 'Zaktualizowano wpłatę ":description"',
'updated_transfer' => 'Zaktualizowano transfer ":description"',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Usunięto wypłatę ":description"',
'delete_deposit' => 'Usuń wpłatę ":description"',
'delete_transfer' => 'Usuń transfer ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Ta transakcja jest powiązana z rachunkiem <a href=":route">:name</a>. Aby usunąć to powiązanie odznacz pole wyboru. Użyj reguł aby połączyć ją z innym rachunkiem.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Transakcja #{ID} ("{title}")</a> została zapisana.',
'transaction_new_stored_link' => '<a href="transactions/show/{ID}">Transakcja #{ID}</a> została zapisana.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transakcja #{ID}</a> została zaktualizowana.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'Pierwszy podział określa wartość tego pola',
'first_split_overrules_source' => 'Pierwszy podział może nadpisać konto źródłowe',
'first_split_overrules_destination' => 'Pierwszy podział może nadpisać konto docelowe',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Retirada Atualizada ":description"',
'updated_deposit' => 'Depósito atualizado ":description"',
'updated_transfer' => 'Transferência atualizada ":description"',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Excluir a retirada ":description"',
'delete_deposit' => 'Apagar depósito ":description"',
'delete_transfer' => 'Apagar transferência ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Esta transação está ligada à conta <a href=":route">:name</a>. Para remover a conexão, desmarque a caixa de seleção. Use as regras para conectá-la a outra conta.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Transação #{ID} ("{title}")</a> foi salva.',
'transaction_new_stored_link' => '<a href="transactions/show/{ID}">Transação #{ID}</a> foi salva.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transação #{ID}</a> foi atualizada.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'A primeira divisão determina o valor deste campo',
'first_split_overrules_source' => 'A primeira divisão pode anular a conta de origem',
'first_split_overrules_destination' => 'A primeira divisão pode anular a conta de destino',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Alterar levantamento ":description"',
'updated_deposit' => 'Alterar deposito ":description"',
'updated_transfer' => 'Alterar transferencia ":description"',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Apagar levantamento ":description"',
'delete_deposit' => 'Apagar deposito ":description"',
'delete_transfer' => 'Apagar transferencia ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Esta transacção está ligada à conta <a href=":route">:name</a>. Para remover a ligação, desmarque a caixa de selecção. Utilize as regras para conectá-la a outra conta.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Transação #{ID} ("{title}")</a> foi guardada.',
'transaction_new_stored_link' => '<a href="transactions/show/{ID}">Transação#{ID}</a> foi guardada.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transação#{ID}</a> foi atualizada.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'A primeira divisão determina o valor deste campo',
'first_split_overrules_source' => 'A primeira divisão pode anular a conta de origem',
'first_split_overrules_destination' => 'A primeira divisão pode anular a conta de destino',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Retragerea ":description" actualizată',
'updated_deposit' => 'Depozitul ":description" actualizat',
'updated_transfer' => 'Transferul ":description" actualizat',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Șterge retragere ":description"',
'delete_deposit' => 'Șterge depozit ":description"',
'delete_transfer' => 'Șterge transfer ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Această tranzacție este legată de factura <a href=":route">:nume </a>. Pentru a elimina conexiunea, debifați caseta de selectare. Utilizați regulile pentru conectarea la o altă factură.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Tranzacția #{ID} ("{title}")</a> a fost stocată.',
'transaction_new_stored_link' => '<a href="transactions/show/{ID}">Tranzacția #{ID}</a> a fost stocată.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Tranzacția #{ID}</a> a fost actualizată.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'The first split determines the value of this field',
'first_split_overrules_source' => 'The first split may overrule the source account',
'first_split_overrules_destination' => 'The first split may overrule the destination account',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Расход ":description" обновлён',
'updated_deposit' => 'Доход ":description" обновлён',
'updated_transfer' => 'Перевод ":description" обновлён',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Удалить расход ":description"',
'delete_deposit' => 'Удалить доход ":description"',
'delete_transfer' => 'Удалить перевод ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Эта транзакция связана со счётом на оплату <a href=":route">:name</a>. Чтобы удалить эту связь, снимите галочку. Используйте правила для связи с другим счётом на оплату.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Транзакция #{ID} ("{title}")</a> сохранена.',
'transaction_new_stored_link' => '<a href="transactions/show/{ID}">Транзакция #{ID}</a> сохранена.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Транзакция #{ID}</a> обновлена.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'В данном поле используется значение из первой части разделенной транзакции',
'first_split_overrules_source' => 'Значение из первой части транзакции может изменить счет источника',
'first_split_overrules_destination' => 'Значение из первой части транзакции может изменить счет назначения',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Výber „:description“ bol upravený',
'updated_deposit' => 'Vklad „:description“ bol upravený',
'updated_transfer' => 'Prevod „:description“ bol upravený',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Výber bol „:description“ upravený',
'delete_deposit' => 'Odstrániť vklad „:description“',
'delete_transfer' => 'Odstrániť prevod „:description“',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Táto transakcia je prepojená s účtom <a href=":route">:name</a>. Ak chcete odstrániť prepojenie, odznačte ho. Pre prepojenie s iným účtom použite pravidlá.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Transakcia #{ID} ("{title}")</a> bola uložená.',
'transaction_new_stored_link' => '<a href="transactions/show/{ID}">Transakcia #{ID}</a> bola uložená.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transakcia #{ID}</a> bola aktualizovaná.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'The first split determines the value of this field',
'first_split_overrules_source' => 'The first split may overrule the source account',
'first_split_overrules_destination' => 'The first split may overrule the destination account',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Uppdatera uttag ":description"',
'updated_deposit' => 'Uppdatera insättning ":description"',
'updated_transfer' => 'Uppdatera överföring ":description"',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Ta bort uttag ":description"',
'delete_deposit' => 'Ta bort insättning ":description"',
'delete_transfer' => 'Ta bort överföring ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Transaktion länkad till nota <a href=":route">:name</a>. För att ta bort koppling, avmarkera kryssrutan. Använd regler för att koppla den till en annan nota.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Transaktion #{ID} ("{title}")</a> sparades.',
'transaction_new_stored_link' => '<a href="transactions/show/{ID}">Transaktion #{ID}</a> sparades.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaktion #{ID}</a> uppdaterades.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'The first split determines the value of this field',
'first_split_overrules_source' => 'The first split may overrule the source account',
'first_split_overrules_destination' => 'The first split may overrule the destination account',

View File

@ -1156,6 +1156,9 @@ return [
'updated_withdrawal' => 'Para çekme güncellendi ":description"',
'updated_deposit' => 'Güncellenmiş depozito ":description"',
'updated_transfer' => 'Güncellenmiş ":description"',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Çekimi sil ":description"',
'delete_deposit' => 'Mevduat sil ":description"',
'delete_transfer' => 'Aktarımı sil ":description"',
@ -1236,7 +1239,8 @@ return [
'journal_link_bill' => 'This transaction is linked to bill <a href=":route">:name</a>. To remove the connection, uncheck the checkbox. Use rules to connect it to another bill.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Transaction #{ID} ("{title}")</a> has been stored.',
'transaction_new_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_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'The first split determines the value of this field',
'first_split_overrules_source' => 'The first split may overrule the source account',
'first_split_overrules_destination' => 'The first split may overrule the destination account',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => 'Cập nhật rút tiền ":description"',
'updated_deposit' => 'Tiền gửi cập nhật ":description"',
'updated_transfer' => 'Chuyển khoản cập nhật ":description"',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => 'Xóa rút tiền ":description"',
'delete_deposit' => 'Xóa tiền gửi ":description"',
'delete_transfer' => 'Xóa chuyển ":description"',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => 'Giao dịch này được liên kết với hóa đơn <a href=":route">:name</a>. Để xóa kết nối, bỏ chọn hộp kiểm. Sử dụng quy tắc để kết nối nó với hóa đơn khác.',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Giao dịch #{ID} ("{title}")</a> đã được lưu trữ.',
'transaction_new_stored_link' => '<a href="transactions/show/{ID}"> Giao dịch #{ID}</a> đã được lưu trữ.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Giao dịch#{ID}</a> đã được cập nhật.',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'The first split determines the value of this field',
'first_split_overrules_source' => 'The first split may overrule the source account',
'first_split_overrules_destination' => 'The first split may overrule the destination account',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => '已更新支出“:description“',
'updated_deposit' => '已更新收入“:description”',
'updated_transfer' => '已更新转账“:description”',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => '删除支出“:description”',
'delete_deposit' => '删除收入“:description”',
'delete_transfer' => '删除转账“:description”',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => '此交易已与帐单 <a href=":route">:name</a> 关联。若要移除关联,取消勾选复选框,使用规则将其与其他账单关联。',
'transaction_stored_link' => '<a href="transactions/show/{ID}">交易 #{ID} (“{title}”)</a> 已保存。',
'transaction_new_stored_link' => '<a href="transactions/show/{ID}">交易 #{ID}</a> 已保存。',
'transaction_updated_link' => '<a href="transactions/show/{ID}">交易 #{ID}</a> 已更新。',
'transaction_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => '首笔拆分决定此字段的值',
'first_split_overrules_source' => '首笔拆分可能覆盖来源账户',
'first_split_overrules_destination' => '首笔拆分可能覆盖目标账户',

View File

@ -1155,6 +1155,9 @@ return [
'updated_withdrawal' => '已更新提款 “:description“',
'updated_deposit' => '已更新存款 ”:description“',
'updated_transfer' => '已更新轉帳 “:description”',
'no_changes_withdrawal' => 'Withdrawal ":description" was not changed.',
'no_changes_deposit' => 'Deposit ":description" was not changed.',
'no_changes_transfer' => 'Transfer ":description" was not changed.',
'delete_withdrawal' => '刪除提款 “:description”',
'delete_deposit' => '刪除存款 “:description”',
'delete_transfer' => '刪除轉帳 “:description”',
@ -1235,7 +1238,8 @@ return [
'journal_link_bill' => '此交易已與帳單 <a href=":route">:name</a> 鏈結。如要移除鏈結,取消核選方塊,使用規則將它與其他帳單鏈結。',
'transaction_stored_link' => '<a href="transactions/show/{ID}">Transaction #{ID} ("{title}")</a> has been stored.',
'transaction_new_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_updated_link' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") has been updated.',
'transaction_updated_no_changes' => '<a href="transactions/show/{ID}">Transaction #{ID}</a> ("{title}") did not receive any changes.',
'first_split_decides' => 'The first split determines the value of this field',
'first_split_overrules_source' => 'The first split may overrule the source account',
'first_split_overrules_destination' => 'The first split may overrule the destination account',

View File

@ -3,7 +3,7 @@
<div class="row">
<div class="col">
<!-- alert from URL -->
<div class="alert alert-success alert-dismissible" v-if="successMessage.length > 0">
<div class="alert alert-success alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<h5><i class="icon fas fa-thumbs-up"></i> {{ 'flash_success'|_ }}</h5>
<span>
@ -18,4 +18,25 @@
</div>
</div>
</div>
{% endif %}
{% if session_has('warning') %}
<div class="row">
<div class="col">
<!-- alert from URL -->
<div class="alert alert-warning alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<h5><i class="icon fas fa-exclamation-triangle"></i> {{ 'flash_warning'|_ }}</h5>
<span>
{% if session_has('warning_uri') %}
<a href="{{ session('warning_uri') }}" style="color:rgb(31, 45, 61);">
{% endif %}
{{ session('warning') }}
{% if session_has('warning_uri') %}
</a>
{% endif %}
</span>
</div>
</div>
</div>
{% endif %}