diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-17 11:14:51 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:21:26 +0100 |
commit | b8116a403127394c4b498b4f6e6fa06ce9bbe415 (patch) | |
tree | dd7b01d54e8f879c8f61f30ea4a29b3b0c688b68 /ishtar_common/models_common.py | |
parent | 45978fe1a3a418712b8585656852714fc7e12138 (diff) | |
download | Ishtar-b8116a403127394c4b498b4f6e6fa06ce9bbe415.tar.bz2 Ishtar-b8116a403127394c4b498b4f6e6fa06ce9bbe415.zip |
Update translations
Diffstat (limited to 'ishtar_common/models_common.py')
-rw-r--r-- | ishtar_common/models_common.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index 8707120f9..66025948a 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -2093,7 +2093,7 @@ GEOJSON_POINT_TPL = { GEOMETRY_TYPE_LBL = { "POINT": _("Point"), "MULTILINE": _("Line(s)"), - "MULTIPOINTS": _("Points"), + "MULTIPOINTS": _("Point(s)"), "MULTIPOLYGON": _("Polygon(s)"), } @@ -2124,7 +2124,7 @@ class GeoVectorData(Imported, OwnPerms): null=True, on_delete=models.PROTECT, verbose_name=_("Origin"), - help_text=_("For instance: topographical surveys, georeferencing, ..."), + help_text=_("For instance: topographical survey, georeferencing, ..."), ) data_type = models.ForeignKey( GeoDataType, @@ -2170,8 +2170,8 @@ class GeoVectorData(Imported, OwnPerms): point_2d = models.PointField(_("Point (2D)"), blank=True, null=True) point_3d = models.PointField(_("Point (3D)"), blank=True, null=True, dim=3) multi_points = models.MultiPointField(_("Multi points"), blank=True, null=True) - multi_line = models.MultiLineStringField(_("Multi line"), blank=True, null=True) - multi_polygon = models.MultiPolygonField(_("Multi polygon"), blank=True, null=True) + multi_line = models.MultiLineStringField(_("Multi lines"), blank=True, null=True) + multi_polygon = models.MultiPolygonField(_("Multi polygons"), blank=True, null=True) need_update = models.BooleanField(_("Need update"), default=False) class Meta: @@ -2245,7 +2245,7 @@ class GeoVectorData(Imported, OwnPerms): def get_coordinates(self, rounded=5, srid: int = None, dim=2, cache=False): if dim not in (2, 3): - raise ValueError(_("Only 2 or 3 dimension")) + raise ValueError(_("Only 2 or 3 dimensions")) if cache: coordinates = [self.cached_x, self.cached_y] if dim == 3: |