Jasper Floor pushed to branch master at cms-community / 
hippo-plugin-gallerypicker


Commits:
572822d5 by Bert Leunis at 2017-01-20T16:56:11+01:00
HIPPLUG-1425 add translation for hippogallerypicker:imagelink node type

- - - - -


3 changed files:

- pom.xml
- src/main/resources/hippoecm-extension.xml
- + src/main/resources/hippogallerypicker-imagelink-type-translations.json


Changes:

=====================================
pom.xml
=====================================
--- a/pom.xml
+++ b/pom.xml
@@ -1,6 +1,6 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
 <!--
-    Copyright 2008-2015 Hippo B.V. (http://www.onehippo.com)
+    Copyright 2008-2017 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.
@@ -149,6 +149,7 @@
           <include>**/*.css</include>
           <include>**/*.cnd</include>
           <include>**/*.xml</include>
+          <include>**/*.json</include>
         </includes>
       </resource>
     </resources>


=====================================
src/main/resources/hippoecm-extension.xml
=====================================
--- a/src/main/resources/hippoecm-extension.xml
+++ b/src/main/resources/hippoecm-extension.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-  Copyright 2008-2016 Hippo B.V. (http://www.onehippo.com)
+  Copyright 2008-2017 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.
@@ -158,4 +158,16 @@
     </sv:property>
   </sv:node>
 
+  <sv:node sv:name="hippo-cms-hippogallerypicker-imagelink-type-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>10003</sv:value>
+    </sv:property>
+    <sv:property sv:name="hippo:resourcebundles" sv:type="String">
+      <sv:value>hippogallerypicker-imagelink-type-translations.json</sv:value>
+    </sv:property>
+  </sv:node>
+
 </sv:node>


=====================================
src/main/resources/hippogallerypicker-imagelink-type-translations.json
=====================================
--- /dev/null
+++ b/src/main/resources/hippogallerypicker-imagelink-type-translations.json
@@ -0,0 +1,9 @@
+{
+  "hippo:types": {
+    "hippogallerypicker:imagelink": {
+      "en": {
+        "jcr:name": "Image Link"
+      }
+    }
+  }
+}
\ No newline at end of file



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-plugin-gallerypicker/commit/572822d579e340fa5908b3a3deb50a1ce5a66eb7
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to