优化chatgpt,中文翻译

This commit is contained in:
ivan deng
2023-04-23 02:37:32 +08:00
parent 163f5ed1d5
commit 0ecd7ce6b2
8 changed files with 91 additions and 39 deletions

View File

@@ -1,14 +1,30 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * app_web_enterprise
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Project-Id-Version: Odoo Server 16.0+e-20230320\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-08 14:28+0000\n"
"PO-Revision-Date: 2018-01-08 14:28+0000\n"
"Last-Translator: <>\n"
"POT-Creation-Date: 2023-04-22 18:11+0000\n"
"PO-Revision-Date: 2023-04-22 18:11+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: app_web_enterprise
#. odoo-javascript
#: code:addons/app_web_enterprise/static/src/xml/form.xml:0
#, python-format
msgid "Discard"
msgstr "丢弃"
#. module: app_web_enterprise
#. odoo-javascript
#: code:addons/app_web_enterprise/static/src/xml/form.xml:0
#, python-format
msgid "Save"
msgstr "保存"

View File

@@ -1,3 +1,7 @@
// 不显示 tooltip
.o_tooltip.o_tooltip_visible {
display: none;
}
// 上方菜单下拉group 也有箭头
.o_main_navbar {
.o-dropdown {

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" ?>
<templates xml:space="preserve">
<!-- tip用 *-->
<t t-name="app_web_enterprise.FormLabel" t-inherit="web.FormLabel" t-inherit-mode="extension">
<xpath expr="//label" position="replace">
<label class="o_form_label" t-att-for="props.id" t-att-class="className" >
<t t-esc="props.string"/>
<sup class="btn-link p-1" t-if="hasTooltip" t-att="{'data-tooltip-template': 'web.FieldTooltip', 'data-tooltip-info': tooltipInfo, 'data-tooltip-touch-tap-to-show': 'true'}">*</sup>
</label>
</xpath>
</t>
<!-- 保存增加字样-->
<t t-name="app_web_enterprise.FormStatusIndicator" t-inherit="web.FormStatusIndicator" t-inherit-mode="extension">
<xpath expr="//i[hasclass('fa-cloud-upload')]" position="after">
Save
</xpath>
<xpath expr="//i[hasclass('fa-undo')]" position="after">
Discard
</xpath>
</t>
</templates>

View File

@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<templates xml:space="preserve">
<t t-name="app_web_enterprise.FormLabel" t-inherit="web.FormLabel" t-inherit-mode="extension">
<xpath expr="//label" position="replace">
<label class="o_form_label" t-att-for="props.id" t-att-class="className" >
<t t-esc="props.string"/><sup class="btn-link p-1" t-if="hasTooltip" t-att="{'data-tooltip-template': 'web.FieldTooltip', 'data-tooltip-info': tooltipInfo, 'data-tooltip-touch-tap-to-show': 'true'}">*</sup>
</label>
</xpath>
</t>
</templates>

View File

@@ -3,13 +3,14 @@
<!-- 企业版变色 -->
<template id="app_layout" inherit_id="web.layout" name="app Web layout">
<xpath expr="//meta[last()]" position="after">
<meta name="theme-color" content="#875A7B"/>
<meta name="theme-color" content="#00796B"/>
<meta name="mobile-web-app-capable" content="yes"/>
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#00796B"/>
<meta name="msapplication-TileColor" content="#00796B"/>
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="theme-color" content="#875A7B" media="(prefers-color-scheme: light)"/>
<meta name="theme-color" content="#00796B" media="(prefers-color-scheme: light)"/>
<meta name="theme-color" content="#242733" media="(prefers-color-scheme: dark)"/>
</xpath>
</template>