mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-14 01:41:26 -06:00

* Rename classes and files to match model names, and removed workflow engine. * Some fields should be readonly if not in draft. * Allow Knowledge / Manager to edit previous history names and summary * Improve ux by adding user_has_drafts to document pages. * Changes because of implementation of active field on document_page * Add ir.rules for document.page.history * Allow to quickly cancel&draft from 'to approve' state * FIX BUG: am_i_approver was being run as sudo(), hence always giving the user Approving rights. * FIX hooks Because of default='draft' on the state field, state IS NULL wasn't selecting anything. Left the condition in case this is changed in the future.
300 lines
9.6 KiB
Plaintext
300 lines
9.6 KiB
Plaintext
# Translation of Odoo Server.
|
|
# This file contains the translation of the following modules:
|
|
# * document_page_approval
|
|
#
|
|
# Translators:
|
|
# OCA Transbot <transbot@odoo-community.org>, 2018
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: Odoo Server 10.0\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2018-04-24 22:33+0000\n"
|
|
"PO-Revision-Date: 2018-04-24 22:33+0000\n"
|
|
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2018\n"
|
|
"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/"
|
|
"es_ES/)\n"
|
|
"Language: es_ES\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: \n"
|
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
|
|
#. module: document_page_approval
|
|
#: model:mail.template,body_html:document_page_approval.email_template_new_draft_need_approval
|
|
msgid ""
|
|
"\n"
|
|
" \n"
|
|
"<p>Hello,</p>\n"
|
|
"\n"
|
|
"<p>${object.create_uid.name} submited a new Change Request for <b>${object."
|
|
"page_id.name}</b> and it needs your approval.</p>\n"
|
|
"\n"
|
|
"<h1><a href=\"${object.page_url}\">${object.display_name}</a></h1>\n"
|
|
"<p>\n"
|
|
"<b>Modified by:</b> ${object.create_uid.name}<br/>\n"
|
|
"<b>Date:</b> ${object.create_date}<br>\n"
|
|
"</p>\n"
|
|
"\n"
|
|
"% if object.summary:\n"
|
|
"<h3>Summary</h3>\n"
|
|
"<p>${object.summary}</p>\n"
|
|
"% endif\n"
|
|
"\n"
|
|
"<h3>Diff</h3>\n"
|
|
"<div style=\"overflow-x:scroll; font-size:0.85em; margin-bottom:2em;\">\n"
|
|
"${object.diff|safe}\n"
|
|
"</div>\n"
|
|
"\n"
|
|
"<p>Have a great day.</p>\n"
|
|
"\n"
|
|
"--<br/>\n"
|
|
"\n"
|
|
"<p>Odoo</p>\n"
|
|
" \n"
|
|
" "
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
|
|
msgid ""
|
|
"<b>You already have a Draft Change Request for this page.</b>\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
|
|
msgid "Am I Approver"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_am_i_owner
|
|
msgid "Am I Owner"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_is_approval_required
|
|
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_is_approval_required
|
|
msgid "Approval required"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
|
|
msgid "Approve"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: selection:document.page.history,state:0
|
|
#: model:ir.ui.view,arch_db:document_page_approval.view_wiki_history_filter
|
|
msgid "Approved"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_approved_date
|
|
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_approved_date
|
|
msgid "Approved Date"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_approved_uid
|
|
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_approved_uid
|
|
msgid "Approved by"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.ui.view,arch_db:document_page_approval.view_wiki_history_filter
|
|
#: model:res.groups,name:document_page_approval.group_document_approver_user
|
|
msgid "Approver"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_approver_gid
|
|
msgid "Approver group"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_approver_group_ids
|
|
msgid "Approver groups"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
|
|
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"
|
|
msgstr "Cancelar"
|
|
|
|
#. module: document_page_approval
|
|
#: selection:document.page.history,state:0
|
|
#: model:ir.ui.view,arch_db:document_page_approval.view_wiki_history_filter
|
|
msgid "Cancelled"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.actions.act_window,name:document_page_approval.action_change_requests
|
|
#: model:ir.ui.menu,name:document_page_approval.menu_page_change_requests
|
|
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
|
|
msgid "Change Requests"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: code:addons/document_page_approval/models/document_page_history.py:138
|
|
#, python-format
|
|
msgid "Change request <b>%s</b> has been cancelled by %s."
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: code:addons/document_page_approval/models/document_page_history.py:119
|
|
#, python-format
|
|
msgid "Change request has been approved by %s."
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.model,name:document_page_approval.model_document_page
|
|
msgid "Document Page"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.model,name:document_page_approval.model_document_page_history
|
|
msgid "Document Page History"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: selection:document.page.history,state:0
|
|
#: model:ir.ui.view,arch_db:document_page_approval.view_wiki_history_filter
|
|
msgid "Draft"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.model.fields,help:document_page_approval.field_document_page_approver_group_ids
|
|
msgid "Groups that can approve changes to this document"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_has_changes_pending_approval
|
|
msgid "Has changes pending approval"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.model.fields,help:document_page_approval.field_document_page_history_is_approval_required
|
|
#: model:ir.model.fields,help:document_page_approval.field_document_page_is_approval_required
|
|
msgid "If true, changes of this page require approval"
|
|
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.py:126
|
|
#, python-format
|
|
msgid "New version of the document %s approved."
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: selection:document.page.history,state:0
|
|
#: model:ir.ui.view,arch_db:document_page_approval.view_wiki_history_filter
|
|
msgid "Pending Approval"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_approval_required
|
|
msgid "Require approval"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.model.fields,help:document_page_approval.field_document_page_approval_required
|
|
msgid "Require approval for changes on this page or its child pages."
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.ui.view,arch_db:document_page_approval.wiki_history_form_inherit
|
|
msgid "Send to Review"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.ui.view,arch_db:document_page_approval.view_wiki_history_filter
|
|
msgid "State"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_state
|
|
msgid "Status"
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
|
|
msgid ""
|
|
"This document has <b>Changes Pending Approval</b>. You are viewing the last "
|
|
"approved content."
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.ui.view,arch_db:document_page_approval.wiki_form_inherit
|
|
msgid ""
|
|
"This document requires approval. If edited, you will create a new <b>Change "
|
|
"Request</b>."
|
|
msgstr ""
|
|
|
|
#. module: document_page_approval
|
|
#: model:ir.model.fields,field_description:document_page_approval.field_document_page_history_page_url
|
|
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.py:102
|
|
#, python-format
|
|
msgid ""
|
|
"You are not authorized to do this.\r\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.\r\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.\r\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 ""
|