mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-22 13:26:10 +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:
Oliver Klee 2021-02-24 19:04:30 +01:00 committed by GitHub
parent d44c2a35b9
commit e51dad6aea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 6 deletions

View file

@ -95,8 +95,7 @@ jobs:
- name: "Download xliff schema"
run: "wget https://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd"
- name: "Run lint"
run: "xmllint --schema ./xliff-core-1.2-strict.xsd
--noout $(find Resources -name '*.xlf')"
run: "xmllint --schema ./xliff-core-1.2-strict.xsd --noout $(find Resources -name '*.xlf')"
unit-tests:
name: "Unit tests"
runs-on: ubuntu-20.04

View file

@ -1,5 +1,5 @@
<?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">
<header/>
<body>

View file

@ -1,5 +1,5 @@
<?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">
<header/>
<body>

View file

@ -1,5 +1,5 @@
<?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">
<header/>
<body>

View file

@ -1,5 +1,5 @@
<?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">
<header/>
<body>