Skip to content

Commit

Permalink
i18n: Don't use Lua unicode escapes
Browse files Browse the repository at this point in the history
Something in the gettext/weblate pipeline doesn't like it...

These are real unicode codepoints, not custom nerdfont ones, so just
render the actual glyph instead of escaping it.

Fix koreader#11328
  • Loading branch information
NiLuJe committed Jan 10, 2024
1 parent cc52c02 commit 2031ac0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/ui/elements/screen_notification_menu_table.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ This allows selecting which to show or hide.]]),
sub_item_table = {
genMenuItem(Notification.SOURCE_BOTTOM_MENU_ICON, _("From bottom menu icons")),
genMenuItem(Notification.SOURCE_BOTTOM_MENU_TOGGLE, _("From bottom menu toggles")),
genMenuItem(Notification.SOURCE_BOTTOM_MENU_FINE, _("From bottom menu \u{00b1} buttons")), -- Poor man's +/- w/ \u{207a}\u{2044}\u{208b} doesn't look too great because subscript minus sits on the baseline in most fonts...
genMenuItem(Notification.SOURCE_BOTTOM_MENU_MORE, _("From bottom menu \u{22ee} buttons")), -- vertical ellipsis
genMenuItem(Notification.SOURCE_BOTTOM_MENU_FINE, _("From bottom menu ± buttons")), -- Poor man's +/- w/ \u{207a}\u{2044}\u{208b} doesn't look too great because subscript minus sits on the baseline in most fonts...
genMenuItem(Notification.SOURCE_BOTTOM_MENU_MORE, _("From bottom menu buttons")), -- vertical ellipsis
genMenuItem(Notification.SOURCE_BOTTOM_MENU_PROGRESS, _("From bottom menu progress bars")),
genMenuItem(Notification.SOURCE_DISPATCHER, _("From gestures and profiles")),
genMenuItem(Notification.SOURCE_OTHER, _("From all other sources"), nil, true),
Expand Down

0 comments on commit 2031ac0

Please sign in to comment.