]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Don't cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sun, 19 Apr 2020 04:04:56 +0000 (06:04 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 19 Apr 2020 04:04:56 +0000 (06:04 +0200)
- renamed key i18nKey to messageKey in all remaining enumerations

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jfinancials/beans/helper/receipt/FinancialsWebViewReceiptHelperBean.java
web/WEB-INF/templates/admin/financial/receipt/admin_form_financial_receipt.tpl
web/WEB-INF/templates/user/financial/receipt/login_form_financial_receipt.tpl
web/admin/financial/receipt/admin_receipt_list.xhtml

index ab44871d540d58a79079db68e61a936150807490..8f6e12285f0ff5b71ca593acf6cc64d4546121f7 100644 (file)
@@ -61,7 +61,7 @@ public class FinancialsWebViewReceiptHelperBean extends BaseFinancialsBean imple
                        sb.append(this.getMessageFromBundle("RECEIPT_ISSUED")).append(" "); //NOI18N
                        sb.append(DateFormat.getInstance().format(receipt.getReceiptIssued())).append(", "); //NOI18N
                        sb.append(this.getMessageFromBundle("PAYMENT_TYPE")).append(" "); //NOI18N
-                       sb.append(this.getMessageFromBundle(receipt.getReceiptPaymentType().getI18nKey()));
+                       sb.append(this.getMessageFromBundle(receipt.getReceiptPaymentType().getMessageKey()));
 
                        // Is receipt number included?
                        if (receipt.getReceiptNumber() != null) {
index 6a8733d27f5864ccaef687c848fe91aa87ce7281..ab4331bb0ac8a05e394663a7e26fdd048040045c 100644 (file)
@@ -71,7 +71,7 @@
                                        value="#{dataController.paymentTypes}"
                                        var="paymentType"
                                        itemValue="#{paymentType}"
-                                       itemLabel="#{msg[paymentType.i18nKey]}"
+                                       itemLabel="#{msg[paymentType.messageKey]}"
                                        />
                        </p:selectOneMenu>
 
index 949a70753dc65628652398ee15f94101b9f22974..ad8f09855f161b4eb6554d6d9c884b540e2a44d0 100644 (file)
@@ -72,7 +72,7 @@
                                        value="#{dataController.paymentTypes}"
                                        var="receiptPaymentType"
                                        itemValue="#{paymentType}"
-                                       itemLabel="#{msg[paymentType.i18nKey]}"
+                                       itemLabel="#{msg[paymentType.messageKey]}"
                                        />
                        </p:selectOneMenu>
                        <p:message for="receiptPaymentType" />
index 890994059c9a746fe906d821a3b7467ef64c5ca6..62cb94edae3b49be24863004f97ced3c2cecf539 100644 (file)
                                                                value="#{dataController.paymentTypes}"
                                                                var="paymentType"
                                                                itemValue="#{paymentType}"
-                                                               itemLabel="#{msg[paymentType.i18nKey]}"
+                                                               itemLabel="#{msg[paymentType.messageKey]}"
                                                                />
                                                </p:selectCheckboxMenu>
                                        </f:facet>
 
-                                       <h:outputText value="#{msg[receipt.receiptPaymentType.i18nKey]}" />
+                                       <h:outputText value="#{msg[receipt.receiptPaymentType.messageKey]}" />
                                </p:column>
 
                                <p:column
                                                <h:outputText value="#{receiptListController.selectedReceipt.receiptSequenceNumber}" />
 
                                                <p:outputLabel value="#{msg.PAYMENT_TYPE}" title="#{project.RECEIPT_PAYMENT_TYPE_TITLE}" />
-                                               <h:outputText value="#{msg[receiptListController.selectedReceipt.receiptPaymentType.i18nKey]}" />
+                                               <h:outputText value="#{msg[receiptListController.selectedReceipt.receiptPaymentType.messageKey]}" />
 
                                                <p:outputLabel value="#{msg.ENTRY_CREATED_HEADER}" title="#{project.RECEIPT_ENTRY_CREATED_TITLE}" />
                                                <h:outputText value="#{receiptListController.selectedReceipt.receiptCreated}">