mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kdeui: replace entities in rules from scoop-rules.py script
"< >" is a placeholder I am assuming, question is for what? Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
3e5ec11092
commit
8cb49b86db
2 changed files with 10 additions and 8 deletions
|
@ -423,7 +423,7 @@ static const struct variantDescriptionData {
|
|||
{ "cz", "qwerty-mac", I18N_NOOP("Czech (QWERTY, Macintosh)") },
|
||||
{ "cz", "ucw", I18N_NOOP("Czech (UCW, only accented letters)") },
|
||||
{ "cz", "dvorak-ucw", I18N_NOOP("Czech (US, Dvorak, UCW support)") },
|
||||
{ "cz", "bksl", I18N_NOOP("Czech (with <\\|> key)") },
|
||||
{ "cz", "bksl", I18N_NOOP("Czech (with <\\|> key)") },
|
||||
{ "dk", "dvorak", I18N_NOOP("Danish (Dvorak)") },
|
||||
{ "dk", "mac", I18N_NOOP("Danish (Macintosh)") },
|
||||
{ "dk", "mac_nodeadkeys", I18N_NOOP("Danish (Macintosh, no dead keys)") },
|
||||
|
@ -836,7 +836,7 @@ static const struct optionDescriptionData {
|
|||
{ "compose:menu-altgr", I18N_NOOP("3rd level of Menu") },
|
||||
{ "compose:rctrl-altgr", I18N_NOOP("3rd level of Right Ctrl") },
|
||||
{ "compose:rwin-altgr", I18N_NOOP("3rd level of Right Win") },
|
||||
{ "compose:102-altgr", I18N_NOOP("3rd level of the \"< >\" key") },
|
||||
{ "compose:102-altgr", I18N_NOOP("3rd level of the \"< >\" key") },
|
||||
{ "altwin:menu", I18N_NOOP("Add the standard behavior to Menu key") },
|
||||
{ "grab:break_actions", I18N_NOOP("Allow breaking grabs with keyboard actions (warning: security risk)") },
|
||||
{ "grab:debug", I18N_NOOP("Allow grab and window tree logging") },
|
||||
|
@ -991,7 +991,7 @@ static const struct optionDescriptionData {
|
|||
{ "shift:breaks_caps", I18N_NOOP("Shift cancels Caps Lock") },
|
||||
{ "numpad:shift3", I18N_NOOP("Shift does not cancel Num Lock, chooses 3rd level instead") },
|
||||
{ "grp:shift_caps_toggle", I18N_NOOP("Shift+Caps Lock") },
|
||||
{ "srvrkeys:none", I18N_NOOP("Special keys (Ctrl+Alt+<key>) handled in a server") },
|
||||
{ "srvrkeys:none", I18N_NOOP("Special keys (Ctrl+Alt+<key>) handled in a server") },
|
||||
{ "solaris:sun_compat", I18N_NOOP("Sun key compatibility") },
|
||||
{ "ctrl:swapcaps", I18N_NOOP("Swap Ctrl and Caps Lock") },
|
||||
{ "caps:swapescape", I18N_NOOP("Swap Esc and Caps Lock") },
|
||||
|
@ -999,10 +999,10 @@ static const struct optionDescriptionData {
|
|||
{ "ctrl:swap_lwin_lctl", I18N_NOOP("Swap Left Win with Left Ctrl") },
|
||||
{ "ctrl:swap_rwin_rctl", I18N_NOOP("Swap Right Win with Right Ctrl") },
|
||||
{ "grp", I18N_NOOP("Switching to another layout") },
|
||||
{ "lv5:lsgt_switch_lock", I18N_NOOP("The \"< >\" key chooses 5th level and acts as a one-time lock if pressed with another 5th level chooser") },
|
||||
{ "lv5:lsgt_switch", I18N_NOOP("The \"< >\" key chooses 5th level") },
|
||||
{ "lv2:lsgt_switch", I18N_NOOP("The \"< >\" key") },
|
||||
{ "lv3:lsgt_switch_latch", I18N_NOOP("The \"< >\" key; acts as onetime lock when pressed together with another 3rd level chooser") },
|
||||
{ "lv5:lsgt_switch_lock", I18N_NOOP("The \"< >\" key chooses 5th level and acts as a one-time lock if pressed with another 5th level chooser") },
|
||||
{ "lv5:lsgt_switch", I18N_NOOP("The \"< >\" key chooses 5th level") },
|
||||
{ "lv2:lsgt_switch", I18N_NOOP("The \"< >\" key") },
|
||||
{ "lv3:lsgt_switch_latch", I18N_NOOP("The \"< >\" key; acts as onetime lock when pressed together with another 3rd level chooser") },
|
||||
{ "ctrl:ac_ctrl", I18N_NOOP("To the left of \"A\"") },
|
||||
{ "keypad:future", I18N_NOOP("Unicode arrows and math operators on default level") },
|
||||
{ "keypad:oss", I18N_NOOP("Unicode arrows and math operators") },
|
||||
|
@ -1020,7 +1020,7 @@ static const struct optionDescriptionData {
|
|||
{ "nbsp:zwnj2nb3zwj4", I18N_NOOP("Zero-width non-joiner at the 2nd level, non-breaking space at the 3rd level, zero-width joiner at the 4th level") },
|
||||
{ "nbsp:zwnj2zwj3", I18N_NOOP("Zero-width non-joiner at the 2nd level, zero-width joiner at the 3rd level") },
|
||||
{ "nbsp:zwnj2zwj3nb4", I18N_NOOP("Zero-width non-joiner at the 2nd level, zero-width joiner at the 3rd level, non-breaking space at the 4th level") },
|
||||
{ "nbsp:zwnj3zwj4", I18N_NOOP("Zero-width non-joiner at the 3rd level, zero-width joiner at the 4th level") }
|
||||
{ "nbsp:zwnj3zwj4", I18N_NOOP("Zero-width non-joiner at the 3rd level, zero-width joiner at the 4th level") },
|
||||
};
|
||||
static const qint16 optionDescriptionTblSize = sizeof(optionDescriptionTbl) / sizeof(optionDescriptionData);
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@ import os, sys, glob
|
|||
def cstringify(s):
|
||||
r = s.replace('\\', '\\\\')
|
||||
r = r.replace('"', '\\"')
|
||||
r = r.replace('<', '<')
|
||||
r = r.replace('>', '>')
|
||||
return r
|
||||
|
||||
if len(sys.argv) < 2:
|
||||
|
|
Loading…
Add table
Reference in a new issue