-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Branch: refs/heads/main Date: 2021-11-18T15:29:21+01:00 Author: Timo Stollenwerk (tisto) <[email protected]> Commit: plone/plone.volto@1601963 Update German translations (#26) Files changed: M CHANGES.rst M src/plone/volto/locales/de/LC_MESSAGES/plone.volto.po M src/plone/volto/locales/en/LC_MESSAGES/plone.volto.po M src/plone/volto/locales/it/LC_MESSAGES/plone.volto.po M src/plone/volto/locales/plone.volto.pot
- Loading branch information
Showing
1 changed file
with
12 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,19 @@ | ||
Repository: plone.app.z3cform | ||
Repository: plone.volto | ||
|
||
|
||
Branch: refs/heads/master | ||
Date: 2021-11-11T11:43:25+01:00 | ||
Author: Jan Mevissen (jmevissen) <[email protected]> | ||
Commit: https://github.com/plone/plone.app.z3cform/commit/8ec391f01948129ca229c12877caa187cac13fd1 | ||
Branch: refs/heads/main | ||
Date: 2021-11-18T15:29:21+01:00 | ||
Author: Timo Stollenwerk (tisto) <[email protected]> | ||
Commit: https://github.com/plone/plone.volto/commit/16019639027200ecf80c4f3ae198da8374b735f9 | ||
|
||
enable formautofocus pattern for plone forms | ||
Update German translations (#26) | ||
|
||
Files changed: | ||
M README.rst | ||
M plone/app/z3cform/templates/macros.pt | ||
M CHANGES.rst | ||
M src/plone/volto/locales/de/LC_MESSAGES/plone.volto.po | ||
M src/plone/volto/locales/en/LC_MESSAGES/plone.volto.po | ||
M src/plone/volto/locales/it/LC_MESSAGES/plone.volto.po | ||
M src/plone/volto/locales/plone.volto.pot | ||
|
||
b'diff --git a/README.rst b/README.rst\nindex c1d3c84..3850ebb 100644\n--- a/README.rst\n+++ b/README.rst\n@@ -115,6 +115,19 @@ You can disable this behavior for your form::\n # Disable unload protection behavior\n enable_unload_protection = False\n \n+Autofocus\n+---------\n+\n+The default behaviour on Plone Forms is to use the formautofocus pattern to focus the "first" input field.\n+\n+You can disable this behavior for your form::\n+\n+ class SearchForm(z3c.form.group.GroupForm, z3c.form.form.Form):\n+\n+ # Disable autofocus behavior\n+ enable_autofocus = False\n+\n+\n \n CSRF Protection\n ===============\ndiff --git a/plone/app/z3cform/templates/macros.pt b/plone/app/z3cform/templates/macros.pt\nindex b920f4a..082fbbc 100644\n--- a/plone/app/z3cform/templates/macros.pt\n+++ b/plone/app/z3cform/templates/macros.pt\n@@ -62,6 +62,8 @@\n enable_form_tabbing view/enable_form_tabbing | python:True;\n enable_unload_protection view/enable_unload_protection|python:True;\n unload_protection python:enable_unload_protection and \'pat-formunloadalert\';\n+ enable_autofocus view/enable_autofocus|python:True;\n+ autofocus python:enable_autofocus and \'pat-formautofocus\';\n has_groups python:bool(groups);\n form_tabbing python:(has_groups and enable_form_tabbing) and \'enableFormTabbing pat-autotoc\' or \'\';\n show_default_label python:has_groups and default_fieldset_label and len(view.widgets);\n@@ -70,7 +72,7 @@\n "\n tal:attributes="action view/action|request/getURL;\n enctype view/enctype;\n- class string:rowlike $unload_protection $form_tabbing $form_class $form_view_name_raw $form_view_name;\n+ class string:rowlike $unload_protection $autofocus $form_tabbing $form_class $form_view_name_raw $form_view_name;\n id view/id;\n method view/method|string:post">\n \n' | ||
|
||
Repository: plone.app.z3cform | ||
|
||
|
||
Branch: refs/heads/master | ||
Date: 2021-11-11T11:49:43+01:00 | ||
Author: Jan Mevissen (jmevissen) <[email protected]> | ||
Commit: https://github.com/plone/plone.app.z3cform/commit/f0b21aced65215437f556cfb01e7939b9c86469e | ||
|
||
add changelog entry | ||
|
||
Files changed: | ||
A news/135.feature | ||
|
||
b'diff --git a/news/135.feature b/news/135.feature\nnew file mode 100644\nindex 0000000..c4e6ec6\n--- /dev/null\n+++ b/news/135.feature\n@@ -0,0 +1 @@\n+- enable formautofocus for plone forms disabable for specific forms [jmevissen]\n' | ||
|
||
Repository: plone.app.z3cform | ||
|
||
|
||
Branch: refs/heads/master | ||
Date: 2021-11-18T10:49:12+02:00 | ||
Author: Maik Derstappen (MrTango) <[email protected]> | ||
Commit: https://github.com/plone/plone.app.z3cform/commit/f455471e8479c0d1385c41e4ed64a0482f238d43 | ||
|
||
Merge pull request #135 from plone/jmevissen-enable_formautofocus_pattern_in_plone_forms | ||
|
||
enable formautofocus pattern for plone forms, could be disabled for forms by setting class variable enable_autofocus to False | ||
|
||
Files changed: | ||
A news/135.feature | ||
M README.rst | ||
M plone/app/z3cform/templates/macros.pt | ||
|
||
b'diff --git a/README.rst b/README.rst\nindex c1d3c84..3850ebb 100644\n--- a/README.rst\n+++ b/README.rst\n@@ -115,6 +115,19 @@ You can disable this behavior for your form::\n # Disable unload protection behavior\n enable_unload_protection = False\n \n+Autofocus\n+---------\n+\n+The default behaviour on Plone Forms is to use the formautofocus pattern to focus the "first" input field.\n+\n+You can disable this behavior for your form::\n+\n+ class SearchForm(z3c.form.group.GroupForm, z3c.form.form.Form):\n+\n+ # Disable autofocus behavior\n+ enable_autofocus = False\n+\n+\n \n CSRF Protection\n ===============\ndiff --git a/news/135.feature b/news/135.feature\nnew file mode 100644\nindex 0000000..c4e6ec6\n--- /dev/null\n+++ b/news/135.feature\n@@ -0,0 +1 @@\n+- enable formautofocus for plone forms disabable for specific forms [jmevissen]\ndiff --git a/plone/app/z3cform/templates/macros.pt b/plone/app/z3cform/templates/macros.pt\nindex b920f4a..082fbbc 100644\n--- a/plone/app/z3cform/templates/macros.pt\n+++ b/plone/app/z3cform/templates/macros.pt\n@@ -62,6 +62,8 @@\n enable_form_tabbing view/enable_form_tabbing | python:True;\n enable_unload_protection view/enable_unload_protection|python:True;\n unload_protection python:enable_unload_protection and \'pat-formunloadalert\';\n+ enable_autofocus view/enable_autofocus|python:True;\n+ autofocus python:enable_autofocus and \'pat-formautofocus\';\n has_groups python:bool(groups);\n form_tabbing python:(has_groups and enable_form_tabbing) and \'enableFormTabbing pat-autotoc\' or \'\';\n show_default_label python:has_groups and default_fieldset_label and len(view.widgets);\n@@ -70,7 +72,7 @@\n "\n tal:attributes="action view/action|request/getURL;\n enctype view/enctype;\n- class string:rowlike $unload_protection $form_tabbing $form_class $form_view_name_raw $form_view_name;\n+ class string:rowlike $unload_protection $autofocus $form_tabbing $form_class $form_view_name_raw $form_view_name;\n id view/id;\n method view/method|string:post">\n \n' | ||
b'diff --git a/CHANGES.rst b/CHANGES.rst\nindex e3a61d8..e4d2c72 100644\n--- a/CHANGES.rst\n+++ b/CHANGES.rst\n@@ -11,6 +11,9 @@ New Feature:\n \n Bug fix:\n \n+- Update German translations\n+ [timo]\n+\n - Fix translation files\n [cekk, timo]\n \ndiff --git a/src/plone/volto/locales/de/LC_MESSAGES/plone.volto.po b/src/plone/volto/locales/de/LC_MESSAGES/plone.volto.po\nindex e13de63..b138c5d 100644\n--- a/src/plone/volto/locales/de/LC_MESSAGES/plone.volto.po\n+++ b/src/plone/volto/locales/de/LC_MESSAGES/plone.volto.po\n@@ -4,7 +4,7 @@\n msgid ""\n msgstr ""\n "Project-Id-Version: PACKAGE VERSION\\n"\n-"POT-Creation-Date: 2021-11-18 08:08+0000\\n"\n+"POT-Creation-Date: 2021-11-18 08:27+0000\\n"\n "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\\n"\n "Last-Translator: FULL NAME <EMAIL@ADDRESS>\\n"\n "Language-Team: LANGUAGE <[email protected]>\\n"\n@@ -19,19 +19,19 @@ msgstr ""\n \n #: plone/volto/behaviors/configure.zcml:31\n msgid "Adds Head title field"\n-msgstr ""\n+msgstr "Kopftitel Feld hinzuf\xc3\xbcgen"\n \n #: plone/volto/configure.zcml:37\n msgid "Configures the Plone backend to work with Volto, the new default frontend for Plone 6."\n-msgstr ""\n+msgstr "Konfiguration des Plone Backends f\xc3\xbcr Volto, dem neuen Standard-Frontend von Plone 6"\n \n #: plone/volto/configure.zcml:55\n msgid "Creates a default page for the site"\n-msgstr ""\n+msgstr "Erstellt eine Startseite f\xc3\xbcr die Webseite"\n \n #: plone/volto/behaviors/configure.zcml:31\n msgid "Head title field"\n-msgstr ""\n+msgstr "Kopftitel Feld"\n \n #: plone/volto/behaviors/headtitle.py:13\n msgid "Header title"\n@@ -48,23 +48,23 @@ msgstr "Navigationstitel"\n \n #: plone/volto/behaviors/configure.zcml:24\n msgid "Navigation title used in sections, menus and doormats"\n-msgstr ""\n+msgstr "Navigationstitel der in der Navigation, Brotkrumen und Auflistungen verwendet wird"\n \n #: plone/volto/configure.zcml:55\n msgid "Plone 6 Frontend (Default content on homepage)"\n-msgstr ""\n+msgstr "Plone 6 Frontend (Standard Inhalte)"\n \n #: plone/volto/configure.zcml:37\n msgid "Plone 6 Frontend (plone.volto)"\n-msgstr ""\n+msgstr "Plone 6 Frontend (plone.volto)"\n \n #: plone/volto/configure.zcml:46\n msgid "Plone 6 Frontend (plone.volto): uninstall"\n-msgstr ""\n+msgstr "Plone 6 Frontend (plone.volto): Deinstallation"\n \n #: plone/volto/behaviors/configure.zcml:17\n msgid "Preview Image"\n-msgstr ""\n+msgstr "Vorschaubild"\n \n #: plone/volto/behaviors/preview.py:23\n msgid "Preview image caption"\n@@ -72,28 +72,28 @@ msgstr "Legende zum Vorschaubild"\n \n #: plone/volto/behaviors/configure.zcml:17\n msgid "Preview image for listings"\n-msgstr ""\n+msgstr "Vorschaubild f\xc3\xbcr Auflistungen"\n \n #: plone/volto/configure.zcml:64\n msgid "Special requirements and setup for demo site"\n-msgstr ""\n+msgstr "Setup f\xc3\xbcr Demo Website"\n \n #: plone/volto/configure.zcml:73\n msgid "Special test fixture for multilingual use case"\n-msgstr ""\n+msgstr "Text Fixture f\xc3\xbcr Mehrsprachigkeit"\n \n #: plone/volto/configure.zcml:81\n msgid "Specific profile for re-adding the richtext behavior"\n-msgstr ""\n+msgstr "Profil um das Rich-Text Behavior erneut hinzuzuf\xc3\xbcgen"\n \n #: plone/volto/configure.zcml:46\n msgid "Uninstalls the plone.volto add-on."\n-msgstr ""\n+msgstr "Deinstalliert die Erweiterung plone.volto"\n \n #. Default: "Insert an image that will be used in listing and teaser blocks."\n #: plone/volto/behaviors/preview.py:15\n msgid "help_previewimage"\n-msgstr ""\n+msgstr "Bild einf\xc3\xbcgen welches in Auflistungen und Anrei\xc3\x9fer-Bl\xc3\xb6cken verwendet wird."\n \n #. Default: "Preview image"\n #: plone/volto/behaviors/preview.py:14\ndiff --git a/src/plone/volto/locales/en/LC_MESSAGES/plone.volto.po b/src/plone/volto/locales/en/LC_MESSAGES/plone.volto.po\nindex 2fe89ba..8d18ffc 100644\n--- a/src/plone/volto/locales/en/LC_MESSAGES/plone.volto.po\n+++ b/src/plone/volto/locales/en/LC_MESSAGES/plone.volto.po\n@@ -4,7 +4,7 @@\n msgid ""\n msgstr ""\n "Project-Id-Version: PACKAGE VERSION\\n"\n-"POT-Creation-Date: 2021-11-18 08:08+0000\\n"\n+"POT-Creation-Date: 2021-11-18 08:27+0000\\n"\n "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\\n"\n "Last-Translator: FULL NAME <EMAIL@ADDRESS>\\n"\n "Language-Team: LANGUAGE <[email protected]>\\n"\ndiff --git a/src/plone/volto/locales/it/LC_MESSAGES/plone.volto.po b/src/plone/volto/locales/it/LC_MESSAGES/plone.volto.po\nindex 993c7b3..3e7bbb9 100644\n--- a/src/plone/volto/locales/it/LC_MESSAGES/plone.volto.po\n+++ b/src/plone/volto/locales/it/LC_MESSAGES/plone.volto.po\n@@ -4,7 +4,7 @@\n msgid ""\n msgstr ""\n "Project-Id-Version: PACKAGE VERSION\\n"\n-"POT-Creation-Date: 2021-11-18 08:08+0000\\n"\n+"POT-Creation-Date: 2021-11-18 08:27+0000\\n"\n "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\\n"\n "Last-Translator: FULL NAME <EMAIL@ADDRESS>\\n"\n "Language-Team: LANGUAGE <[email protected]>\\n"\ndiff --git a/src/plone/volto/locales/plone.volto.pot b/src/plone/volto/locales/plone.volto.pot\nindex c449485..63696f5 100644\n--- a/src/plone/volto/locales/plone.volto.pot\n+++ b/src/plone/volto/locales/plone.volto.pot\n@@ -4,7 +4,7 @@\n msgid ""\n msgstr ""\n "Project-Id-Version: PACKAGE VERSION\\n"\n-"POT-Creation-Date: 2021-11-18 08:08+0000\\n"\n+"POT-Creation-Date: 2021-11-18 08:27+0000\\n"\n "PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\\n"\n "Last-Translator: FULL NAME <EMAIL@ADDRESS>\\n"\n "Language-Team: LANGUAGE <[email protected]>\\n"\n' | ||
|