Author: jmorliaguet
Date: Mon Jun  5 17:22:06 2006
New Revision: 3321

Added:
   z3ecm/trunk/src/ecm/cpsskins/locales/
   z3ecm/trunk/src/ecm/cpsskins/locales/Makefile   (contents, props changed)
   z3ecm/trunk/src/ecm/cpsskins/locales/en/
   z3ecm/trunk/src/ecm/cpsskins/locales/en/LC_MESSAGES/
   z3ecm/trunk/src/ecm/cpsskins/locales/en/LC_MESSAGES/examples.mo   (contents, 
props changed)
   z3ecm/trunk/src/ecm/cpsskins/locales/en/LC_MESSAGES/examples.po   (contents, 
props changed)
Modified:
   z3ecm/trunk/src/ecm/cpsskins/configure.zcml

Log:

- merge translations here too



Modified: z3ecm/trunk/src/ecm/cpsskins/configure.zcml
==============================================================================
--- z3ecm/trunk/src/ecm/cpsskins/configure.zcml (original)
+++ z3ecm/trunk/src/ecm/cpsskins/configure.zcml Mon Jun  5 17:22:06 2006
@@ -1,7 +1,10 @@
 <configure
     xmlns="http://namespaces.zope.org/zope";
+    xmlns:cpsskins="http://namespaces.zope.org/cpsskins";
     >
 
+  <cpsskins:mergeTranslations domain="cpsskins" directory="locales" />
+
   <include package=".example1" />
 
   <include package=".example2" />

Added: z3ecm/trunk/src/ecm/cpsskins/locales/Makefile
==============================================================================
--- (empty file)
+++ z3ecm/trunk/src/ecm/cpsskins/locales/Makefile       Mon Jun  5 17:22:06 2006
@@ -0,0 +1,9 @@
+.PHONY: merge update
+
+all: merge update
+
+merge:
+       msgmerge -U en/LC_MESSAGES/examples.po ./examples.pot
+
+update:
+       msgfmt ./en/LC_MESSAGES/examples.po -o ./en/LC_MESSAGES/examples.mo

Added: z3ecm/trunk/src/ecm/cpsskins/locales/en/LC_MESSAGES/examples.mo
==============================================================================
Binary file. No diff available.

Added: z3ecm/trunk/src/ecm/cpsskins/locales/en/LC_MESSAGES/examples.po
==============================================================================
--- (empty file)
+++ z3ecm/trunk/src/ecm/cpsskins/locales/en/LC_MESSAGES/examples.po     Mon Jun 
 5 17:22:06 2006
@@ -0,0 +1,35 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: ecm.cpsskins\n"
+"POT-Creation-Date: Wed Sep 21 02:01:57 2005\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Preferred-Encodings: latin1 utf-8\n"
+"Domain: default\n"
+
+# Portlets
+msgid "canvas-portlet-ecm.cpsskins.example1"
+msgstr "Example 1: hello portlet"
+
+msgid "canvas-portlet-ecm.cpsskins.example2"
+msgstr "Example 2: text portlet"
+
+msgid "canvas-portlet-ecm.cpsskins.example3"
+msgstr "Example 3: items portlet"
+
+msgid "canvas-portlet-ecm.cpsskins.example4"
+msgstr "Example 4: actions portlet"
+
+msgid "canvas-portlet-ecm.cpsskins.example6"
+msgstr "Example 6: counter portlet"
+
+msgid "canvas-portlet-ecm.cpsskins.example7"
+msgstr "Example 7: news portlet"
+
+# Widgets
+msgid "widget.ecm.cpsskins.newsbox"
+msgstr "news box"
+
+msgid "widget.ecm.cpsskins.alertbox"
+msgstr "news alert box"
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to