From 1447785972cf09c6a96fdee3b92678c84f72bb68 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Mon, 17 Sep 2018 14:53:10 +0000 Subject: [PATCH] [UPD] Update document_page_approval.pot --- .../i18n/document_page_approval.pot | 66 ++++++++++++++----- 1 file changed, 49 insertions(+), 17 deletions(-) diff --git a/document_page_approval/i18n/document_page_approval.pot b/document_page_approval/i18n/document_page_approval.pot index 1f7930ee..73771062 100644 --- a/document_page_approval/i18n/document_page_approval.pot +++ b/document_page_approval/i18n/document_page_approval.pot @@ -46,6 +46,12 @@ msgid "\n" " " msgstr "" +#. module: document_page_approval +#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit +msgid "You already have a Draft Change Request for this page.\n" +" It is highly recommended that you edit that one instead of creating a new one." +msgstr "" + #. module: document_page_approval #: model:ir.model.fields,field_description:document_page_approval.field_document_page_am_i_approver #: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_approver @@ -107,6 +113,18 @@ msgstr "" msgid "Back to draft" msgstr "" +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history.py:100 +#, python-format +msgid "Can't approve page in '%s' state." +msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history.py:76 +#, python-format +msgid "Can't approve pages in '%s' state." +msgstr "" + #. module: document_page_approval #: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit msgid "Cancel" @@ -126,13 +144,13 @@ msgid "Change Requests" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:129 +#: code:addons/document_page_approval/models/document_page_history.py:138 #, python-format msgid "Change request %s has been cancelled by %s." msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:110 +#: code:addons/document_page_approval/models/document_page_history.py:119 #, python-format msgid "Change request has been approved by %s." msgstr "" @@ -169,25 +187,13 @@ msgstr "" msgid "If true, changes of this page require approval" msgstr "" -#. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:59 -#, python-format -msgid "It's not cancelled or approved" -msgstr "" - -#. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:71 -#, python-format -msgid "It's not in draft state" -msgstr "" - #. module: document_page_approval #: model:mail.template,subject:document_page_approval.email_template_new_draft_need_approval msgid "New version of ${object.display_name} needs your approval" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:117 +#: code:addons/document_page_approval/models/document_page_history.py:126 #, python-format msgid "New version of the document %s approved." msgstr "" @@ -238,14 +244,40 @@ msgstr "" msgid "URL" msgstr "" +#. module: document_page_approval +#: model:ir.model.fields,field_description:document_page_approval.field_document_page_user_has_drafts +msgid "User has drafts?" +msgstr "" + #. module: document_page_approval #: model:ir.model.fields,help:document_page_approval.field_document_page_approver_gid msgid "Users must also belong to the Approvers group" msgstr "" #. module: document_page_approval -#: code:addons/document_page_approval/models/document_page_history_workflow.py:62 +#: code:addons/document_page_approval/models/document_page_history.py:102 #, python-format -msgid "You are not an appover to reset to draft" +msgid "You are not authorized to do this. \n" +"Only approvers with these groups can approve this: " +msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history.py:62 +#, python-format +msgid "You are not authorized to do this. \n" +"Only owners or approvers can reopen Change Requests." +msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history.py:79 +#, python-format +msgid "You are not authorized to do this. \n" +"Only owners or approvers can request approval." +msgstr "" + +#. module: document_page_approval +#: code:addons/document_page_approval/models/document_page_history.py:59 +#, python-format +msgid "You need to cancel it before reopening." msgstr ""