From: Tim Otten Date: Fri, 17 Nov 2023 01:30:16 +0000 (-0800) Subject: GenCode - When generating 'setup/res/languages.php', it should be pass linter X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=065e13ac2eb2a940b216e699e559acc0f0ac4387;p=civicrm-core.git GenCode - When generating 'setup/res/languages.php', it should be pass linter --- diff --git a/CRM/Core/CodeGen/I18n.php b/CRM/Core/CodeGen/I18n.php index 4fbe3a31f1..91cb6e1176 100644 --- a/CRM/Core/CodeGen/I18n.php +++ b/CRM/Core/CodeGen/I18n.php @@ -21,7 +21,11 @@ class CRM_Core_CodeGen_I18n extends CRM_Core_CodeGen_BaseTask { } // @todo Somewhere in 2024 or beyond, deprecate the old installer file_put_contents('../install/langs.php', "assign('langs', var_export($langs, TRUE)); + $tpl->run('languages_setup.tpl', '../setup/res/languages.php'); } public function generateSchemaStructure(): void {