fix #IAHKP1 app_ai_seo优化处理,增加快速url key 置顶

This commit is contained in:
Ivan Office
2024-08-04 23:04:25 +08:00
parent 2947d7cd0c
commit ee6c2da2c6
3 changed files with 78 additions and 10 deletions

View File

@@ -39,7 +39,7 @@
{
'name': "Website Blogs,Page Editor in source code. mass edit blog and page.Odoo网页与博文源码编辑器",
'version': '16.24.07.05',
'version': '16.24.08.04',
'author': 'odooai.cn',
'category': 'Website',
'website': 'https://www.odooai.cn',

View File

@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0+e-20230721\n"
"Project-Id-Version: Odoo Server 16.0+e-20231112\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-01 19:15+0000\n"
"PO-Revision-Date: 2023-10-01 19:15+0000\n"
"POT-Creation-Date: 2024-08-04 14:52+0000\n"
"PO-Revision-Date: 2024-08-04 14:52+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -47,6 +47,11 @@ msgstr "配置设置"
msgid "Content"
msgstr "博客图文"
#. module: app_website_blog_editor
#: model_terms:ir.ui.view,arch_db:app_website_blog_editor.app_website_pages_tree_view
msgid "Content View and edit with relate ir.ui.view"
msgstr "可视化内容编辑与查看设置关联ir.ui.view对象内容"
#. module: app_website_blog_editor
#: model:ir.model.fields,help:app_website_blog_editor.field_blog_blog__sequence
#: model:ir.model.fields,help:app_website_blog_editor.field_blog_tag__sequence
@@ -66,14 +71,21 @@ msgstr "分组依据"
#. module: app_website_blog_editor
#: model:ir.model.fields,help:app_website_blog_editor.field_website_page__is_force_all
msgid "If check, the page would use to all website, even u change."
msgstr "如果选中,该页面将用于所有网站,甚至 u 更改。"
msgid ""
"If check, the page would use to all website, even u change.\n"
" Important, The page url must be uniq in all website"
msgstr "如果选中,该页面将用于所有网站。注意在勾选模式下,页面的 url 必须全局唯一。"
#. module: app_website_blog_editor
#: model_terms:ir.ui.view,arch_db:app_website_blog_editor.app_res_config_settings_form_view
msgid "If set, replaces the blog post background image as the meta image."
msgstr "如果设置,默认将博文背景图片替换为元图像。"
#. module: app_website_blog_editor
#: model_terms:ir.ui.view,arch_db:app_website_blog_editor.app_website_pages_form_view
msgid "Menu Items"
msgstr "菜单项"
#. module: app_website_blog_editor
#: model_terms:ir.ui.view,arch_db:app_website_blog_editor.app_view_blog_post_search
msgid "Not Published"
@@ -89,10 +101,20 @@ msgstr "网页"
msgid "Published"
msgstr "已发布"
#. module: app_website_blog_editor
#: model_terms:ir.ui.view,arch_db:app_website_blog_editor.app_website_pages_form_view
msgid "SEO"
msgstr "SEO优化"
#. module: app_website_blog_editor
#: model_terms:ir.ui.view,arch_db:app_website_blog_editor.app_website_pages_tree_view
msgid "SEO Properties Set of Website Page"
msgstr "网页SEO及关键属性设置"
#. module: app_website_blog_editor
#: model:ir.model.fields,field_description:app_website_blog_editor.field_blog_blog__seo_name
msgid "Seo name"
msgstr "SEO链接"
msgstr "SEO链接URL"
#. module: app_website_blog_editor
#: model:ir.model.fields,field_description:app_website_blog_editor.field_blog_blog__sequence
@@ -108,10 +130,14 @@ msgstr "设置"
#. module: app_website_blog_editor
#: model_terms:ir.ui.view,arch_db:app_website_blog_editor.app_view_blog_post_list
#: model_terms:ir.ui.view,arch_db:app_website_blog_editor.app_website_pages_tree_view
msgid "Source Code"
msgstr "源代码"
#. module: app_website_blog_editor
#: model_terms:ir.ui.view,arch_db:app_website_blog_editor.app_website_pages_tree_view
msgid "Source Code View and edit with relate ir.ui.view"
msgstr "源代码查看和编辑,编辑关联ir.ui.view对象"
#. module: app_website_blog_editor
#: model_terms:ir.ui.view,arch_db:app_website_blog_editor.app_view_blog_post_search
msgid "Title"
@@ -123,6 +149,11 @@ msgstr "标题"
msgid "Use a meta image by default for blog post background"
msgstr "博客文章背景默认使用元图像"
#. module: app_website_blog_editor
#: model:ir.model,name:app_website_blog_editor.model_ir_ui_view
msgid "View"
msgstr "视图"
#. module: app_website_blog_editor
#: model_terms:ir.ui.view,arch_db:app_website_blog_editor.app_website_pages_view_search
msgid "Website"

View File

@@ -39,12 +39,13 @@
<field name="website_meta_description" optional="hide"/>
</xpath>
<xpath expr="//field[@name='is_seo_optimized']" position="before">
<button name="action_page_form_view" type="object" title="SEO Properties Set of Website Page" icon="fa-file-text-o fa-lg" />
<button name="action_page_debug_view" position="move"/>
<button name="action_page_code_view" type="object" title="Source Code" icon="fa-code fa-lg"/>
<button name="action_page_form_view" type="object" title="Properties Set" icon="fa-file-text-o fa-lg" />
<button name="action_page_code_view" type="object" title="Source Code View and edit with relate ir.ui.view" icon="fa-code fa-lg"/>
</xpath>
<xpath expr="//button[@name='action_page_debug_view']" position="attributes">
<attribute name="groups"/>
<attribute name="title">Content View and edit with relate ir.ui.view</attribute>
</xpath>
</field>
</record>
@@ -71,6 +72,42 @@
<xpath expr="//field[@name='is_published']" position="before">
<field name="is_force_all" widget="boolean_toggle"/>
</xpath>
<!-- 加button box-->
<xpath expr="//sheet/group" position="before">
<div class="oe_button_box" name="button_box" attrs="{'invisible': [('active', '=', False)]}">
<field name="active" invisible="1"/>
<field name="type" invisible="1"/>
<field name="id" invisible="1"/>
</div>
</xpath>
<xpath expr="//field[@name='id']" position="after">
<field name="is_published" position="move"/>
</xpath>
<xpath expr="//field[@name='is_published']" position="attributes">
<attribute name="widget">website_redirect_button</attribute>
</xpath>
<xpath expr="//sheet/group" position="after">
<notebook>
<page name="page_seo" string="SEO" attrs="{'invisible': [('type', '!=', 'qweb')]}">
<group name="seo_info">
<group>
<field name="seo_name"/>
<field name="website_meta_title"/>
<field name="website_meta_keywords"/>
</group>
<group>
<field name="website_meta_description"/>
</group>
</group>
</page>
<page name="page_menu" string="Menu Items">
</page>
</notebook>
</xpath>
<xpath expr="//page[@name='page_menu']" position="inside">
<label for="menu_ids" position="move"/>
<field name="menu_ids" position="move"/>
</xpath>
</field>
</record>
<!-- 可视编辑器-->