Skip to content

Commit

Permalink
Update univar_statistics.py to make already translated strings match …
Browse files Browse the repository at this point in the history
…again
  • Loading branch information
echoix authored Sep 10, 2024
1 parent b169f05 commit 7fd2842
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions python/grass/temporal/univar_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,9 @@ def compute_univar_stats(registered_map_info, stats_module, fs, rast_region=Fals

if not univar_stats:
gs.warning(
_("Unable to get statistics for raster map <{rmap}>").format(rmap=id)
_("Unable to get statistics for raster map <%s>") % id
if stats_module.name == "r.univar"
else _("Unable to get statistics for 3D raster map <{rmap}>").format(
rmap=id
)
else _("Unable to get statistics for 3d raster map <%s>") % id
)
return None
eol = ""
Expand Down

0 comments on commit 7fd2842

Please sign in to comment.