Commit 1132959f authored by Julien Cristau's avatar Julien Cristau
Browse files

Add missing i18n for our attribute types

parent 717faa717f15
......@@ -6,3 +6,8 @@ msgstr ""
"Generated-By: pygettext.py 1.5\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
msgid "Geography"
msgstr ""
msgid "Geometry"
msgstr ""
......@@ -6,3 +6,8 @@ msgstr ""
"Generated-By: pygettext.py 1.5\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
msgid "Geography"
msgstr ""
msgid "Geometry"
msgstr ""
......@@ -6,3 +6,8 @@ msgstr ""
"Generated-By: pygettext.py 1.5\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
msgid "Geography"
msgstr "Géographie"
msgid "Geometry"
msgstr "Géométrie"
from cubicweb import _
from logilab.database import FunctionDescr, AggrFunctionDescr
from logilab.database import get_db_helper
from logilab.database.sqlgen import SQLExpression
......@@ -9,8 +11,8 @@ from rql.utils import register_function
from cubes.postgis import _GEOM_PARAMETERS, _GEOG_PARAMETERS
# register new base type
register_base_type('Geometry', _GEOM_PARAMETERS)
register_base_type('Geography', _GEOG_PARAMETERS)
register_base_type(_('Geometry'), _GEOM_PARAMETERS)
register_base_type(_('Geography'), _GEOG_PARAMETERS)
def pg_geometry_sqltype(rdef):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment