[i18n] AboutAction, AboutPopup

GitOrigin-RevId: 2451bbcc0be270516b51c1a24184d93f032bcd3a
This commit is contained in:
Vladislav Rassokhin
2020-02-19 22:43:30 +03:00
committed by intellij-monorepo-bot
parent 55f5a36815
commit 85c76ec616
3 changed files with 7 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.actions;
import com.intellij.idea.ActionsBundle;
import com.intellij.openapi.actionSystem.ActionPlaces;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
@@ -16,7 +17,7 @@ public class AboutAction extends AnAction implements DumbAware {
@Override
public void update(@NotNull AnActionEvent e) {
e.getPresentation().setEnabledAndVisible(!ActionPlaces.isMacSystemMenuAction(e));
e.getPresentation().setDescription("Show information about " + ApplicationNamesInfo.getInstance().getFullProductName());
e.getPresentation().setDescription(ActionsBundle.message("action.About.description.specialized", ApplicationNamesInfo.getInstance().getFullProductName()));
}
@Override

View File

@@ -1,6 +1,7 @@
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.actions;
import com.intellij.CommonBundle;
import com.intellij.icons.AllIcons;
import com.intellij.ide.BrowserUtil;
import com.intellij.ide.IdeBundle;
@@ -715,7 +716,7 @@ public class AboutPopup {
{
init();
setAutoAdjustable(false);
setOKButtonText("Close");
setOKButtonText(CommonBundle.message("close.action.name"));
}
@Override

View File

@@ -1153,6 +1153,7 @@ action.CheckForUpdate.description=Checks for available IDE and plugin updates
action.CheckForUpdate.description.plugins=Checks for available plugin updates
action.About.text=_About
action.About.description=Show information about the IDE
action.About.description.specialized=Show information about {0}
group.OtherMenu.text=Other
group.OtherMenu.description=Actions that are not properly registered
group.MainToolBar.text=Main Toolbar