diff -r b1707793e213 -r e2a52d98ad20 src/eric7/Project/TranslationPropertiesDialog.ui --- a/src/eric7/Project/TranslationPropertiesDialog.ui Thu Oct 20 08:23:37 2022 +0200 +++ b/src/eric7/Project/TranslationPropertiesDialog.ui Thu Oct 20 10:22:41 2022 +0200 @@ -6,7 +6,7 @@ <rect> <x>0</x> <y>0</y> - <width>592</width> + <width>700</width> <height>543</height> </rect> </property> @@ -18,68 +18,95 @@ </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> - <widget class="QLabel" name="textLabel1_3"> - <property name="text"> - <string>&Translation Path Pattern: -(Use '%language%' where the language code should be inserted, e.g. i18n/eric7_%language%.ts)</string> - </property> - <property name="wordWrap"> - <bool>true</bool> - </property> - <property name="buddy"> - <cstring>transPatternPicker</cstring> - </property> - </widget> - </item> - <item> - <widget class="EricPathPicker" name="transPatternPicker" native="true"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="focusPolicy"> - <enum>Qt::StrongFocus</enum> - </property> - <property name="toolTip"> - <string>Enter the path pattern for the translation files</string> - </property> - <property name="whatsThis"> - <string><b>Translation Pattern</b> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>&Translation Path Pattern:</string> + </property> + <property name="buddy"> + <cstring>transPatternPicker</cstring> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="EricPathPicker" name="transPatternPicker" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="focusPolicy"> + <enum>Qt::StrongFocus</enum> + </property> + <property name="toolTip"> + <string>Enter the path pattern for the translation files</string> + </property> + <property name="whatsThis"> + <string><b>Translation Pattern</b> <p>Enter the path pattern for the translation files using %language% at the place of the language code (e.g. /path_to_eric/i18n/eric7_%language%.ts). This will result in translation files like /path_to_eric/i18n/eric7_de.ts.</p></string> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label"> - <property name="text"> - <string>&Binary Translations Path:</string> - </property> - <property name="buddy"> - <cstring>transBinPathPicker</cstring> - </property> - </widget> - </item> - <item> - <widget class="EricPathPicker" name="transBinPathPicker" native="true"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="focusPolicy"> - <enum>Qt::StrongFocus</enum> - </property> - <property name="toolTip"> - <string>Enter the path for the binary translation files (*.qm)</string> - </property> - <property name="whatsThis"> - <string><b>Binary Translations Path</b> + </property> + </widget> + </item> + <item row="1" column="0" colspan="2"> + <widget class="QLabel" name="textLabel1_3"> + <property name="text"> + <string>(Use '%language%' where the language code should be inserted, e.g. i18n/eric7_%language%.ts)</string> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>&Binary Translations Path:</string> + </property> + <property name="buddy"> + <cstring>transBinPathPicker</cstring> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="EricPathPicker" name="transBinPathPicker" native="true"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="focusPolicy"> + <enum>Qt::StrongFocus</enum> + </property> + <property name="toolTip"> + <string>Enter the path for the binary translation files (*.qm)</string> + </property> + <property name="whatsThis"> + <string><b>Binary Translations Path</b> <p>Enter the directory for the binary translation files (*.qm). Leave it empty to store them together with the *.ts files.</p></string> - </property> - </widget> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>&Source Start Path:</string> + </property> + <property name="buddy"> + <cstring>sourceStartPathEdit</cstring> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QLineEdit" name="sourceStartPathEdit"> + <property name="toolTip"> + <string>Enter the start of the sources directory relative to the project directory</string> + </property> + </widget> + </item> + </layout> </item> <item> <widget class="QGroupBox" name="exceptionsGroup"> @@ -179,6 +206,7 @@ <tabstops> <tabstop>transPatternPicker</tabstop> <tabstop>transBinPathPicker</tabstop> + <tabstop>sourceStartPathEdit</tabstop> <tabstop>exceptionsList</tabstop> <tabstop>exceptionEdit</tabstop> <tabstop>deleteExceptionButton</tabstop>