You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Translator will need to translate the QT_LAYOUT_DIRECTION string
and we will need to run the following command to update the
translation files:
lupdate-qt5 ../../components/common/TextConstants.qml ../../src/greeter -ts <lang>.ts
SDDM now relies on that string to contain "RTL" (without quotes)
in order to set the right-to-left layout direction.
All the themes were also updated to enable layout mirroring for
right-to-left languages.
Third party themes will need to do the same to honor the RTL
setting.
Closes#329
Copy file name to clipboardExpand all lines: data/translations/ar.ts
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,14 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!DOCTYPETS>
3
3
<TSversion="2.1"language="ar">
4
+
<context>
5
+
<name>QGuiApplication</name>
6
+
<message>
7
+
<source>QT_LAYOUT_DIRECTION</source>
8
+
<comment>Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper layout direction in SDDM themes that supports it</comment>
Copy file name to clipboardExpand all lines: data/translations/cs.ts
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,14 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!DOCTYPETS>
3
-
<TSversion="2.0"language="cs">
3
+
<TSversion="2.1"language="cs">
4
+
<context>
5
+
<name>QGuiApplication</name>
6
+
<message>
7
+
<source>QT_LAYOUT_DIRECTION</source>
8
+
<comment>Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper layout direction in SDDM themes that supports it</comment>
Copy file name to clipboardExpand all lines: data/translations/de.ts
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,14 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!DOCTYPETS>
3
-
<TSversion="2.0"language="de">
3
+
<TSversion="2.1"language="de">
4
+
<context>
5
+
<name>QGuiApplication</name>
6
+
<message>
7
+
<source>QT_LAYOUT_DIRECTION</source>
8
+
<comment>Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper layout direction in SDDM themes that supports it</comment>
Copy file name to clipboardExpand all lines: data/translations/es.ts
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,14 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!DOCTYPETS>
3
-
<TSversion="2.0"language="es">
3
+
<TSversion="2.1"language="es">
4
+
<context>
5
+
<name>QGuiApplication</name>
6
+
<message>
7
+
<source>QT_LAYOUT_DIRECTION</source>
8
+
<comment>Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper layout direction in SDDM themes that supports it</comment>
Copy file name to clipboardExpand all lines: data/translations/et.ts
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,14 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!DOCTYPETS>
3
3
<TSversion="2.1"language="et">
4
+
<context>
5
+
<name>QGuiApplication</name>
6
+
<message>
7
+
<source>QT_LAYOUT_DIRECTION</source>
8
+
<comment>Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper layout direction in SDDM themes that supports it</comment>
0 commit comments