Skip to content
Commit e2356460 authored by zica __'s avatar zica __
Browse files

emojier: Fix `zh`(CN) being selected despite user's lang is `zh_TW` or `zh_HK`

Due to the format given by Qt is different from the file names that CLDR uses.
Original code: https://github.com/fcitx/fcitx5/blob/9f1412aceb58a7bcc14f71daa823da59926178ac/src/modules/emoji/emoji.cpp#L169

Changed `if` to `for` because: `zh_Hant_HK` needs `zh_Hant`, and (theoretically) `zh_Hant` needs `zh` (it actually doesn't).
parent 51422eeb
Pipeline #472149 failed with stage
in 3 minutes and 53 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment