fix accounts browser and cost center strings (js)
diff --git a/erpnext/accounts/doctype/cost_center/cost_center.js b/erpnext/accounts/doctype/cost_center/cost_center.js
index c846c83..71239ba 100644
--- a/erpnext/accounts/doctype/cost_center/cost_center.js
+++ b/erpnext/accounts/doctype/cost_center/cost_center.js
@@ -40,8 +40,7 @@
cur_frm.toggle_enable(['group_or_ledger', 'company'], doc.__islocal);
if(!doc.__islocal && doc.group_or_ledger=='Group') {
- intro_txt += '<p><b>'+__('Note:')+'</b>'+ __('This Cost Center is a')+ '<i>'+__('Group')+'</i>, '+
- __('Accounting Entries are not allowed against groups.')+'</p>';
+ intro_txt += __('Note: This Cost Center is a Group. Cannot make accounting entries against groups.');
}
cur_frm.cscript.hide_unhide_group_ledger(doc);
diff --git a/erpnext/accounts/page/accounts_browser/accounts_browser.js b/erpnext/accounts/page/accounts_browser/accounts_browser.js
index 68ecb2b..a94a923 100644
--- a/erpnext/accounts/page/accounts_browser/accounts_browser.js
+++ b/erpnext/accounts/page/accounts_browser/accounts_browser.js
@@ -31,13 +31,11 @@
'<li>'+__('Please do NOT create Account (Ledgers) for Customers and Suppliers. They are created directly from the Customer / Supplier masters.')+'</li>'+
'<li>'+
'<b>'+__('To create a Bank Account:')+'</b>'+
- __('Go to the appropriate group (usually Application of Funds > Current Assets > Bank Accounts)')+
- __('and create a new Account Ledger (by clicking on Add Child) of type "Bank"')+
+ __('Go to the appropriate group (usually Application of Funds > Current Assets > Bank Accounts and create a new Account Ledger (by clicking on Add Child) of type "Bank"')+
'</li>'+
'<li>'+
'<b>'+__('To create a Tax Account:')+'</b>'+
- __('Go to the appropriate group (usually Source of Funds > Current Liabilities > Taxes and Duties)')+
- __('and create a new Account Ledger (by clicking on Add Child) of type "Tax" and do mention the Tax rate.')+
+ __('Go to the appropriate group (usually Source of Funds > Current Liabilities > Taxes and Duties and create a new Account Ledger (by clicking on Add Child) of type "Tax" and do mention the Tax rate.')+
'</li>'+
'</ol>'+
'<p>'+__('Please setup your chart of accounts before you start Accounting Entries')+'</p></div>').appendTo(main);
@@ -187,11 +185,9 @@
title:__('New Account'),
fields: [
{fieldtype:'Data', fieldname:'account_name', label:__('New Account Name'), reqd:true,
- description: __("Name of new Account. Note: Please don't create accounts for Customers and Suppliers,")+
- __("they are created automatically from the Customer and Supplier master")},
+ description: __("Name of new Account. Note: Please don't create accounts for Customers and Suppliers, they are created automatically from the Customer and Supplier master")},
{fieldtype:'Select', fieldname:'group_or_ledger', label:__('Group or Ledger'),
- options:'Group\nLedger', description: __('Further accounts can be made under Groups,')+
- __('but entries can be made against Ledger')},
+ options:'Group\nLedger', description: __('Further accounts can be made under Groups, but entries can be made against Ledger')},
{fieldtype:'Select', fieldname:'account_type', label:__('Account Type'),
options: ['', 'Bank', 'Cash', 'Warehouse', 'Receivable', 'Payable',
'Equity', 'Cost of Goods Sold', 'Fixed Asset', 'Expense Account',
@@ -265,8 +261,7 @@
fields: [
{fieldtype:'Data', fieldname:'cost_center_name', label:__('New Cost Center Name'), reqd:true},
{fieldtype:'Select', fieldname:'group_or_ledger', label:__('Group or Ledger'),
- options:'Group\nLedger', description:__('Further accounts can be made under Groups,')+
- __('but entries can be made against Ledger')},
+ options:'Group\nLedger', description:__('Further accounts can be made under Groups but entries can be made against Ledger')},
{fieldtype:'Button', fieldname:'create_new', label:__('Create New') }
]
});
@@ -292,4 +287,4 @@
});
d.show();
}
-});
\ No newline at end of file
+});