Browse Source

v.net*: option->description -> option->label

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53630 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 years ago
parent
commit
6373f7998f

+ 2 - 2
vector/v.net.alloc/main.c

@@ -78,12 +78,12 @@ int main(int argc, char **argv)
     afield_opt = G_define_standard_option(G_OPT_V_FIELD);
     afield_opt->key = "alayer";
     afield_opt->answer = "1";
-    afield_opt->description = _("Arc layer");
+    afield_opt->label = _("Arc layer");
 
     nfield_opt = G_define_standard_option(G_OPT_V_FIELD);
     nfield_opt->key = "nlayer";
     nfield_opt->answer = "2";
-    nfield_opt->description = _("Node layer");
+    nfield_opt->label = _("Node layer");
 
     afcol = G_define_option();
     afcol->key = "afcolumn";

+ 2 - 2
vector/v.net.allpairs/main.c

@@ -71,13 +71,13 @@ int main(int argc, char *argv[])
     afield_opt = G_define_standard_option(G_OPT_V_FIELD);
     afield_opt->key = "alayer";
     afield_opt->answer = "1";
-    afield_opt->description = _("Arc layer");
+    afield_opt->label = _("Arc layer");
     afield_opt->guisection = _("Selection");
 
     nfield_opt = G_define_standard_option(G_OPT_V_FIELD);
     nfield_opt->key = "nlayer";
     nfield_opt->answer = "2";
-    nfield_opt->description = _("Node layer");
+    nfield_opt->label = _("Node layer");
     nfield_opt->guisection = _("Selection");
 
     cat_opt = G_define_standard_option(G_OPT_V_CATS);

+ 2 - 2
vector/v.net.bridge/main.c

@@ -57,13 +57,13 @@ int main(int argc, char *argv[])
     afield_opt = G_define_standard_option(G_OPT_V_FIELD);
     afield_opt->key = "alayer";
     afield_opt->answer = "1";
-    afield_opt->description = _("Arc layer");
+    afield_opt->label = _("Arc layer");
     afield_opt->guisection = _("Cost");
 
     nfield_opt = G_define_standard_option(G_OPT_V_FIELD);
     nfield_opt->key = "nlayer";
     nfield_opt->answer = "2";
-    nfield_opt->description = _("Node layer");
+    nfield_opt->label = _("Node layer");
     nfield_opt->guisection = _("Cost");
 
     afcol = G_define_standard_option(G_OPT_DB_COLUMN);

+ 2 - 2
vector/v.net.centrality/main.c

@@ -106,13 +106,13 @@ int main(int argc, char *argv[])
     afield_opt = G_define_standard_option(G_OPT_V_FIELD);
     afield_opt->key = "alayer";
     afield_opt->answer = "1";
-    afield_opt->description = _("Arc layer");
+    afield_opt->label = _("Arc layer");
     afield_opt->guisection = _("Cost");
 
     nfield_opt = G_define_standard_option(G_OPT_V_FIELD);
     nfield_opt->key = "nlayer";
     nfield_opt->answer = "2";
-    nfield_opt->description = _("Node layer");
+    nfield_opt->label = _("Node layer");
     nfield_opt->guisection = _("Cost");
 
     map_out = G_define_standard_option(G_OPT_V_OUTPUT);

+ 2 - 2
vector/v.net.components/main.c

@@ -80,13 +80,13 @@ int main(int argc, char *argv[])
     afield_opt = G_define_standard_option(G_OPT_V_FIELD);
     afield_opt->key = "alayer";
     afield_opt->answer = "1";
-    afield_opt->description = _("Arc layer");
+    afield_opt->label = _("Arc layer");
     afield_opt->guisection = _("Cost");
 
     nfield_opt = G_define_standard_option(G_OPT_V_FIELD);
     nfield_opt->key = "nlayer";
     nfield_opt->answer = "2";
-    nfield_opt->description = _("Node layer");
+    nfield_opt->label = _("Node layer");
     nfield_opt->guisection = _("Cost");
 
     afcol = G_define_standard_option(G_OPT_DB_COLUMN);

+ 2 - 2
vector/v.net.connectivity/main.c

@@ -62,13 +62,13 @@ int main(int argc, char *argv[])
     afield_opt = G_define_standard_option(G_OPT_V_FIELD);
     afield_opt->key = "alayer";
     afield_opt->answer = "1";
-    afield_opt->description = _("Arc layer");
+    afield_opt->label = _("Arc layer");
     afield_opt->guisection = _("Cost");
 
     nfield_opt = G_define_standard_option(G_OPT_V_FIELD);
     nfield_opt->key = "nlayer";
     nfield_opt->answer = "2";
-    nfield_opt->description = _("Node layer");
+    nfield_opt->label = _("Node layer");
     nfield_opt->guisection = _("Cost");
 
     afcol = G_define_standard_option(G_OPT_DB_COLUMN);

+ 3 - 3
vector/v.net.distance/main.c

@@ -77,19 +77,19 @@ int main(int argc, char *argv[])
     afield_opt = G_define_standard_option(G_OPT_V_FIELD);
     afield_opt->key = "alayer";
     afield_opt->answer = "1";
-    afield_opt->description = _("Arc layer");
+    afield_opt->label = _("Arc layer");
     afield_opt->guisection = _("Cost");
 
     atype_opt = G_define_standard_option(G_OPT_V_TYPE);
     atype_opt->options = "line,boundary";
     atype_opt->answer = "line,boundary";
-    atype_opt->description = _("Arc type");
+    atype_opt->label = _("Arc type");
     atype_opt->guisection = _("Cost");
 
     nfield_opt = G_define_standard_option(G_OPT_V_FIELD);
     nfield_opt->key = "nlayer";
     nfield_opt->answer = "2";
-    nfield_opt->description = _("Node layer");
+    nfield_opt->label = _("Node layer");
     nfield_opt->guisection = _("Cost");
 
     fieldf_opt = G_define_standard_option(G_OPT_V_FIELD);

+ 2 - 2
vector/v.net.flow/main.c

@@ -67,13 +67,13 @@ int main(int argc, char *argv[])
     afield_opt = G_define_standard_option(G_OPT_V_FIELD);
     afield_opt->key = "alayer";
     afield_opt->answer = "1";
-    afield_opt->description = _("Arc layer");
+    afield_opt->label = _("Arc layer");
     afield_opt->guisection = _("Cost");
 
     nfield_opt = G_define_standard_option(G_OPT_V_FIELD);
     nfield_opt->key = "nlayer";
     nfield_opt->answer = "2";
-    nfield_opt->description = _("Node layer");
+    nfield_opt->label = _("Node layer");
     nfield_opt->guisection = _("Cost");
 
     map_out = G_define_standard_option(G_OPT_V_OUTPUT);

+ 1 - 1
vector/v.net.iso/main.c

@@ -83,7 +83,7 @@ int main(int argc, char **argv)
     type_opt = G_define_standard_option(G_OPT_V_TYPE);
     type_opt->options = "line,boundary";
     type_opt->answer = "line,boundary";
-    type_opt->description = _("Arc type");
+    type_opt->label = _("Arc type");
 
     afield_opt = G_define_standard_option(G_OPT_V_FIELD);
     afield_opt->key = "alayer";

+ 3 - 3
vector/v.net.path/main.c

@@ -48,17 +48,17 @@ int main(int argc, char **argv)
     type_opt = G_define_standard_option(G_OPT_V_TYPE);
     type_opt->options = "line,boundary";
     type_opt->answer = "line,boundary";
-    type_opt->description = _("Arc type");
+    type_opt->label = _("Arc type");
 
     afield_opt = G_define_standard_option(G_OPT_V_FIELD);
     afield_opt->key = "alayer";
     afield_opt->answer = "1";
-    afield_opt->description = _("Arc layer");
+    afield_opt->label = _("Arc layer");
 
     nfield_opt = G_define_standard_option(G_OPT_V_FIELD);
     nfield_opt->key = "nlayer";
     nfield_opt->answer = "2";
-    nfield_opt->description = _("Node layer");
+    nfield_opt->label = _("Node layer");
 
     file_opt = G_define_standard_option(G_OPT_F_INPUT);
     file_opt->key = "file";

+ 2 - 2
vector/v.net.salesman/main.c

@@ -142,12 +142,12 @@ int main(int argc, char **argv)
 
     afield_opt = G_define_standard_option(G_OPT_V_FIELD);
     afield_opt->key = "alayer";
-    afield_opt->description = _("Arc layer");
+    afield_opt->label = _("Arc layer");
 
     tfield_opt = G_define_standard_option(G_OPT_V_FIELD);
     tfield_opt->key = "nlayer";
     tfield_opt->answer = "2";
-    tfield_opt->description = _("Node layer (used for cities)");
+    tfield_opt->label = _("Node layer (used for cities)");
 
     afcol = G_define_option();
     afcol->key = "afcolumn";

+ 2 - 2
vector/v.net.spanningtree/main.c

@@ -56,13 +56,13 @@ int main(int argc, char *argv[])
     afield_opt = G_define_standard_option(G_OPT_V_FIELD);
     afield_opt->key = "alayer";
     afield_opt->answer = "1";
-    afield_opt->description = _("Arc layer");
+    afield_opt->label = _("Arc layer");
     afield_opt->guisection = _("Cost");
 
     nfield_opt = G_define_standard_option(G_OPT_V_FIELD);
     nfield_opt->key = "nlayer";
     nfield_opt->answer = "2";
-    nfield_opt->description = _("Node layer");
+    nfield_opt->label = _("Node layer");
     nfield_opt->guisection = _("Cost");
 
     afcol = G_define_standard_option(G_OPT_DB_COLUMN);

+ 3 - 3
vector/v.net.steiner/main.c

@@ -358,17 +358,17 @@ int main(int argc, char **argv)
     type_opt = G_define_standard_option(G_OPT_V_TYPE);
     type_opt->options = "line,boundary";
     type_opt->answer = "line,boundary";
-    type_opt->description = _("Arc type");
+    type_opt->label = _("Arc type");
 
     afield_opt = G_define_standard_option(G_OPT_V_FIELD);
     afield_opt->key = "alayer";
     afield_opt->answer = "1";
-    afield_opt->description = _("Arc layer");
+    afield_opt->label = _("Arc layer");
 
     tfield_opt = G_define_standard_option(G_OPT_V_FIELD);
     tfield_opt->key = "nlayer";
     tfield_opt->answer = "2";
-    tfield_opt->description = _("Node layer (used for terminals)");
+    tfield_opt->label = _("Node layer (used for terminals)");
 
     afcol = G_define_option();
     afcol->key = "acolumn";

+ 2 - 2
vector/v.net.timetable/main.c

@@ -271,13 +271,13 @@ int main(int argc, char *argv[])
     afield_opt = G_define_standard_option(G_OPT_V_FIELD);
     afield_opt->key = "alayer";
     afield_opt->answer = "1";
-    afield_opt->description = _("Arc layer");
+    afield_opt->label = _("Arc layer");
     afield_opt->guisection = _("Cost");
 
     nfield_opt = G_define_standard_option(G_OPT_V_FIELD);
     nfield_opt->key = "nlayer";
     nfield_opt->answer = "2";
-    nfield_opt->description = _("Node layer");
+    nfield_opt->label = _("Node layer");
     nfield_opt->guisection = _("Cost");
 
     afcol = G_define_option();