Skip to content

Commit

Permalink
Fix: Respect language from interface
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto committed Feb 17, 2021
1 parent 19bc38c commit c5544e5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion Resources/Private/Translations/de/Main.xlf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2"
<xliff version="1.2"
xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file original="" product-name="Jonnitto.PrettyEmbedVideoPlatforms" source-language="en" datatype="plaintext" target-language="de">
<body>
Expand All @@ -11,6 +11,10 @@
<source>Please add a video URL or ID in the inspector</source>
<target>Bitte Video URL oder ID im Inspektor hinzufügen</target>
</trans-unit>
<trans-unit id="lang" xml:space="preserve">
<source>en</source>
<target>de</target>
</trans-unit>
</body>
</file>
</xliff>
6 changes: 5 additions & 1 deletion Resources/Private/Translations/en/Main.xlf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2"
<xliff version="1.2"
xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file original="" product-name="Jonnitto.PrettyEmbedVideoPlatforms" source-language="en" target-language="en" datatype="plaintext">
<body>
Expand All @@ -11,6 +11,10 @@
<source>Please add a video URL or ID in the inspector</source>
<target>Please add a video URL or ID in the inspector</target>
</trans-unit>
<trans-unit id="lang" xml:space="preserve">
<source>en</source>
<target>en</target>
</trans-unit>
</body>
</file>
</xliff>
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}
],
"require": {
"jonnitto/prettyembedhelper": "^2.3 || dev-master"
"jonnitto/prettyembedhelper": "^2.6.3 || dev-master"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit c5544e5

Please sign in to comment.