Commit 8890b20c authored by Unico Hommes's avatar Unico Hommes

HSTCONFIGEDIT-192 use repository-based resource bundle provider

parent 41d0f421
......@@ -210,9 +210,8 @@ repository/src/main/resources/hst-editor-auth.xml -text svneol=unset#text/plain
repository/src/main/resources/hst-editor-namespace.xml svneol=native#text/plain
repository/src/main/resources/hst-editor-navigator.xml svneol=native#text/plain
repository/src/main/resources/hst-editor-pickers.xml svneol=native#text/plain
repository/src/main/resources/hst-editor-pickers_de.xml -text
repository/src/main/resources/hst-editor-translator.xml -text
repository/src/main/resources/hst-editor-tree-views.xml svneol=native#text/plain
repository/src/main/resources/hst-editor-views.xml svneol=native#text/plain
repository/src/main/resources/hst-folder-views.xml svneol=native#text/plain
repository/src/main/resources/hstconfigedit-types.cnd -text
repository/src/main/resources/section-translations.json -text
......@@ -58,24 +58,15 @@
</sv:property>
</sv:node>
<sv:node sv:name="hst-editor-translator">
<sv:node sv:name="hst-editor-section-translations">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:initializeitem</sv:value>
</sv:property>
<sv:property sv:name="hippo:sequence" sv:type="Double">
<sv:value>10015</sv:value>
</sv:property>
<sv:property sv:name="hippo:contentresource" sv:type="String">
<sv:value>hst-editor-translator.xml</sv:value>
</sv:property>
<sv:property sv:name="hippo:contentroot" sv:type="String">
<sv:value>/hippo:configuration/hippo:frontend/cms/cms-services</sv:value>
</sv:property>
<sv:property sv:name="hippo:reloadonstartup" sv:type="Boolean">
<sv:value>true</sv:value>
</sv:property>
<sv:property sv:name="hippo:version" sv:type="String">
<sv:value>1.13.02</sv:value>
<sv:property sv:name="hippo:resourcebundles" sv:type="String">
<sv:value>section-translations.json</sv:value>
</sv:property>
</sv:node>
......@@ -115,21 +106,6 @@
</sv:property>
</sv:node>
<sv:node sv:name="hst-editor-pickers-de">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:initializeitem</sv:value>
</sv:property>
<sv:property sv:name="hippo:sequence" sv:type="Double">
<sv:value>10017.1</sv:value>
</sv:property>
<sv:property sv:name="hippo:contentresource" sv:type="String">
<sv:value>hst-editor-pickers_de.xml</sv:value>
</sv:property>
<sv:property sv:name="hippo:contentroot" sv:type="String">
<sv:value>/hippo:configuration/hippo:frontend/cms</sv:value>
</sv:property>
</sv:node>
<sv:node sv:name="hst-editor-tree-views">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippo:initializeitem</sv:value>
......
......@@ -14,10 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<sv:node sv:name="hst-editor-pickers"
xmlns:sv="http://www.jcp.org/jcr/sv/1.0"
>
<sv:node sv:name="hst-editor-pickers" xmlns:sv="http://www.jcp.org/jcr/sv/1.0">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>frontend:clusterfolder</sv:value>
</sv:property>
......@@ -156,77 +153,6 @@
<sv:property sv:name="frontend:properties" sv:type="String">
<sv:value>content.path</sv:value>
</sv:property>
<sv:node sv:name="translations">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>frontend:plugin</sv:value>
</sv:property>
<sv:property sv:name="jcr:mixinTypes" sv:type="Name">
<sv:value>hippostd:translated</sv:value>
</sv:property>
<sv:property sv:name="plugin.class" sv:type="String">
<sv:value>org.hippoecm.frontend.i18n.ConfigTraversingPlugin</sv:value>
</sv:property>
<sv:property sv:name="translator.id" sv:type="String">
<sv:value>${cluster.id}.service.translator.config</sv:value>
</sv:property>
<sv:node sv:name="hippostd:translations">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>hippostd:translations</sv:value>
</sv:property>
<sv:node sv:name="section-sitemap">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>frontend:pluginconfig</sv:value>
</sv:property>
<sv:property sv:name="jcr:mixinTypes" sv:type="Name">
<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>URL mapping</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>Sitemap mapping</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>URL mapping</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>Sitemap mappattura</sv:value>
</sv:property>
</sv:node>
</sv:node>
</sv:node>
</sv:node>
<sv:node sv:name="internalLinkPicker">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>frontend:plugin</sv:value>
......
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2008 Hippo
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="hst-editor-pickers"
xmlns:sv="http://www.jcp.org/jcr/sv/1.0"
xmlns:h="http://www.onehippo.org/jcr/xmlimport" h:merge="combine">
<sv:node sv:name="sitemap-content" h:merge="combine">
<sv:node sv:name="translations" h:merge="combine">
<sv:node sv:name="hippostd:translations" h:merge="combine">
<sv:node sv:name="section-sitemap" h:merge="combine">
<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>de</sv:value>
</sv:property>
<sv:property sv:name="hippo:message" sv:type="String">
<sv:value>Sitemap mapping</sv:value>
</sv:property>
</sv:node>
</sv:node>
</sv:node>
</sv:node>
</sv:node>
</sv:node>
......@@ -177,20 +177,6 @@
<sv:value/>
</sv:property>
</sv:node>
<sv:node sv:name="hideTranslation">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>frontend:pluginconfig</sv:value>
</sv:property>
<sv:property sv:name="child" sv:type="String">
<sv:value>hippo:translation</sv:value>
</sv:property>
<sv:property sv:name="display" sv:type="Boolean">
<sv:value>false</sv:value>
</sv:property>
<sv:property sv:name="path" sv:type="String">
<sv:value/>
</sv:property>
</sv:node>
<sv:node sv:name="hideFacNavType">
<sv:property sv:name="jcr:primaryType" sv:type="Name">
<sv:value>frontend:pluginconfig</sv:value>
......
{
"hippo:cms" : {
"sections" : {
"en" : {
"section-sitemap" : "Sitemap",
"section-sitemenus" : "Site Menus",
"section-abstractpages" : "Abstract Pages",
"section-pages" : "Pages",
"section-components" : "Components",
"section-templates" : "Templates",
"section-catalog" : "Catalogs"
},
"nl" : {
"section-sitemap" : "Sitemap",
"section-sitemenus" : "Site Menus",
"section-abstractpages" : "Abstracte Pagina's",
"section-pages" : "Pagina's",
"section-components" : "Componenten",
"section-templates" : "Sjablonen",
"section-catalog" : "Catalogi"
},
"de" : {
"section-sitemap" : "Sitemap",
"section-sitemenus" : "Site Menüs",
"section-abstractpages" : "Abstrakt Seiten",
"section-pages" : "Seiten",
"section-components" : "Komponenten",
"section-templates" : "Sjablonen",
"section-catalog" : "Kataloge"
},
"fr" : {
"section-sitemap" : "Sitemap",
"section-sitemenus" : "Site Menus",
"section-abstractpages" : "Abstract Pages",
"section-pages" : "Pages",
"section-components" : "Composants",
"section-templates" : "Templates",
"section-catalog" : "Catalogues"
}
}
}
}
\ No newline at end of file
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