fix: locale codes deprecation

This commit is contained in:
Florian Didron
2022-06-22 19:09:41 +09:00
parent 5ca3092465
commit 523fa6fea6
11 changed files with 384 additions and 0 deletions

View File

@@ -156,3 +156,16 @@
// Row 4 // Row 4
#define BE_BSLS ALGR(BE_LABK) // (backslash) #define BE_BSLS ALGR(BE_LABK) // (backslash)
#define BE_TILD ALGR(BE_EQL) // ~ #define BE_TILD ALGR(BE_EQL) // ~
//
// DEPRECATED
#define BE_AMP BE_AMPR
#define BE_APOS BE_QUOT
#define BE_PARA BE_SECT
#define BE_MU BE_MICR
#define BE_LESS BE_LABK
#define BE_OVRR BE_DEG
#define BE_UMLT BE_DIAE
#define BE_GRTR BE_RABK
#define BE_LSBR BE_LBRC
#define BE_RSBR BE_RBRC
#define BE_TILT BE_TILD

View File

@@ -158,3 +158,23 @@
#define BR_MORD ALGR(BR_RBRC) // º #define BR_MORD ALGR(BR_RBRC) // º
// Row 4 // Row 4
#define BR_CRUZ ALGR(BR_C) // ₢ #define BR_CRUZ ALGR(BR_C) // ₢
// DEPRECATED
#define BR_CCDL BR_CCED
#define BR_DQT BR_DQUO
#define BR_TRMA BR_DIAE
#define BR_GRAV BR_GRV
#define BR_KPDT BR_PDOT
#define BR_KPCM BR_PCMM
#define BR_1UP BR_SUP1
#define BR_2UP BR_SUP2
#define BR_3UP BR_SUP3
#define BR_ASLS BR_SLSH
#define BR_AQST BR_QUES
// Not present on Windows 10?
#define BR_NDTD ALGR(BR_TILD) // ~
#define BR_NDAC ALGR(BR_ACUT) // ´
#define BR_NDGV ALGR(BR_QUOT) // `
#define BR_NDCR ALGR(BR_CIRC) // ^
#define BR_NDTR ALGR(BR_DIAE) // ¨

View File

@@ -252,3 +252,182 @@
#define CA_MORD RCTL(S(CA_M)) // º #define CA_MORD RCTL(S(CA_M)) // º
#define CA_MUL RCTL(S(CA_COMM)) // × #define CA_MUL RCTL(S(CA_COMM)) // ×
#define CA_DIV RCTL(S(CA_DOT)) // ÷ #define CA_DIV RCTL(S(CA_DOT)) // ÷
// DEPRECATED
#define GR2A(kc) RCTL(kc)
#define CSA_SLASH CA_SLSH
#define CSA_SLSH CA_SLSH
#define CSA_DEAD_CIRCUMFLEX CA_CIRC
#define CSA_DCRC CA_CIRC
#define CSA_C_CEDILLA CA_CCED
#define CSA_CCED CA_CCED
#define CSA_E_GRAVE CA_EGRV
#define CSA_EGRV CA_EGRV
#define CSA_A_GRAVE CA_AGRV
#define CSA_AGRV CA_AGRV
#define CSA_U_GRAVE CA_UGRV
#define CSA_UGRV CA_UGRV
#define CSA_E_ACUTE CA_EACU
#define CSA_ECUT CA_EACU
#define CSA_BACKSLASH CA_BSLS
#define CSA_BSLS CA_BSLS
#define CSA_QUESTION CA_QUES
#define CSA_QEST CA_QUES
#define CSA_DEAD_TREMA CA_DIAE
#define CSA_DTRM CA_DIAE
#define CSA_APOSTROPHE CA_QUOT
#define CSA_APOS CA_QUOT
#define CSA_DOUBLE_QUOTE CA_DQUO
#define CSA_DQOT CA_DQUO
#define CSA_PIPE CA_PIPE
#define CSA_CURRENCY CA_CURR
#define CSA_CURR CA_CURR
#define CSA_LEFT_CURLY_BRACE CA_LCBR
#define CSA_LCBR CA_LCBR
#define CSA_RIGHT_CURLY_BRACE CA_RCBR
#define CSA_RCBR CA_RCBR
#define CSA_LBRACKET CA_LBRC
#define CSA_LBRC CA_LBRC
#define CSA_RBRACKET CA_RBRC
#define CSA_RBRC CA_RBRC
#define CSA_NEGATION CA_NOT
#define CSA_NEGT CA_NOT
#define CSA_EURO CA_EURO
#define CSA_DEAD_GRAVE CA_GRV
#define CSA_DGRV CA_GRV
#define CSA_DEAD_TILDE CA_DTIL
#define CSA_DTLD CA_DTIL
#define CSA_DEGREE CA_DEG
#define CSA_DEGR CA_DEG
#define CSA_LEFT_GUILLEMET CA_LDAQ
#define CSA_LGIL CA_LDAQ
#define CSA_RIGHT_GUILLEMET CA_RDAQ
#define CSA_RGIL CA_RDAQ
#define CSA_LESS CA_LABK
#define CSA_GREATER CA_RABK
#define CSA_GRTR CA_RABK
#define CSA_NON_BREAKING_SPACE ALGR(KC_SPC)
#define CSA_NBSP ALGR(KC_SPC)
#define CSA_SUPERSCRIPT_ONE CA_SUP1
#define CSA_SUP1 CA_SUP1
#define CSA_SUPERSCRIPT_TWO CA_SUP2
#define CSA_SUP2 CA_SUP2
#define CSA_SUPERSCRIPT_THREE CA_SUP3
#define CSA_SUP3 CA_SUP3
#define CSA_ONE_QUARTER CA_QRTR
#define CSA_1QRT CA_QRTR
#define CSA_ONE_HALF CA_HALF
#define CSA_1HLF CA_HALF
#define CSA_THREE_QUARTERS CA_TQTR
#define CSA_3QRT CA_TQTR
#define CSA_DEAD_CEDILLA CA_CEDL
#define CSA_DCED CA_CEDL
#define CSA_OMEGA CA_OMEG
#define CSA_OMEG CA_OMEG
#define CSA_L_STROKE CA_LSTR
#define CSA_LSTK CA_LSTR
#define CSA_OE_LIGATURE CA_OE
#define CSA_OE CA_OE
#define CSA_PARAGRAPH CA_PARA
#define CSA_PARG CA_PARA
#define CSA_T_STROKE CA_TSTR
#define CSA_LEFT_ARROW CA_LARR
#define CSA_LARW CA_LARR
#define CSA_DOWN_ARROW CA_DARR
#define CSA_DARW CA_DARR
#define CSA_RIGHT_ARROW CA_RARR
#define CSA_RARW CA_RARR
#define CSA_O_STROKE CA_OSTR
#define CSA_OSTK CA_OSTR
#define CSA_THORN CA_THRN
#define CSA_THRN CA_THRN
#define CSA_TILDE CA_TILD
#define CSA_TILD CA_TILD
#define CSA_AE_LIGATURE CA_AE
#define CSA_AE CA_AE
#define CSA_SHARP_S CA_SS
#define CSA_SRPS CA_SS
#define CSA_ETH CA_ETH
#define CSA_ENG CA_ENG
#define CSA_H_SRTOKE CA_HSTR
#define CSA_HSTK CA_HSTR
#define CSA_IJ_LIGATURE CA_IJ
#define CSA_IJ CA_IJ
#define CSA_KRA CA_KRA
#define CSA_L_FLOWN_DOT CA_LMDT
#define CSA_LFLD CA_LMDT
#define CSA_DEAD_ACUTE CA_ACUT
#define CSA_DACT CA_ACUT
#define CSA_CENT CA_CENT
#define CSA_LEFT_DOUBLE_QUOTE CA_LDQU
#define CSA_LDQT CA_LDQU
#define CSA_RIGHT_DOUBLE_QUOTE CA_RDQU
#define CSA_RDQT CA_RDQU
#define CSA_N_APOSTROPHE CA_APSN
#define CSA_NAPO CA_APSN
#define CSA_MU CA_MICR
#define CSA_HORIZONTAL_BAR CA_HRZB
#define CSA_HZBR CA_HRZB
#define CSA_DEAD_DOT_ABOVE CA_DOTA
#define CSA_DDTA CA_DOTA
#define CSA_SOFT_HYPHEN CA_SHYP
#define CSA_SHYP CA_SHYP
#define CSA_INVERTED_EXCLAIM CA_IEXL
#define CSA_IXLM CA_IEXL
#define CSA_POUND CA_PND
#define CSA_GBP CA_PND
#define CSA_EURO_BIS CA_EURO
#define CSA_EURB CA_EURO
#define CSA_THREE_EIGHTHS CA_TEIG
#define CSA_3ON8 CA_TEIG
#define CSA_FIVE_EIGHTHS CA_FEIG
#define CSA_5ON8 CA_FEIG
#define CSA_SEVEN_EIGHTHS CA_SEIG
#define CSA_7ON8 CA_SEIG
#define CSA_TRADEMARK CA_TM
#define CSA_TM CA_TM
#define CSA_PLUS_MINUS CA_PLMN
#define CSA_PSMS CA_PLMN
#define CSA_INVERTED_QUESTION CA_IQUE
#define CSA_IQST CA_IQUE
#define CSA_DEAD_OGONEK CA_OGON
#define CSA_DOGO CA_OGON
#define CSA_REGISTERED_TRADEMARK CA_REGD
#define CSA_RTM CA_REGD
#define CSA_YEN CA_YEN
#define CSA_YUAN CA_YEN
#define CSA_UP_ARROW CA_UARR
#define CSA_DOTLESS_I CA_DLSI
#define CSA_DLSI CA_DLSI
#define CSA_DEAD_RING CA_RNGA
#define CSA_DRNG CA_RNGA
#define CSA_DEAD_MACRON CA_MACR
#define CSA_DMCR CA_MACR
#define CSA_SECTION CA_SECT
#define CSA_SECT CA_SECT
#define CSA_ORDINAL_INDICATOR_A CA_FORD
#define CSA_ORDA CA_FORD
#define CSA_DEAD_DOUBLE_ACUTE CA_DACU
#define CSA_DDCT CA_DACU
#define CSA_DEAD_CARON CA_CARN
#define CSA_DCAR CA_CARN
#define CSA_DEAD_BREVE CA_BREV
#define CSA_DBRV CA_BREV
#define CSA_BROKEN_PIPE CA_BRKP
#define CSA_BPIP CA_BRKP
#define CSA_COPYRIGHT CA_COPY
#define CSA_CPRT CA_COPY
#define CSA_LEFT_QUOTE CA_LSQU
#define CSA_LQOT CA_LSQU
#define CSA_RIGHT_QUOTE CA_RSQU
#define CSA_RQOT CA_RSQU
#define CSA_EIGHTH_NOTE CA_ENOT
#define CSA_8NOT CA_ENOT
#define CSA_ORDINAL_INDICATOR_O CA_MORD
#define CSA_ORDO CA_MORD
#define CSA_TIMES CA_MUL
#define CSA_TIMS CA_MUL
#define CSA_OBELUS CA_DIV
#define CSA_OBEL CA_DIV
#define CSA_DIVISION_SIGN CA_DIV
#define CSA_DVSN CA_DIV

View File

@@ -152,3 +152,14 @@
// Row 2 // Row 2
#define FR_EURO ALGR(KC_E) // € #define FR_EURO ALGR(KC_E) // €
#define FR_CURR ALGR(FR_DLR) // ¤ #define FR_CURR ALGR(FR_DLR) // ¤
// DEPRECATED
#define FR_AMP FR_AMPR
#define FR_APOS FR_QUOT
#define FR_LESS FR_LABK
#define FR_OVRR FR_DEG
#define FR_UMLT FR_DIAE
#define FR_MU FR_MICR
#define FR_GRTR FR_RABK
#define FR_CCIRC FR_CIRC
#define FR_BULT FR_CURR

View File

@@ -169,3 +169,22 @@
#define HU_RCBR ALGR(HU_N) // } #define HU_RCBR ALGR(HU_N) // }
#define HU_SCLN ALGR(HU_COMM) // ; #define HU_SCLN ALGR(HU_COMM) // ;
#define HU_ASTR ALGR(HU_MINS) // * #define HU_ASTR ALGR(HU_MINS) // *
// DEPRECATED
#define HU_OE HU_ODIA
#define HU_UE HU_UDIA
#define HU_OO HU_OACU
#define HU_OEE HU_ODAC
#define HU_UU HU_UACU
#define HU_EE HU_EACU
#define HU_AA HU_AACU
#define HU_UEE HU_UDAC
#define HU_II HU_IACU
#define HU_PARA HU_SECT
#define HU_DQOT HU_DQUO
#define HU_QST HU_QUES
#define HU_BRV HU_BREV
#define HU_RING HU_RNGA
#define HU_CRSS HU_MUL
#define HU_LESS HU_LABK
#define HU_MORE HU_RABK

View File

@@ -163,3 +163,22 @@
// Row 2 // Row 2
#define IT_LCBR S(ALGR(IT_EGRV)) // { #define IT_LCBR S(ALGR(IT_EGRV)) // {
#define IT_RCBR S(ALGR(IT_PLUS)) // } #define IT_RCBR S(ALGR(IT_PLUS)) // }
// DEPRECATED
#define IT_BKSL IT_BSLS
#define IT_APOS IT_QUOT
#define IT_IACC IT_IGRV
#define IT_EACC IT_EGRV
#define IT_OACC IT_OGRV
#define IT_AACC IT_AGRV
#define IT_UACC IT_UGRV
#define IT_LESS IT_LABK
#define IT_DQOT IT_DQUO
#define IT_STRL IT_PND
#define IT_QST IT_QUES
#define IT_CRC IT_CIRC
#define IT_MORE IT_RABK
#define IT_SHRP IT_HASH
#define IT_X_PLUS X_RBRACKET
#define IT_ACUT

View File

@@ -137,3 +137,12 @@
#define JP_RABK S(JP_DOT) // > #define JP_RABK S(JP_DOT) // >
#define JP_QUES S(JP_SLSH) // ? #define JP_QUES S(JP_SLSH) // ?
#define JP_UNDS S(JP_BSLS) // _ #define JP_UNDS S(JP_BSLS) // _
/// DEPRECATED
#define JP_ZHTG JP_ZKHK
#define JP_DQT JP_DQUO
#define JP_LT JP_LABK
#define JP_GT JP_RABK
#define JP_MEISU KC_LANG2 // Eisū (英数) on macOS
#define JP_MKANA KC_LANG1 // Kana (かな) on macOS

View File

@@ -161,3 +161,11 @@
#define SI_LCBR ALGR(SI_B) // { #define SI_LCBR ALGR(SI_B) // {
#define SI_RCBR ALGR(SI_N) // } #define SI_RCBR ALGR(SI_N) // }
#define SI_SECT ALGR(SI_M) // § #define SI_SECT ALGR(SI_M) // §
// DEPRECATED
#define SI_QOT SI_QUOT
#define SI_SV SI_SCAR
#define SI_CV SI_CCAR
#define SI_ZV SI_ZCAR
#define SI_DQOT SI_DQUO
#define SI_QST SI_QUES

View File

@@ -151,3 +151,12 @@
// Row 3 // Row 3
#define ES_LCBR ALGR(ES_ACUT) // { #define ES_LCBR ALGR(ES_ACUT) // {
#define ES_RCBR ALGR(ES_CCED) // } #define ES_RCBR ALGR(ES_CCED) // }
// DEPRECATED
#define ES_OVRR ES_MORD
#define ES_APOS ES_QUOT
#define ES_LESS ES_LABK
#define ES_ASML ES_FORD
#define ES_OVDT ES_BULT
#define ES_UMLT ES_DIAE
#define ES_GRTR ES_RABK

View File

@@ -162,3 +162,21 @@
#define CH_RCBR ALGR(CH_DLR) // } #define CH_RCBR ALGR(CH_DLR) // }
// Row 4 // Row 4
#define CH_BSLS ALGR(CH_LABK) // (backslash) #define CH_BSLS ALGR(CH_LABK) // (backslash)
// DEPRECATED
#define CH_AE CH_ADIA
#define CH_UE CH_UDIA
#define CH_OE CH_ODIA
#define CH_PARA CH_SECT
#define CH_CARR CH_CIRC
#define CH_DIER CH_DIAE
#define CH_LESS CH_LABK
#define CH_RING CH_DEG
#define CH_DQOT CH_DQUO
#define CH_PAST CH_ASTR
#define CH_CELA CH_CCED
#define CH_QST CH_QUES
#define CH_POND CH_PND
#define CH_MORE CH_RABK
#define CH_BRBR CH_BRKP
#define CH_NOTL CH_NOT

View File

@@ -162,3 +162,82 @@
#define CH_RCBR ALGR(CH_DLR) // } #define CH_RCBR ALGR(CH_DLR) // }
// Row 4 // Row 4
#define CH_BSLS ALGR(CH_LABK) // (backslash) #define CH_BSLS ALGR(CH_LABK) // (backslash)
//
// DEPRECATED
#define FR_CH_Z CH_Z
#define FR_CH_Y CH_Y
#define FR_CH_A CH_A
#define FR_CH_B CH_B
#define FR_CH_C CH_C
#define FR_CH_D CH_D
#define FR_CH_E CH_E
#define FR_CH_F CH_F
#define FR_CH_G CH_G
#define FR_CH_H CH_H
#define FR_CH_I CH_I
#define FR_CH_J CH_J
#define FR_CH_K CH_K
#define FR_CH_L CH_L
#define FR_CH_M CH_M
#define FR_CH_N CH_N
#define FR_CH_O CH_O
#define FR_CH_P CH_P
#define FR_CH_Q CH_Q
#define FR_CH_R CH_R
#define FR_CH_S CH_S
#define FR_CH_T CH_T
#define FR_CH_U CH_U
#define FR_CH_V CH_V
#define FR_CH_W CH_W
#define FR_CH_X CH_X
#define FR_CH_0 CH_0
#define FR_CH_1 CH_1
#define FR_CH_2 CH_2
#define FR_CH_3 CH_3
#define FR_CH_4 CH_4
#define FR_CH_5 CH_5
#define FR_CH_6 CH_6
#define FR_CH_7 CH_7
#define FR_CH_8 CH_8
#define FR_CH_9 CH_9
#define FR_CH_DOT CH_DOT
#define FR_CH_COMM CH_COMM
#define FR_CH_QUOT CH_QUOT
#define FR_CH_AE CH_AGRV
#define FR_CH_UE CH_EGRV
#define FR_CH_OE CH_EACU
#define FR_CH_CIRC CH_CIRC
#define FR_CH_LESS CH_LABK
#define FR_CH_MINS CH_MINS
#define FR_CH_DLR CH_DLR
#define FR_CH_PARA CH_SECT
#define FR_CH_DIAE CH_DIAE
#define FR_CH_RING CH_DEG
#define FR_CH_EXLM CH_EXLM
#define FR_CH_PLUS CH_PLUS
#define FR_CH_DQOT CH_DQUO
#define FR_CH_ASTR CH_ASTR
#define FR_CH_PERC CH_PERC
#define FR_CH_AMPR CH_AMPR
#define FR_CH_SLSH CH_SLSH
#define FR_CH_LPRN CH_LPRN
#define FR_CH_RPRN CH_RPRN
#define FR_CH_EQL CH_EQL
#define FR_CH_QST CH_QUES
#define FR_CH_MORE CH_RABK
#define FR_CH_COLN CH_COLN
#define FR_CH_SCLN CH_SCLN
#define FR_CH_UNDS CH_UNDS
#define FR_CH_CCED CH_CCED
#define FR_CH_GRV CH_GRV
#define FR_CH_LCBR CH_LCBR
#define FR_CH_LBRC CH_LBRC
#define FR_CH_RBRC CH_RBRC
#define FR_CH_RCBR CH_RCBR
#define FR_CH_BSLS CH_BSLS
#define FR_CH_AT CH_AT
#define FR_CH_EURO CH_EURO
#define FR_CH_TILD CH_TILD
#define FR_CH_PIPE CH_PIPE
#define FR_CH_HASH CH_HASH
#define FR_CH_ACUT CH_ACUT