Commit e745ffa 1 parent 17d05f8 commit e745ffa Copy full SHA for e745ffa
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change
1
+ 2025-03-08 (17d05f8): add persistent option "doNotTranslate" to bypass the localisation
1
2
2025-03-04 (7b8942a): Show oversampling factor on top of screen
2
3
2025-03-03 (3f42320): finetuning the build process - no OH6022 changes
3
4
2025-03-03 (b174c4c): test for macos intel and arm64 build
Original file line number Diff line number Diff line change @@ -139,9 +139,8 @@ int main( int argc, char *argv[] ) {
139
139
// ////// Load translations for command line help texts ////////
140
140
QTranslator qtTranslator;
141
141
QTranslator parserTranslator;
142
-
143
- if ( !doNotTranslate && useLocale &&
144
- QLocale ().name () != " en_US" ) { // somehow Qt on MacOS uses the german translation for en_US?!
142
+ // feedback from a mac user: "somehow Qt on MacOS uses the german translation for en_US?!"
143
+ if ( !doNotTranslate && useLocale && QLocale ().name ().left ( 3 ) != " en_" ) { // l18n only in these cases
145
144
if ( qtTranslator.load ( " qt_" + QLocale ().name (), QLibraryInfo::location ( QLibraryInfo::TranslationsPath ) ) ) {
146
145
parserApp.installTranslator ( &qtTranslator );
147
146
}
You can’t perform that action at this time.
0 commit comments