Translation
This commit is contained in:
parent
068f5e32cb
commit
29bb0b37ef
@ -193,20 +193,16 @@ if (empty($conf->global->MAIN_ENABLE_DEFAULT_VALUES))
|
|||||||
{
|
{
|
||||||
// Button off, click to enable
|
// Button off, click to enable
|
||||||
$enabledisablehtml.= '<a class="reposition" href="'.$_SERVER["PHP_SELF"].'?action=setMAIN_ENABLE_DEFAULT_VALUES&value=1'.$param.'">';
|
$enabledisablehtml.= '<a class="reposition" href="'.$_SERVER["PHP_SELF"].'?action=setMAIN_ENABLE_DEFAULT_VALUES&value=1'.$param.'">';
|
||||||
//$enabledisablehtml.= img_picto($langs->trans("Disabled"),'switch_off');
|
$enabledisablehtml.= img_picto($langs->trans("Disabled"),'switch_off');
|
||||||
$enabledisablehtml.='<span class="fa fa-toggle-off valignmiddle" style="font-size: 2em; color: #999;" alt="'.$langs->trans("Disabled").'">';
|
|
||||||
if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) $enabledisablehtml.=$langs->trans("EnableDefaultValues");
|
if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) $enabledisablehtml.=$langs->trans("EnableDefaultValues");
|
||||||
$enabledisablehtml.='</span>';
|
|
||||||
$enabledisablehtml.= '</a>';
|
$enabledisablehtml.= '</a>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Button on, click to disable
|
// Button on, click to disable
|
||||||
$enabledisablehtml.= '<a class="reposition" href="'.$_SERVER["PHP_SELF"].'?action=setMAIN_ENABLE_DEFAULT_VALUES&value=0'.$param.'">';
|
$enabledisablehtml.= '<a class="reposition" href="'.$_SERVER["PHP_SELF"].'?action=setMAIN_ENABLE_DEFAULT_VALUES&value=0'.$param.'">';
|
||||||
//$enabledisablehtml.= img_picto($langs->trans("Activated"),'switch_on');
|
$enabledisablehtml.= img_picto($langs->trans("Activated"),'switch_on');
|
||||||
$enabledisablehtml.='<span class="fa fa-toggle-on valignmiddle" style="font-size: 2em; color: #227722;" alt="'.$langs->trans("Activated").'">';
|
|
||||||
if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) $enabledisablehtml.=$langs->trans("DisableDefaultValues");
|
if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) $enabledisablehtml.=$langs->trans("DisableDefaultValues");
|
||||||
$enabledisablehtml.='</span>';
|
|
||||||
$enabledisablehtml.= '</a>';
|
$enabledisablehtml.= '</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -216,6 +216,7 @@ if (empty($conf->global->MAIN_ENABLE_OVERWRITE_TRANSLATION))
|
|||||||
// Button off, click to enable
|
// Button off, click to enable
|
||||||
$enabledisablehtml.='<a class="reposition" href="'.$_SERVER["PHP_SELF"].'?action=setMAIN_ENABLE_OVERWRITE_TRANSLATION&value=1'.$param.'">';
|
$enabledisablehtml.='<a class="reposition" href="'.$_SERVER["PHP_SELF"].'?action=setMAIN_ENABLE_OVERWRITE_TRANSLATION&value=1'.$param.'">';
|
||||||
$enabledisablehtml.=img_picto($langs->trans("Disabled"),'switch_off');
|
$enabledisablehtml.=img_picto($langs->trans("Disabled"),'switch_off');
|
||||||
|
if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) $enabledisablehtml.=$langs->trans("EnableOverwriteTranslation");
|
||||||
$enabledisablehtml.='</a>';
|
$enabledisablehtml.='</a>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -223,6 +224,7 @@ else
|
|||||||
// Button on, click to disable
|
// Button on, click to disable
|
||||||
$enabledisablehtml.='<a class="reposition" href="'.$_SERVER["PHP_SELF"].'?action=setMAIN_ENABLE_OVERWRITE_TRANSLATION&value=0'.$param.'">';
|
$enabledisablehtml.='<a class="reposition" href="'.$_SERVER["PHP_SELF"].'?action=setMAIN_ENABLE_OVERWRITE_TRANSLATION&value=0'.$param.'">';
|
||||||
$enabledisablehtml.=img_picto($langs->trans("Activated"),'switch_on');
|
$enabledisablehtml.=img_picto($langs->trans("Activated"),'switch_on');
|
||||||
|
if (! empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) $enabledisablehtml.=$langs->trans("DisableOverwriteTranslation");
|
||||||
$enabledisablehtml.='</a>';
|
$enabledisablehtml.='</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -11,7 +11,7 @@ BirthdayAlertOn=birthday alert active
|
|||||||
BirthdayAlertOff=birthday alert inactive
|
BirthdayAlertOff=birthday alert inactive
|
||||||
TransKey=Translation of the key TransKey
|
TransKey=Translation of the key TransKey
|
||||||
MonthOfInvoice=Month (number 1-12) of invoice date
|
MonthOfInvoice=Month (number 1-12) of invoice date
|
||||||
TextMonthOfInvoice=Month (tex) of invoice date
|
TextMonthOfInvoice=Month (text) of invoice date
|
||||||
PreviousMonthOfInvoice=Previous month (number 1-12) of invoice date
|
PreviousMonthOfInvoice=Previous month (number 1-12) of invoice date
|
||||||
TextPreviousMonthOfInvoice=Previous month (text) of invoice date
|
TextPreviousMonthOfInvoice=Previous month (text) of invoice date
|
||||||
NextMonthOfInvoice=Following month (number 1-12) of invoice date
|
NextMonthOfInvoice=Following month (number 1-12) of invoice date
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user