updated variables translations for js

This commit is contained in:
Shreesh Arora
2023-04-04 16:44:36 +05:30
parent 2f3f616b95
commit 17f182aa5e
13 changed files with 75 additions and 72 deletions

View File

@@ -2124,13 +2124,13 @@ abstract class ModuleCore
* @param bool|string $specific filename to use in translation key
* @return string Translation
*/
public function l($string, $specific = false)
public function l($string, $specific = false, $addslashes = false)
{
if (self::$_generate_config_xml_mode) {
return $string;
}
return Translate::getModuleTranslation($this, $string, ($specific) ? $specific : $this->name);
return Translate::getModuleTranslation($this, $string, ($specific) ? $specific : $this->name, null, $addslashes);
}
/*