Browse Source

Add translation template and French translation

pull/245/head
Guewen Baconnier 9 years ago
parent
commit
9072d9f949
  1. 138
      sql_view/i18n/fr.po
  2. 137
      sql_view/i18n/sql_view.pot
  3. 1
      sql_view/models/sql_view.py
  4. 1
      sql_view/wizards/sql_view_csv_preview.py

138
sql_view/i18n/fr.po

@ -0,0 +1,138 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
# * sql_view
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-01 07:19+0000\n"
"PO-Revision-Date: 2015-09-01 07:19+0000\n"
"Last-Translator: Guewen Baconnier <guewen.baconnier@camptocamp.com>\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: sql_view
#: sql_constraint:sql.view:0
msgid "Another view has the same SQL name."
msgstr "Une autre vue a le même nom SQL."
#. module: sql_view
#: field:sql.view.csv.preview,data:0
msgid "CSV"
msgstr "CSV"
#. module: sql_view
#: view:sql.view:0
msgid "CSV Preview"
msgstr "Aperçu en CSV"
#. module: sql_view
#: view:sql.view.csv.preview:0
msgid "Cancel"
msgstr "Annuler"
#. module: sql_view
#: view:sql.view.csv.preview:0
msgid "Close"
msgstr "Fermer"
#. module: sql_view
#: field:sql.view,complete_sql_name:0
msgid "Complete SQL Name"
msgstr "Nom SQL complet"
#. module: sql_view
#: view:sql.view:0
#: field:sql.view,definition:0
msgid "Definition"
msgstr "Définition"
#. module: sql_view
#: code:addons/sql_view/models/sql_view.py:127
#, python-format
msgid "Error"
msgstr "Erreur"
#. module: sql_view
#: field:sql.view.csv.preview,filename:0
msgid "File Name"
msgstr "Nom du fichier"
#. module: sql_view
#: field:sql.view.csv.preview,limit:0
msgid "Limit"
msgstr "Limite"
#. module: sql_view
#: help:sql.view,sql_name:0
msgid "Name of the view. Will be prefixed by sql_view_"
msgstr "Nom de la vue. Sera préfixé par sql_view_"
#. module: sql_view
#: help:sql.view.csv.preview,limit:0
msgid "Number of records. 0 means infinite."
msgstr "Nombre d'enregistrements. 0 signifie infini."
#. module: sql_view
#: view:sql.view.csv.preview:0
msgid "Preview"
msgstr "Aperçu"
#. module: sql_view
#: field:sql.view,sql_name:0
msgid "SQL Name"
msgstr "Nom SQL"
#. module: sql_view
#: view:sql.view:0
msgid "SQL View"
msgstr "Vue SQL"
#. module: sql_view
#: code:_description:0
#: model:ir.actions.act_window,name:sql_view.action_sql_view_csv_preview
#: view:sql.view.csv.preview:0
msgid "SQL View CSV Preview"
msgstr "Aperçu CSV de vue SQL"
#. module: sql_view
#: code:_description:0
#: model:ir.actions.act_window,name:sql_view.action_sql_view
#: model:ir.ui.menu,name:sql_view.menu_sql_view
#: view:sql.view:0
msgid "SQL Views"
msgstr "Vues SQL"
#. module: sql_view
#: constraint:sql.view:0
msgid "The SQL name is not a valid PostgreSQL identifier"
msgstr "Le nom SQL n'est pas un identifiant PostgreSQL valide."
#. module: sql_view
#: code:addons/sql_view/models/sql_view.py:128
#, python-format
msgid "The definition of the view is not correct:\n"
"\n"
"%s"
msgstr "La définition de la vue n'est pas correcte :\n"
"\n"
"%s"
#. module: sql_view
#: constraint:sql.view:0
msgid "This SQL definition is not allowed"
msgstr "Cette définition SQL n'est pas autorisée"
#. module: sql_view
#: field:sql.view,name:0
msgid "View Name"
msgstr "Nom de la vue"
#. module: sql_view
#: view:sql.view.csv.preview:0
msgid "or"
msgstr "ou"

137
sql_view/i18n/sql_view.pot

@ -0,0 +1,137 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
# * sql_view
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-01 07:19+0000\n"
"PO-Revision-Date: 2015-09-01 07:19+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: sql_view
#: sql_constraint:sql.view:0
msgid "Another view has the same SQL name."
msgstr ""
#. module: sql_view
#: field:sql.view.csv.preview,data:0
msgid "CSV"
msgstr ""
#. module: sql_view
#: view:sql.view:0
msgid "CSV Preview"
msgstr ""
#. module: sql_view
#: view:sql.view.csv.preview:0
msgid "Cancel"
msgstr ""
#. module: sql_view
#: view:sql.view.csv.preview:0
msgid "Close"
msgstr ""
#. module: sql_view
#: field:sql.view,complete_sql_name:0
msgid "Complete SQL Name"
msgstr ""
#. module: sql_view
#: view:sql.view:0
#: field:sql.view,definition:0
msgid "Definition"
msgstr ""
#. module: sql_view
#: code:addons/sql_view/models/sql_view.py:127
#, python-format
msgid "Error"
msgstr ""
#. module: sql_view
#: field:sql.view.csv.preview,filename:0
msgid "File Name"
msgstr ""
#. module: sql_view
#: field:sql.view.csv.preview,limit:0
msgid "Limit"
msgstr ""
#. module: sql_view
#: help:sql.view,sql_name:0
msgid "Name of the view. Will be prefixed by sql_view_"
msgstr ""
#. module: sql_view
#: help:sql.view.csv.preview,limit:0
msgid "Number of records. 0 means infinite."
msgstr ""
#. module: sql_view
#: view:sql.view.csv.preview:0
msgid "Preview"
msgstr ""
#. module: sql_view
#: field:sql.view,sql_name:0
msgid "SQL Name"
msgstr ""
#. module: sql_view
#: view:sql.view:0
msgid "SQL View"
msgstr ""
#. module: sql_view
#: code:_description:0
#: model:ir.actions.act_window,name:sql_view.action_sql_view_csv_preview
#: view:sql.view.csv.preview:0
msgid "SQL View CSV Preview"
msgstr ""
#. module: sql_view
#: code:_description:0
#: model:ir.actions.act_window,name:sql_view.action_sql_view
#: model:ir.ui.menu,name:sql_view.menu_sql_view
#: view:sql.view:0
#, python-format
msgid "SQL Views"
msgstr ""
#. module: sql_view
#: constraint:sql.view:0
msgid "The SQL name is not a valid PostgreSQL identifier"
msgstr ""
#. module: sql_view
#: code:addons/sql_view/models/sql_view.py:128
#, python-format
msgid "The definition of the view is not correct:\n"
"\n"
"%s"
msgstr ""
#. module: sql_view
#: constraint:sql.view:0
msgid "This SQL definition is not allowed"
msgstr ""
#. module: sql_view
#: field:sql.view,name:0
msgid "View Name"
msgstr ""
#. module: sql_view
#: view:sql.view.csv.preview:0
msgid "or"
msgstr ""

1
sql_view/models/sql_view.py

@ -34,6 +34,7 @@ PG_NAME_RE = re.compile(r'^[a-z_][a-z0-9_$]*$', re.I)
class SQLView(orm.Model):
_name = 'sql.view'
_description = 'SQL Views'
def _complete_from_sql_name(self, cr, uid, sql_name, context=None):
return SQL_VIEW_PREFIX + (sql_name or '')

1
sql_view/wizards/sql_view_csv_preview.py

@ -29,6 +29,7 @@ from openerp.osv import orm, fields
class SQLViewCSVPreview(orm.TransientModel):
_name = 'sql.view.csv.preview'
_description = 'SQL View CSV Preview'
_columns = {
'limit': fields.integer(string='Limit',

Loading…
Cancel
Save