mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
i18n for plugins configurable
GitOrigin-RevId: 230c5dc43a612f20d3b80e4d72a41306a661d543
This commit is contained in:
committed by
intellij-monorepo-bot
parent
cfd0cf68b7
commit
e1193ed6e6
@@ -4,6 +4,7 @@ package com.intellij.ide.plugins;
|
||||
import com.intellij.icons.AllIcons;
|
||||
import com.intellij.ide.plugins.newui.ListPluginComponent;
|
||||
import com.intellij.ui.components.labels.LinkLabel;
|
||||
import org.jetbrains.annotations.Nls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -32,7 +33,7 @@ public class LinkPanel {
|
||||
return linkLabel;
|
||||
}
|
||||
|
||||
public void show(@NotNull String text, @Nullable Runnable linkCallback) {
|
||||
public void show(@NotNull @Nls String text, @Nullable Runnable linkCallback) {
|
||||
myRunnable = linkCallback;
|
||||
|
||||
if (linkCallback == null) {
|
||||
|
||||
+2
-2
@@ -445,8 +445,8 @@ public class PluginDetailsPageComponent extends MultiPanel {
|
||||
myHomePage.hide();
|
||||
}
|
||||
else {
|
||||
myHomePage.show("Plugin homepage", () -> BrowserUtil.browse("https://plugins.jetbrains.com/plugin/index?xmlId=" +
|
||||
URLUtil.encodeURIComponent(myPlugin.getPluginId().getIdString())));
|
||||
myHomePage.show(IdeBundle.message("plugins.configurable.plugin.homepage.link"), () -> BrowserUtil.browse("https://plugins.jetbrains.com/plugin/index?xmlId=" +
|
||||
URLUtil.encodeURIComponent(myPlugin.getPluginId().getIdString())));
|
||||
}
|
||||
|
||||
String date = PluginManagerConfigurable.getLastUpdatedDate(myUpdateDescriptor == null ? myPlugin : myUpdateDescriptor);
|
||||
|
||||
@@ -1791,4 +1791,5 @@ plugins.configurable.size.0=Size: {0}
|
||||
plugins.configurable.plugin.details=Select plugin to preview details
|
||||
plugins.configurable.one.plugin.details=Select one plugin to preview plugin details.
|
||||
plugins.configurable.several.plugins=Several plugins selected.
|
||||
plugins.configurable.uninstall=Uninstall
|
||||
plugins.configurable.uninstall=Uninstall
|
||||
plugins.configurable.plugin.homepage.link=Plugin homepage
|
||||
Reference in New Issue
Block a user