Skip to content

Commit

Permalink
0.2023.11.09: page layout: fix long string -> remove to tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
zvezdochiot committed Nov 9, 2023
1 parent 8a0b017 commit 9de85ef
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 17 deletions.
22 changes: 9 additions & 13 deletions src/filters/page_layout/ui/PageLayoutOptionsWidget.ui
Expand Up @@ -266,24 +266,14 @@
<property name="spacing">
<number>0</number>
</property>
<item>
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QRadioButton" name="matchSizeDisabledRb">
<property name="text">
<string>None</string>
</property>
<property name="toolTip">
<string>Don't match size</string>
</property>
<attribute name="buttonGroup">
Expand All @@ -294,6 +284,9 @@
<item>
<widget class="QRadioButton" name="matchSizeMarginsRb">
<property name="text">
<string>Growing</string>
</property>
<property name="toolTip">
<string>Match size by growing margins</string>
</property>
<attribute name="buttonGroup">
Expand All @@ -304,6 +297,9 @@
<item>
<widget class="QRadioButton" name="matchSizeScaleRb">
<property name="text">
<string>Scaling</string>
</property>
<property name="toolTip">
<string>Match size by scaling</string>
</property>
<attribute name="buttonGroup">
Expand Down
26 changes: 23 additions & 3 deletions src/translations/scantailor-experimental_ru.ts
Expand Up @@ -530,6 +530,11 @@ First you need to process all of them with the &quot;Page Layout&quot; filter.</
<source>MainWindow</source>
<translation>Главное окно</translation>
</message>
<message>
<location filename="../ui/MainWindow.ui" line="118"/>
<source>Stages</source>
<translation>Этапы</translation>
</message>
<message>
<location filename="../ui/MainWindow.ui" line="130"/>
<source>Keep current page in view.</source>
Expand Down Expand Up @@ -1450,17 +1455,32 @@ To determine it, run batch processing at &quot;Select Content&quot; or &quot;Pag
<translation>Выравнивание</translation>
</message>
<message>
<location filename="../filters/page_layout/ui/PageLayoutOptionsWidget.ui" line="275"/>
<location filename="../filters/page_layout/ui/PageLayoutOptionsWidget.ui" line="274"/>
<source>None</source>
<translation>Не выравнивать</translation>
</message>
<message>
<location filename="../filters/page_layout/ui/PageLayoutOptionsWidget.ui" line="277"/>
<source>Don&apos;t match size</source>
<translation>Не соответствует размеру</translation>
</message>
<message>
<location filename="../filters/page_layout/ui/PageLayoutOptionsWidget.ui" line="285"/>
<location filename="../filters/page_layout/ui/PageLayoutOptionsWidget.ui" line="287"/>
<source>Growing</source>
<translation>Расширить</translation>
</message>
<message>
<location filename="../filters/page_layout/ui/PageLayoutOptionsWidget.ui" line="290"/>
<source>Match size by growing margins</source>
<translation>Соответствие размера за счет увеличения поля</translation>
</message>
<message>
<location filename="../filters/page_layout/ui/PageLayoutOptionsWidget.ui" line="295"/>
<location filename="../filters/page_layout/ui/PageLayoutOptionsWidget.ui" line="300"/>
<source>Scaling</source>
<translation>Масштабировать</translation>
</message>
<message>
<location filename="../filters/page_layout/ui/PageLayoutOptionsWidget.ui" line="303"/>
<source>Match size by scaling</source>
<translation>Выровнить размер путем масштабирования</translation>
</message>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/MainWindow.ui
Expand Up @@ -115,7 +115,7 @@
<set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
</property>
<property name="windowTitle">
<string>Filters</string>
<string>Stages</string>
</property>
<attribute name="dockWidgetArea">
<number>1</number>
Expand Down

0 comments on commit 9de85ef

Please sign in to comment.