UI: avoid comma which can be used in shortcuts

This commit is contained in:
2018-09-05 14:03:28 +10:00
parent 6f1f7296f4
commit af7d0af153

View File

@@ -554,7 +554,7 @@ static uiTooltipData *ui_tooltip_data_from_tool(bContext *C, uiBut *but, bool is
if (shortcut != NULL) {
if (is_label && field_title) {
char *text_prev = field_title->text;
field_title->text = BLI_sprintfN(TIP_("%s, %s"), text_prev, shortcut);
field_title->text = BLI_sprintfN(TIP_("%s: %s"), text_prev, shortcut);
MEM_freeN(text_prev);
}
else {