1 |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
4 |
|
5 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
6 <head> |
|
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
8 <title>pyams_i18n.zmi package — PyAMS User Guide 0.1.0 documentation</title> |
|
9 <link rel="stylesheet" href="_static/pyramid.css" type="text/css" /> |
|
10 <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> |
|
11 <script type="text/javascript"> |
|
12 var DOCUMENTATION_OPTIONS = { |
|
13 URL_ROOT: './', |
|
14 VERSION: '0.1.0', |
|
15 COLLAPSE_INDEX: false, |
|
16 FILE_SUFFIX: '.html', |
|
17 HAS_SOURCE: true, |
|
18 SOURCELINK_SUFFIX: '.txt' |
|
19 }; |
|
20 </script> |
|
21 <script type="text/javascript" src="_static/jquery.js"></script> |
|
22 <script type="text/javascript" src="_static/underscore.js"></script> |
|
23 <script type="text/javascript" src="_static/doctools.js"></script> |
|
24 <link rel="index" title="Index" href="genindex.html" /> |
|
25 <link rel="search" title="Search" href="search.html" /> |
|
26 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Neuton&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
27 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nobile:regular,italic,bold,bolditalic&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
28 <!--[if lte IE 6]> |
|
29 <link rel="stylesheet" href="_static/ie6.css" type="text/css" media="screen" charset="utf-8" /> |
|
30 <![endif]--> |
|
31 |
|
32 </head> |
|
33 <body> |
|
34 |
|
35 <div class="related" role="navigation" aria-label="related navigation"> |
|
36 <h3>Navigation</h3> |
|
37 <ul> |
|
38 <li class="right" style="margin-right: 10px"> |
|
39 <a href="genindex.html" title="General Index" |
|
40 accesskey="I">index</a></li> |
|
41 <li class="right" > |
|
42 <a href="py-modindex.html" title="Python Module Index" |
|
43 >modules</a> |</li> |
|
44 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
45 </ul> |
|
46 </div> |
|
47 |
|
48 <div class="document"> |
|
49 <div class="documentwrapper"> |
|
50 <div class="bodywrapper"> |
|
51 <div class="body" role="main"> |
|
52 |
|
53 <div class="section" id="pyams-i18n-zmi-package"> |
|
54 <h1>pyams_i18n.zmi package<a class="headerlink" href="#pyams-i18n-zmi-package" title="Permalink to this headline">¶</a></h1> |
|
55 <div class="section" id="submodules"> |
|
56 <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2> |
|
57 </div> |
|
58 <div class="section" id="module-pyams_i18n.zmi.language"> |
|
59 <span id="pyams-i18n-zmi-language-module"></span><h2>pyams_i18n.zmi.language module<a class="headerlink" href="#module-pyams_i18n.zmi.language" title="Permalink to this headline">¶</a></h2> |
|
60 <dl class="class"> |
|
61 <dt id="pyams_i18n.zmi.language.I18nManagerLanguageEditFormHelp"> |
|
62 <em class="property">class </em><code class="descclassname">pyams_i18n.zmi.language.</code><code class="descname">I18nManagerLanguageEditFormHelp</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.zmi.language.I18nManagerLanguageEditFormHelp" title="Permalink to this definition">¶</a></dt> |
|
63 <dd><p>Bases: <a class="reference internal" href="pyams_form.html#pyams_form.help.FormHelp" title="pyams_form.help.FormHelp"><code class="xref py py-class docutils literal"><span class="pre">pyams_form.help.FormHelp</span></code></a></p> |
|
64 <p>I18n manager language edit form help adapter</p> |
|
65 <dl class="attribute"> |
|
66 <dt id="pyams_i18n.zmi.language.I18nManagerLanguageEditFormHelp.message"> |
|
67 <code class="descname">message</code><em class="property"> = 'For each selected language, a tab will be associated to each form input to enter matching translation.'</em><a class="headerlink" href="#pyams_i18n.zmi.language.I18nManagerLanguageEditFormHelp.message" title="Permalink to this definition">¶</a></dt> |
|
68 <dd></dd></dl> |
|
69 |
|
70 <dl class="attribute"> |
|
71 <dt id="pyams_i18n.zmi.language.I18nManagerLanguageEditFormHelp.message_format"> |
|
72 <code class="descname">message_format</code><em class="property"> = 'rest'</em><a class="headerlink" href="#pyams_i18n.zmi.language.I18nManagerLanguageEditFormHelp.message_format" title="Permalink to this definition">¶</a></dt> |
|
73 <dd></dd></dl> |
|
74 |
|
75 <dl class="attribute"> |
|
76 <dt id="pyams_i18n.zmi.language.I18nManagerLanguageEditFormHelp.outer_margin"> |
|
77 <code class="descname">outer_margin</code><em class="property"> = 10</em><a class="headerlink" href="#pyams_i18n.zmi.language.I18nManagerLanguageEditFormHelp.outer_margin" title="Permalink to this definition">¶</a></dt> |
|
78 <dd></dd></dl> |
|
79 |
|
80 </dd></dl> |
|
81 |
|
82 <dl class="class"> |
|
83 <dt id="pyams_i18n.zmi.language.I18nManagerLanguageEditFormPermissionChecker"> |
|
84 <em class="property">class </em><code class="descclassname">pyams_i18n.zmi.language.</code><code class="descname">I18nManagerLanguageEditFormPermissionChecker</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.zmi.language.I18nManagerLanguageEditFormPermissionChecker" title="Permalink to this definition">¶</a></dt> |
|
85 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
86 <p>I18n manager language edit form permission checker</p> |
|
87 <dl class="attribute"> |
|
88 <dt id="pyams_i18n.zmi.language.I18nManagerLanguageEditFormPermissionChecker.edit_permission"> |
|
89 <code class="descname">edit_permission</code><em class="property"> = 'manage'</em><a class="headerlink" href="#pyams_i18n.zmi.language.I18nManagerLanguageEditFormPermissionChecker.edit_permission" title="Permalink to this definition">¶</a></dt> |
|
90 <dd></dd></dl> |
|
91 |
|
92 </dd></dl> |
|
93 |
|
94 <dl class="class"> |
|
95 <dt id="pyams_i18n.zmi.language.I18nManagerLanguagesAJAXEditForm"> |
|
96 <em class="property">class </em><code class="descclassname">pyams_i18n.zmi.language.</code><code class="descname">I18nManagerLanguagesAJAXEditForm</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.zmi.language.I18nManagerLanguagesAJAXEditForm" title="Permalink to this definition">¶</a></dt> |
|
97 <dd><p>Bases: <a class="reference internal" href="pyams_form.html#pyams_form.form.AJAXEditForm" title="pyams_form.form.AJAXEditForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_form.form.AJAXEditForm</span></code></a>, <a class="reference internal" href="#pyams_i18n.zmi.language.I18nManagerLanguagesEditForm" title="pyams_i18n.zmi.language.I18nManagerLanguagesEditForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_i18n.zmi.language.I18nManagerLanguagesEditForm</span></code></a></p> |
|
98 <p>I18n manager languages edit form, JSON renderer</p> |
|
99 </dd></dl> |
|
100 |
|
101 <dl class="class"> |
|
102 <dt id="pyams_i18n.zmi.language.I18nManagerLanguagesEditForm"> |
|
103 <em class="property">class </em><code class="descclassname">pyams_i18n.zmi.language.</code><code class="descname">I18nManagerLanguagesEditForm</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.zmi.language.I18nManagerLanguagesEditForm" title="Permalink to this definition">¶</a></dt> |
|
104 <dd><p>Bases: <a class="reference internal" href="pyams_zmi.html#pyams_zmi.form.AdminEditForm" title="pyams_zmi.form.AdminEditForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_zmi.form.AdminEditForm</span></code></a></p> |
|
105 <p>I18n manager languages edit form</p> |
|
106 <dl class="attribute"> |
|
107 <dt id="pyams_i18n.zmi.language.I18nManagerLanguagesEditForm.ajax_handler"> |
|
108 <code class="descname">ajax_handler</code><em class="property"> = 'languages.json'</em><a class="headerlink" href="#pyams_i18n.zmi.language.I18nManagerLanguagesEditForm.ajax_handler" title="Permalink to this definition">¶</a></dt> |
|
109 <dd></dd></dl> |
|
110 |
|
111 <dl class="attribute"> |
|
112 <dt id="pyams_i18n.zmi.language.I18nManagerLanguagesEditForm.edit_permission"> |
|
113 <code class="descname">edit_permission</code><em class="property"> = None</em><a class="headerlink" href="#pyams_i18n.zmi.language.I18nManagerLanguagesEditForm.edit_permission" title="Permalink to this definition">¶</a></dt> |
|
114 <dd></dd></dl> |
|
115 |
|
116 <dl class="attribute"> |
|
117 <dt id="pyams_i18n.zmi.language.I18nManagerLanguagesEditForm.fields"> |
|
118 <code class="descname">fields</code><em class="property"> = <z3c.form.field.Fields object></em><a class="headerlink" href="#pyams_i18n.zmi.language.I18nManagerLanguagesEditForm.fields" title="Permalink to this definition">¶</a></dt> |
|
119 <dd></dd></dl> |
|
120 |
|
121 <dl class="attribute"> |
|
122 <dt id="pyams_i18n.zmi.language.I18nManagerLanguagesEditForm.legend"> |
|
123 <code class="descname">legend</code><em class="property"> = 'Content languages'</em><a class="headerlink" href="#pyams_i18n.zmi.language.I18nManagerLanguagesEditForm.legend" title="Permalink to this definition">¶</a></dt> |
|
124 <dd></dd></dl> |
|
125 |
|
126 </dd></dl> |
|
127 |
|
128 <dl class="class"> |
|
129 <dt id="pyams_i18n.zmi.language.I18nManagerLanguagesMenu"> |
|
130 <em class="property">class </em><code class="descclassname">pyams_i18n.zmi.language.</code><code class="descname">I18nManagerLanguagesMenu</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.zmi.language.I18nManagerLanguagesMenu" title="Permalink to this definition">¶</a></dt> |
|
131 <dd><p>Bases: <a class="reference internal" href="pyams_skin.viewlet.menu.html#pyams_skin.viewlet.menu.MenuItem" title="pyams_skin.viewlet.menu.MenuItem"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.viewlet.menu.MenuItem</span></code></a></p> |
|
132 <p>I18n manager languages menu</p> |
|
133 <dl class="attribute"> |
|
134 <dt id="pyams_i18n.zmi.language.I18nManagerLanguagesMenu.icon_class"> |
|
135 <code class="descname">icon_class</code><em class="property"> = 'fa-flag'</em><a class="headerlink" href="#pyams_i18n.zmi.language.I18nManagerLanguagesMenu.icon_class" title="Permalink to this definition">¶</a></dt> |
|
136 <dd></dd></dl> |
|
137 |
|
138 <dl class="attribute"> |
|
139 <dt id="pyams_i18n.zmi.language.I18nManagerLanguagesMenu.label"> |
|
140 <code class="descname">label</code><em class="property"> = 'Languages'</em><a class="headerlink" href="#pyams_i18n.zmi.language.I18nManagerLanguagesMenu.label" title="Permalink to this definition">¶</a></dt> |
|
141 <dd></dd></dl> |
|
142 |
|
143 <dl class="attribute"> |
|
144 <dt id="pyams_i18n.zmi.language.I18nManagerLanguagesMenu.url"> |
|
145 <code class="descname">url</code><em class="property"> = '#languages.html'</em><a class="headerlink" href="#pyams_i18n.zmi.language.I18nManagerLanguagesMenu.url" title="Permalink to this definition">¶</a></dt> |
|
146 <dd></dd></dl> |
|
147 |
|
148 </dd></dl> |
|
149 |
|
150 </div> |
|
151 <div class="section" id="module-pyams_i18n.zmi.negotiator"> |
|
152 <span id="pyams-i18n-zmi-negotiator-module"></span><h2>pyams_i18n.zmi.negotiator module<a class="headerlink" href="#module-pyams_i18n.zmi.negotiator" title="Permalink to this headline">¶</a></h2> |
|
153 <dl class="class"> |
|
154 <dt id="pyams_i18n.zmi.negotiator.NegotiatorPropertiesAJAXEditForm"> |
|
155 <em class="property">class </em><code class="descclassname">pyams_i18n.zmi.negotiator.</code><code class="descname">NegotiatorPropertiesAJAXEditForm</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.zmi.negotiator.NegotiatorPropertiesAJAXEditForm" title="Permalink to this definition">¶</a></dt> |
|
156 <dd><p>Bases: <a class="reference internal" href="pyams_form.html#pyams_form.form.AJAXEditForm" title="pyams_form.form.AJAXEditForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_form.form.AJAXEditForm</span></code></a>, <a class="reference internal" href="#pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm" title="pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm</span></code></a></p> |
|
157 <p>Negotiator properties edit form, AJAX renderer</p> |
|
158 </dd></dl> |
|
159 |
|
160 <dl class="class"> |
|
161 <dt id="pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm"> |
|
162 <em class="property">class </em><code class="descclassname">pyams_i18n.zmi.negotiator.</code><code class="descname">NegotiatorPropertiesEditForm</code><span class="sig-paren">(</span><em>context</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm" title="Permalink to this definition">¶</a></dt> |
|
163 <dd><p>Bases: <a class="reference internal" href="pyams_zmi.html#pyams_zmi.form.AdminDialogEditForm" title="pyams_zmi.form.AdminDialogEditForm"><code class="xref py py-class docutils literal"><span class="pre">pyams_zmi.form.AdminDialogEditForm</span></code></a></p> |
|
164 <p>Negotiator properties edit form</p> |
|
165 <dl class="attribute"> |
|
166 <dt id="pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm.ajax_handler"> |
|
167 <code class="descname">ajax_handler</code><em class="property"> = 'properties.json'</em><a class="headerlink" href="#pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm.ajax_handler" title="Permalink to this definition">¶</a></dt> |
|
168 <dd></dd></dl> |
|
169 |
|
170 <dl class="attribute"> |
|
171 <dt id="pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm.edit_permission"> |
|
172 <code class="descname">edit_permission</code><em class="property"> = 'pyams.ManageSystem'</em><a class="headerlink" href="#pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm.edit_permission" title="Permalink to this definition">¶</a></dt> |
|
173 <dd></dd></dl> |
|
174 |
|
175 <dl class="attribute"> |
|
176 <dt id="pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm.fields"> |
|
177 <code class="descname">fields</code><em class="property"> = <z3c.form.field.Fields object></em><a class="headerlink" href="#pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm.fields" title="Permalink to this definition">¶</a></dt> |
|
178 <dd></dd></dl> |
|
179 |
|
180 <dl class="attribute"> |
|
181 <dt id="pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm.legend"> |
|
182 <code class="descname">legend</code><em class="property"> = 'Update languages negotiator properties'</em><a class="headerlink" href="#pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm.legend" title="Permalink to this definition">¶</a></dt> |
|
183 <dd></dd></dl> |
|
184 |
|
185 <dl class="attribute"> |
|
186 <dt id="pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm.title"> |
|
187 <code class="descname">title</code><a class="headerlink" href="#pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm.title" title="Permalink to this definition">¶</a></dt> |
|
188 <dd></dd></dl> |
|
189 |
|
190 <dl class="method"> |
|
191 <dt id="pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm.updateWidgets"> |
|
192 <code class="descname">updateWidgets</code><span class="sig-paren">(</span><em>prefix=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.zmi.negotiator.NegotiatorPropertiesEditForm.updateWidgets" title="Permalink to this definition">¶</a></dt> |
|
193 <dd></dd></dl> |
|
194 |
|
195 </dd></dl> |
|
196 |
|
197 </div> |
|
198 <div class="section" id="module-pyams_i18n.zmi"> |
|
199 <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_i18n.zmi" title="Permalink to this headline">¶</a></h2> |
|
200 </div> |
|
201 </div> |
|
202 |
|
203 |
|
204 </div> |
|
205 </div> |
|
206 </div> |
|
207 <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
|
208 <div class="sphinxsidebarwrapper"> |
|
209 <h3><a href="index.html">Table Of Contents</a></h3> |
|
210 <ul> |
|
211 <li><a class="reference internal" href="#">pyams_i18n.zmi package</a><ul> |
|
212 <li><a class="reference internal" href="#submodules">Submodules</a></li> |
|
213 <li><a class="reference internal" href="#module-pyams_i18n.zmi.language">pyams_i18n.zmi.language module</a></li> |
|
214 <li><a class="reference internal" href="#module-pyams_i18n.zmi.negotiator">pyams_i18n.zmi.negotiator module</a></li> |
|
215 <li><a class="reference internal" href="#module-pyams_i18n.zmi">Module contents</a></li> |
|
216 </ul> |
|
217 </li> |
|
218 </ul> |
|
219 |
|
220 <div id="searchbox" style="display: none" role="search"> |
|
221 <h3>Quick search</h3> |
|
222 <form class="search" action="search.html" method="get"> |
|
223 <div><input type="text" name="q" /></div> |
|
224 <div><input type="submit" value="Go" /></div> |
|
225 <input type="hidden" name="check_keywords" value="yes" /> |
|
226 <input type="hidden" name="area" value="default" /> |
|
227 </form> |
|
228 </div> |
|
229 <script type="text/javascript">$('#searchbox').show(0);</script> |
|
230 </div> |
|
231 </div> |
|
232 <div class="clearer"></div> |
|
233 </div> |
|
234 <div class="related" role="navigation" aria-label="related navigation"> |
|
235 <h3>Navigation</h3> |
|
236 <ul> |
|
237 <li class="right" style="margin-right: 10px"> |
|
238 <a href="genindex.html" title="General Index" |
|
239 >index</a></li> |
|
240 <li class="right" > |
|
241 <a href="py-modindex.html" title="Python Module Index" |
|
242 >modules</a> |</li> |
|
243 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
244 </ul> |
|
245 </div> |
|
246 <div class="footer" role="contentinfo"> |
|
247 © Copyright 2017, Thierry Florac. |
|
248 Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5. |
|
249 </div> |
|
250 </body> |
|
251 </html> |
|