mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 11:50:54 +07:00
[i18n] AboutAction, AboutPopup
GitOrigin-RevId: 2451bbcc0be270516b51c1a24184d93f032bcd3a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
55f5a36815
commit
85c76ec616
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user