-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Move hardcoded labels to xlf files to support translation v…
…ia crowdin (#545) (#601) * [TASK] Add xlf file for translating the site configuration Related: #545 * [TASK] Replace hardcoded labels with the labels from translation file Related: #545 * [TASK] Update indentation for GalleryProcessor.php - Update indentation for GalleryProcessor.php to pass the code-analysis of php-cs-fixer Related: #545
- Loading branch information
1 parent
519b873
commit b1d4b0b
Showing
4 changed files
with
79 additions
and
19 deletions.
There are no files selected for viewing
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
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
60 changes: 60 additions & 0 deletions
60
Resources/Private/Language/locallang_siteconfiguration.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,60 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2"> | ||
<file source-language="en" | ||
datatype="plaintext" | ||
original="EXT:headless/Resources/Private/Language/locallang_siteconfiguration.xlf" | ||
date="2023-05-25T10:00:00Z" | ||
product-name="headless"> | ||
<header/> | ||
<body> | ||
<trans-unit id="site.columns.base.label" resname="site.columns.base.label"> | ||
<source>TYPO3 Entry Point</source> | ||
</trans-unit> | ||
<trans-unit id="site.columns.base.description" resname="site.columns.base.description"> | ||
<source>Main URL to call the TYPO3 headless api in default language.</source> | ||
</trans-unit> | ||
<trans-unit id="site.columns.cookieDomain.label" resname="site.columns.cookieDomain.label"> | ||
<source>Cookie Domain</source> | ||
</trans-unit> | ||
<trans-unit id="site.columns.frontendApiProxy.label" resname="site.columns.frontendApiProxy.label"> | ||
<source>Frontend API proxy url</source> | ||
</trans-unit> | ||
<trans-unit id="site.columns.frontendApiProxy.description" resname="site.columns.frontendApiProxy.description"> | ||
<source>Main URL to for proxy API</source> | ||
</trans-unit> | ||
<trans-unit id="site.columns.frontendBase.label" resname="site.columns.frontendBase.label"> | ||
<source>Frontend Entry Point</source> | ||
</trans-unit> | ||
<trans-unit id="site.columns.frontendBase.description" resname="site.columns.frontendBase.description"> | ||
<source>Main URL to call the frontend in default language.</source> | ||
</trans-unit> | ||
<trans-unit id="site.columns.frontendFileApi.label" resname="site.columns.frontendFileApi.label"> | ||
<source>Frontend API proxy url for files</source> | ||
</trans-unit> | ||
<trans-unit id="site.columns.frontendFileApi.description" resname="site.columns.frontendFileApi.description"> | ||
<source>Main URL to for proxy API files</source> | ||
</trans-unit> | ||
<trans-unit id="siteBaseVariant.columns.cookieDomain.label" resname="siteBaseVariant.columns.cookieDomain.label"> | ||
<source>Cookie Domain</source> | ||
</trans-unit> | ||
<trans-unit id="siteBaseVariant.columns.frontendApiProxy.label" resname="siteBaseVariant.columns.frontendApiProxy.label"> | ||
<source>Frontend API proxy url</source> | ||
</trans-unit> | ||
<trans-unit id="siteBaseVariant.columns.frontendApiProxy.description" resname="siteBaseVariant.columns.frontendApiProxy.description"> | ||
<source>Main URL to for proxy API</source> | ||
</trans-unit> | ||
<trans-unit id="siteBaseVariant.columns.frontendBase.label" resname="siteBaseVariant.columns.frontendBase.label"> | ||
<source>Frontend Entry Point</source> | ||
</trans-unit> | ||
<trans-unit id="siteBaseVariant.columns.frontendBase.description" resname="siteBaseVariant.columns.frontendBase.description"> | ||
<source>For example "https://front.staging.domain.tld" or "http://front.domain.local"</source> | ||
</trans-unit> | ||
<trans-unit id="siteBaseVariant.columns.frontendFileApi.label" resname="siteBaseVariant.columns.frontendFileApi.label"> | ||
<source>Frontend API proxy url for files</source> | ||
</trans-unit> | ||
<trans-unit id="siteBaseVariant.columns.frontendFileApi.description" resname="siteBaseVariant.columns.frontendFileApi.description"> | ||
<source>Main URL to for proxy API files</source> | ||
</trans-unit> | ||
</body> | ||
</file> | ||
</xliff> |