summaryrefslogtreecommitdiff
path: root/src/basic/locale-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-05-25 19:32:55 +0200
committerLennart Poettering <lennart@poettering.net>2020-05-29 10:41:30 +0200
commita90fb08c814513924728a00d88a77338750e192a (patch)
tree5cb160a132158f25dcb30db23f9eadf24d46d2b1 /src/basic/locale-util.c
parentb965ec7a63298675aeccb32376c236f1a68801bb (diff)
downloadsystemd-a90fb08c814513924728a00d88a77338750e192a.tar.gz
locale-util: add glyph for external links
Diffstat (limited to 'src/basic/locale-util.c')
-rw-r--r--src/basic/locale-util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/locale-util.c b/src/basic/locale-util.c
index ab5f86f54a..01af759a7d 100644
--- a/src/basic/locale-util.c
+++ b/src/basic/locale-util.c
@@ -365,6 +365,7 @@ const char *special_glyph(SpecialGlyph code) {
[SPECIAL_GLYPH_SIGMA] = "S",
[SPECIAL_GLYPH_ARROW] = "->",
[SPECIAL_GLYPH_ELLIPSIS] = "...",
+ [SPECIAL_GLYPH_EXTERNAL_LINK] = "[LNK]",
[SPECIAL_GLYPH_ECSTATIC_SMILEY] = ":-]",
[SPECIAL_GLYPH_HAPPY_SMILEY] = ":-}",
[SPECIAL_GLYPH_SLIGHTLY_HAPPY_SMILEY] = ":-)",
@@ -400,6 +401,9 @@ const char *special_glyph(SpecialGlyph code) {
/* Single glyph in Unicode, three in ASCII */
[SPECIAL_GLYPH_ELLIPSIS] = "\342\200\246", /* … (actually called: HORIZONTAL ELLIPSIS) */
+ /* Three glyphs in Unicode, five in ASCII */
+ [SPECIAL_GLYPH_EXTERNAL_LINK] = "[\360\237\241\225]", /* 🡕 (actually called: NORTH EAST SANS-SERIF ARROW, enclosed in []) */
+
/* These smileys are a single glyph in Unicode, and three in ASCII */
[SPECIAL_GLYPH_ECSTATIC_SMILEY] = "\360\237\230\207", /* 😇 (actually called: SMILING FACE WITH HALO) */
[SPECIAL_GLYPH_HAPPY_SMILEY] = "\360\237\230\200", /* 😀 (actually called: GRINNING FACE) */