Add-on: Change 'No Cluster' to 'All'

In the 'Cluster' drop-down, change the label and tooltip of the 'No
Cluster' option. The functionality is still the same, it causes the job
to be submitted without cluster assigned. The wording now reflect
Flamenco's behaviour better, instead of describing this technical aspect.

Old: "No Cluster", "No cluster assigned, any worker can handle this job"
New: "All", "No specific cluster assigned, any worker can handle this job"
This commit is contained in:
Sybren A. Stüvel 2023-04-08 11:30:25 +02:00
parent b74db1daed
commit 0e0fddc076

View File

@ -42,7 +42,7 @@ def _get_enum_items(self, context):
prefs = preferences.get(context)
_enum_items = [
("-", "No Cluster", "No cluster assigned, any worker can handle this job"),
("-", "All", "No specific cluster assigned, any worker can handle this job"),
]
_enum_items.extend(
(cluster.id, cluster.name, cluster.description)