Improve partial maximization strings
Summary: e.g. "Vertically maximize" is more natural and expressive than "Maximize (vertical only)" See D29671#inline-169882. Test Plan: New strings appear in the KCM Reviewers: zzag, #vdg, #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D29729
This commit is contained in:
parent
c483e209fe
commit
45bf53adab
4 changed files with 21 additions and 21 deletions
|
@ -62,8 +62,8 @@
|
||||||
<default>Maximize</default>
|
<default>Maximize</default>
|
||||||
<choices>
|
<choices>
|
||||||
<choice name="Maximize"></choice>
|
<choice name="Maximize"></choice>
|
||||||
<choice name="MaximizeVerticalOnly" value="Maximize (vertical only)"></choice>
|
<choice name="MaximizeVerticalOnly" value="Vertically maximize"></choice>
|
||||||
<choice name="MaximizeHorizontalOnly" value="Maximize (horizontal only)"></choice>
|
<choice name="MaximizeHorizontalOnly" value="Horizontally maximize"></choice>
|
||||||
<choice name="Minimize"></choice>
|
<choice name="Minimize"></choice>
|
||||||
<choice name="Shade"></choice>
|
<choice name="Shade"></choice>
|
||||||
<choice name="Lower"></choice>
|
<choice name="Lower"></choice>
|
||||||
|
@ -77,8 +77,8 @@
|
||||||
<default>Maximize</default>
|
<default>Maximize</default>
|
||||||
<choices>
|
<choices>
|
||||||
<choice name="Maximize"></choice>
|
<choice name="Maximize"></choice>
|
||||||
<choice name="MaximizeVerticalOnly" value="Maximize (vertical only)"></choice>
|
<choice name="MaximizeVerticalOnly" value="Vertically maximize"></choice>
|
||||||
<choice name="MaximizeHorizontalOnly" value="Maximize (horizontal only)"></choice>
|
<choice name="MaximizeHorizontalOnly" value="Horizontally maximize"></choice>
|
||||||
</choices>
|
</choices>
|
||||||
</entry>
|
</entry>
|
||||||
|
|
||||||
|
@ -86,8 +86,8 @@
|
||||||
<default>MaximizeVerticalOnly</default>
|
<default>MaximizeVerticalOnly</default>
|
||||||
<choices>
|
<choices>
|
||||||
<choice name="Maximize"></choice>
|
<choice name="Maximize"></choice>
|
||||||
<choice name="MaximizeVerticalOnly" value="Maximize (vertical only)"></choice>
|
<choice name="MaximizeVerticalOnly" value="Vertically maximize"></choice>
|
||||||
<choice name="MaximizeHorizontalOnly" value="Maximize (horizontal only)"></choice>
|
<choice name="MaximizeHorizontalOnly" value="Horizontally maximize"></choice>
|
||||||
</choices>
|
</choices>
|
||||||
</entry>
|
</entry>
|
||||||
|
|
||||||
|
@ -95,8 +95,8 @@
|
||||||
<default>MaximizeHorizontalOnly</default>
|
<default>MaximizeHorizontalOnly</default>
|
||||||
<choices>
|
<choices>
|
||||||
<choice name="Maximize"></choice>
|
<choice name="Maximize"></choice>
|
||||||
<choice name="MaximizeVerticalOnly" value="Maximize (vertical only)"></choice>
|
<choice name="MaximizeVerticalOnly" value="Vertically maximize"></choice>
|
||||||
<choice name="MaximizeHorizontalOnly" value="Maximize (horizontal only)"></choice>
|
<choice name="MaximizeHorizontalOnly" value="Horizontally maximize"></choice>
|
||||||
</choices>
|
</choices>
|
||||||
</entry>
|
</entry>
|
||||||
|
|
||||||
|
|
|
@ -42,12 +42,12 @@
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string extracomment="@item:inlistbox behavior on double click">Maximize (vertical only)</string>
|
<string extracomment="@item:inlistbox behavior on double click">Vertically maximize</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string extracomment="@item:inlistbox behavior on double click">Maximize (horizontal only)</string>
|
<string extracomment="@item:inlistbox behavior on double click">Horizontally maximize</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -617,12 +617,12 @@
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Maximize (vertical only)</string>
|
<string>Vertically maximize</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Maximize (horizontal only)</string>
|
<string>Horizontally maximize</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -652,12 +652,12 @@
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Maximize (vertical only)</string>
|
<string>Vertically maximize</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Maximize (horizontal only)</string>
|
<string>Horizontally maximize</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -687,12 +687,12 @@
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Maximize (vertical only)</string>
|
<string>Vertically maximize</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Maximize (horizontal only)</string>
|
<string>Horizontally maximize</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
|
@ -189,10 +189,10 @@
|
||||||
<default>Maximize</default>
|
<default>Maximize</default>
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="MaximizeButtonMiddleClickCommand" type="String">
|
<entry name="MaximizeButtonMiddleClickCommand" type="String">
|
||||||
<default>Maximize (vertical only)</default>
|
<default>Vertically maximize</default>
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="MaximizeButtonRightClickCommand" type="String">
|
<entry name="MaximizeButtonRightClickCommand" type="String">
|
||||||
<default>Maximize (horizontal only)</default>
|
<default>Horizontally maximize</default>
|
||||||
</entry>
|
</entry>
|
||||||
<entry name="KillPingTimeout" type="Int">
|
<entry name="KillPingTimeout" type="Int">
|
||||||
<default>5000</default>
|
<default>5000</default>
|
||||||
|
|
|
@ -758,7 +758,7 @@ void Options::loadConfig()
|
||||||
KConfigGroup config(m_settings->config(), "Windows");
|
KConfigGroup config(m_settings->config(), "Windows");
|
||||||
OpTitlebarDblClick = windowOperation(config.readEntry("TitlebarDoubleClickCommand", "Maximize"), true);
|
OpTitlebarDblClick = windowOperation(config.readEntry("TitlebarDoubleClickCommand", "Maximize"), true);
|
||||||
setOperationMaxButtonLeftClick(windowOperation(config.readEntry("MaximizeButtonLeftClickCommand", "Maximize"), true));
|
setOperationMaxButtonLeftClick(windowOperation(config.readEntry("MaximizeButtonLeftClickCommand", "Maximize"), true));
|
||||||
setOperationMaxButtonMiddleClick(windowOperation(config.readEntry("MaximizeButtonMiddleClickCommand", "Maximize (vertical only)"), true));
|
setOperationMaxButtonMiddleClick(windowOperation(config.readEntry("MaximizeButtonMiddleClickCommand", "Vertically Maximize"), true));
|
||||||
setOperationMaxButtonRightClick(windowOperation(config.readEntry("MaximizeButtonRightClickCommand", "Maximize (horizontal only)"), true));
|
setOperationMaxButtonRightClick(windowOperation(config.readEntry("MaximizeButtonRightClickCommand", "Maximize (horizontal only)"), true));
|
||||||
|
|
||||||
// Mouse bindings
|
// Mouse bindings
|
||||||
|
@ -982,9 +982,9 @@ Options::WindowOperation Options::windowOperation(const QString &name, bool rest
|
||||||
return ShadeOp;
|
return ShadeOp;
|
||||||
else if (name == QStringLiteral("Operations"))
|
else if (name == QStringLiteral("Operations"))
|
||||||
return OperationsOp;
|
return OperationsOp;
|
||||||
else if (name == QStringLiteral("Maximize (vertical only)"))
|
else if (name == QStringLiteral("Vertically maximize"))
|
||||||
return VMaximizeOp;
|
return VMaximizeOp;
|
||||||
else if (name == QStringLiteral("Maximize (horizontal only)"))
|
else if (name == QStringLiteral("Horizontally maximize"))
|
||||||
return HMaximizeOp;
|
return HMaximizeOp;
|
||||||
else if (name == QStringLiteral("Lower"))
|
else if (name == QStringLiteral("Lower"))
|
||||||
return LowerOp;
|
return LowerOp;
|
||||||
|
|
Loading…
Reference in a new issue