mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-08 13:05:25 +00:00
8da572d6ec
Qt doesn't have native language name for some of them. Trying to capitalize it caused crash. Use `QLocale(QString)` constructor instead of manually looping and comparing. The old code incorrectly matched "tr" as "trv". Don't try to capitalize language name: * In many cases Qt already returns it capitalized * capitalization doesn't make sense for some scripts * in general case splitting first "character" is a hard problem * in some languages even with latin based scripts name of language isn't a proper noun which needs to be capitalized |
||
---|---|---|
.. | ||
AnalOptionsWidget.cpp | ||
AnalOptionsWidget.h | ||
AnalOptionsWidget.ui | ||
AppearanceOptionsWidget.cpp | ||
AppearanceOptionsWidget.h | ||
AppearanceOptionsWidget.ui | ||
AsmOptionsWidget.cpp | ||
AsmOptionsWidget.h | ||
AsmOptionsWidget.ui | ||
ColorThemeEditDialog.cpp | ||
ColorThemeEditDialog.h | ||
ColorThemeEditDialog.ui | ||
DebugOptionsWidget.cpp | ||
DebugOptionsWidget.h | ||
DebugOptionsWidget.ui | ||
GraphOptionsWidget.cpp | ||
GraphOptionsWidget.h | ||
GraphOptionsWidget.ui | ||
InitializationFileEditor.cpp | ||
InitializationFileEditor.h | ||
InitializationFileEditor.ui | ||
PluginsOptionsWidget.cpp | ||
PluginsOptionsWidget.h | ||
PreferenceCategory.cpp | ||
PreferenceCategory.h | ||
PreferencesDialog.cpp | ||
PreferencesDialog.h | ||
PreferencesDialog.ui |