Fix bad translation string

This commit is contained in:
Laurent Destailleur
2025-11-12 17:34:18 +01:00
parent 9c72afd95b
commit 65024ebf63
7 changed files with 10 additions and 12 deletions

View File

@@ -130,7 +130,6 @@ AvailabilityType
BAN
BI
BOMs
Back
Bad value for email, email was not verified by Google
Bad value for returned userinfo[aud]
Bad value for returned userinfo[exp]. Token expired.

View File

@@ -121,7 +121,7 @@ if ($action == 'convertdynamic') {
llxHeader('', '', '', '', 0, 0, '', '', '', 'mod-admin page-database_tables');
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/system/database.php?restore_lastsearch_values=1">'.img_picto($langs->trans("Back"), 'back', 'class="pictofixedwidth"').'<span class="hideonsmartphone">'.$langs->trans("Back").'</span></a>';
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/system/database.php?restore_lastsearch_values=1">'.img_picto($langs->trans("GoBack"), 'back', 'class="pictofixedwidth"').'<span class="hideonsmartphone">'.$langs->trans("GoBack").'</span></a>';
print load_fiche_titre($langs->trans("Tables")." ".ucfirst($conf->db->type), $linkback, 'title_setup');

View File

@@ -136,7 +136,7 @@ if ($action == 'convertutf8mb4') {
llxHeader('', '', '', '', 0, 0, '', '', '', 'mod-admin page-system_dbtable');
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/system/database-tables.php?restore_lastsearch_values=1">'.img_picto($langs->trans("Back"), 'back', 'class="pictofixedwidth"').'<span class="hideonsmartphone">'.$langs->trans("Back").'</span></a>';
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/system/database-tables.php?restore_lastsearch_values=1">'.img_picto($langs->trans("GoBack"), 'back', 'class="pictofixedwidth"').'<span class="hideonsmartphone">'.$langs->trans("GoBack").'</span></a>';
print load_fiche_titre($langs->trans("Table")." ".$table, $linkback, 'title_setup');

View File

@@ -242,9 +242,9 @@ if (is_numeric($nbtotalofrecords) && $limit > $nbtotalofrecords) {
$newcardbutton = '<a class="marginrightonly" href="'.DOL_URL_ROOT.'/compta/prelevement/index.php">'.$langs->trans("Back").'</a>';
$newcardbutton = '<a class="marginrightonly" href="'.DOL_URL_ROOT.'/compta/prelevement/index.php">'.$langs->trans("GoBack").'</a>';
if ($type == 'bank-transfer') {
$newcardbutton = '<a class="marginrightonly" href="'.DOL_URL_ROOT.'/compta/paymentbybanktransfer/index.php">'.$langs->trans("Back").'</a>';
$newcardbutton = '<a class="marginrightonly" href="'.DOL_URL_ROOT.'/compta/paymentbybanktransfer/index.php">'.$langs->trans("GoBack").'</a>';
}
if ($sourcetype != 'salary') {
print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST" id="searchFormList" name="searchFormList">';
@@ -334,7 +334,7 @@ while ($i < min($num, $limit) && $resql !== null) {
}
// Ref facture
print '<td>';
print '<td class="tdoverflowmax125">';
if ($sourcetype != 'salary') {
print $invoicestatic->getNomUrl(1, 'withdraw');
} else {
@@ -342,7 +342,7 @@ while ($i < min($num, $limit) && $resql !== null) {
}
print '</td>';
print '<td>';
print '<td class="tdoverflowmax150">';
if ($sourcetype != 'salary') {
$thirdpartystatic->id = $obj->socid;
$thirdpartystatic->name = $obj->name;

View File

@@ -744,7 +744,6 @@ Refresh=Refresh
BackToList=Back to list
BackToTree=Back to tree
GoBack=Go back
Back=Back
CanBeModifiedIfOk=Can be modified if valid
CanBeModifiedIfKo=Can be modified if not valid
ValueIsValid=Value is valid

View File

@@ -39,7 +39,7 @@ require_once DOL_DOCUMENT_ROOT.'/product/dynamic_price/class/price_parser.class.
*/
// Load translation files required by the page
$langs->loadLangs(array('products', 'accountancy')); //"Back" translation is on this accountancy file
$langs->loadLangs(array('products', 'accountancy'));
$id = GETPOSTINT('id');
$eid = GETPOSTINT('eid');
@@ -204,7 +204,7 @@ print dol_get_fiche_end();
//Buttons
print '<div class="center">';
print '<input type="submit" class="butAction button-save" value="'.$langs->trans("Save").'">';
print '<span id="back" class="butAction">'.$langs->trans("Back").'</span>';
print '<span id="back" class="butAction">'.$langs->trans("GoBack").'</span>';
if ($eid == 0) {
print '<div class="inline-block divButAction"><span id="action-delete" class="butActionRefused classfortooltip">'.$langs->trans('Delete').'</span></div>'."\n";
} else {

View File

@@ -2298,7 +2298,7 @@ if (getDolGlobalString('PRODUIT_CUSTOMER_PRICES') || getDolGlobalString('PRODUIT
$title = $langs->trans('PriceByCustomerLog');
$title .= ' - '.$staticsoc->getNomUrl(1);
$backbutton = '<a class="justalink" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'">'.$langs->trans("Back").'</a>';
$backbutton = '<a class="justalink" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'">'.$langs->trans("GoBack").'</a>';
// @phan-suppress-next-line PhanPluginSuspiciousParamOrder
print_barre_liste($title, $page, $_SERVER['PHP_SELF'], $option, $sortfield, $sortorder, $backbutton, count($prodcustprice->lines), $nbtotalofrecords, 'title_accountancy.png');
@@ -2775,7 +2775,7 @@ if ((!getDolGlobalString('PRODUIT_CUSTOMER_PRICES') || $action == 'showlog_defau
if ($num > 0) {
// Default prices or
// Log of previous customer prices
$backbutton = '<a class="justalink" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'">'.$langs->trans("Back").'</a>';
$backbutton = '<a class="justalink" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'">'.$langs->trans("GoBack").'</a>';
if (getDolGlobalString('PRODUIT_CUSTOMER_PRICES')) {
// @phan-suppress-next-line PhanPluginSuspiciousParamPosition, PhanPluginSuspiciousParamOrder