[Checkins] SVN: z3ext.formatter/trunk/ Added translations: nl, ru

Nikolay Kim fafhrd at datacom.kz
Mon Oct 20 12:56:08 EDT 2008


Log message for revision 92407:
  Added translations: nl, ru

Changed:
  U   z3ext.formatter/trunk/CHANGES.txt
  U   z3ext.formatter/trunk/buildout.cfg
  D   z3ext.formatter/trunk/i18ncheck.in
  A   z3ext.formatter/trunk/scripts/
  A   z3ext.formatter/trunk/scripts/i18nall.in
  A   z3ext.formatter/trunk/scripts/i18ncheck.in
  U   z3ext.formatter/trunk/src/z3ext/formatter/fancydatetime.py
  A   z3ext.formatter/trunk/src/z3ext/formatter/locales/en/
  A   z3ext.formatter/trunk/src/z3ext/formatter/locales/en/LC_MESSAGES/
  A   z3ext.formatter/trunk/src/z3ext/formatter/locales/en/LC_MESSAGES/z3ext.formatter.mo
  A   z3ext.formatter/trunk/src/z3ext/formatter/locales/en/LC_MESSAGES/z3ext.formatter.po
  A   z3ext.formatter/trunk/src/z3ext/formatter/locales/nl/
  A   z3ext.formatter/trunk/src/z3ext/formatter/locales/nl/LC_MESSAGES/
  A   z3ext.formatter/trunk/src/z3ext/formatter/locales/nl/LC_MESSAGES/z3ext.formatter.mo
  A   z3ext.formatter/trunk/src/z3ext/formatter/locales/nl/LC_MESSAGES/z3ext.formatter.po
  A   z3ext.formatter/trunk/src/z3ext/formatter/locales/ru/
  A   z3ext.formatter/trunk/src/z3ext/formatter/locales/ru/LC_MESSAGES/
  A   z3ext.formatter/trunk/src/z3ext/formatter/locales/ru/LC_MESSAGES/z3ext.formatter.mo
  A   z3ext.formatter/trunk/src/z3ext/formatter/locales/ru/LC_MESSAGES/z3ext.formatter.po
  U   z3ext.formatter/trunk/src/z3ext/formatter/locales/z3ext.formatter.pot

-=-
Modified: z3ext.formatter/trunk/CHANGES.txt
===================================================================
--- z3ext.formatter/trunk/CHANGES.txt	2008-10-20 15:49:38 UTC (rev 92406)
+++ z3ext.formatter/trunk/CHANGES.txt	2008-10-20 16:56:07 UTC (rev 92407)
@@ -2,6 +2,12 @@
 CHANGES
 =======
 
+1.2.3 (2008-10-20)
+------------------
+
+- Added translations: nl, ru
+
+
 1.2.2 (2008-10-10)
 ------------------
 

Modified: z3ext.formatter/trunk/buildout.cfg
===================================================================
--- z3ext.formatter/trunk/buildout.cfg	2008-10-20 15:49:38 UTC (rev 92406)
+++ z3ext.formatter/trunk/buildout.cfg	2008-10-20 16:56:07 UTC (rev 92407)
@@ -1,6 +1,6 @@
 [buildout]
 develop = .
-parts = test coverage-test coverage-report i18n i18ncheck i18ndude
+parts = test coverage-test coverage-report i18n i18nall i18ncheck i18ndude
 
 [test]
 recipe = zc.recipe.testrunner
@@ -44,9 +44,14 @@
     <include package="z3ext.formatter" />
   </configure>
 
+[i18nall]
+recipe = buildout_script
+template_dir = ${buildout:directory}/scripts/
+template = i18nall.in
+
 [i18ncheck]
 recipe = buildout_script
-template_dir = ${buildout:directory}/
+template_dir = ${buildout:directory}/scripts/
 template = i18ncheck.in
 
 [i18ndude]

Deleted: z3ext.formatter/trunk/i18ncheck.in
===================================================================
--- z3ext.formatter/trunk/i18ncheck.in	2008-10-20 15:49:38 UTC (rev 92406)
+++ z3ext.formatter/trunk/i18ncheck.in	2008-10-20 16:56:07 UTC (rev 92407)
@@ -1,4 +0,0 @@
-#!/bin/sh
-# Startup or shutdown buildbot
-
-bin/i18ndude find-untranslated ./ | grep z3ext.persistentlayout | less

Added: z3ext.formatter/trunk/scripts/i18nall.in
===================================================================
--- z3ext.formatter/trunk/scripts/i18nall.in	                        (rev 0)
+++ z3ext.formatter/trunk/scripts/i18nall.in	2008-10-20 16:56:07 UTC (rev 92407)
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+update_egg()
+{
+    echo "Start update $@"
+
+    bin/i18nextract && \
+    bin/i18nmergeall && \
+    msgfmt ${1}/locales/nl/LC_MESSAGES/${2}.po -o ${1}/locales/nl/LC_MESSAGES/${2}.mo --no-hash && \
+    msgfmt ${1}/locales/en/LC_MESSAGES/${2}.po -o ${1}/locales/en/LC_MESSAGES/${2}.mo --no-hash && \
+    msgfmt ${1}/locales/ru/LC_MESSAGES/${2}.po -o ${1}/locales/ru/LC_MESSAGES/${2}.mo --no-hash
+}
+
+update_egg src/z3ext/formatter z3ext.formatter;


Property changes on: z3ext.formatter/trunk/scripts/i18nall.in
___________________________________________________________________
Name: svn:executable
   + *

Copied: z3ext.formatter/trunk/scripts/i18ncheck.in (from rev 92404, z3ext.formatter/trunk/i18ncheck.in)
===================================================================
--- z3ext.formatter/trunk/scripts/i18ncheck.in	                        (rev 0)
+++ z3ext.formatter/trunk/scripts/i18ncheck.in	2008-10-20 16:56:07 UTC (rev 92407)
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Startup or shutdown buildbot
+
+bin/i18ndude find-untranslated ./ | grep z3ext.persistentlayout | less

Modified: z3ext.formatter/trunk/src/z3ext/formatter/fancydatetime.py
===================================================================
--- z3ext.formatter/trunk/src/z3ext/formatter/fancydatetime.py	2008-10-20 15:49:38 UTC (rev 92406)
+++ z3ext.formatter/trunk/src/z3ext/formatter/fancydatetime.py	2008-10-20 16:56:07 UTC (rev 92407)
@@ -68,7 +68,9 @@
             if pos < 0:
                 pos = pattern.find('H')
 
-            formatter.setPattern("'%s '"%_(u'Today at') + pattern[pos:])
+            formatter.setPattern(pattern[pos:])
+            return _(u'Today at ${value}',
+                     mapping={'value': formatter.format(value)})
 
         if delta.days == 1:
             pattern = formatter.getPattern()
@@ -76,7 +78,9 @@
             if pos < 0:
                 pos = pattern.find('H')
 
-            formatter.setPattern("'%s '"%_(u'Yesterday at') + pattern[pos:])
+            formatter.setPattern(pattern[pos:])
+            return _(u'Yesterday at ${value}',
+                     mapping={'value': formatter.format(value)})
 
         if timezoneFormat == 3:
             if self.tp in ('full',):

Added: z3ext.formatter/trunk/src/z3ext/formatter/locales/en/LC_MESSAGES/z3ext.formatter.mo
===================================================================
(Binary files differ)


Property changes on: z3ext.formatter/trunk/src/z3ext/formatter/locales/en/LC_MESSAGES/z3ext.formatter.mo
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: z3ext.formatter/trunk/src/z3ext/formatter/locales/en/LC_MESSAGES/z3ext.formatter.po
===================================================================
--- z3ext.formatter/trunk/src/z3ext/formatter/locales/en/LC_MESSAGES/z3ext.formatter.po	                        (rev 0)
+++ z3ext.formatter/trunk/src/z3ext/formatter/locales/en/LC_MESSAGES/z3ext.formatter.po	2008-10-20 16:56:07 UTC (rev 92407)
@@ -0,0 +1,74 @@
+# #############################################################################
+#
+# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+# #############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: Development/Unknown\n"
+"POT-Creation-Date: Mon Oct 20 22:53:40 2008\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: Zope 3 Developers <zope3-dev at zope.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+
+#: src/z3ext/formatter/configure.zcml:26
+msgid "Configure portal formatters."
+msgstr ""
+
+#: src/z3ext/formatter/configure.zcml:26
+msgid "Portal formatters"
+msgstr ""
+
+#. Default: ""
+#: src/z3ext/formatter/fancydatetime.py:72
+msgid "Today at ${value}"
+msgstr ""
+
+#. Default: ""
+#: src/z3ext/formatter/fancydatetime.py:82
+msgid "Yesterday at ${value}"
+msgstr ""
+
+#: src/z3ext/formatter/interfaces.py:35
+msgid "Timezone"
+msgstr ""
+
+#: src/z3ext/formatter/interfaces.py:36
+msgid "Portal timezone."
+msgstr ""
+
+#: src/z3ext/formatter/interfaces.py:42 src/z3ext/formatter/interfaces.py:43
+msgid "Timezone format"
+msgstr ""
+
+#: src/z3ext/formatter/interfaces.py:49
+msgid "Use principal timezone"
+msgstr ""
+
+#: src/z3ext/formatter/interfaces.py:50
+msgid "Render datetime with user selected timezone."
+msgstr ""
+
+#: src/z3ext/formatter/vocabulary.py:28
+msgid "No timezone"
+msgstr ""
+
+#: src/z3ext/formatter/vocabulary.py:29
+msgid "Number of hours"
+msgstr ""
+
+#: src/z3ext/formatter/vocabulary.py:30
+msgid "Timezone name"
+msgstr ""

Added: z3ext.formatter/trunk/src/z3ext/formatter/locales/nl/LC_MESSAGES/z3ext.formatter.mo
===================================================================
(Binary files differ)


Property changes on: z3ext.formatter/trunk/src/z3ext/formatter/locales/nl/LC_MESSAGES/z3ext.formatter.mo
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: z3ext.formatter/trunk/src/z3ext/formatter/locales/nl/LC_MESSAGES/z3ext.formatter.po
===================================================================
--- z3ext.formatter/trunk/src/z3ext/formatter/locales/nl/LC_MESSAGES/z3ext.formatter.po	                        (rev 0)
+++ z3ext.formatter/trunk/src/z3ext/formatter/locales/nl/LC_MESSAGES/z3ext.formatter.po	2008-10-20 16:56:07 UTC (rev 92407)
@@ -0,0 +1,74 @@
+# #############################################################################
+#
+# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+# #############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: Development/Unknown\n"
+"POT-Creation-Date: Mon Oct 20 22:53:40 2008\n"
+"PO-Revision-Date: 2008-10-14 17:25+0100\n"
+"Last-Translator: F. Kooman <fkooman at tuxed.net>\n"
+"Language-Team: Zope 3 Developers <zope3-dev at zope.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+
+#: src/z3ext/formatter/configure.zcml:26
+msgid "Configure portal formatters."
+msgstr "Website formatters instellingen"
+
+#: src/z3ext/formatter/configure.zcml:26
+msgid "Portal formatters"
+msgstr "Website formatters"
+
+#. Default: ""
+#: src/z3ext/formatter/fancydatetime.py:72
+msgid "Today at ${value}"
+msgstr "Vandaag om ${value}"
+
+#. Default: ""
+#: src/z3ext/formatter/fancydatetime.py:82
+msgid "Yesterday at ${value}"
+msgstr "Gisteren om ${value}"
+
+#: src/z3ext/formatter/interfaces.py:35
+msgid "Timezone"
+msgstr ""
+
+#: src/z3ext/formatter/interfaces.py:36
+msgid "Portal timezone."
+msgstr "Website tijdszone"
+
+#: src/z3ext/formatter/interfaces.py:42 src/z3ext/formatter/interfaces.py:43
+msgid "Timezone format"
+msgstr ""
+
+#: src/z3ext/formatter/interfaces.py:49
+msgid "Use principal timezone"
+msgstr "Tijdszone"
+
+#: src/z3ext/formatter/interfaces.py:50
+msgid "Render datetime with user selected timezone."
+msgstr ""
+
+#: src/z3ext/formatter/vocabulary.py:28
+msgid "No timezone"
+msgstr ""
+
+#: src/z3ext/formatter/vocabulary.py:29
+msgid "Number of hours"
+msgstr "Aantal uren"
+
+#: src/z3ext/formatter/vocabulary.py:30
+msgid "Timezone name"
+msgstr ""

Added: z3ext.formatter/trunk/src/z3ext/formatter/locales/ru/LC_MESSAGES/z3ext.formatter.mo
===================================================================
(Binary files differ)


Property changes on: z3ext.formatter/trunk/src/z3ext/formatter/locales/ru/LC_MESSAGES/z3ext.formatter.mo
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: z3ext.formatter/trunk/src/z3ext/formatter/locales/ru/LC_MESSAGES/z3ext.formatter.po
===================================================================
--- z3ext.formatter/trunk/src/z3ext/formatter/locales/ru/LC_MESSAGES/z3ext.formatter.po	                        (rev 0)
+++ z3ext.formatter/trunk/src/z3ext/formatter/locales/ru/LC_MESSAGES/z3ext.formatter.po	2008-10-20 16:56:07 UTC (rev 92407)
@@ -0,0 +1,74 @@
+# #############################################################################
+#
+# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+# #############################################################################
+msgid ""
+msgstr ""
+"Project-Id-Version: Development/Unknown\n"
+"POT-Creation-Date: Mon Oct 20 22:53:40 2008\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: Nikolay Kim <fafhrd91 at gmail.com>\n"
+"Language-Team: Zope 3 Developers <zope3-dev at zope.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: zope/app/locales/extract.py\n"
+
+#: src/z3ext/formatter/configure.zcml:26
+msgid "Configure portal formatters."
+msgstr ""
+
+#: src/z3ext/formatter/configure.zcml:26
+msgid "Portal formatters"
+msgstr ""
+
+#. Default: ""
+#: src/z3ext/formatter/fancydatetime.py:72
+msgid "Today at ${value}"
+msgstr "Сегодня в ${value}"
+
+#. Default: ""
+#: src/z3ext/formatter/fancydatetime.py:82
+msgid "Yesterday at ${value}"
+msgstr "Вчера в ${pattern}"
+
+#: src/z3ext/formatter/interfaces.py:35
+msgid "Timezone"
+msgstr "Часовой пояс"
+
+#: src/z3ext/formatter/interfaces.py:36
+msgid "Portal timezone."
+msgstr "Часовой пояс сайта."
+
+#: src/z3ext/formatter/interfaces.py:42 src/z3ext/formatter/interfaces.py:43
+msgid "Timezone format"
+msgstr "Формат часового пояса"
+
+#: src/z3ext/formatter/interfaces.py:49
+msgid "Use principal timezone"
+msgstr "Использовать часовой пояс пользователя"
+
+#: src/z3ext/formatter/interfaces.py:50
+msgid "Render datetime with user selected timezone."
+msgstr "Отображать дату и время в зависимости от выбора пользователя."
+
+#: src/z3ext/formatter/vocabulary.py:28
+msgid "No timezone"
+msgstr "Без часового пояса"
+
+#: src/z3ext/formatter/vocabulary.py:29
+msgid "Number of hours"
+msgstr "Колличество часов"
+
+#: src/z3ext/formatter/vocabulary.py:30
+msgid "Timezone name"
+msgstr "Название часового пояса"

Modified: z3ext.formatter/trunk/src/z3ext/formatter/locales/z3ext.formatter.pot
===================================================================
--- z3ext.formatter/trunk/src/z3ext/formatter/locales/z3ext.formatter.pot	2008-10-20 15:49:38 UTC (rev 92406)
+++ z3ext.formatter/trunk/src/z3ext/formatter/locales/z3ext.formatter.pot	2008-10-20 16:56:07 UTC (rev 92407)
@@ -14,7 +14,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: Development/Unknown\n"
-"POT-Creation-Date: Fri Oct 10 15:00:54 2008\n"
+"POT-Creation-Date: Mon Oct 20 22:53:40 2008\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: Zope 3 Developers <zope3-dev at zope.org>\n"
@@ -31,32 +31,34 @@
 msgid "Portal formatters"
 msgstr ""
 
-#: src/z3ext/formatter/fancydatetime.py:71
-msgid "Today at"
+#: src/z3ext/formatter/fancydatetime.py:72
+#. Default: ""
+msgid "Today at ${value}"
 msgstr ""
 
-#: src/z3ext/formatter/fancydatetime.py:79
-msgid "Yesterday at"
+#: src/z3ext/formatter/fancydatetime.py:82
+#. Default: ""
+msgid "Yesterday at ${value}"
 msgstr ""
 
-#: src/z3ext/formatter/interfaces.py:36
+#: src/z3ext/formatter/interfaces.py:35
 msgid "Timezone"
 msgstr ""
 
-#: src/z3ext/formatter/interfaces.py:37
+#: src/z3ext/formatter/interfaces.py:36
 msgid "Portal timezone."
 msgstr ""
 
+#: src/z3ext/formatter/interfaces.py:42
 #: src/z3ext/formatter/interfaces.py:43
-#: src/z3ext/formatter/interfaces.py:44
 msgid "Timezone format"
 msgstr ""
 
-#: src/z3ext/formatter/interfaces.py:50
+#: src/z3ext/formatter/interfaces.py:49
 msgid "Use principal timezone"
 msgstr ""
 
-#: src/z3ext/formatter/interfaces.py:51
+#: src/z3ext/formatter/interfaces.py:50
 msgid "Render datetime with user selected timezone."
 msgstr ""
 



More information about the Checkins mailing list