Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
EZP-26835 : Script to extract translations + update files
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Bastien committed Jan 18, 2017
1 parent 27f6648 commit 149b4fd
Show file tree
Hide file tree
Showing 12 changed files with 312 additions and 409 deletions.
158 changes: 79 additions & 79 deletions Resources/translations/content_type.en.xlf

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions Resources/translations/dashboard.en.xlf
@@ -1,35 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
<file date="2016-11-29T11:49:06Z" source-language="en" target-language="en" datatype="plaintext" original="not.available">
<file date="2017-01-17T17:31:05Z" source-language="en" target-language="en" datatype="plaintext" original="not.available">
<header>
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
</header>
<body>
<trans-unit id="e9c04dcd1a73d8cb5fc72ca356e61ab28d38ec46" resname="dashboard.title">
<source>Administration dashboard</source>
<source>Dashboard</source>
<target>Administration dashboard</target>
<note>key: dashboard.title</note>
<jms:reference-file line="13">/../../../../.././Resources/views/ContentType/edit_content_type_group.html.twig</jms:reference-file>
<jms:reference-file line="7">/../../../../.././Resources/views/ContentType/list_content_type_groups.html.twig</jms:reference-file>
<jms:reference-file line="14">/../../../../.././Resources/views/ContentType/update_content_type.html.twig</jms:reference-file>
<jms:reference-file line="13">/../../../../.././Resources/views/ContentType/view_content_type.html.twig</jms:reference-file>
<jms:reference-file line="9">/../../../../.././Resources/views/ContentType/view_content_type_group.html.twig</jms:reference-file>
<jms:reference-file line="21">/../../../../.././Resources/views/Dashboard/dashboard.html.twig</jms:reference-file>
<jms:reference-file line="6">/../../../../.././Resources/views/Dashboard/dashboard.html.twig</jms:reference-file>
<jms:reference-file line="13">/../../../../.././Resources/views/Language/edit.html.twig</jms:reference-file>
<jms:reference-file line="11">/../../../../.././Resources/views/Language/list.html.twig</jms:reference-file>
<jms:reference-file line="7">/../../../../.././Resources/views/Language/view.html.twig</jms:reference-file>
<jms:reference-file line="9">/../../../../.././Resources/views/Role/assign_role_by_section.html.twig</jms:reference-file>
<jms:reference-file line="14">/../../../../.././Resources/views/Role/edit_policy.html.twig</jms:reference-file>
<jms:reference-file line="8">/../../../../.././Resources/views/Role/list_roles.html.twig</jms:reference-file>
<jms:reference-file line="13">/../../../../.././Resources/views/Role/update_role.html.twig</jms:reference-file>
<jms:reference-file line="9">/../../../../.././Resources/views/Role/view_role.html.twig</jms:reference-file>
<jms:reference-file line="9">/../../../../.././Resources/views/Section/create.html.twig</jms:reference-file>
<jms:reference-file line="13">/../../../../.././Resources/views/Section/edit.html.twig</jms:reference-file>
<jms:reference-file line="38">/../../../../.././Resources/views/Section/list.html.twig</jms:reference-file>
<jms:reference-file line="7">/../../../../.././Resources/views/Section/view.html.twig</jms:reference-file>
<jms:reference-file line="7">/../../../../.././Resources/views/SystemInfo/info.html.twig</jms:reference-file>
<jms:reference-file line="13">/Resources/views/ContentType/edit_content_type_group.html.twig</jms:reference-file>
<jms:reference-file line="7">/Resources/views/ContentType/list_content_type_groups.html.twig</jms:reference-file>
<jms:reference-file line="16">/Resources/views/ContentType/update_content_type.html.twig</jms:reference-file>
<jms:reference-file line="12">/Resources/views/ContentType/view_content_type.html.twig</jms:reference-file>
<jms:reference-file line="9">/Resources/views/ContentType/view_content_type_group.html.twig</jms:reference-file>
<jms:reference-file line="21">/Resources/views/Dashboard/dashboard.html.twig</jms:reference-file>
<jms:reference-file line="6">/Resources/views/Dashboard/dashboard.html.twig</jms:reference-file>
<jms:reference-file line="13">/Resources/views/Language/edit.html.twig</jms:reference-file>
<jms:reference-file line="11">/Resources/views/Language/list.html.twig</jms:reference-file>
<jms:reference-file line="7">/Resources/views/Language/view.html.twig</jms:reference-file>
<jms:reference-file line="9">/Resources/views/Role/assign_role_by_section.html.twig</jms:reference-file>
<jms:reference-file line="14">/Resources/views/Role/edit_policy.html.twig</jms:reference-file>
<jms:reference-file line="8">/Resources/views/Role/list_roles.html.twig</jms:reference-file>
<jms:reference-file line="13">/Resources/views/Role/update_role.html.twig</jms:reference-file>
<jms:reference-file line="9">/Resources/views/Role/view_role.html.twig</jms:reference-file>
<jms:reference-file line="9">/Resources/views/Section/create.html.twig</jms:reference-file>
<jms:reference-file line="13">/Resources/views/Section/edit.html.twig</jms:reference-file>
<jms:reference-file line="38">/Resources/views/Section/list.html.twig</jms:reference-file>
<jms:reference-file line="7">/Resources/views/Section/view.html.twig</jms:reference-file>
<jms:reference-file line="7">/Resources/views/SystemInfo/info.html.twig</jms:reference-file>
</trans-unit>
</body>
</file>
Expand Down
4 changes: 2 additions & 2 deletions Resources/translations/ezrepoforms_content_type.en.xlf
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
<file date="2016-11-29T11:49:06Z" source-language="en" target-language="en" datatype="plaintext" original="not.available">
<file date="2017-01-17T17:31:05Z" source-language="en" target-language="en" datatype="plaintext" original="not.available">
<header>
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
Expand All @@ -10,7 +10,7 @@
<source>__content_type.edit_title</source>
<target>__content_type.edit_title</target>
<note>key: content_type.edit_title</note>
<jms:reference-file line="6">/../../../../.././Resources/views/ContentType/update_content_type.html.twig</jms:reference-file>
<jms:reference-file line="6">/Resources/views/ContentType/update_content_type.html.twig</jms:reference-file>
</trans-unit>
</body>
</file>
Expand Down
118 changes: 0 additions & 118 deletions Resources/translations/fieldtypes.en.xlf

This file was deleted.

8 changes: 4 additions & 4 deletions Resources/translations/general.en.xlf
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
<file date="2016-11-29T11:49:06Z" source-language="en" target-language="en" datatype="plaintext" original="not.available">
<file date="2017-01-17T17:31:05Z" source-language="en" target-language="en" datatype="plaintext" original="not.available">
<header>
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
Expand All @@ -10,19 +10,19 @@
<source>JavaScript is disabled in your browser but it is required to run the eZ Platform User Interface.</source>
<target>JavaScript is disabled in your browser but it is required to run the eZ Platform User Interface.</target>
<note>key: javascript.disabled.required</note>
<jms:reference-file line="45">/../../../../.././Resources/views/PlatformUI/shell.html.twig</jms:reference-file>
<jms:reference-file line="45">/Resources/views/PlatformUI/shell.html.twig</jms:reference-file>
</trans-unit>
<trans-unit id="1ac530659b5b57d48cf6d95bc51ead90f1a2ac6d" resname="javascript.enable">
<source>Please enable JavaScript to use the eZ Platform User Interface.</source>
<target>Please enable JavaScript to use the eZ Platform User Interface.</target>
<note>key: javascript.enable</note>
<jms:reference-file line="46">/../../../../.././Resources/views/PlatformUI/shell.html.twig</jms:reference-file>
<jms:reference-file line="46">/Resources/views/PlatformUI/shell.html.twig</jms:reference-file>
</trans-unit>
<trans-unit id="40797c87a424e73c1893096db97ec0147bd261bf" resname="loading.application">
<source>Loading the application...</source>
<target>Loading the application...</target>
<note>key: loading.application</note>
<jms:reference-file line="30">/../../../../.././Resources/views/PlatformUI/shell.html.twig</jms:reference-file>
<jms:reference-file line="30">/Resources/views/PlatformUI/shell.html.twig</jms:reference-file>
</trans-unit>
</body>
</file>
Expand Down

0 comments on commit 149b4fd

Please sign in to comment.