Commit a957f121 authored by Nate Graham's avatar Nate Graham
Browse files

Move "Switch Application Language" to Settings menu

This is where it logically belongs. Applications with only a Help menu
and no settings menu will still get it displayed in there due to some
fancy code in khelpmenu.cpp, so there are no cases where the menu item
will become completely inaccessible.

Test Plan:
1. Open Okular, Konsole, or Dolphin with its menu bar shown
2. Look in Settings and Help menus to make sure the action is in the
   Settings menu

1. Open an app without a visible Settings menu such as Spectacle or
   Dolphin with its menubar hidden
2. Look in the help menu to make sure the action is shown there

BUG: 177856
FIXED-IN: 5.72
parent 2f7c17d9
......@@ -156,7 +156,7 @@ KSwitchLanguageDialog::KSwitchLanguageDialog(QWidget *parent)
: QDialog(parent),
d(new KSwitchLanguageDialogPrivate(this))
{
setWindowTitle(i18nc("@title:window", "Switch Application Language"));
setWindowTitle(i18nc("@title:window", "Configure Language"));
QVBoxLayout *topLayout = new QVBoxLayout;
setLayout(topLayout);
......
<!DOCTYPE gui SYSTEM "kpartgui.dtd">
<gui name="standard_containers" version="19" translationDomain="kxmlgui5">
<gui name="standard_containers" version="20" translationDomain="kxmlgui5">
<MenuBar>
<MergeLocal name="first_menu"/>
<Menu name="file"><text>&amp;File</text>
......@@ -164,6 +164,7 @@
<Action name="options_game_difficulty"/>
<MergeLocal name="save_merge"/>
<Separator/>
<Action name="switch_application_language"/>
<Action name="options_configure_keybinding"/>
<Action name="options_configure_toolbars"/>
<Action name="options_configure_notifications"/>
......@@ -186,8 +187,6 @@
<Separator/>
<Action name="help_donate"/>
<Separator/>
<Action name="switch_application_language"/>
<Separator/>
<MergeLocal name="about_merge"/>
<Action name="help_about_app"/>
<Action name="help_about_kde"/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment