diff --git a/src/main/resources/languages/_de.properties b/src/main/resources/languages/_de.properties index a9b930ab59c57c50c283885a53fdf22e9fbd1d7d..8e5953bde3be059439b948dcfd0eac0e4119486f 100644 --- a/src/main/resources/languages/_de.properties +++ b/src/main/resources/languages/_de.properties @@ -78,6 +78,7 @@ info.text.account.delete=M info.button.account.delete=Konto und Buchungen l�schen info.title.transaction.delete=Buchung l�schen info.text.transaction.delete=M�chtest du die Buchung "{0}" wirklich unwiderruflich l�schen? +info.text.transaction.repeating.delete=M�chtest du die Buchung "{0}" wirklich unwiderruflich l�schen? <br>Hinweis: Es handelt sich um eine wiederholende Buchung. Beim L�schen dieser Buchung werden alle zugeh�rigen Wiederholungen ebenfalls gel�scht! info.title.database.delete=Datenbank l�schen info.header.text.database.delete=Soll die Datenbank wirklich unwiderruflich gel�scht werden? info.text.database.delete=Zur Best�tigung gib folgenden Code ein:\t{0} diff --git a/src/main/resources/languages/_en.properties b/src/main/resources/languages/_en.properties index aa7eb67c529ad13ad59c382eeebed161d6d688cd..881b85036bf1598fa05230dfd83ac518252ee22d 100644 --- a/src/main/resources/languages/_en.properties +++ b/src/main/resources/languages/_en.properties @@ -78,6 +78,8 @@ info.text.account.delete=Do you really want to delete the account "{0}"? This ca info.button.account.delete=Delete Account and Transactions info.title.transaction.delete=Delete Entry info.text.transaction.delete=Do you really want to delete the entry "{0}"? This can''t be undone. +info.text.transaction.repeating.delete=o you really want to delete the entry "{0}"? This can''t be undone.<br>Note: This transaction is a repeating transaction. Deleting this transaction will delete all related occurrences too! + info.title.database.delete=Delete Database info.header.text.database.delete=Do you really want to delete the database? This can''t be undone. info.text.database.delete=Please enter the following code for verification:\t{0} diff --git a/src/main/resources/templates/transactions/transactions.ftl b/src/main/resources/templates/transactions/transactions.ftl index 91d8671e45eda1ba32874bc888cb79fd7749e5b7..32b2aa533ffeee7153422269054c8e88f9035289 100644 --- a/src/main/resources/templates/transactions/transactions.ftl +++ b/src/main/resources/templates/transactions/transactions.ftl @@ -87,7 +87,11 @@ <div id="modalConfirmDelete" class="modal background-color"> <div class="modal-content"> <h4>${locale.getString("info.title.transaction.delete")}</h4> - <p>${locale.getString("info.text.transaction.delete", currentTransaction.name)}</p> + <#if currentTransaction.isRepeating()> + <p>${locale.getString("info.text.transaction.repeating.delete", currentTransaction.name)}</p> + <#else> + <p>${locale.getString("info.text.transaction.delete", currentTransaction.name)}</p> + </#if> </div> <div class="modal-footer background-color"> <a href="/transactions" class="modal-action modal-close waves-effect waves-light red btn-flat white-text">${locale.getString("cancel")}</a>