Selaa lähdekoodia

Fixed wrong error message

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54637 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert 12 vuotta sitten
vanhempi
commit
2a60bc9ab6
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      lib/python/temporal/space_time_datasets_tools.py

+ 2 - 2
lib/python/temporal/space_time_datasets_tools.py

@@ -65,7 +65,7 @@ def register_maps_in_space_time_dataset(
     end_time_in_file = False
 
     if maps and file:
-        core.fatal(_("%s= and %s= are mutually exclusive") % ("input", "file"))
+        core.fatal(_("%s= and %s= are mutually exclusive") % ("maps", "file"))
 
     if end and increment:
         core.fatal(_("%s= and %s= are mutually exclusive") % (
@@ -76,7 +76,7 @@ def register_maps_in_space_time_dataset(
                                                       "end_time"))
 
     if not maps and not file:
-        core.fatal(_("Please specify %s= or %s=") % ("input", "file"))
+        core.fatal(_("Please specify %s= or %s=") % ("maps", "file"))
 
     # We may need the mapset
     mapset = core.gisenv()["MAPSET"]