<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <!-- Translations -->
        <record id="view_translation_search" model="ir.ui.view">
            <field name="model">ir.translation</field>
            <field name="arch" type="xml">
                <search string="Translations">
                    <filter icon="terp-gdu-smart-failing"
                        string="Untranslated"
                        domain="['|',('value', '=', False),('value','=','')]"/>
                    <filter name="openerp-web"
                        string="Web-only translations"
                        domain="[('comments', 'like', 'openerp-web')]"/>
                    <field name="name" operator="="/>
                    <field name="lang"/>
                    <field name="source"/>
                    <field name="value"/>
                </search>
            </field>
        </record>

        <record id="view_translation_form" model="ir.ui.view">
            <field name="model">ir.translation</field>
            <field name="arch" type="xml">
                <form string="Translations" version="7.0">
                   <header>
                        <field name="state" widget="statusbar" nolabel="1"/>
                   </header>
                   <sheet>
                    <group>
                        <group>
                            <field name="name"/>
                            <field name="lang"/>
                        </group>
                        <group>
                            <field name="type"/>
                            <field name="res_id"/>
                        </group>
                        <group string="Source Term">
                           <field name="source" nolabel="1" height="400"/>
                        </group>
                        <group string="Translation">
                           <field name="value" nolabel="1" height="400"/><commit_msg>[IMP] ir.translation: `module` field is useful for admin/debugging<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <!-- Translations -->
        <record id="view_translation_search" model="ir.ui.view">
            <field name="model">ir.translation</field>
            <field name="arch" type="xml">
                <search string="Translations">
                    <filter icon="terp-gdu-smart-failing"
                        string="Untranslated"
                        domain="['|',('value', '=', False),('value','=','')]"/>
                    <filter name="openerp-web"
                        string="Web-only translations"
                        domain="[('comments', 'like', 'openerp-web')]"/>
                    <field name="name" operator="="/>
                    <field name="lang"/>
                    <field name="source"/>
                    <field name="value"/>
                </search>
            </field>
        </record>

        <record id="view_translation_form" model="ir.ui.view">
            <field name="model">ir.translation</field>
            <field name="arch" type="xml">
                <form string="Translations" version="7.0">
                   <header>
                        <field name="state" widget="statusbar" nolabel="1"/>
                   </header>
                   <sheet>
                    <group>
                        <group>
                            <field name="name"/>
                            <field name="lang"/>
                        </group>
                        <group>
                            <field name="module" group="base.group_no_one"/>                        
                            <field name="type"/>
                            <field name="res_id"/>
                        </group>
                        <group string="Source Term">
                           <field name="source" nolabel="1" height="400"/>
                        </group>
                        <group string="Translation">
                           <field name="value" nolabel="1" height="400"/>
{'fraction_non_alphanumeric': 0.14781111657648796, 'fraction_numerical': 0.006886374815543532, 'mean_word_length': 1.1237597911227155, 'pattern_counts': {'":': 0, '<': 86, '<?xml version=': 2, '>': 86, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3824838', 'n_tokens_mistral': 1011, 'n_tokens_neox': 942, 'n_words': 179}