[FEATURE] Add backend for loading translations via ajax
This commit is contained in:
@@ -1,25 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<xliff version="1.0">
|
||||
<file source-language="en" datatype="plaintext" original="messages" date="2022-04-28T10:23:09Z">
|
||||
<header>
|
||||
<generator>LFEditor</generator>
|
||||
</header>
|
||||
<file source-language="en" datatype="plaintext" original="EXT:templates_aide/Resources/Private/Language/locallang" date="2024-02-07T18:12:19Z" product-name="templates_aide">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="default">
|
||||
<source><![CDATA[Default]]></source>
|
||||
<trans-unit id="tx_templatesaide_domain_model_dummy" resname="tx_templatesaide_domain_model_dummy">
|
||||
<source>Dummy</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="disableDragModal">
|
||||
<source><![CDATA[Disable drag and drop confirmation in page tree]]></source>
|
||||
<trans-unit id="tx_templatesaide_domain_model_translation" resname="tx_templatesaide_domain_model_translation">
|
||||
<source>Translation</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="homepage">
|
||||
<source><![CDATA[Homepage]]></source>
|
||||
<trans-unit id="default" resname="default">
|
||||
<source>Default</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="subpage">
|
||||
<source><![CDATA[Subpage]]></source>
|
||||
<trans-unit id="disableDragModal" resname="disableDragModal">
|
||||
<source>Disable drag and drop confirmation in page tree</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_templatesaide_domain_model_dummy">
|
||||
<source><![CDATA[Dummy]]></source>
|
||||
<trans-unit id="homepage" resname="homepage">
|
||||
<source>Homepage</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="subpage" resname="subpage">
|
||||
<source>Subpage</source>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
</xliff>
|
||||
|
||||
@@ -1,17 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<xliff version="1.0">
|
||||
<file source-language="en" datatype="plaintext" original="messages" date="2020-04-26T22:03:44Z" product-name="templates_aide">
|
||||
<file source-language="en" datatype="plaintext" original="EXT:templates_aide/Resources/Private/Language/locallang_db" date="2024-02-07T18:12:19Z" product-name="templates_aide">
|
||||
<header/>
|
||||
<body>
|
||||
<trans-unit id="tx_templatesaide_domain_model_dummy">
|
||||
<trans-unit id="tx_templatesaide_domain_model_dummy" resname="tx_templatesaide_domain_model_dummy">
|
||||
<source>Dummy</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_templates_aide_dummy.name">
|
||||
<trans-unit id="tx_templatesaide_domain_model_translation" resname="tx_templatesaide_domain_model_translation">
|
||||
<source>Translation</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_templates_aide_dummy.name" resname="tx_templates_aide_dummy.name">
|
||||
<source>dummy</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_templates_aide_dummy.description">
|
||||
<trans-unit id="tx_templates_aide_dummy.description" resname="tx_templates_aide_dummy.description">
|
||||
<source></source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_templates_aide_translationplugin.name" resname="tx_templates_aide_translationplugin.name">
|
||||
<source>translation</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_templates_aide_translationplugin.description" resname="tx_templates_aide_translationplugin.description">
|
||||
<source></source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_templates_aide_translation.name" resname="tx_templates_aide_translation.name">
|
||||
<source>translation</source>
|
||||
</trans-unit>
|
||||
<trans-unit id="tx_templates_aide_translation.description" resname="tx_templates_aide_translation.description">
|
||||
<source></source>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
</xliff>
|
||||
|
||||
@@ -55,3 +55,19 @@ pageContentelement {
|
||||
no_cache = 1
|
||||
}
|
||||
}
|
||||
|
||||
pageTranslation = PAGE
|
||||
pageTranslation {
|
||||
typeNum = 6001
|
||||
10 = USER_INT
|
||||
10 {
|
||||
userFunc = Cjel\TemplatesAide\UserFunc\Translation->render
|
||||
}
|
||||
config {
|
||||
disableAllHeaderCode = 1
|
||||
xhtml_cleaning = 0
|
||||
admPanel = 0
|
||||
debug = 0
|
||||
no_cache = 1
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 230 B |
@@ -1 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#666" d="M12.053 11.026c-.238.07-.427.095-.674.095-2.033 0-5.017-7.1-5.017-9.462 0-.87.207-1.16.497-1.41C4.373.54 1.39 1.452.435 2.613c-.207.29-.332.746-.332 1.326C.103 7.628 4.04 16 6.82 16c1.283 0 3.45-2.114 5.233-4.974M10.756 0c2.57 0 5.14.415 5.14 1.865 0 2.943-1.865 6.508-2.818 6.508-1.7 0-3.814-4.725-3.814-7.088C9.264.207 9.68 0 10.756 0"/></svg>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
||||
<path fill="#666" d="M12.053 11.026c-.238.07-.427.095-.674.095-2.033 0-5.017-7.1-5.017-9.462 0-.87.207-1.16.497-1.41C4.373.54 1.39 1.452.435 2.613c-.207.29-.332.746-.332 1.326C.103 7.628 4.04 16 6.82 16c1.283 0 3.45-2.114 5.233-4.974M10.756 0c2.57 0 5.14.415 5.14 1.865 0 2.943-1.865 6.508-2.818 6.508-1.7 0-3.814-4.725-3.814-7.088C9.264.207 9.68 0 10.756 0"></path>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 426 B After Width: | Height: | Size: 476 B |
4
Resources/Public/Icons/user_plugin_translation.svg
Normal file
4
Resources/Public/Icons/user_plugin_translation.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
||||
<path fill="#666" d="M12.053 11.026c-.238.07-.427.095-.674.095-2.033 0-5.017-7.1-5.017-9.462 0-.87.207-1.16.497-1.41C4.373.54 1.39 1.452.435 2.613c-.207.29-.332.746-.332 1.326C.103 7.628 4.04 16 6.82 16c1.283 0 3.45-2.114 5.233-4.974M10.756 0c2.57 0 5.14.415 5.14 1.865 0 2.943-1.865 6.508-2.818 6.508-1.7 0-3.814-4.725-3.814-7.088C9.264.207 9.68 0 10.756 0"></path>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 476 B |
4
Resources/Public/Icons/user_plugin_translationplugin.svg
Normal file
4
Resources/Public/Icons/user_plugin_translationplugin.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
||||
<path fill="#666" d="M12.053 11.026c-.238.07-.427.095-.674.095-2.033 0-5.017-7.1-5.017-9.462 0-.87.207-1.16.497-1.41C4.373.54 1.39 1.452.435 2.613c-.207.29-.332.746-.332 1.326C.103 7.628 4.04 16 6.82 16c1.283 0 3.45-2.114 5.233-4.974M10.756 0c2.57 0 5.14.415 5.14 1.865 0 2.943-1.865 6.508-2.818 6.508-1.7 0-3.814-4.725-3.814-7.088C9.264.207 9.68 0 10.756 0"></path>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 476 B |
Reference in New Issue
Block a user