Note difference between tool.name and tool.get_name()

This commit is contained in:
Isaiah Odhner 2023-04-21 16:03:30 -04:00
parent 9932a84554
commit e579b005c0

View File

@ -250,7 +250,9 @@ class Tool(Enum):
}[self]
def get_name(self) -> str:
"""Get the name of this tool."""
"""Get the localized name for this tool.
Not to be confused with tool.name, which is an identifier."""
return {
Tool.free_form_select: _("Free-Form Select"),
Tool.select: _("Select"),