[Checkins] SVN: z3c.form/trunk/ Added support for i18n and russian translation. New translations are welcome!

Dan Korostelev nadako at gmail.com
Thu Sep 4 11:06:16 EDT 2008


Log message for revision 90810:
  Added support for i18n and russian translation. New translations are welcome!

Changed:
  U   z3c.form/trunk/CHANGES.txt
  U   z3c.form/trunk/buildout.cfg
  U   z3c.form/trunk/src/z3c/form/browser/README.txt
  U   z3c.form/trunk/src/z3c/form/configure.zcml
  A   z3c.form/trunk/src/z3c/form/locales/
  A   z3c.form/trunk/src/z3c/form/locales/ru/
  A   z3c.form/trunk/src/z3c/form/locales/ru/LC_MESSAGES/
  A   z3c.form/trunk/src/z3c/form/locales/ru/LC_MESSAGES/z3c.form.mo
  A   z3c.form/trunk/src/z3c/form/locales/ru/LC_MESSAGES/z3c.form.po
  A   z3c.form/trunk/src/z3c/form/locales/z3c.form.pot

-=-
Modified: z3c.form/trunk/CHANGES.txt
===================================================================
--- z3c.form/trunk/CHANGES.txt	2008-09-04 12:46:35 UTC (rev 90809)
+++ z3c.form/trunk/CHANGES.txt	2008-09-04 15:06:15 UTC (rev 90810)
@@ -5,6 +5,9 @@
 Version 2.0.0 (2008-??-??)
 --------------------------
 
+- Feature: Add support for internationalization of z3c.form's messages,
+  add Russian translation. More translations are welcome.
+
 - Bug: Use nocall: modifier in orderedselect_input.pt to avoid calling
   list entry if it is callable.
 

Modified: z3c.form/trunk/buildout.cfg
===================================================================
--- z3c.form/trunk/buildout.cfg	2008-09-04 12:46:35 UTC (rev 90809)
+++ z3c.form/trunk/buildout.cfg	2008-09-04 15:06:15 UTC (rev 90810)
@@ -1,6 +1,6 @@
 [buildout]
 develop = .
-parts = test checker coverage-test coverage-report
+parts = test checker coverage-test coverage-report i18n
 index = http://download.zope.org/zope3.4
 
 [test]
@@ -22,3 +22,18 @@
 scripts = coverage=coverage-report
 arguments = ('coverage', 'coverage/report')
 
+[i18n]
+recipe = lovely.recipe:i18n
+eggs =
+  zope.app.component
+  zope.i18n
+  z3c.form
+package = z3c.form
+domain = z3c.form
+location = src/z3c/form
+output = locales
+zcml = 
+  <include package="zope.app.component" file="meta.zcml" />
+  <include package="zope.i18n" file="meta.zcml" />
+  <include package="z3c.form" file="meta.zcml" />
+  <include package="z3c.form" />

Modified: z3c.form/trunk/src/z3c/form/browser/README.txt
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/README.txt	2008-09-04 12:46:35 UTC (rev 90809)
+++ z3c.form/trunk/src/z3c/form/browser/README.txt	2008-09-04 15:06:15 UTC (rev 90810)
@@ -17,10 +17,12 @@
   >>> import zope.component
   >>> import zope.app.component
   >>> import zope.app.security
+  >>> import zope.i18n
   >>> import z3c.form
   >>> xmlconfig.XMLConfig('meta.zcml', zope.component)()
   >>> xmlconfig.XMLConfig('meta.zcml', zope.app.component)()
   >>> xmlconfig.XMLConfig('meta.zcml', zope.app.security)()
+  >>> xmlconfig.XMLConfig('meta.zcml', zope.i18n)()
   >>> xmlconfig.XMLConfig('meta.zcml', z3c.form)()
   >>> xmlconfig.XMLConfig('configure.zcml', zope.app.security)()
   >>> xmlconfig.XMLConfig('configure.zcml', z3c.form)()

Modified: z3c.form/trunk/src/z3c/form/configure.zcml
===================================================================
--- z3c.form/trunk/src/z3c/form/configure.zcml	2008-09-04 12:46:35 UTC (rev 90809)
+++ z3c.form/trunk/src/z3c/form/configure.zcml	2008-09-04 15:06:15 UTC (rev 90810)
@@ -1,5 +1,6 @@
 <configure
     xmlns="http://namespaces.zope.org/zope"
+    xmlns:i18n="http://namespaces.zope.org/i18n"
     i18n_domain="z3c.form">
 
   <!-- default z3c.form layer -->
@@ -205,4 +206,6 @@
 
   <include package=".browser" />
 
+  <i18n:registerTranslations directory="locales" />
+
 </configure>

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


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

Added: z3c.form/trunk/src/z3c/form/locales/ru/LC_MESSAGES/z3c.form.po
===================================================================
--- z3c.form/trunk/src/z3c/form/locales/ru/LC_MESSAGES/z3c.form.po	                        (rev 0)
+++ z3c.form/trunk/src/z3c/form/locales/ru/LC_MESSAGES/z3c.form.po	2008-09-04 15:06:15 UTC (rev 90810)
@@ -0,0 +1,567 @@
+# #############################################################################
+#
+# 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: Thu Sep  4 14:09:49 2008\n"
+"PO-Revision-Date: 2008-09-04 14:29+0300\n"
+"Last-Translator: Dan Korostelev <nadako 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/z3c/form/browser/multi.py:57
+#: src/z3c/form/form.py:203
+msgid "Add"
+msgstr "Добавить"
+
+#: src/z3c/form/browser/multi.py:61
+msgid "Remove"
+msgstr "Удалить"
+
+#: src/z3c/form/browser/select.py:39
+msgid "no value"
+msgstr "нет значения"
+
+#: src/z3c/form/browser/select.py:40
+msgid "select a value ..."
+msgstr "выберете значение..."
+
+#: src/z3c/form/converter.py:123
+msgid "The entered value is not a valid integer literal."
+msgstr "Введённое значение не является допустимым целым числом."
+
+#: src/z3c/form/converter.py:130
+#: src/z3c/form/converter.py:137
+msgid "The entered value is not a valid decimal literal."
+msgstr "Введённое значение не является допустимым десятичным числом."
+
+#: src/z3c/form/converter.py:232
+msgid "Bytes data is not a file object"
+msgstr "Байты данных не являются файловым объектом"
+
+#: src/z3c/form/error.py:89
+msgid "The system could not process the given value."
+msgstr "Система не смогла обработать данное значение."
+
+#: src/z3c/form/form.py:201
+#: src/z3c/form/form.py:240
+#: src/z3c/form/subform.py:29
+msgid "There were some errors."
+msgstr "Произошли ошибки."
+
+#: src/z3c/form/form.py:241
+#: src/z3c/form/subform.py:30
+msgid "Data successfully updated."
+msgstr "Данные успешно обновлены."
+
+#: src/z3c/form/form.py:242
+#: src/z3c/form/subform.py:31
+msgid "No changes were applied."
+msgstr "Нет изменений."
+
+#: src/z3c/form/form.py:259
+msgid "Apply"
+msgstr "Применить"
+
+#: src/z3c/form/interfaces.py:101
+#: src/z3c/form/interfaces.py:735
+msgid "Context"
+msgstr "Контекст"
+
+#: src/z3c/form/interfaces.py:102
+msgid "The context in which the data is validated."
+msgstr "Контекст, в котором проверяются данные."
+
+#: src/z3c/form/interfaces.py:142
+#: src/z3c/form/interfaces.py:946
+msgid "Widget"
+msgstr "Виджет"
+
+#: src/z3c/form/interfaces.py:143
+msgid "The widget that the view is on"
+msgstr "Виджет, связанный с видом"
+
+#: src/z3c/form/interfaces.py:147
+#: src/z3c/form/interfaces.py:360
+#: src/z3c/form/interfaces.py:629
+msgid "Error"
+msgstr "Ошибка"
+
+#: src/z3c/form/interfaces.py:148
+msgid "Error the view is for."
+msgstr "Ошибка, связанная с видом."
+
+#: src/z3c/form/interfaces.py:164
+#: src/z3c/form/interfaces.py:603
+msgid "Title"
+msgstr "Заголовок"
+
+#: src/z3c/form/interfaces.py:165
+msgid "The name of the field within the form."
+msgstr "Имя поля в форме."
+
+#: src/z3c/form/interfaces.py:169
+msgid "Schema Field"
+msgstr "Поле схемы"
+
+#: src/z3c/form/interfaces.py:170
+msgid "The schema field that is to be rendered."
+msgstr "Поле схемы, которое будет отображено."
+
+#: src/z3c/form/interfaces.py:174
+#: src/z3c/form/interfaces.py:516
+#: src/z3c/form/interfaces.py:522
+#: src/z3c/form/interfaces.py:796
+msgid "Prefix"
+msgstr "Префикс"
+
+#: src/z3c/form/interfaces.py:175
+msgid "The prefix of the field used to avoid name clashes."
+msgstr "Префикс для поля, используемый для избежания пересечения имён."
+
+#: src/z3c/form/interfaces.py:179
+#: src/z3c/form/interfaces.py:347
+#: src/z3c/form/interfaces.py:761
+msgid "Mode"
+msgstr "Режим"
+
+#: src/z3c/form/interfaces.py:180
+msgid "The mode in which to render the widget for the field."
+msgstr "Режим, в котором отображать виджет поля."
+
+#: src/z3c/form/interfaces.py:184
+msgid "Interface"
+msgstr "Интерфейс"
+
+#: src/z3c/form/interfaces.py:185
+msgid "The interface from which the field is coming."
+msgstr "Интерфейс, в котором содежится поле."
+
+#: src/z3c/form/interfaces.py:189
+msgid "Data Provider"
+msgstr "Поставщик данных"
+
+#: src/z3c/form/interfaces.py:190
+msgid "The component providing the data of the field for the widget."
+msgstr "Компонент, предоставляющий данные для поля виджета."
+
+#: src/z3c/form/interfaces.py:195
+msgid "Widget Factory"
+msgstr "Фабрика виджета"
+
+#: src/z3c/form/interfaces.py:196
+msgid "The widget factory."
+msgstr "Фабрика виджета."
+
+#: src/z3c/form/interfaces.py:314
+msgid "True-value Label"
+msgstr "Надпись для значения \"истина\""
+
+#: src/z3c/form/interfaces.py:315
+msgid "The label for a true value of the Bool field."
+msgstr "Надпись для значения \"истина\" поля типа Bool."
+
+#: src/z3c/form/interfaces.py:319
+msgid "False-value Label"
+msgstr "Надпись для значения \"ложь\""
+
+#: src/z3c/form/interfaces.py:320
+msgid "The label for a false value of the Bool field."
+msgstr "Надпись для значения \"ложь\" поля типа Bool."
+
+#: src/z3c/form/interfaces.py:330
+#: src/z3c/form/interfaces.py:597
+#: src/z3c/form/interfaces.py:843
+msgid "Name"
+msgstr "Имя"
+
+#: src/z3c/form/interfaces.py:331
+msgid "The name the widget is known under."
+msgstr "Имя, под которым виджет известен."
+
+#: src/z3c/form/interfaces.py:335
+#: src/z3c/form/interfaces.py:790
+msgid "Label"
+msgstr "Надпись"
+
+#: src/z3c/form/interfaces.py:336
+msgid ""
+"\n"
+"        The widget label.\n"
+"\n"
+"        Label may be translated for the request.\n"
+"\n"
+"        The attribute may be implemented as either a read-write or read-only\n"
+"        property, depending on the requirements for a specific implementation.\n"
+"        "
+msgstr ""
+"\n"
+"        Надпись виджета.\n"
+"\n"
+"        Надпись может быть переведена при запросе.\n"
+"\n"
+"        Атрибут может быть реализован как свойство (property) только для чтения или\n"
+"        для чтения-записи, в зависимости от нужд реализации.\n"
+"        "
+
+#: src/z3c/form/interfaces.py:348
+msgid "A widget mode."
+msgstr "Режим виджета."
+
+#: src/z3c/form/interfaces.py:353
+msgid "Required"
+msgstr "Обязательно к заполнению"
+
+#: src/z3c/form/interfaces.py:354
+msgid "If true the widget should be displayed as required input."
+msgstr "Если истинно, виджет должен быть отображён как требующий ввода значения."
+
+#: src/z3c/form/interfaces.py:361
+msgid "If an error occurred during any step, the error view stored here."
+msgstr "Если на любом из шагов произошла ошабка, вид ошибки будет сохранён здесь."
+
+#: src/z3c/form/interfaces.py:366
+msgid "Value"
+msgstr "Значение"
+
+#: src/z3c/form/interfaces.py:367
+msgid "The value that the widget represents."
+msgstr "Значение, представляемое виджетом."
+
+#: src/z3c/form/interfaces.py:373
+#: src/z3c/form/interfaces.py:541
+#: src/z3c/form/interfaces.py:772
+msgid "Ignore Request"
+msgstr "Игнорировать запрос"
+
+#: src/z3c/form/interfaces.py:374
+msgid "A flag, when set, forces the widget not to look at the request for a value."
+msgstr "Если этот флаг установлен, виджет не будет искать значение в запросе."
+
+#: src/z3c/form/interfaces.py:419
+msgid "NOVALUE Token"
+msgstr "Токен для отсутствущего значения"
+
+#: src/z3c/form/interfaces.py:420
+msgid "The token to be used, if no value has been selected."
+msgstr "Токен, используемый, если не выбрано ни какое значение."
+
+#: src/z3c/form/interfaces.py:423
+msgid "Terms"
+msgstr "Пункты"
+
+#: src/z3c/form/interfaces.py:424
+msgid "A component that provides the options for selection."
+msgstr "Компонент, предоставляющий значения для выбора."
+
+#: src/z3c/form/interfaces.py:454
+msgid "Prompt"
+msgstr "Явный запрос значения"
+
+#: src/z3c/form/interfaces.py:455
+msgid "A flag, when set, enables a choice explicitely requesting the user to choose a value."
+msgstr "Если установлено, пользователь должен будет явно выбрать значение."
+
+#: src/z3c/form/interfaces.py:460
+msgid "Items"
+msgstr "Значения"
+
+#: src/z3c/form/interfaces.py:461
+msgid "A collection of dictionaries containing all pieces of information for renderiing. The following keys must be in each dictionary: id, value, content, selected"
+msgstr "Набор словарей, содержащих все части информации для отображения. В каждом словаре должны быть следующие ключи: id, value, content, selected"
+
+#: src/z3c/form/interfaces.py:466
+msgid "No-Value Message"
+msgstr "Сообщение отсутствия значения"
+
+#: src/z3c/form/interfaces.py:467
+#: src/z3c/form/interfaces.py:472
+msgid "A human-readable text that is displayed to refer the missing value."
+msgstr "Текст, отображаемый для обозначения отсутствующего значения."
+
+#: src/z3c/form/interfaces.py:471
+msgid "Prompt Message"
+msgstr "Сообщение явного запроса"
+
+#: src/z3c/form/interfaces.py:517
+#: src/z3c/form/interfaces.py:523
+msgid "The prefix of the widgets."
+msgstr "Префикс виджетов."
+
+#: src/z3c/form/interfaces.py:528
+msgid "Errors"
+msgstr "Ошибки"
+
+#: src/z3c/form/interfaces.py:529
+msgid "The collection of errors that occured during validation."
+msgstr "Набор ошибок, произошедших во время валидации."
+
+#: src/z3c/form/interfaces.py:535
+#: src/z3c/form/interfaces.py:740
+#: src/z3c/form/interfaces.py:766
+msgid "Ignore Context"
+msgstr "Игнорировать контекст"
+
+#: src/z3c/form/interfaces.py:536
+#: src/z3c/form/interfaces.py:767
+msgid "If set the context is ignored to retrieve a value."
+msgstr "Если установлено, контекст не используется для получения значения."
+
+#: src/z3c/form/interfaces.py:542
+#: src/z3c/form/interfaces.py:773
+msgid "If set the request is ignored to retrieve a value."
+msgstr "Если установлено, запрос не используется для получения значения."
+
+#: src/z3c/form/interfaces.py:547
+#: src/z3c/form/interfaces.py:778
+msgid "Ignore Readonly"
+msgstr "Игнорировать режим \"только для чтения\""
+
+#: src/z3c/form/interfaces.py:548
+#: src/z3c/form/interfaces.py:779
+msgid "If set then readonly fields will also be shown."
+msgstr "Если установлено, поля только для чтения так же будут отображены."
+
+#: src/z3c/form/interfaces.py:568
+#: src/z3c/form/zcml.py:69
+msgid "Field"
+msgstr "Поле"
+
+#: src/z3c/form/interfaces.py:569
+msgid "The schema field which the widget is representing."
+msgstr "Поле схемы, которое представляется виджетом."
+
+#: src/z3c/form/interfaces.py:598
+msgid "The object name."
+msgstr "Имя объекта."
+
+#: src/z3c/form/interfaces.py:604
+msgid "The action title."
+msgstr "Название действия."
+
+#: src/z3c/form/interfaces.py:619
+#: src/z3c/form/interfaces.py:837
+msgid "Action"
+msgstr "Действие"
+
+#: src/z3c/form/interfaces.py:620
+msgid "The action for which the event is created."
+msgstr "Действие, для которого было создано событие."
+
+#: src/z3c/form/interfaces.py:630
+msgid "The error that occurred during the action."
+msgstr "Ошибка, которая произошла во время действия."
+
+#: src/z3c/form/interfaces.py:656
+msgid "Access Key"
+msgstr "Клавиша доступа"
+
+#: src/z3c/form/interfaces.py:657
+msgid "The key when pressed causes the button to be pressed."
+msgstr "Клавиша, при нажатии которой будет нажата кнопка."
+
+#: src/z3c/form/interfaces.py:663
+msgid "Action Factory"
+msgstr "Фабрика действий"
+
+#: src/z3c/form/interfaces.py:664
+msgid "The action factory."
+msgstr "Фабрика действий."
+
+#: src/z3c/form/interfaces.py:674
+msgid "Image Path"
+msgstr "Путь к изображению"
+
+#: src/z3c/form/interfaces.py:675
+msgid "A relative image path to the root of the resources."
+msgstr "Путь к изображению, относительно корня для ресурсов."
+
+#: src/z3c/form/interfaces.py:721
+msgid "Handlers"
+msgstr "Обработчики"
+
+#: src/z3c/form/interfaces.py:722
+msgid "A list of action handlers defined on the form."
+msgstr "Список обработчиков действий, определённых для формы."
+
+#: src/z3c/form/interfaces.py:736
+msgid "The context in which the widget is displayed."
+msgstr "Контекст, в котором отображается виджет."
+
+#: src/z3c/form/interfaces.py:741
+msgid "A flag, when set, forces the widget not to look at the context for a value."
+msgstr "Если этот флаг установлен, виджет не будет искать значение в контексте."
+
+#: src/z3c/form/interfaces.py:762
+msgid "The mode in which to render the widgets."
+msgstr "Режим, в котором отображать виджет."
+
+#: src/z3c/form/interfaces.py:784
+msgid "Widgets"
+msgstr "Виджеты"
+
+#: src/z3c/form/interfaces.py:785
+msgid "A widget manager containing the widgets to be used in the form."
+msgstr "Менеджер виджетов, содержащий виджеты для использования в форме."
+
+#: src/z3c/form/interfaces.py:791
+msgid "A human readable text desribing the form that can be used in the UI."
+msgstr "Текст с описанием формы, который может быть использован в пользовательском интерфейсе."
+
+#: src/z3c/form/interfaces.py:797
+msgid "The prefix of the form used to uniquely identify it."
+msgstr "Префиск формы, использующийся для её идентификации."
+
+#: src/z3c/form/interfaces.py:801
+msgid "Status"
+msgstr "Статус"
+
+#: src/z3c/form/interfaces.py:802
+msgid "The status message of the form."
+msgstr "Сообщение о статусе формы."
+
+#: src/z3c/form/interfaces.py:838
+msgid "The action defines the URI to which the form data is sent."
+msgstr "Действие, определяет URI, по которому будут отправлены данные формы."
+
+#: src/z3c/form/interfaces.py:844
+msgid "The name of the form used to identify it."
+msgstr "Имя формы, использующееся для её идентификации."
+
+#: src/z3c/form/interfaces.py:848
+msgid "Id"
+msgstr "Идентификатор"
+
+#: src/z3c/form/interfaces.py:849
+msgid "The id of the form used to identify it."
+msgstr "Идентификатор формы."
+
+#: src/z3c/form/interfaces.py:853
+msgid "Method"
+msgstr "Метод"
+
+#: src/z3c/form/interfaces.py:854
+msgid "The HTTP method used to submit the form."
+msgstr "HTTP-метод, который был использован для отправки формы."
+
+#: src/z3c/form/interfaces.py:860
+msgid "Encoding Type"
+msgstr "Тип кодирования"
+
+#: src/z3c/form/interfaces.py:861
+msgid "The data encoding used to submit the data safely."
+msgstr "Кодировка данных, использующаяся для их безопасной передачи."
+
+#: src/z3c/form/interfaces.py:866
+msgid "Accepted Character Sets"
+msgstr "Допустимые наборы символов"
+
+#: src/z3c/form/interfaces.py:867
+msgid "This is a list of character sets the server accepts. By default this is unknwon."
+msgstr "Список наборов символов, которые принимает сервер. По умолчанию неизвестно."
+
+#: src/z3c/form/interfaces.py:872
+msgid "Accepted Content Types"
+msgstr "Допустимые типы контента"
+
+#: src/z3c/form/interfaces.py:873
+msgid "This is a list of content types the server can safely handle."
+msgstr "Список типов контента, которые сервер может безопасно обработать."
+
+#: src/z3c/form/interfaces.py:911
+msgid "Fields"
+msgstr "Поля"
+
+#: src/z3c/form/interfaces.py:912
+msgid "A field manager describing the fields to be used for the form."
+msgstr "Менеджер полей, описывающий поля, использующиеся в форме."
+
+#: src/z3c/form/interfaces.py:921
+msgid "Buttons"
+msgstr "Кнопки"
+
+#: src/z3c/form/interfaces.py:922
+msgid "A button manager describing the buttons to be used for the form."
+msgstr "Менеджер кнопок, описывающий кнопки, использующиеся в форме."
+
+#: src/z3c/form/interfaces.py:947
+msgid "The widget for which the event was created."
+msgstr "Виджет, для которого было создано событие."
+
+#: src/z3c/form/term.py:82
+msgid "yes"
+msgstr "да"
+
+#: src/z3c/form/term.py:83
+msgid "no"
+msgstr "нет"
+
+#: src/z3c/form/util.py:114
+msgid "Missing filename extension."
+msgstr "Отсутствует расширение имени файла."
+
+#: src/z3c/form/zcml.py:38
+msgid "Layout template."
+msgstr "Шаблон раскладки."
+
+#: src/z3c/form/zcml.py:39
+msgid "Refers to a file containing a page template (should end in extension ``.pt`` or ``.html``)."
+msgstr "Указывает на файл с шаблоном страницы (должно оканчиваться на ``.pt`` или ``.html``)."
+
+#: src/z3c/form/zcml.py:44
+msgid "The mode of the template."
+msgstr "Режим шаблона."
+
+#: src/z3c/form/zcml.py:45
+msgid "The mode is used for define input and display templates"
+msgstr "Режим используется для определения шаблонов для ввода и для отображения"
+
+#: src/z3c/form/zcml.py:51
+#: src/z3c/form/zcml.py:63
+#: src/z3c/form/zcml.py:75
+msgid "View"
+msgstr "Вид"
+
+#: src/z3c/form/zcml.py:52
+#: src/z3c/form/zcml.py:64
+msgid "The view for which the template should be available"
+msgstr "Вид, для которого шаблон должен быть доступен"
+
+#: src/z3c/form/zcml.py:57
+msgid "Layer"
+msgstr "Слой"
+
+#: src/z3c/form/zcml.py:58
+msgid "The layer for which the template should be available"
+msgstr "Слой, для которого шаблон должен быть доступен"
+
+#: src/z3c/form/zcml.py:70
+msgid "The field for which the template should be available"
+msgstr "Поле, для которого шаблон должен быть доступен"
+
+#: src/z3c/form/zcml.py:76
+msgid "The widget for which the template should be available"
+msgstr "Виджет, для которого шаблон должен быть доступен"
+
+#: src/z3c/form/zcml.py:81
+msgid "Content Type"
+msgstr "Тип контента"
+
+#: src/z3c/form/zcml.py:82
+msgid "The content type identifies the type of data."
+msgstr "Тип контента определяет тип данных."
+

Added: z3c.form/trunk/src/z3c/form/locales/z3c.form.pot
===================================================================
--- z3c.form/trunk/src/z3c/form/locales/z3c.form.pot	                        (rev 0)
+++ z3c.form/trunk/src/z3c/form/locales/z3c.form.pot	2008-09-04 15:06:15 UTC (rev 90810)
@@ -0,0 +1,559 @@
+##############################################################################
+#
+# 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: Thu Sep  4 14:30:01 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/z3c/form/browser/multi.py:57
+#: src/z3c/form/form.py:203
+msgid "Add"
+msgstr ""
+
+#: src/z3c/form/browser/multi.py:61
+msgid "Remove"
+msgstr ""
+
+#: src/z3c/form/browser/select.py:39
+msgid "no value"
+msgstr ""
+
+#: src/z3c/form/browser/select.py:40
+msgid "select a value ..."
+msgstr ""
+
+#: src/z3c/form/converter.py:123
+msgid "The entered value is not a valid integer literal."
+msgstr ""
+
+#: src/z3c/form/converter.py:130
+#: src/z3c/form/converter.py:137
+msgid "The entered value is not a valid decimal literal."
+msgstr ""
+
+#: src/z3c/form/converter.py:232
+msgid "Bytes data is not a file object"
+msgstr ""
+
+#: src/z3c/form/error.py:89
+msgid "The system could not process the given value."
+msgstr ""
+
+#: src/z3c/form/form.py:201
+#: src/z3c/form/form.py:240
+#: src/z3c/form/subform.py:29
+msgid "There were some errors."
+msgstr ""
+
+#: src/z3c/form/form.py:241
+#: src/z3c/form/subform.py:30
+msgid "Data successfully updated."
+msgstr ""
+
+#: src/z3c/form/form.py:242
+#: src/z3c/form/subform.py:31
+msgid "No changes were applied."
+msgstr ""
+
+#: src/z3c/form/form.py:259
+msgid "Apply"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:101
+#: src/z3c/form/interfaces.py:735
+msgid "Context"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:102
+msgid "The context in which the data is validated."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:142
+#: src/z3c/form/interfaces.py:946
+msgid "Widget"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:143
+msgid "The widget that the view is on"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:147
+#: src/z3c/form/interfaces.py:360
+#: src/z3c/form/interfaces.py:629
+msgid "Error"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:148
+msgid "Error the view is for."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:164
+#: src/z3c/form/interfaces.py:603
+msgid "Title"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:165
+msgid "The name of the field within the form."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:169
+msgid "Schema Field"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:170
+msgid "The schema field that is to be rendered."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:174
+#: src/z3c/form/interfaces.py:516
+#: src/z3c/form/interfaces.py:522
+#: src/z3c/form/interfaces.py:796
+msgid "Prefix"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:175
+msgid "The prefix of the field used to avoid name clashes."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:179
+#: src/z3c/form/interfaces.py:347
+#: src/z3c/form/interfaces.py:761
+msgid "Mode"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:180
+msgid "The mode in which to render the widget for the field."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:184
+msgid "Interface"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:185
+msgid "The interface from which the field is coming."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:189
+msgid "Data Provider"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:190
+msgid "The component providing the data of the field for the widget."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:195
+msgid "Widget Factory"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:196
+msgid "The widget factory."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:314
+msgid "True-value Label"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:315
+msgid "The label for a true value of the Bool field."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:319
+msgid "False-value Label"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:320
+msgid "The label for a false value of the Bool field."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:330
+#: src/z3c/form/interfaces.py:597
+#: src/z3c/form/interfaces.py:843
+msgid "Name"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:331
+msgid "The name the widget is known under."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:335
+#: src/z3c/form/interfaces.py:790
+msgid "Label"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:336
+msgid ""
+"\n"
+"        The widget label.\n"
+"\n"
+"        Label may be translated for the request.\n"
+"\n"
+"        The attribute may be implemented as either a read-write or read-only\n"
+"        property, depending on the requirements for a specific implementation.\n"
+"        "
+msgstr ""
+
+#: src/z3c/form/interfaces.py:348
+msgid "A widget mode."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:353
+msgid "Required"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:354
+msgid "If true the widget should be displayed as required input."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:361
+msgid "If an error occurred during any step, the error view stored here."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:366
+msgid "Value"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:367
+msgid "The value that the widget represents."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:373
+#: src/z3c/form/interfaces.py:541
+#: src/z3c/form/interfaces.py:772
+msgid "Ignore Request"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:374
+msgid "A flag, when set, forces the widget not to look at the request for a value."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:419
+msgid "NOVALUE Token"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:420
+msgid "The token to be used, if no value has been selected."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:423
+msgid "Terms"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:424
+msgid "A component that provides the options for selection."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:454
+msgid "Prompt"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:455
+msgid "A flag, when set, enables a choice explicitely requesting the user to choose a value."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:460
+msgid "Items"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:461
+msgid "A collection of dictionaries containing all pieces of information for renderiing. The following keys must be in each dictionary: id, value, content, selected"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:466
+msgid "No-Value Message"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:467
+#: src/z3c/form/interfaces.py:472
+msgid "A human-readable text that is displayed to refer the missing value."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:471
+msgid "Prompt Message"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:517
+#: src/z3c/form/interfaces.py:523
+msgid "The prefix of the widgets."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:528
+msgid "Errors"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:529
+msgid "The collection of errors that occured during validation."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:535
+#: src/z3c/form/interfaces.py:740
+#: src/z3c/form/interfaces.py:766
+msgid "Ignore Context"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:536
+#: src/z3c/form/interfaces.py:767
+msgid "If set the context is ignored to retrieve a value."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:542
+#: src/z3c/form/interfaces.py:773
+msgid "If set the request is ignored to retrieve a value."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:547
+#: src/z3c/form/interfaces.py:778
+msgid "Ignore Readonly"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:548
+#: src/z3c/form/interfaces.py:779
+msgid "If set then readonly fields will also be shown."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:568
+#: src/z3c/form/zcml.py:69
+msgid "Field"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:569
+msgid "The schema field which the widget is representing."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:598
+msgid "The object name."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:604
+msgid "The action title."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:619
+#: src/z3c/form/interfaces.py:837
+msgid "Action"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:620
+msgid "The action for which the event is created."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:630
+msgid "The error that occurred during the action."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:656
+msgid "Access Key"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:657
+msgid "The key when pressed causes the button to be pressed."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:663
+msgid "Action Factory"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:664
+msgid "The action factory."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:674
+msgid "Image Path"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:675
+msgid "A relative image path to the root of the resources."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:721
+msgid "Handlers"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:722
+msgid "A list of action handlers defined on the form."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:736
+msgid "The context in which the widget is displayed."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:741
+msgid "A flag, when set, forces the widget not to look at the context for a value."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:762
+msgid "The mode in which to render the widgets."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:784
+msgid "Widgets"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:785
+msgid "A widget manager containing the widgets to be used in the form."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:791
+msgid "A human readable text desribing the form that can be used in the UI."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:797
+msgid "The prefix of the form used to uniquely identify it."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:801
+msgid "Status"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:802
+msgid "The status message of the form."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:838
+msgid "The action defines the URI to which the form data is sent."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:844
+msgid "The name of the form used to identify it."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:848
+msgid "Id"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:849
+msgid "The id of the form used to identify it."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:853
+msgid "Method"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:854
+msgid "The HTTP method used to submit the form."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:860
+msgid "Encoding Type"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:861
+msgid "The data encoding used to submit the data safely."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:866
+msgid "Accepted Character Sets"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:867
+msgid "This is a list of character sets the server accepts. By default this is unknwon."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:872
+msgid "Accepted Content Types"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:873
+msgid "This is a list of content types the server can safely handle."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:911
+msgid "Fields"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:912
+msgid "A field manager describing the fields to be used for the form."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:921
+msgid "Buttons"
+msgstr ""
+
+#: src/z3c/form/interfaces.py:922
+msgid "A button manager describing the buttons to be used for the form."
+msgstr ""
+
+#: src/z3c/form/interfaces.py:947
+msgid "The widget for which the event was created."
+msgstr ""
+
+#: src/z3c/form/term.py:82
+msgid "yes"
+msgstr ""
+
+#: src/z3c/form/term.py:83
+msgid "no"
+msgstr ""
+
+#: src/z3c/form/util.py:114
+msgid "Missing filename extension."
+msgstr ""
+
+#: src/z3c/form/zcml.py:38
+msgid "Layout template."
+msgstr ""
+
+#: src/z3c/form/zcml.py:39
+msgid "Refers to a file containing a page template (should end in extension ``.pt`` or ``.html``)."
+msgstr ""
+
+#: src/z3c/form/zcml.py:44
+msgid "The mode of the template."
+msgstr ""
+
+#: src/z3c/form/zcml.py:45
+msgid "The mode is used for define input and display templates"
+msgstr ""
+
+#: src/z3c/form/zcml.py:51
+#: src/z3c/form/zcml.py:63
+#: src/z3c/form/zcml.py:75
+msgid "View"
+msgstr ""
+
+#: src/z3c/form/zcml.py:52
+#: src/z3c/form/zcml.py:64
+msgid "The view for which the template should be available"
+msgstr ""
+
+#: src/z3c/form/zcml.py:57
+msgid "Layer"
+msgstr ""
+
+#: src/z3c/form/zcml.py:58
+msgid "The layer for which the template should be available"
+msgstr ""
+
+#: src/z3c/form/zcml.py:70
+msgid "The field for which the template should be available"
+msgstr ""
+
+#: src/z3c/form/zcml.py:76
+msgid "The widget for which the template should be available"
+msgstr ""
+
+#: src/z3c/form/zcml.py:81
+msgid "Content Type"
+msgstr ""
+
+#: src/z3c/form/zcml.py:82
+msgid "The content type identifies the type of data."
+msgstr ""
+



More information about the Checkins mailing list