summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/main.cpp')
-rw-r--r--rbutil/rbutilqt/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/main.cpp b/rbutil/rbutilqt/main.cpp
index 1fb83b328d..02c1e51d32 100644
--- a/rbutil/rbutilqt/main.cpp
+++ b/rbutil/rbutilqt/main.cpp
@@ -65,7 +65,10 @@ int main( int argc, char ** argv ) {
delete user;
app.installTranslator(&translator);
app.installTranslator(&qttrans);
- if(applang.startsWith("he"))
+ //: This string is used to indicate the writing direction. Translate it
+ //: to "RTL" (without quotes) for RTL languages. Anything else will get
+ //: treated as LTR language.
+ if(QObject::tr("LTR") == "RTL")
app.setLayoutDirection(Qt::RightToLeft);
RbUtilQt window(0);