pyams_i18n.zmi package¶
+Submodules¶
+pyams_i18n.zmi.language module¶
+-
+
-
+class
pyams_i18n.zmi.language.
I18nManagerLanguageEditFormHelp
(context, request, view)¶
+ Bases:
+pyams_form.help.FormHelp
I18n manager language edit form help adapter
+-
+
-
+
message
= 'For each selected language, a tab will be associated to each form input to enter matching translation.'¶
+
-
+
-
+
message_format
= 'rest'¶
+
-
+
-
+
outer_margin
= 10¶
+
-
+
-
+
-
+class
pyams_i18n.zmi.language.
I18nManagerLanguageEditFormPermissionChecker
(context, request, view)¶
+ Bases:
+pyams_utils.adapter.ContextRequestViewAdapter
I18n manager language edit form permission checker
+-
+
-
+
edit_permission
= 'manage'¶
+
-
+
-
+
-
+class
pyams_i18n.zmi.language.
I18nManagerLanguagesAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_i18n.zmi.language.I18nManagerLanguagesEditForm
I18n manager languages edit form, JSON renderer
+
-
+
-
+class
pyams_i18n.zmi.language.
I18nManagerLanguagesEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminEditForm
I18n manager languages edit form
+-
+
-
+
ajax_handler
= 'languages.json'¶
+
-
+
-
+
edit_permission
= None¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
legend
= 'Content languages'¶
+
-
+
-
+
-
+class
pyams_i18n.zmi.language.
I18nManagerLanguagesMenu
(context, request, view, manager=None)¶
+ Bases:
+pyams_skin.viewlet.menu.MenuItem
I18n manager languages menu
+-
+
-
+
icon_class
= 'fa-flag'¶
+
-
+
-
+
label
= 'Languages'¶
+
-
+
-
+
url
= '#languages.html'¶
+
-
+
pyams_i18n.zmi.negotiator module¶
+-
+
-
+class
pyams_i18n.zmi.negotiator.
NegotiatorPropertiesAJAXEditForm
(context, request)¶
+ Bases:
+pyams_form.form.AJAXEditForm
,pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm
Negotiator properties edit form, AJAX renderer
+
-
+
-
+class
pyams_i18n.zmi.negotiator.
NegotiatorPropertiesEditForm
(context, request)¶
+ Bases:
+pyams_zmi.form.AdminDialogEditForm
Negotiator properties edit form
+-
+
-
+
ajax_handler
= 'properties.json'¶
+
-
+
-
+
edit_permission
= 'pyams.ManageSystem'¶
+
-
+
-
+
fields
= <z3c.form.field.Fields object>¶
+
-
+
-
+
legend
= 'Update languages negotiator properties'¶
+
-
+
-
+
title
¶
+
-
+
-
+
updateWidgets
(prefix=None)¶
+
-
+