Merge pull request #14518 from aspangaro/12.0_p7

Fix Missing language key
This commit is contained in:
Laurent Destailleur 2020-08-23 18:07:43 +02:00 committed by GitHub
commit b1b88676b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 5 deletions

View File

@ -41,7 +41,7 @@ class InfoBox
{ {
return array( return array(
0 => 'Home', 0 => 'Home',
27 => 'Accountancy Home' 27 => 'AccountancyHome'
); );
} }
else else
@ -74,7 +74,7 @@ class InfoBox
24 => 'expensereportindex', 24 => 'expensereportindex',
25 => 'mailingindex', 25 => 'mailingindex',
26 => 'opensurveyindex', 26 => 'opensurveyindex',
27 => 'Accountancy Home' 27 => 'AccountancyHome'
); );
} }
} }

View File

@ -839,9 +839,16 @@ Permission532=Create/modify services
Permission534=Delete services Permission534=Delete services
Permission536=See/manage hidden services Permission536=See/manage hidden services
Permission538=Export services Permission538=Export services
Permission561=Read payment orders by credit transfer
Permission562=Create/modify payment order by credit transfer
Permission563=Send/Transmit payment order by credit transfer
Permission564=Record Debits/Rejections of credit transfer
Permission650=Read Bills of Materials Permission650=Read Bills of Materials
Permission651=Create/Update Bills of Materials Permission651=Create/Update Bills of Materials
Permission652=Delete Bills of Materials Permission652=Delete Bills of Materials
Permission660=Read Manufacturing Order (MO)
Permission661=Create/Update Manufacturing Order (MO)
Permission662=Delete Manufacturing Order (MO)
Permission701=Read donations Permission701=Read donations
Permission702=Create/modify donations Permission702=Create/modify donations
Permission703=Delete donations Permission703=Delete donations
@ -851,6 +858,8 @@ Permission773=Delete expense reports
Permission774=Read all expense reports (even for user not subordinates) Permission774=Read all expense reports (even for user not subordinates)
Permission775=Approve expense reports Permission775=Approve expense reports
Permission776=Pay expense reports Permission776=Pay expense reports
Permission777=Read expense reports of everybody
Permission778=Create/modify expense reports of everybody
Permission779=Export expense reports Permission779=Export expense reports
Permission1001=Read stocks Permission1001=Read stocks
Permission1002=Create/modify warehouses Permission1002=Create/modify warehouses
@ -903,6 +912,7 @@ Permission2515=Setup documents directories
Permission2801=Use FTP client in read mode (browse and download only) Permission2801=Use FTP client in read mode (browse and download only)
Permission2802=Use FTP client in write mode (delete or upload files) Permission2802=Use FTP client in write mode (delete or upload files)
Permission3200=Read archived events and fingerprints Permission3200=Read archived events and fingerprints
Permission3301=Generate new modules
Permission4001=See employees Permission4001=See employees
Permission4002=Create employees Permission4002=Create employees
Permission4003=Delete employees Permission4003=Delete employees

View File

@ -100,3 +100,5 @@ SuspenseAccountNotDefined=Suspense account isn't defined
BoxLastCustomerShipments=Last customer shipments BoxLastCustomerShipments=Last customer shipments
BoxTitleLastCustomerShipments=Latest %s customer shipments BoxTitleLastCustomerShipments=Latest %s customer shipments
NoRecordedShipments=No recorded customer shipment NoRecordedShipments=No recorded customer shipment
# Pages
AccountancyHome=Accountancy

View File

@ -1072,3 +1072,4 @@ NotUsedForThisCustomer=Not used for this customer
AmountMustBePositive=Amount must be positive AmountMustBePositive=Amount must be positive
ByStatus=By status ByStatus=By status
InformationMessage=Information InformationMessage=Information
Used=Used

View File

@ -42,7 +42,7 @@ require_once DOL_DOCUMENT_ROOT.'/product/dynamic_price/class/price_expression.cl
require_once DOL_DOCUMENT_ROOT.'/product/dynamic_price/class/price_parser.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/dynamic_price/class/price_parser.class.php';
if (!empty($conf->barcode->enabled)) dol_include_once('/core/class/html.formbarcode.class.php'); if (!empty($conf->barcode->enabled)) dol_include_once('/core/class/html.formbarcode.class.php');
// Load translation files required by the page // Load translation files required by the page
$langs->loadLangs(array('products', 'suppliers', 'bills', 'margins')); $langs->loadLangs(array('products', 'suppliers', 'bills', 'margins', 'stocks'));
$id = GETPOST('id', 'int'); $id = GETPOST('id', 'int');
$ref = GETPOST('ref', 'alpha'); $ref = GETPOST('ref', 'alpha');