gs-lock-plug: Improve utf8 string check in show_status_text
For example, `g_utf8_strlen ("正", 1)` is 0. This allows showing translated "Checking..." and "Incorrect password.", especially in languages where character takes more than 1 byte. glib suggests "Use g_utf8_validate() on all text before trying to use UTF-8 utility functions with it", so apply the suggestion.
Loading
Please register or sign in to comment