mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 08:56:56 +01:00
[BUGFIX] Downgrade the XLIFF files to version 1.0 (#206)
This now matches what the TYPO3 Core uses. We still use the XLIFF 1.2 schema for validation as version 1.2 is the first fully ratified version. Closes #198
This commit is contained in:
parent
d44c2a35b9
commit
e51dad6aea
5 changed files with 5 additions and 6 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -95,8 +95,7 @@ jobs:
|
||||||
- name: "Download xliff schema"
|
- name: "Download xliff schema"
|
||||||
run: "wget https://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd"
|
run: "wget https://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd"
|
||||||
- name: "Run lint"
|
- name: "Run lint"
|
||||||
run: "xmllint --schema ./xliff-core-1.2-strict.xsd
|
run: "xmllint --schema ./xliff-core-1.2-strict.xsd --noout $(find Resources -name '*.xlf')"
|
||||||
--noout $(find Resources -name '*.xlf')"
|
|
||||||
unit-tests:
|
unit-tests:
|
||||||
name: "Unit tests"
|
name: "Unit tests"
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
|
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.0">
|
||||||
<file source-language="en" target-language="de" datatype="plaintext" original="messages">
|
<file source-language="en" target-language="de" datatype="plaintext" original="messages">
|
||||||
<header/>
|
<header/>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
|
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.0">
|
||||||
<file source-language="en" target-language="de" datatype="plaintext" original="messages">
|
<file source-language="en" target-language="de" datatype="plaintext" original="messages">
|
||||||
<header/>
|
<header/>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
|
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.0">
|
||||||
<file source-language="en" datatype="plaintext" original="messages">
|
<file source-language="en" datatype="plaintext" original="messages">
|
||||||
<header/>
|
<header/>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
|
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.0">
|
||||||
<file source-language="en" datatype="plaintext" original="messages">
|
<file source-language="en" datatype="plaintext" original="messages">
|
||||||
<header/>
|
<header/>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in a new issue