Merge pull request #6013 from aljawaid/develop
NEW: Make Top Menu Entries Independent Translation Strings
This commit is contained in:
commit
f00f3101d9
@ -111,13 +111,13 @@ function print_eldy_menu($db,$atarget,$type_user,&$tabMenu,&$menu,$noout=0,$mode
|
|||||||
|
|
||||||
$chaine="";
|
$chaine="";
|
||||||
if (! empty($conf->product->enabled)) {
|
if (! empty($conf->product->enabled)) {
|
||||||
$chaine.=$langs->trans("Products");
|
$chaine.=$langs->trans("TMenuProducts");
|
||||||
}
|
}
|
||||||
if (! empty($conf->product->enabled) && ! empty($conf->service->enabled)) {
|
if (! empty($conf->product->enabled) && ! empty($conf->service->enabled)) {
|
||||||
$chaine.="/";
|
$chaine.=" | ";
|
||||||
}
|
}
|
||||||
if (! empty($conf->service->enabled)) {
|
if (! empty($conf->service->enabled)) {
|
||||||
$chaine.=$langs->trans("Services");
|
$chaine.=$langs->trans("TMenuServices");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($noout)) print_start_menu_entry($idsel,$classname,$showmode);
|
if (empty($noout)) print_start_menu_entry($idsel,$classname,$showmode);
|
||||||
@ -261,7 +261,7 @@ function print_eldy_menu($db,$atarget,$type_user,&$tabMenu,&$menu,$noout=0,$mode
|
|||||||
$idsel='tools';
|
$idsel='tools';
|
||||||
|
|
||||||
if (empty($noout)) print_start_menu_entry($idsel,$classname,$showmode);
|
if (empty($noout)) print_start_menu_entry($idsel,$classname,$showmode);
|
||||||
if (empty($noout)) print_text_menu_entry($langs->trans("Tools"), $showmode, DOL_URL_ROOT.'/core/tools.php?mainmenu=tools&leftmenu=', $id, $idsel, $classname, $atarget);
|
if (empty($noout)) print_text_menu_entry($langs->trans("TMenuTools"), $showmode, DOL_URL_ROOT.'/core/tools.php?mainmenu=tools&leftmenu=', $id, $idsel, $classname, $atarget);
|
||||||
if (empty($noout)) print_end_menu_entry($showmode);
|
if (empty($noout)) print_end_menu_entry($showmode);
|
||||||
$menu->add('/core/tools.php?mainmenu=tools&leftmenu=', $langs->trans("Tools"), 0, $showmode, $atarget, "tools", '');
|
$menu->add('/core/tools.php?mainmenu=tools&leftmenu=', $langs->trans("Tools"), 0, $showmode, $atarget, "tools", '');
|
||||||
}
|
}
|
||||||
|
|||||||
@ -189,7 +189,7 @@ class modAgenda extends DolibarrModules
|
|||||||
// $r++;
|
// $r++;
|
||||||
$this->menu[$r]=array('fk_menu'=>0,
|
$this->menu[$r]=array('fk_menu'=>0,
|
||||||
'type'=>'top',
|
'type'=>'top',
|
||||||
'titre'=>'Agenda',
|
'titre'=>'TMenuAgenda',
|
||||||
'mainmenu'=>'agenda',
|
'mainmenu'=>'agenda',
|
||||||
'url'=>'/comm/action/index.php',
|
'url'=>'/comm/action/index.php',
|
||||||
'langs'=>'agenda',
|
'langs'=>'agenda',
|
||||||
|
|||||||
@ -998,7 +998,7 @@ TriggerAlwaysActive=Triggers in this file are always active, whatever are the ac
|
|||||||
TriggerActiveAsModuleActive=Triggers in this file are active as module <b>%s</b> is enabled.
|
TriggerActiveAsModuleActive=Triggers in this file are active as module <b>%s</b> is enabled.
|
||||||
GeneratedPasswordDesc=Define here which rule you want to use to generate new password if you ask to have auto generated password
|
GeneratedPasswordDesc=Define here which rule you want to use to generate new password if you ask to have auto generated password
|
||||||
DictionaryDesc=Insert all reference data. You can add your values to the default.
|
DictionaryDesc=Insert all reference data. You can add your values to the default.
|
||||||
ConstDesc=This page allows you to edit all other parameters not available in previous pages. These are mostly reserved parameters for developers or advanced troubleshooting.
|
ConstDesc=This page allows you to edit all other parameters not available in previous pages. These are mostly reserved parameters for developers or advanced troubleshooting. For a list of options <a href="https://wiki.dolibarr.org/index.php/Setup_Other#List_of_known_hidden_options" title="External Site - opens in a new window" target="_blank">check here</a>.
|
||||||
MiscellaneousDesc=All other security related parameters are defined here.
|
MiscellaneousDesc=All other security related parameters are defined here.
|
||||||
LimitsSetup=Limits/Precision setup
|
LimitsSetup=Limits/Precision setup
|
||||||
LimitsDesc=You can define limits, precisions and optimisations used by Dolibarr here
|
LimitsDesc=You can define limits, precisions and optimisations used by Dolibarr here
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
IdAgenda=ID event
|
IdAgenda=ID event
|
||||||
Actions=Events
|
Actions=Events
|
||||||
Agenda=Agenda
|
Agenda=Agenda
|
||||||
|
TMenuAgenda=Agenda
|
||||||
Agendas=Agendas
|
Agendas=Agendas
|
||||||
LocalAgenda=Internal calendar
|
LocalAgenda=Internal calendar
|
||||||
ActionsOwnedBy=Event owned by
|
ActionsOwnedBy=Event owned by
|
||||||
|
|||||||
@ -788,7 +788,7 @@ SetRef=Set ref
|
|||||||
Select2ResultFoundUseArrows=Some results found. Use arrows to select.
|
Select2ResultFoundUseArrows=Some results found. Use arrows to select.
|
||||||
Select2NotFound=No result found
|
Select2NotFound=No result found
|
||||||
Select2Enter=Enter
|
Select2Enter=Enter
|
||||||
Select2MoreCharacter=or more character
|
Select2MoreCharacter=or more characters<br /><br /><strong>SEARCH PARAMETERS:</strong><br /><i>[without spaces]</i><br /><br /><kbd><strong> |</strong></kbd> <kbd> OR</kbd><br /><kbd><strong>*</strong></kbd> <kbd>SEARCH ALL</kbd><br />
|
||||||
Select2MoreCharacters=or more characters
|
Select2MoreCharacters=or more characters
|
||||||
Select2LoadingMoreResults=Loading more results...
|
Select2LoadingMoreResults=Loading more results...
|
||||||
Select2SearchInProgress=Search in progress...
|
Select2SearchInProgress=Search in progress...
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
SecurityCode=Security code
|
SecurityCode=Security code
|
||||||
NumberingShort=N°
|
NumberingShort=N°
|
||||||
Tools=Tools
|
Tools=Tools
|
||||||
|
TMenuTools=Tools
|
||||||
ToolsDesc=All miscellaneous tools not included in other menu entries are collected here.<br /><br />All the tools can be reached in the left menu.
|
ToolsDesc=All miscellaneous tools not included in other menu entries are collected here.<br /><br />All the tools can be reached in the left menu.
|
||||||
Birthday=Birthday
|
Birthday=Birthday
|
||||||
BirthdayDate=Birthday date
|
BirthdayDate=Birthday date
|
||||||
|
|||||||
@ -5,6 +5,8 @@ ProductLabelTranslated=Translated product label
|
|||||||
ProductDescriptionTranslated=Translated product description
|
ProductDescriptionTranslated=Translated product description
|
||||||
ProductNoteTranslated=Translated product note
|
ProductNoteTranslated=Translated product note
|
||||||
ProductServiceCard=Products/Services card
|
ProductServiceCard=Products/Services card
|
||||||
|
TMenuProducts=Products
|
||||||
|
TMenuServices=Services
|
||||||
Products=Products
|
Products=Products
|
||||||
Services=Services
|
Services=Services
|
||||||
Product=Product
|
Product=Product
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user