Update api_setup.class.php
This commit is contained in:
parent
a0c2bc3743
commit
a94f8572f1
@ -407,11 +407,11 @@ class Setup extends DolibarrApi
|
|||||||
*
|
*
|
||||||
* @param object $object Object with label to translate
|
* @param object $object Object with label to translate
|
||||||
* @param string $lang Code of the language the name of the object must be translated to
|
* @param string $lang Code of the language the name of the object must be translated to
|
||||||
* @param string $prefix Prefix for translation
|
* @param string $prefix Prefix for translation key
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
private function translateLabel($object, $lang, $prefix)
|
private function translateLabel($object, $lang, $prefix = 'Country')
|
||||||
{
|
{
|
||||||
if (!empty($lang)) {
|
if (!empty($lang)) {
|
||||||
// Load the translations if this is a new language.
|
// Load the translations if this is a new language.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user