Skip to content

Commit

Permalink
fix(debtor groups): fix debtor group title label
Browse files Browse the repository at this point in the history
This commit fixes a mis-translation in the debtor groups title.  It now
reads "debtor groups" instead of "creditor groups".
  • Loading branch information
jniles committed Jul 30, 2017
1 parent a029be9 commit c876adf
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 88 deletions.
167 changes: 85 additions & 82 deletions client/src/i18n/en/tree.json
Original file line number Diff line number Diff line change
@@ -1,82 +1,85 @@
{"TREE":{"ACCOUNT":"Account",
"ACCOUNT_STATEMENT":"Account Statement",
"ADMIN":"Admin",
"AGED_CREDITORS":"Aged Debts",
"BALANCE":"Balance",
"BALANCE_SHEET":"Balance Sheet",
"BALANCE_REPORT":"Balance of accounts",
"BILLING_SERVICES":"Billing Services",
"CASH_REPORT" : "Cash Report",
"CASHBOX_MANAGEMENT":"Cashbox Management",
"CASHFLOW":"Cashflow",
"CASHFLOW_BY_SERVICE":"Cashflow by Service",
"CASH_PAYMENT_REGISTRY":"Cash Payment Registry",
"CASH_WINDOW":"Cash Window",
"COMPLEX_JOURNAL_VOUCHER":"Journal Vouchers",
"COST_CENTER_MGMT":"Cost Center Management",
"CREDIT_NOTE":"Credit note",
"CREDITOR_GROUP":"Creditor Group Management",
"CURRENCY":"Currency",
"CUSTOMER_DEBTS":"Customer Debts",
"DEBTOR_GROUP":"Debtor Group Management",
"EMPLOYEE":"Employee",
"EMPLOYEE_REGISTRY" : "Employees registry",
"ENTERPRISE":"Enterprise",
"EXCHANGE":"Exchange Rate",
"FINANCE":"Finance",
"FISCAL_YEAR":"Fiscal Year",
"FONCTION":"Job titles management",
"GENERAL_LEDGER":"General Ledger",
"GRADE_EMPLOYERS":"Grade Employees",
"HOSPITAL":"Hospital",
"INCOME_EXPENSE":"Income and Expenses",
"INVENTORY":"Inventory",
"INVENTORY_CONFIGURATION":"Configurations",
"INVENTORY_GROUP":"Group",
"INVENTORY_LIST":"List",
"INVENTORY_MANAGEMENT":"Inventory Management",
"INVENTORY_TYPE":"Type",
"INVENTORY_UNIT":"Dosage Form",
"INVENTORY_VIEW":"Stock",
"INVOICE_REGISTRY":"Invoice Registry",
"JOURNAL_VOUCHER":"Journal Voucher",
"LOCATION":"Locations Management",
"PAYROLL":"Payroll",
"PATIENT_DOCUMENT":"Patient Documents",
"PATIENT_GRP":"Patient Groups",
"PATIENT_GRP_ASSIGNMENT":"Patient Group Assignment",
"PATIENT_INVOICE":"Patient Invoice",
"PATIENT_RECORDS":"Patient Records",
"PATIENT_REGISTRATION":"Patient Registration",
"PATIENT_REGISTRATIONS":"Patient Registrations",
"PATIENT_REGISTRY":"Patients Registry",
"PHARMACY":"Pharmacy Management",
"POSTED_JOURNAL":"Posted Journal",
"POSTING_JOURNAL":"Posting Journal",
"PRICE_LIST":"Price List",
"PROJECT":"Projects",
"PURCHASE_ORDER":"Purchase Order",
"PURCHASE":"Purchase",
"PURCHASE_REGISTRY":"Purchase Registry",
"PURCHASING":"Purchasing",
"REFERENCE":"Reference",
"REFERENCE_GROUP":"Reference Group",
"REGISTER_SUPPLIER":"Supplier",
"REPORTS":"Reports",
"REPORT_ACCOUNTS":"Report accounts",
"ROOT":"Root",
"RUBRIC_MANAGEMENT":"Rubrics Management",
"INVOICES":"Invoices",
"SECTION_BILAN":"Bilan section",
"SECTION_RESULTAT":"Result Section",
"SERVICE":"Services",
"SIMPLE_VOUCHER":"Simple Voucher",
"STOCK": "Stock",
"STOCK_INVENTORY":"Stock Inventory",
"STOCK_LOTS":"Stock Lots",
"STOCK_MOVEMENTS":"Stock Movements",
"SUBSIDY":"Subsidy Management",
"TRANSACTION_TYPE":"Transaction Types",
"USERS":"Users",
"VOUCHER_REGISTRY":"Voucher Registry",
"AGED_DEBTORS":"Aged Debtors"}}
{
"TREE":{
"ACCOUNT":"Account",
"ACCOUNT_STATEMENT":"Account Statement",
"ADMIN":"Admin",
"AGED_CREDITORS":"Aged Debts",
"BALANCE":"Balance",
"BALANCE_SHEET":"Balance Sheet",
"BALANCE_REPORT":"Balance of accounts",
"BILLING_SERVICES":"Billing Services",
"CASH_REPORT" : "Cash Report",
"CASHBOX_MANAGEMENT":"Cashbox Management",
"CASHFLOW":"Cashflow",
"CASH_PAYMENT_REGISTRY":"Cash Payment Registry",
"CASH_WINDOW":"Cash Window",
"COMPLEX_JOURNAL_VOUCHER":"Journal Vouchers",
"COST_CENTER_MGMT":"Cost Center Management",
"CREDIT_NOTE":"Credit note",
"CREDITOR_GROUP":"Creditor Group Management",
"CURRENCY":"Currency",
"CUSTOMER_DEBTS":"Customer Debts",
"DEBTOR_GROUP":"Debtor Group Management",
"EMPLOYEE":"Employee",
"EMPLOYEE_REGISTRY" : "Employees registry",
"ENTERPRISE":"Enterprise",
"EXCHANGE":"Exchange Rate",
"FINANCE":"Finance",
"FISCAL_YEAR":"Fiscal Year",
"FONCTION":"Job titles management",
"GENERAL_LEDGER":"General Ledger",
"GRADE_EMPLOYERS":"Grade Employees",
"HOSPITAL":"Hospital",
"INCOME_EXPENSE":"Income and Expenses",
"INVENTORY":"Inventory",
"INVENTORY_CONFIGURATION":"Configurations",
"INVENTORY_GROUP":"Group",
"INVENTORY_LIST":"List",
"INVENTORY_MANAGEMENT":"Inventory Management",
"INVENTORY_TYPE":"Type",
"INVENTORY_UNIT":"Dosage Form",
"INVENTORY_VIEW":"Stock",
"INVOICE_REGISTRY":"Invoice Registry",
"JOURNAL_VOUCHER":"Journal Voucher",
"LOCATION":"Locations Management",
"PAYROLL":"Payroll",
"PATIENT_DOCUMENT":"Patient Documents",
"PATIENT_GRP":"Patient Groups",
"PATIENT_GRP_ASSIGNMENT":"Patient Group Assignment",
"PATIENT_INVOICE":"Patient Invoice",
"PATIENT_RECORDS":"Patient Records",
"PATIENT_REGISTRATION":"Patient Registration",
"PATIENT_REGISTRATIONS":"Patient Registrations",
"PATIENT_REGISTRY":"Patients Registry",
"PHARMACY":"Pharmacy Management",
"POSTED_JOURNAL":"Posted Journal",
"POSTING_JOURNAL":"Posting Journal",
"PRICE_LIST":"Price List",
"PROJECT":"Projects",
"PURCHASE_ORDER":"Purchase Order",
"PURCHASE":"Purchase",
"PURCHASE_REGISTRY":"Purchase Registry",
"PURCHASING":"Purchasing",
"REFERENCE":"Reference",
"REFERENCE_GROUP":"Reference Group",
"REGISTER_SUPPLIER":"Supplier",
"REPORTS":"Reports",
"REPORT_ACCOUNTS":"Report accounts",
"ROOT":"Root",
"RUBRIC_MANAGEMENT":"Rubrics Management",
"INVOICES":"Invoices",
"SECTION_BILAN":"Bilan section",
"SECTION_RESULTAT":"Result Section",
"SERVICE":"Services",
"SIMPLE_VOUCHER":"Simple Voucher",
"STOCK": "Stock",
"STOCK_INVENTORY":"Stock Inventory",
"STOCK_LOTS":"Stock Lots",
"STOCK_MOVEMENTS":"Stock Movements",
"SUBSIDY":"Subsidy Management",
"TRANSACTION_TYPE":"Transaction Types",
"USERS":"Users",
"VOUCHER_REGISTRY":"Voucher Registry",
"AGED_DEBTORS":"Aged Debtors"
}
}
10 changes: 5 additions & 5 deletions client/src/modules/debtors/groups.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
<li class="static" translate>TREE.ADMIN</li>

<!-- debtor group list -->
<li
class="title"
ng-if="!GroupCtrl.isUpdateState()"
<li
class="title"
ng-if="!GroupCtrl.isUpdateState()"
translate>DEBTOR_GROUP.TITLE
</li>

<!-- debtor group list with link -->
<li ng-if="GroupCtrl.isUpdateState()">
<a ui-sref="debtorGroups.list" translate>TREE.CREDITOR_GROUP</a>
<a ui-sref="debtorGroups.list" translate>TREE.DEBTOR_GROUP</a>
</li>

<!-- edit debtor group -->
<li ng-if="GroupCtrl.isEditState()" class="title">
{{ GroupCtrl.state.params.label }}
{{ GroupCtrl.state.params.label }}
<span class="label label-info" translate>FORM.LABELS.EDIT</span>
</li>

Expand Down
2 changes: 1 addition & 1 deletion client/src/modules/debtors/groups.update.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<button data-method="submit" type="submit" ng-click="GroupUpdateCtrl.submit(debtorGroup)" class="btn btn-primary">
{{ "FORM.BUTTONS.SUBMIT" | translate }}
</button>

<button data-method="cancel" class="btn btn-default" type="button" ng-click="GroupUpdateCtrl.cancel()" data-method="cancel" translate>
FORM.BUTTONS.CANCEL
</button>
Expand Down

0 comments on commit c876adf

Please sign in to comment.