Skip to content

Core Editor - Create language pack - it does not escape double quotes #9

@lonalore

Description

@lonalore

Original (core) language file (lan_library_manager.php):

define('LAN_LIBRARY_MANAGER_01', 'The "[x]" library, which the "[y]" library depends on, is not installed.');
define('LAN_LIBRARY_MANAGER_02', 'The version "[x]" of the "[y]" library is not compatible with the "[z]" library.');
define('LAN_LIBRARY_MANAGER_03', 'The "[x]" library could not be found.');
define('LAN_LIBRARY_MANAGER_04', 'The version of the "[x]" library could not be detected.');
define('LAN_LIBRARY_MANAGER_05', 'The installed version "[x]" of the "[y]" library is not supported.');
define('LAN_LIBRARY_MANAGER_06', 'The "[x]" variant of the "[y]" library could not be found.');
define('LAN_LIBRARY_MANAGER_07', 'missing dependency');
define('LAN_LIBRARY_MANAGER_08', 'incompatible dependency');
define('LAN_LIBRARY_MANAGER_09', 'not found');
define('LAN_LIBRARY_MANAGER_10', 'not detected');
define('LAN_LIBRARY_MANAGER_11', 'not supported');

Generated hungarian language file:

define("LAN_LIBRARY_MANAGER_01", "A(z) "[x]" library, mely a(z) "[y]" library függősége, nincs telepítve.");
define("LAN_LIBRARY_MANAGER_02", "A(z) "[y]" library verziója ("[x]") nem kompatibilis a(z) "[z]" library-vel.");
define("LAN_LIBRARY_MANAGER_03", "A(z) "[x]" library nem található.");
define("LAN_LIBRARY_MANAGER_04", "A(z) "[x]" library verziója nem meghatározható.");
define("LAN_LIBRARY_MANAGER_05", "A(z) "[y]" library verziója ("[x]") nem támogatott.");
define("LAN_LIBRARY_MANAGER_06", "A(z) "[x]" változata a(z) "[y]" library-nak nem található.");
define("LAN_LIBRARY_MANAGER_07", "hiányzó függőség");
define("LAN_LIBRARY_MANAGER_08", "inkompatibilis függőség");
define("LAN_LIBRARY_MANAGER_09", "nem található");
define("LAN_LIBRARY_MANAGER_10", "meghatározhatatlan");
define("LAN_LIBRARY_MANAGER_11", "nem támogatott");

Result: fatal error if I use Library Manager in hungarian language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions