You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ORStools/proc/directions_lines_proc.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -87,14 +87,14 @@ def __init__(self):
87
87
self.setToolTip(self.PARAMETERS[0], "LineString or MultiLineString layer.")
88
88
self.setToolTip(
89
89
self.PARAMETERS[1],
90
-
"Values will transfer to the output layer and can be used to join layers or group features afterwards.",
90
+
self.tr("Values will transfer to the output layer and can be used to join layers or group features afterwards."),
91
91
)
92
92
self.setToolTip(
93
-
self.PARAMETERS[2], "Dictates the cost. For longer routes don't use Shortest Path."
93
+
self.PARAMETERS[2], self.tr("Dictates the cost. For longer routes don't use Shortest Path.")
94
94
)
95
95
self.setToolTip(
96
96
self.PARAMETERS[3],
97
-
"You can optionally perform a Traveling Salesman on the waypoints of each MultiPoint feature. Enabling Traveling Salesman will erase all other advanced configuration and assume the preference to be fastest Advanced Parameters: see the documentation for descriptions.",
97
+
self.tr("You can optionally perform a Traveling Salesman on the waypoints of each MultiPoint feature. Enabling Traveling Salesman will erase all other advanced configuration and assume the preference to be fastest Advanced Parameters: see the documentation for descriptions."),
Copy file name to clipboardExpand all lines: ORStools/proc/directions_points_layer_proc.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -92,21 +92,21 @@ def __init__(self):
92
92
),
93
93
]
94
94
95
-
self.setToolTip(self.PARAMETERS[0], "Point or MultiPoint layer.")
95
+
self.setToolTip(self.PARAMETERS[0], self.tr("Point or MultiPoint layer."))
96
96
self.setToolTip(
97
97
self.PARAMETERS[1],
98
-
"Values will transfer to the output layer and can be used to join layers or group features afterwards.",
98
+
self.tr("Values will transfer to the output layer and can be used to join layers or group features afterwards."),
99
99
)
100
100
self.setToolTip(
101
101
self.PARAMETERS[2],
102
-
"Before running the algorithm points are sorted by the values of this field (Be aware of the field type! Text fields will be sorted like 1,13,2,D,a,x).",
102
+
self.tr("Before running the algorithm points are sorted by the values of this field (Be aware of the field type! Text fields will be sorted like 1,13,2,D,a,x)."),
103
103
)
104
104
self.setToolTip(
105
-
self.PARAMETERS[3], "Dictates the cost. For longer routes don't use Shortest Path."
105
+
self.PARAMETERS[3], self.tr("Dictates the cost. For longer routes don't use Shortest Path.")
106
106
)
107
107
self.setToolTip(
108
108
self.PARAMETERS[4],
109
-
"You can optionally perform a Traveling Salesman Optimization on the waypoints of each (Multi)Point feature. Enabling Traveling Salesman will erase all other advanced configuration and assume the preference to be fastest.",
109
+
self.tr("You can optionally perform a Traveling Salesman Optimization on the waypoints of each (Multi)Point feature. Enabling Traveling Salesman will erase all other advanced configuration and assume the preference to be fastest."),
Copy file name to clipboardExpand all lines: ORStools/proc/directions_points_layers_proc.py
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -108,30 +108,30 @@ def __init__(self):
108
108
defaultValue=self.MODE_SELECTION[0],
109
109
),
110
110
]
111
-
self.setToolTip(self.PARAMETERS[0], "Only Point layers are allowed, not MultiPoint.")
111
+
self.setToolTip(self.PARAMETERS[0], self.tr("Only Point layers are allowed, not MultiPoint."))
112
112
self.setToolTip(
113
113
self.PARAMETERS[1],
114
-
"Values will transfer to the output layer and can be used to join layers or group features afterwards.",
114
+
self.tr("Values will transfer to the output layer and can be used to join layers or group features afterwards."),
115
115
)
116
116
self.setToolTip(
117
117
self.PARAMETERS[2],
118
-
"Before running the algorithm points are sorted by the values of this field (Be aware of the field type! Text fields will be sorted like 1,13,2,D,a,x)",
118
+
self.tr("Before running the algorithm points are sorted by the values of this field (Be aware of the field type! Text fields will be sorted like 1,13,2,D,a,x)"),
119
119
)
120
120
self.setToolTip(self.PARAMETERS[3], "Only Point layers are allowed, not MultiPoint.")
121
121
self.setToolTip(
122
122
self.PARAMETERS[4],
123
-
"Values will transfer to the output layer and can be used to join layers or group features afterwards.",
123
+
self.tr("Values will transfer to the output layer and can be used to join layers or group features afterwards."),
124
124
)
125
125
self.setToolTip(
126
126
self.PARAMETERS[5],
127
-
"Before running the algorithm points are sorted by the values of this field (Be aware of the field type! Text fields will be sorted like 1,13,2,D,a,x)",
127
+
self.tr("Before running the algorithm points are sorted by the values of this field (Be aware of the field type! Text fields will be sorted like 1,13,2,D,a,x)"),
128
128
)
129
129
self.setToolTip(
130
-
self.PARAMETERS[6], "Dictates the cost. For longer routes don't use Shortest Path."
130
+
self.PARAMETERS[6], self.tr("Dictates the cost. For longer routes don't use Shortest Path.")
131
131
)
132
132
self.setToolTip(
133
133
self.PARAMETERS[7],
134
-
"Either 'row-by-row' until one layers has no more features or 'all-by-all' for every feature combination",
134
+
self.tr("Either 'row-by-row' until one layers has no more features or 'all-by-all' for every feature combination"),
135
135
)
136
136
137
137
# TODO: preprocess parameters to options the range cleanup below:
0 commit comments