i18n for plugins configurable

GitOrigin-RevId: 03b29e32c81bbb12c2732cf228b6112070fd80c0
This commit is contained in:
Sergey Ignatov
2020-01-30 13:05:15 +00:00
committed by intellij-monorepo-bot
parent 55ae729f54
commit 8a8c3cf942
2 changed files with 4 additions and 1 deletions
@@ -1,6 +1,7 @@
// Copyright 2000-2018 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.plugins.newui;
import com.intellij.ide.IdeBundle;
import com.intellij.ide.plugins.IdeaPluginDescriptor;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.ui.components.labels.LinkLabel;
@@ -65,7 +66,7 @@ public class PluginsGroup {
}
public void titleWithCount(int enabled) {
title = myTitlePrefix + " (" + enabled + " of " + descriptors.size() + " enabled)";
title = IdeBundle.message("plugins.configurable.title.with.count", myTitlePrefix, enabled, descriptors.size());
updateTitle();
}
@@ -1801,6 +1801,8 @@ plugins.configurable.license.is.active.until.0=License is active until {0}.
plugins.configurable.license.expires.in.0.days=License expires in {0} days.
plugins.configurable.license.expired=License expired.
plugins.configurable.license.is.active=License is active.
plugins.configurable.title.with.count={0} ({1} of {2} enabled)
trial.expired=Trial expired.
plugins.configurable.buy.the.plugin.from.0=buy the plugin from {0}
plugins.configurable.buy.the.plugin=buy the plugin