Files
opensourcepos/tools/ci4-lang-migration/convert.php
BudsieBuds e83c23cf0c Improve code style and PSR-12 compliance (#4204)
* Improve code style and PSR-12 compliance
- refactored code formatting to adhere to PSR-12 guidelines
- standardized coding conventions across the codebase
- added missing framework files and reverted markup changes
- reformatted arrays for enhanced readability
- updated language files for consistent styling and clarity
- minor miscellaneous improvements
2025-05-02 19:37:06 +02:00

11 lines
171 B
PHP

<?php
include($argv[1]);
echo "<?php\n";
echo "return [\n";
foreach ($lang as $key=>$value) {
echo "\t\"$key\" => \"".addcslashes($value, '"')."\",\n";
}
echo "];";