don't display locale fail error when using Momo

This commit is contained in:
tildearrow 2024-06-17 14:48:46 -05:00
parent e2e496529b
commit e1f8376e85

View file

@ -883,10 +883,12 @@ int main(int argc, char** argv) {
}
if (displayLocaleFailError) {
#ifndef HAVE_MOMO
#ifdef __unix__
g.showError("could not load language!\napparently your system does not support this language correctly.\nmake sure you've generated language data by editing /etc/locale.gen\nand then running locale-gen as root.");
#else
g.showError("could not load language!\nthis is a bug!");
#endif
#endif
}