diff -r edcf61caaf3b -r 209432f09f9f src/pyams_content/locales/pyams_content.pot --- a/src/pyams_content/locales/pyams_content.pot Thu Jul 19 10:38:08 2018 +0200 +++ b/src/pyams_content/locales/pyams_content.pot Thu Jul 19 16:15:30 2018 +0200 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE 1.0\n" -"POT-Creation-Date: 2018-07-18 14:46+0200\n" +"POT-Creation-Date: 2018-07-19 15:57+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" @@ -1337,27 +1337,27 @@ msgid "Content collections" msgstr "" -#: ./src/pyams_content/component/theme/zmi/manager.py:51 +#: ./src/pyams_content/component/theme/zmi/manager.py:58 msgid "Tags settings..." msgstr "" -#: ./src/pyams_content/component/theme/zmi/manager.py:65 +#: ./src/pyams_content/component/theme/zmi/manager.py:72 msgid "Selected tags" msgstr "" -#: ./src/pyams_content/component/theme/zmi/manager.py:101 +#: ./src/pyams_content/component/theme/zmi/manager.py:108 msgid "Themes settings..." msgstr "" -#: ./src/pyams_content/component/theme/zmi/manager.py:115 +#: ./src/pyams_content/component/theme/zmi/manager.py:122 msgid "Selected themes" msgstr "" -#: ./src/pyams_content/component/theme/zmi/manager.py:151 +#: ./src/pyams_content/component/theme/zmi/manager.py:158 msgid "Collections settings..." msgstr "" -#: ./src/pyams_content/component/theme/zmi/manager.py:165 +#: ./src/pyams_content/component/theme/zmi/manager.py:172 msgid "Selected collections" msgstr "" @@ -1500,6 +1500,7 @@ #: ./src/pyams_content/component/links/interfaces/__init__.py:61 #: ./src/pyams_content/shared/logo/interfaces/__init__.py:56 +#: ./src/pyams_content/features/redirect/interfaces/__init__.py:68 msgid "Target URL" msgstr "" @@ -4131,7 +4132,7 @@ msgid "Default length used for inner tables and dashboards" msgstr "" -#: ./src/pyams_content/root/__init__.py:68 +#: ./src/pyams_content/root/__init__.py:70 msgid "Site root" msgstr "" @@ -4781,6 +4782,185 @@ msgid "No currently defined alert." msgstr "" +#: ./src/pyams_content/features/redirect/container.py:81 +msgid "not matching" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/__init__.py:50 +msgid "Add rule" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/__init__.py:63 +msgid "Add new redirection rule" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/__init__.py:88 +msgid "Edit redirection rule properties" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/__init__.py:109 +msgid "" +"URL pattern and target URL are defined by *regular expressions* (see |regexp|).\n" +" \n" +"In URL pattern, you can use any valid regular expression element, notably:\n" +"\n" +"- « .* » to match any list of characters \n" +"\n" +"- « ( ) » to \"memorize\" parts of the URL which can be replaced into target URL\n" +"\n" +"- special characters (like \"+\") must be escaped with an « \\\\ ».\n" +"\n" +"In target URL, memorized parts can be reused using « \\\\1 », « \\\\2 » and so on, where given number is\n" +"the order of the matching pattern element.\n" +"\n" +".. |regexp| raw:: html\n" +"\n" +" Python Regular Expressions\n" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:67 +msgid "Redirections" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:160 +msgid "Enable/disable rule" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:187 +msgid "Chain/unchain rule" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:210 +#: ./src/pyams_content/features/redirect/zmi/container.py:365 +#: ./src/pyams_content/features/redirect/interfaces/__init__.py:56 +msgid "URL pattern" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:220 +msgid "Target" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:246 +msgid "Redirections list" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:261 +msgid "Redirection rules" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:262 +msgid "" +"Redirection rules are use to handle redirections responses when a request generates \n" +"a famous « 404 NotFound » error.\n" +"\n" +"Redirections are particularly useful when you are migrating from a previous site and don't want to lose \n" +"your SEO.\n" +"\n" +"You can define a set of rules which will be applied to every \"NotFound\" request; rules are based on \n" +"regular expressions which are applied to input URL: if the rule is \"matching\", the target URL is rewritten\n" +"and a \"Redirect\" response is send.\n" +"\n" +"You can chain rules together: when a rule is chained, it's rewritten URL is passed as input URL to the \n" +"next rule, until a matching rule is found.\n" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:288 +msgid "Test" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:323 +msgid "Test redirection rules" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:301 +msgid "Test URL" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:304 +msgid "Check inactive rules?" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:305 +msgid "If 'yes', inactive rules will also be tested" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:313 +msgid "Close" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:314 +msgid "Test rules" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:123 +msgid "No currently defined redirection rule." +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:371 +msgid "No matching rule!" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:366 +msgid "Input URL" +msgstr "" + +#: ./src/pyams_content/features/redirect/zmi/container.py:367 +msgid "Output URL" +msgstr "" + +#: ./src/pyams_content/features/redirect/interfaces/__init__.py:39 +msgid "Active rule?" +msgstr "" + +#: ./src/pyams_content/features/redirect/interfaces/__init__.py:40 +msgid "If 'no', selected rule is inactive" +msgstr "" + +#: ./src/pyams_content/features/redirect/interfaces/__init__.py:44 +msgid "Chained rule?" +msgstr "" + +#: ./src/pyams_content/features/redirect/interfaces/__init__.py:45 +msgid "" +"If 'no', and if this rule is matching received request URL, the rule returns " +"a redirection response; otherwise, the rule just rewrites the input URL which" +" is forwarded to the next rule" +msgstr "" + +#: ./src/pyams_content/features/redirect/interfaces/__init__.py:51 +msgid "Permanent redirect?" +msgstr "" + +#: ./src/pyams_content/features/redirect/interfaces/__init__.py:52 +msgid "Define if this redirection should be permanent or temporary" +msgstr "" + +#: ./src/pyams_content/features/redirect/interfaces/__init__.py:57 +msgid "Regexp pattern of matching URLs for this redirection rule" +msgstr "" + +#: ./src/pyams_content/features/redirect/interfaces/__init__.py:62 +msgid "Internal redirection target" +msgstr "" + +#: ./src/pyams_content/features/redirect/interfaces/__init__.py:63 +msgid "" +"Internal redirection reference. You can search a reference using '+' followed" +" by internal number, of by entering text matching content title." +msgstr "" + +#: ./src/pyams_content/features/redirect/interfaces/__init__.py:69 +msgid "URL to which source URL should be redirected" +msgstr "" + +#: ./src/pyams_content/features/redirect/interfaces/__init__.py:75 +msgid "You can only provide an internal reference OR a target URL" +msgstr "" + +#: ./src/pyams_content/features/redirect/interfaces/__init__.py:77 +msgid "You must provide an internal reference OR a target URL" +msgstr "" + #: ./src/pyams_content/features/menu/zmi/__init__.py:81 msgid "Add menu..." msgstr ""