[Checkins] SVN: z3c.layer/trunk/src/z3c/layer/minimal/ translations
for error messages
Manfred Schwendinger
manfred.schwendiger at lovelysystems.com
Fri Jan 12 11:56:17 EST 2007
Log message for revision 71977:
translations for error messages
Changed:
U z3c.layer/trunk/src/z3c/layer/minimal/browser/configure.zcml
U z3c.layer/trunk/src/z3c/layer/minimal/browser/notfound.pt
U z3c.layer/trunk/src/z3c/layer/minimal/browser/systemerror.pt
U z3c.layer/trunk/src/z3c/layer/minimal/browser/unauthorized.pt
U z3c.layer/trunk/src/z3c/layer/minimal/browser/user.pt
U z3c.layer/trunk/src/z3c/layer/minimal/configure.zcml
A z3c.layer/trunk/src/z3c/layer/minimal/locales/
A z3c.layer/trunk/src/z3c/layer/minimal/locales/de/
A z3c.layer/trunk/src/z3c/layer/minimal/locales/de/LC_MESSAGES/
A z3c.layer/trunk/src/z3c/layer/minimal/locales/de/LC_MESSAGES/z3c.layer.minimal.mo
A z3c.layer/trunk/src/z3c/layer/minimal/locales/de/LC_MESSAGES/z3c.layer.minimal.po
A z3c.layer/trunk/src/z3c/layer/minimal/locales/hu/
A z3c.layer/trunk/src/z3c/layer/minimal/locales/hu/LC_MESSAGES/
A z3c.layer/trunk/src/z3c/layer/minimal/locales/hu/LC_MESSAGES/z3c.layer.minimal.mo
A z3c.layer/trunk/src/z3c/layer/minimal/locales/hu/LC_MESSAGES/z3c.layer.minimal.po
A z3c.layer/trunk/src/z3c/layer/minimal/locales/ro/
A z3c.layer/trunk/src/z3c/layer/minimal/locales/ro/LC_MESSAGES/
A z3c.layer/trunk/src/z3c/layer/minimal/locales/ro/LC_MESSAGES/z3c.layer.minimal.mo
A z3c.layer/trunk/src/z3c/layer/minimal/locales/ro/LC_MESSAGES/z3c.layer.minimal.po
A z3c.layer/trunk/src/z3c/layer/minimal/locales/z3c.layer.minimal.pot
-=-
Modified: z3c.layer/trunk/src/z3c/layer/minimal/browser/configure.zcml
===================================================================
--- z3c.layer/trunk/src/z3c/layer/minimal/browser/configure.zcml 2007-01-12 16:25:37 UTC (rev 71976)
+++ z3c.layer/trunk/src/z3c/layer/minimal/browser/configure.zcml 2007-01-12 16:56:16 UTC (rev 71977)
@@ -1,7 +1,8 @@
<configure
xmlns:zope="http://namespaces.zope.org/zope"
xmlns="http://namespaces.zope.org/browser"
- i18n_domain="z3c">
+ xmlns:i18n="http://namespaces.zope.org/i18n"
+ i18n_domain="z3c.layer.minimal">
<page
for="zope.interface.common.interfaces.IException"
Modified: z3c.layer/trunk/src/z3c/layer/minimal/browser/notfound.pt
===================================================================
--- z3c.layer/trunk/src/z3c/layer/minimal/browser/notfound.pt 2007-01-12 16:25:37 UTC (rev 71976)
+++ z3c.layer/trunk/src/z3c/layer/minimal/browser/notfound.pt 2007-01-12 16:56:16 UTC (rev 71977)
@@ -1,23 +1,26 @@
<html metal:use-macro="context/@@standard_macros/error">
-<body>
-<div align="center" metal:fill-slot="body">
- <h3 i18n:translate="">
- The page that you are trying to access is not available
+<body i18n:domain="z3c.layer.minimal">
+<div metal:fill-slot="body">
+ <br/>
+ <br/>
+ <h3 i18n:translate="page-not-found">
+ The page you are trying to access is not available
</h3>
<br/>
- <b i18n:translate="">Please note the following:</b>
+ <b i18n:translate="page-not-found-try">
+ Please try the following:
+ </b>
<br/>
<ol>
- <li i18n:translate="">You might have misspelled the url </li>
- <li i18n:translate="">
- You might be trying to access a non-existing page
+ <li i18n:translate="page-not-found-spell">
+ Make sure that the Web site address is spelled correctly.
</li>
- </ol>
- <a href="javascript:history.back(1);">
- <span i18n:translate="notfound_try_again">
- Go back and try another URL.
- </span>
- </a>
+ <li>
+ <a href="javascript:history.back(1);" i18n:translate="page-not-found-try-again">
+ Go back and try another URL.
+ </a>
+ </li>
+ </ol>
</div>
</body>
</html>
Modified: z3c.layer/trunk/src/z3c/layer/minimal/browser/systemerror.pt
===================================================================
--- z3c.layer/trunk/src/z3c/layer/minimal/browser/systemerror.pt 2007-01-12 16:25:37 UTC (rev 71976)
+++ z3c.layer/trunk/src/z3c/layer/minimal/browser/systemerror.pt 2007-01-12 16:56:16 UTC (rev 71977)
@@ -1,13 +1,13 @@
<html metal:use-macro="context/@@standard_macros/error">
-<body>
-<div align="center" metal:fill-slot="body">
- <h3 i18n:translate="">A system error occours.</h3>
+<body i18n:domain="z3c.layer.minimal">
+<div metal:fill-slot="body">
<br/>
- <b i18n:translate="">Contact the administrator.</b>
- <a href="javascript:history.back(1);">
- <span i18n:translate="notfound_try_again">
- Go back and try another URL.
- </span>
+ <br/>
+ <h3 i18n:translate="sys-error">A system error occurred</h3>
+ <br/>
+ <b i18n:translate="sys-error-contact">Please contact the administrator.</b>
+ <a href="javascript:history.back(1);" i18n:translate="sys-error-try-again">
+ Go back and try another URL.
</a>
</div>
</body>
Modified: z3c.layer/trunk/src/z3c/layer/minimal/browser/unauthorized.pt
===================================================================
--- z3c.layer/trunk/src/z3c/layer/minimal/browser/unauthorized.pt 2007-01-12 16:25:37 UTC (rev 71976)
+++ z3c.layer/trunk/src/z3c/layer/minimal/browser/unauthorized.pt 2007-01-12 16:56:16 UTC (rev 71977)
@@ -1,10 +1,13 @@
<tal:Make_sure_we_process_the_authorization_challenge_first
- condition="view/issueChallenge"
-/><html metal:use-macro="context/@@standard_macros/error">
-<body i18n:domain="z3c">
-<div metal:fill-slot="body">
- <h3 i18n:translate="">Unauthorized</h3>
- <p i18n:translate="">You are not authorized</p>
+ condition="view/issueChallenge"/>
+<html metal:use-macro="context/@@standard_macros/error">
+ <body i18n:domain="z3c.layer.minimal">
+ <div metal:fill-slot="body">
+ <br/>
+ <br/>
+ <h3 i18n:translate="unauthorized">Unauthorized</h3>
+ <br/>
+ <b i18n:translate="unauthorized-msg">You are not authorized.</b>
</div>
</body>
</html>
Modified: z3c.layer/trunk/src/z3c/layer/minimal/browser/user.pt
===================================================================
--- z3c.layer/trunk/src/z3c/layer/minimal/browser/user.pt 2007-01-12 16:25:37 UTC (rev 71976)
+++ z3c.layer/trunk/src/z3c/layer/minimal/browser/user.pt 2007-01-12 16:56:16 UTC (rev 71977)
@@ -1,6 +1,6 @@
<html metal:use-macro="context/@@standard_macros/error">
-<body>
-<div align="center" metal:fill-slot="body">
+<body i18n:domain="z3c.layer.minimal">
+<div metal:fill-slot="body">
<div tal:repeat="part context" tal:content="part">Error message</div>
</div>
</body>
Modified: z3c.layer/trunk/src/z3c/layer/minimal/configure.zcml
===================================================================
--- z3c.layer/trunk/src/z3c/layer/minimal/configure.zcml 2007-01-12 16:25:37 UTC (rev 71976)
+++ z3c.layer/trunk/src/z3c/layer/minimal/configure.zcml 2007-01-12 16:56:16 UTC (rev 71977)
@@ -1,12 +1,17 @@
<configure
xmlns="http://namespaces.zope.org/zope"
- xmlns:browser="http://namespaces.zope.org/browser">
+ xmlns:browser="http://namespaces.zope.org/browser"
+ xmlns:i18n="http://namespaces.zope.org/i18n"
+ i18n_domain="z3c.layer.minimal">
+
+ <i18n:registerTranslations directory="locales" />
<interface
interface="z3c.layer.minimal.IMinimalBrowserLayer"
type="zope.publisher.interfaces.browser.IBrowserSkinType"
/>
+
<include file="zope.app.form.browser.zcml" />
<include file="zope.app.http.exception.zcml" />
<include file="zope.app.publication.zcml" />
Added: z3c.layer/trunk/src/z3c/layer/minimal/locales/de/LC_MESSAGES/z3c.layer.minimal.mo
===================================================================
(Binary files differ)
Property changes on: z3c.layer/trunk/src/z3c/layer/minimal/locales/de/LC_MESSAGES/z3c.layer.minimal.mo
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: z3c.layer/trunk/src/z3c/layer/minimal/locales/de/LC_MESSAGES/z3c.layer.minimal.po
===================================================================
--- z3c.layer/trunk/src/z3c/layer/minimal/locales/de/LC_MESSAGES/z3c.layer.minimal.po 2007-01-12 16:25:37 UTC (rev 71976)
+++ z3c.layer/trunk/src/z3c/layer/minimal/locales/de/LC_MESSAGES/z3c.layer.minimal.po 2007-01-12 16:56:16 UTC (rev 71977)
@@ -0,0 +1,57 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: z3c.layer.minimal\n"
+"POT-Creation-Date: Fri Jan 12 09:31:15 2007\n"
+"PO-Revision-Date: 2007-01-10 17:12+0100\n"
+"Last-Translator: Wolfgang Reutz <wolfgang at lovelysystems.com>\n"
+"Language-Team: Lovely Systems <office at lovelysystems.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Country: AUSTRIA\n"
+"X-Poedit-SourceCharset: utf-8\n"
+
+#. Default: "Make sure that the Web site address is spelled correctly."
+#: lib/python/z3c/layer/minimal/browser/notfound.pt:13
+msgid "page-not-found-spell"
+msgstr "Stellen Sie sicher, dass Sie die Adresse korrekt eingegeben haben."
+
+#. Default: "Go back and try another URL."
+#: lib/python/z3c/layer/minimal/browser/notfound.pt:17
+msgid "page-not-found-try-again"
+msgstr "Zurück, um eine andere Adresse einzugeben."
+
+#. Default: "The page you are trying to access is not available"
+#: lib/python/z3c/layer/minimal/browser/notfound.pt:4
+msgid "page-not-found"
+msgstr "Die angeforderte Seite ist nicht verfügbar"
+
+#. Default: "Please try the following:"
+#: lib/python/z3c/layer/minimal/browser/notfound.pt:8
+msgid "page-not-found-try"
+msgstr "Sie können folgendes versuchen:"
+
+#. Default: "A system error occurred"
+#: lib/python/z3c/layer/minimal/browser/systemerror.pt:4
+msgid "sys-error"
+msgstr "Es ist ein Systemfehler aufgetreten"
+
+#. Default: "Please contact the administrator."
+#: lib/python/z3c/layer/minimal/browser/systemerror.pt:6
+msgid "sys-error-contact"
+msgstr "Bitte kontaktieren Sie den Administrator."
+
+#. Default: "Go back and try another URL."
+#: lib/python/z3c/layer/minimal/browser/systemerror.pt:7
+msgid "sys-error-try-again"
+msgstr "Zurück, um eine andere Adresse einzugeben."
+
+#. Default: "Unauthorized"
+#: lib/python/z3c/layer/minimal/browser/unauthorized.pt:6
+msgid "unauthorized"
+msgstr "Nicht autorisiert"
+
+#. Default: "You are not authorized."
+#: lib/python/z3c/layer/minimal/browser/unauthorized.pt:8
+msgid "unauthorized-msg"
+msgstr "Sie sind nicht autorisiert."
Added: z3c.layer/trunk/src/z3c/layer/minimal/locales/hu/LC_MESSAGES/z3c.layer.minimal.mo
===================================================================
(Binary files differ)
Property changes on: z3c.layer/trunk/src/z3c/layer/minimal/locales/hu/LC_MESSAGES/z3c.layer.minimal.mo
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: z3c.layer/trunk/src/z3c/layer/minimal/locales/hu/LC_MESSAGES/z3c.layer.minimal.po
===================================================================
--- z3c.layer/trunk/src/z3c/layer/minimal/locales/hu/LC_MESSAGES/z3c.layer.minimal.po 2007-01-12 16:25:37 UTC (rev 71976)
+++ z3c.layer/trunk/src/z3c/layer/minimal/locales/hu/LC_MESSAGES/z3c.layer.minimal.po 2007-01-12 16:56:16 UTC (rev 71977)
@@ -0,0 +1,57 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: z3c.layer.minimal\n"
+"POT-Creation-Date: Fri Jan 12 09:31:15 2007\n"
+"PO-Revision-Date: 2007-01-10 17:12+0100\n"
+"Last-Translator: Wolfgang Reutz <wolfgang at lovelysystems.com>\n"
+"Language-Team: Lovely Systems <office at lovelysystems.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Country: AUSTRIA\n"
+"X-Poedit-SourceCharset: utf-8\n"
+
+#. Default: "Make sure that the Web site address is spelled correctly."
+#: lib/python/z3c/layer/minimal/browser/notfound.pt:13
+msgid "page-not-found-spell"
+msgstr ""
+
+#. Default: "Go back and try another URL."
+#: lib/python/z3c/layer/minimal/browser/notfound.pt:17
+msgid "page-not-found-try-again"
+msgstr ""
+
+#. Default: "The page you are trying to access is not available"
+#: lib/python/z3c/layer/minimal/browser/notfound.pt:4
+msgid "page-not-found"
+msgstr ""
+
+#. Default: "Please try the following:"
+#: lib/python/z3c/layer/minimal/browser/notfound.pt:8
+msgid "page-not-found-try"
+msgstr ""
+
+#. Default: "A system error occurred"
+#: lib/python/z3c/layer/minimal/browser/systemerror.pt:4
+msgid "sys-error"
+msgstr ""
+
+#. Default: "Please contact the administrator."
+#: lib/python/z3c/layer/minimal/browser/systemerror.pt:6
+msgid "sys-error-contact"
+msgstr ""
+
+#. Default: "Go back and try another URL."
+#: lib/python/z3c/layer/minimal/browser/systemerror.pt:7
+msgid "sys-error-try-again"
+msgstr ""
+
+#. Default: "Unauthorized"
+#: lib/python/z3c/layer/minimal/browser/unauthorized.pt:6
+msgid "unauthorized"
+msgstr ""
+
+#. Default: "You are not authorized."
+#: lib/python/z3c/layer/minimal/browser/unauthorized.pt:8
+msgid "unauthorized-msg"
+msgstr ""
Added: z3c.layer/trunk/src/z3c/layer/minimal/locales/ro/LC_MESSAGES/z3c.layer.minimal.mo
===================================================================
(Binary files differ)
Property changes on: z3c.layer/trunk/src/z3c/layer/minimal/locales/ro/LC_MESSAGES/z3c.layer.minimal.mo
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: z3c.layer/trunk/src/z3c/layer/minimal/locales/ro/LC_MESSAGES/z3c.layer.minimal.po
===================================================================
--- z3c.layer/trunk/src/z3c/layer/minimal/locales/ro/LC_MESSAGES/z3c.layer.minimal.po 2007-01-12 16:25:37 UTC (rev 71976)
+++ z3c.layer/trunk/src/z3c/layer/minimal/locales/ro/LC_MESSAGES/z3c.layer.minimal.po 2007-01-12 16:56:16 UTC (rev 71977)
@@ -0,0 +1,57 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: z3c.layer.minimal\n"
+"POT-Creation-Date: Fri Jan 12 09:31:15 2007\n"
+"PO-Revision-Date: 2007-01-10 17:12+0100\n"
+"Last-Translator: Wolfgang Reutz <wolfgang at lovelysystems.com>\n"
+"Language-Team: Lovely Systems <office at lovelysystems.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Country: AUSTRIA\n"
+"X-Poedit-SourceCharset: utf-8\n"
+
+#. Default: "Make sure that the Web site address is spelled correctly."
+#: lib/python/z3c/layer/minimal/browser/notfound.pt:13
+msgid "page-not-found-spell"
+msgstr ""
+
+#. Default: "Go back and try another URL."
+#: lib/python/z3c/layer/minimal/browser/notfound.pt:17
+msgid "page-not-found-try-again"
+msgstr ""
+
+#. Default: "The page you are trying to access is not available"
+#: lib/python/z3c/layer/minimal/browser/notfound.pt:4
+msgid "page-not-found"
+msgstr ""
+
+#. Default: "Please try the following:"
+#: lib/python/z3c/layer/minimal/browser/notfound.pt:8
+msgid "page-not-found-try"
+msgstr ""
+
+#. Default: "A system error occurred"
+#: lib/python/z3c/layer/minimal/browser/systemerror.pt:4
+msgid "sys-error"
+msgstr ""
+
+#. Default: "Please contact the administrator."
+#: lib/python/z3c/layer/minimal/browser/systemerror.pt:6
+msgid "sys-error-contact"
+msgstr ""
+
+#. Default: "Go back and try another URL."
+#: lib/python/z3c/layer/minimal/browser/systemerror.pt:7
+msgid "sys-error-try-again"
+msgstr ""
+
+#. Default: "Unauthorized"
+#: lib/python/z3c/layer/minimal/browser/unauthorized.pt:6
+msgid "unauthorized"
+msgstr ""
+
+#. Default: "You are not authorized."
+#: lib/python/z3c/layer/minimal/browser/unauthorized.pt:8
+msgid "unauthorized-msg"
+msgstr ""
Added: z3c.layer/trunk/src/z3c/layer/minimal/locales/z3c.layer.minimal.pot
===================================================================
--- z3c.layer/trunk/src/z3c/layer/minimal/locales/z3c.layer.minimal.pot 2007-01-12 16:25:37 UTC (rev 71976)
+++ z3c.layer/trunk/src/z3c/layer/minimal/locales/z3c.layer.minimal.pot 2007-01-12 16:56:16 UTC (rev 71977)
@@ -0,0 +1,70 @@
+##############################################################################
+#
+# 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/Revision: 71392\n"
+"POT-Creation-Date: Fri Jan 12 09:31:15 2007\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"
+
+#: lib/python/z3c/layer/minimal/browser/notfound.pt:13
+#. Default: "Make sure that the Web site address is spelled correctly."
+msgid "page-not-found-spell"
+msgstr ""
+
+#: lib/python/z3c/layer/minimal/browser/notfound.pt:17
+#. Default: "Go back and try another URL."
+msgid "page-not-found-try-again"
+msgstr ""
+
+#: lib/python/z3c/layer/minimal/browser/notfound.pt:4
+#. Default: "The page you are trying to access is not available"
+msgid "page-not-found"
+msgstr ""
+
+#: lib/python/z3c/layer/minimal/browser/notfound.pt:8
+#. Default: "Please try the following:"
+msgid "page-not-found-try"
+msgstr ""
+
+#: lib/python/z3c/layer/minimal/browser/systemerror.pt:4
+#. Default: "A system error occurred"
+msgid "sys-error"
+msgstr ""
+
+#: lib/python/z3c/layer/minimal/browser/systemerror.pt:6
+#. Default: "Please contact the administrator."
+msgid "sys-error-contact"
+msgstr ""
+
+#: lib/python/z3c/layer/minimal/browser/systemerror.pt:7
+#. Default: "Go back and try another URL."
+msgid "sys-error-try-again"
+msgstr ""
+
+#: lib/python/z3c/layer/minimal/browser/unauthorized.pt:6
+#. Default: "Unauthorized"
+msgid "unauthorized"
+msgstr ""
+
+#: lib/python/z3c/layer/minimal/browser/unauthorized.pt:8
+#. Default: "You are not authorized."
+msgid "unauthorized-msg"
+msgstr ""
+
More information about the Checkins
mailing list