Skip to content

Commit

Permalink
[TASK] Streamline XLIFF files (#209)
Browse files Browse the repository at this point in the history
- Remove superfluous "xmlns:t3" namespace
- Set "original" attribute to file name
- Collapse empty "header" tag

Releases: main, 12.4

Co-authored-by: Chris Müller <[email protected]>
  • Loading branch information
github-actions[bot] and brotkrueml authored Sep 16, 2023
1 parent 191a3fd commit c16c552
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions Resources/Private/Language/AdminModule/locallang_mod.xlf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns:t3="http://typo3.org/schemas/xliff" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" original="EXT:examples/Resources/Private/Language/Module/locallang_mod.xlf" datatype="plaintext" product-name="examples" date="2022-10-20T18:44:02+02:00">
<header></header>
<header/>
<body>
<trans-unit id="mlang_labels_tabdescr" resname="mlang_labels_tabdescr">
<source>Example Admin module showing some Core functionality</source>
Expand Down
4 changes: 2 additions & 2 deletions Resources/Private/Language/Module/locallang.xlf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns:t3="http://typo3.org/schemas/xliff" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" original="EXT:examples/Resources/Private/Language/Module/locallang.xlf" datatype="plaintext" product-name="examples" date="2022-10-20T18:43:41+02:00">
<header></header>
<header/>
<body>
<trans-unit id="examples" resname="examples">
<source>Examples</source>
Expand Down
4 changes: 2 additions & 2 deletions Resources/Private/Language/Module/locallang_mod.xlf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns:t3="http://typo3.org/schemas/xliff" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" original="EXT:examples/Resources/Private/Language/Module/locallang_mod.xlf" datatype="plaintext" product-name="examples" date="2022-10-20T18:43:50+02:00">
<header></header>
<header/>
<body>
<trans-unit id="mlang_labels_tabdescr" resname="mlang_labels_tabdescr">
<source>Example module showing some Core functionality</source>
Expand Down
6 changes: 3 additions & 3 deletions Resources/Private/Language/PluginHaiku/de.locallang.xlf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns:t3="http://typo3.org/schemas/xliff" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="de" original="messages" datatype="plaintext" product-name="examples" date="2022-10-20T18:43:14+02:00">
<header></header>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="de" original="EXT:examples/Resources/Private/Language/PluginHaiku/de.locallang.xlf" datatype="plaintext" product-name="examples" date="2022-10-20T18:43:14+02:00">
<header/>
<body>
<trans-unit id="button.backToList" resname="button.backToList">
<source>Back to list</source>
Expand Down
6 changes: 3 additions & 3 deletions Resources/Private/Language/PluginHaiku/locallang.xlf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns:t3="http://typo3.org/schemas/xliff" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" original="messages" datatype="plaintext" product-name="examples" date="2022-10-20T18:43:14+02:00">
<header></header>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" original="EXT:examples/Resources/Private/Language/PluginHaiku/locallang.xlf" datatype="plaintext" product-name="examples" date="2022-10-20T18:43:14+02:00">
<header/>
<body>
<trans-unit id="button.backToList" resname="button.backToList">
<source>Back to list</source>
Expand Down
6 changes: 3 additions & 3 deletions Resources/Private/Language/PluginHaiku/locallang_db.xlf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns:t3="http://typo3.org/schemas/xliff" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" original="messages" datatype="plaintext" product-name="examples" date="2022-10-20T18:43:25+02:00">
<header></header>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" original="EXT:examples/Resources/Private/Language/PluginHaiku/locallang_db.xlf" datatype="plaintext" product-name="examples" date="2022-10-20T18:43:25+02:00">
<header/>
<body>
<trans-unit id="detail.description" resname="detail.description">
<source>Displays a haiku poem in detail.</source>
Expand Down
6 changes: 3 additions & 3 deletions Resources/Private/Language/custom.xlf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns:t3="http://typo3.org/schemas/xliff" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" original="messages" datatype="plaintext" product-name="examples" date="2022-10-20T18:42:36+02:00">
<header></header>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" original="EXT:examples/Resources/Private/Language/custom.xlf" datatype="plaintext" product-name="examples" date="2022-10-20T18:42:36+02:00">
<header/>
<body>
<trans-unit id="pages.title_formlabel" resname="pages.title_formlabel">
<source>Most important tile</source>
Expand Down
6 changes: 3 additions & 3 deletions Resources/Private/Language/de.custom.xlf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns:t3="http://typo3.org/schemas/xliff" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="de" original="messages" datatype="plaintext" product-name="examples" date="2022-10-20T18:42:36+02:00">
<header></header>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" target-language="de" original="EXT:examples/Resources/Private/Language/de.custom.xlf" datatype="plaintext" product-name="examples" date="2022-10-20T18:42:36+02:00">
<header/>
<body>
<trans-unit id="pages.title_formlabel" resname="pages.title_formlabel">
<source>Most important tile</source>
Expand Down
4 changes: 2 additions & 2 deletions Resources/Private/Language/locallang.xlf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" original="messages" datatype="plaintext" product-name="examples" date="2022-10-20T18:41:02+02:00">
<header></header>
<file source-language="en" original="EXT:examples/Resources/Private/Language/locallang.xlf" datatype="plaintext" product-name="examples" date="2022-10-20T18:41:02+02:00">
<header/>
<body>
<trans-unit id="additional_categories" resname="additional_categories">
<source>Additional categories</source>
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Language/locallang_browse_links.xlf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns:t3="http://typo3.org/schemas/xliff" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" original="EXT:recordlist/Resources/Private/Language/locallang_browse_links.xlf" datatype="plaintext" product-name="lang" date="2022-10-20T18:41:26+02:00">
<header></header>
<header/>
<body>
<trans-unit id="gitHubDescription" resname="gitHubDescription">
<source>Enter the &#34;%s&#34; number for the GitHub repository &#34;%s&#34;.</source>
Expand Down
6 changes: 3 additions & 3 deletions Resources/Private/Language/locallang_db.xlf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns:t3="http://typo3.org/schemas/xliff" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" original="messages" datatype="plaintext" product-name="examples" date="2022-10-20T18:41:45+02:00">
<header></header>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" original="EXT:examples/Resources/Private/Language/locallang_db.xlf" datatype="plaintext" product-name="examples" date="2022-10-20T18:41:45+02:00">
<header/>
<body>
<trans-unit id="be_users.tx_examples_mobile" resname="be_users.tx_examples_mobile">
<source>Mobile number</source>
Expand Down

0 comments on commit c16c552

Please sign in to comment.