Commit 7571cb2a authored by Unico Hommes's avatar Unico Hommes

HIPPLUG-1199 move type translations to resource bundle configuration

parent 26a54619
......@@ -9,3 +9,4 @@ src/main/resources/hide-resourcebundle-namespace.xml svneol=native#text/plain
src/main/resources/hippoecm-extension.xml svneol=native#text/plain
src/main/resources/namespace-fix-mandatory-id-patch.xml svneol=native#text/plain
src/main/resources/namespace.xml svneol=native#text/plain
src/main/resources/resourcebundle-type-translations.xml -text
......@@ -23,12 +23,10 @@
<version>27.2</version>
</parent>
<inceptionYear>2013</inceptionYear>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-plugin-resourcebundle-editor</artifactId>
<name>Hippo Plugin Resourcebundle Editor</name>
<version>2.1.0-translations-1.0-SNAPSHOT</version>
<inceptionYear>2013</inceptionYear>
<scm>
<connection>scm:svn:https://svn.onehippo.org/repos/hippo/hippo-cms7/plugins/resourcebundle-editor/branches/resourcebundle-editor-2.1.0-translations-1</connection>
......
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2008-2015 Hippo B.V. (http://www.onehippo.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS"
BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0" sv:name="hippo:initialize">
<sv:node sv:name="resourcebundle-namespace">
......@@ -53,6 +68,21 @@
</sv:property>
</sv:node>
<sv:node sv:name="resourcebundle-type-translations">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:initializeitem</sv:value>
</sv:property>
<sv:property sv:name="hippo:contentresource" sv:type="String">
<sv:value>resourcebundle-type-translations.xml</sv:value>
</sv:property>
<sv:property sv:name="hippo:contentroot" sv:type="String">
<sv:value>/hippo:configuration/hippo:translations/hippo:types</sv:value>
</sv:property>
<sv:property sv:name="hippo:sequence" sv:type="Double">
<sv:value>20121</sv:value>
</sv:property>
</sv:node>
<!-- <sv:node sv:name="resourcebundle-queries-templates-new-resourcebundle-folder">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:initializeitem</sv:value>
......
......@@ -13,52 +13,7 @@
<sv:property sv:multiple="true" sv:name="jcr:mixinTypes" sv:type="Name">
<sv:value>mix:referenceable</sv:value>
<sv:value>editor:editable</sv:value>
<sv:value>hippo:translated</sv:value>
</sv:property>
<sv:node sv:name="hippo:translation">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:translation</sv:value>
</sv:property>
<sv:property sv:name="hippo:language" sv:type="String">
<sv:value>nl</sv:value>
</sv:property>
<sv:property sv:name="hippo:message" sv:type="String">
<sv:value>Resource Bundle</sv:value>
</sv:property>
</sv:node>
<sv:node sv:name="hippo:translation">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:translation</sv:value>
</sv:property>
<sv:property sv:name="hippo:language" sv:type="String">
<sv:value>en</sv:value>
</sv:property>
<sv:property sv:name="hippo:message" sv:type="String">
<sv:value>Resource Bundle</sv:value>
</sv:property>
</sv:node>
<sv:node sv:name="hippo:translation">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:translation</sv:value>
</sv:property>
<sv:property sv:name="hippo:language" sv:type="String">
<sv:value>fr</sv:value>
</sv:property>
<sv:property sv:name="hippo:message" sv:type="String">
<sv:value>Resource Bundle</sv:value>
</sv:property>
</sv:node>
<sv:node sv:name="hippo:translation">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:translation</sv:value>
</sv:property>
<sv:property sv:name="hippo:language" sv:type="String">
<sv:value>it</sv:value>
</sv:property>
<sv:property sv:name="hippo:message" sv:type="String">
<sv:value>Resource Bundle</sv:value>
</sv:property>
</sv:node>
<sv:node sv:name="hipposysedit:nodetype">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:handle</sv:value>
......
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2015-2015 Hippo B.V. (http://www.onehippo.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS"
BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<sv:node sv:name="resourcebundle:resourcebundle" xmlns:sv="http://www.jcp.org/jcr/sv/1.0">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hipposys:resourcebundles</sv:value>
</sv:property>
<sv:node sv:name="en">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hipposys:resourcebundle</sv:value>
</sv:property>
<sv:property sv:name="jcr:name" sv:type="String">
<sv:value>Resource Bundle</sv:value>
</sv:property>
</sv:node>
<sv:node sv:name="nl">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hipposys:resourcebundle</sv:value>
</sv:property>
<sv:property sv:name="jcr:name" sv:type="String">
<sv:value>Resource Bundle</sv:value>
</sv:property>
</sv:node>
<sv:node sv:name="fr">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hipposys:resourcebundle</sv:value>
</sv:property>
<sv:property sv:name="jcr:name" sv:type="String">
<sv:value>Resource Bundle</sv:value>
</sv:property>
</sv:node>
<sv:node sv:name="de">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hipposys:resourcebundle</sv:value>
</sv:property>
<sv:property sv:name="jcr:name" sv:type="String">
<sv:value>Resource Bundle</sv:value>
</sv:property>
</sv:node>
</sv:node>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment