-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
task: refactor translations for themes
- Loading branch information
1 parent
a7583f8
commit 500cb86
Showing
4 changed files
with
34 additions
and
14 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
Build/cookieman_test/Resources/Private/Language/locallang_cookieman.xlf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> | ||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2"> | ||
<file source-language="en" datatype="plaintext" original="messages" date="2022-11-27T22:26:21Z" product-name="cookieman_test"> | ||
<header /> | ||
<body> | ||
<trans-unit id="trackingobject.CrowdinWidget" xml:space="preserve"> | ||
<source>Crowdin Widget</source> | ||
</trans-unit> | ||
<trans-unit id="trackingobject.CrowdinWidget.desc" xml:space="preserve"> | ||
<source>This is just a test but on the other hand it is useful: It displays the Crowdin Widget which allows you to help translating cookieman ;)</source> | ||
</trans-unit> | ||
<trans-unit id="group.testgroup" xml:space="preserve"> | ||
<source>Test group (does not respect Do-Not-Track header)</source> | ||
</trans-unit> | ||
<trans-unit id="type.script" xml:space="preserve"> | ||
<source>JavaScript</source> | ||
</trans-unit> | ||
</body> | ||
</file> | ||
</xliff> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
defined('TYPO3') || die(); | ||
|
||
(static function () { | ||
// @todo: Currently TypoScript _LOCAL_LANG does not work in non-plugin context. https://forge.typo3.org/issues/100759 | ||
$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:cookieman/Resources/Private/Language/locallang.xlf'][] | ||
= 'EXT:cookieman_test/Resources/Private/Language/locallang_cookieman.xlf'; | ||
$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['de']['EXT:cookieman/Resources/Private/Language/locallang.xlf'][] | ||
= 'EXT:cookieman_test/Resources/Private/Language/de.locallang_cookieman.xlf'; | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters