mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-09 02:58:23 +01:00
Add translation file for website module
This commit is contained in:
@@ -356,9 +356,9 @@ source_file = htdocs/langs/en_US/withdrawals.lang
|
|||||||
source_lang = en_US
|
source_lang = en_US
|
||||||
type = MOZILLAPROPERTIES
|
type = MOZILLAPROPERTIES
|
||||||
|
|
||||||
[dolibarr.websites]
|
[dolibarr.website]
|
||||||
file_filter = htdocs/langs/<lang>/withdrawals.lang
|
file_filter = htdocs/langs/<lang>/website.lang
|
||||||
source_file = htdocs/langs/en_US/withdrawals.lang
|
source_file = htdocs/langs/en_US/website.lang
|
||||||
source_lang = en_US
|
source_lang = en_US
|
||||||
type = MOZILLAPROPERTIES
|
type = MOZILLAPROPERTIES
|
||||||
|
|
||||||
|
|||||||
@@ -144,15 +144,15 @@ class modMyModule extends DolibarrModules
|
|||||||
// 'user' to add a tab in user view
|
// 'user' to add a tab in user view
|
||||||
$this->tabs = array();
|
$this->tabs = array();
|
||||||
|
|
||||||
// Dictionaries
|
if (! isset($conf->mymodule) || ! isset($conf->mymodule->enabled))
|
||||||
if (! isset($conf->mymodule->enabled))
|
|
||||||
{
|
{
|
||||||
$conf->mymodule=new stdClass();
|
$conf->mymodule=new stdClass();
|
||||||
$conf->mymodule->enabled=0;
|
$conf->mymodule->enabled=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Dictionaries
|
||||||
$this->dictionaries=array();
|
$this->dictionaries=array();
|
||||||
/* Example:
|
/* Example:
|
||||||
if (! isset($conf->mymodule->enabled)) $conf->mymodule->enabled=0; // This is to avoid warnings
|
|
||||||
$this->dictionaries=array(
|
$this->dictionaries=array(
|
||||||
'langs'=>'mylangfile@mymodule',
|
'langs'=>'mylangfile@mymodule',
|
||||||
'tabname'=>array(MAIN_DB_PREFIX."table1",MAIN_DB_PREFIX."table2",MAIN_DB_PREFIX."table3"), // List of tables we want to see into dictonnary editor
|
'tabname'=>array(MAIN_DB_PREFIX."table1",MAIN_DB_PREFIX."table2",MAIN_DB_PREFIX."table3"), // List of tables we want to see into dictonnary editor
|
||||||
|
|||||||
Reference in New Issue
Block a user