forked from AuroraMiddleware/gtk
accelgroup: Use Unicode in string literals
Its 2020, non-ASCII characters are not taboo anymore.
This commit is contained in:
parent
c58d9446f4
commit
061f257e83
@ -841,7 +841,7 @@ gtk_accelerator_print_label (GString *gstring,
|
|||||||
g_string_append (gstring, C_("keyboard label", "Shift"));
|
g_string_append (gstring, C_("keyboard label", "Shift"));
|
||||||
#else
|
#else
|
||||||
/* U+21E7 UPWARDS WHITE ARROW */
|
/* U+21E7 UPWARDS WHITE ARROW */
|
||||||
g_string_append (gstring, "\xe2\x87\xa7");
|
g_string_append (gstring, "⇧");
|
||||||
#endif
|
#endif
|
||||||
seen_mod = TRUE;
|
seen_mod = TRUE;
|
||||||
}
|
}
|
||||||
@ -860,7 +860,7 @@ gtk_accelerator_print_label (GString *gstring,
|
|||||||
g_string_append (gstring, C_("keyboard label", "Ctrl"));
|
g_string_append (gstring, C_("keyboard label", "Ctrl"));
|
||||||
#else
|
#else
|
||||||
/* U+2303 UP ARROWHEAD */
|
/* U+2303 UP ARROWHEAD */
|
||||||
g_string_append (gstring, "\xe2\x8c\x83");
|
g_string_append (gstring, "⌃");
|
||||||
#endif
|
#endif
|
||||||
seen_mod = TRUE;
|
seen_mod = TRUE;
|
||||||
}
|
}
|
||||||
@ -879,7 +879,7 @@ gtk_accelerator_print_label (GString *gstring,
|
|||||||
g_string_append (gstring, C_("keyboard label", "Alt"));
|
g_string_append (gstring, C_("keyboard label", "Alt"));
|
||||||
#else
|
#else
|
||||||
/* U+2325 OPTION KEY */
|
/* U+2325 OPTION KEY */
|
||||||
g_string_append (gstring, "\xe2\x8c\xa5");
|
g_string_append (gstring, "⌥");
|
||||||
#endif
|
#endif
|
||||||
seen_mod = TRUE;
|
seen_mod = TRUE;
|
||||||
}
|
}
|
||||||
@ -925,8 +925,7 @@ gtk_accelerator_print_label (GString *gstring,
|
|||||||
*/
|
*/
|
||||||
g_string_append (gstring, C_("keyboard label", "Meta"));
|
g_string_append (gstring, C_("keyboard label", "Meta"));
|
||||||
#else
|
#else
|
||||||
/* Command key symbol U+2318 PLACE OF INTEREST SIGN */
|
g_string_append (gstring, "⌘");
|
||||||
g_string_append (gstring, "\xe2\x8c\x98");
|
|
||||||
#endif
|
#endif
|
||||||
seen_mod = TRUE;
|
seen_mod = TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user