Add Czech language

This commit is contained in:
Cédric Krier committed 2009-01-04 16:12:41 +01:00
1 parent 622aaf7fb2
commit f8c64e9e80
2 files changed
+28 -17

No files matched your search

+24 -15
View File
@@ -1,25 +1,18 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<menuitem name="Localization" parent="menu_administration"
id="menu_localization"/>
<record model="ir.lang" id="lang_en">
<field name="code">en_US</field>
<field name="name">English</field>
<field name="date">%m/%d/%Y</field>
<field name="grouping">[]</field>
<field name="decimal_point">.</field>
<field name="thousands_sep">,</field>
</record>
<record model="ir.lang" id="lang_fr">
<field name="code">fr_FR</field>
<field name="name">Français</field>
<field name="date">%d.%m.%Y</field>
<field name="grouping">[]</field>
<record model="ir.lang" id="lang_cs">
<field name="code">cs_CZ</field>
<field name="name">Čeština</field>
<field name="date">%-d.%-m.%Y</field>
<field name="grouping">[3, 3, 0]</field>
<field name="decimal_point">,</field>
<field name="thousands_sep"></field>
<field name="thousands_sep"> </field>
</record>
<record model="ir.lang" id="lang_de">
<field name="code">de_DE</field>
@@ -29,6 +22,14 @@
<field name="decimal_point">,</field>
<field name="thousands_sep">.</field>
</record>
<record model="ir.lang" id="lang_en">
<field name="code">en_US</field>
<field name="name">English</field>
<field name="date">%m/%d/%Y</field>
<field name="grouping">[]</field>
<field name="decimal_point">.</field>
<field name="thousands_sep">,</field>
</record>
<record model="ir.lang" id="lang_es">
<field name="code">es_ES</field>
<field name="name">Español</field>
@@ -37,6 +38,14 @@
<field name="decimal_point">,</field>
<field name="thousands_sep"></field>
</record>
<record model="ir.lang" id="lang_fr">
<field name="code">fr_FR</field>
<field name="name">Français</field>
<field name="date">%d.%m.%Y</field>
<field name="grouping">[]</field>
<field name="decimal_point">,</field>
<field name="thousands_sep"></field>
</record>
<record model="ir.ui.view" id="lang_view_tree">
<field name="model">ir.lang</field>
+4 -2
View File
@@ -1,4 +1,5 @@
#This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms.
#This file is part of Tryton. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
# -*- coding: utf-8 -*-
import logging
import threading
@@ -256,8 +257,9 @@ class DB(Service):
def list_lang(self):
return [
('cs_CZ', 'Čeština'),
('de_DE', 'Deutsch'),
('en_US', 'English'),
('fr_FR', 'Français'),
('es_ES', 'Español'),
('fr_FR', 'Français'),
]