mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
IDEA-305396 Not localized: Settings | Version Control | Subversion | Network | Edit Network Options...: the predefined "global" looks not localized
GitOrigin-RevId: 65712bc51faf6bbad7403dc158bddec97c37d794
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9dfad093f0
commit
1bca4b4145
@@ -891,4 +891,5 @@ error.svn.status.not.in.working.copy=Status requested not in working copy: {0}
|
||||
toolwindow.working.copies.info.title=Subversion Working Copies Information
|
||||
svn.short.name.with.mnemonic=_SVN
|
||||
svn.name.with.mnemonic=_Subversion
|
||||
notification.group.svn.roots=Subversion root detection failed
|
||||
notification.group.svn.roots=Subversion root detection failed
|
||||
global.group=global
|
||||
@@ -1,6 +1,9 @@
|
||||
// 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 org.jetbrains.idea.svn.config;
|
||||
|
||||
import org.jetbrains.annotations.Nls;
|
||||
import org.jetbrains.idea.svn.SvnBundle;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import static org.jetbrains.idea.svn.config.ServersFileKeys.GLOBAL_SERVER_GROUP;
|
||||
@@ -11,6 +14,11 @@ public class DefaultProxyGroup extends ProxyGroup {
|
||||
super(GLOBAL_SERVER_GROUP, "", properties);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nls String getDisplayName() {
|
||||
return GLOBAL_SERVER_GROUP.equals(getName()) ? SvnBundle.message("global.group") : getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDefault() {
|
||||
return true;
|
||||
|
||||
@@ -48,7 +48,7 @@ public class GroupConfigurable extends NamedConfigurable<ProxyGroup> {
|
||||
|
||||
@Override
|
||||
public String getDisplayName() {
|
||||
return myProxyGroup.getName();
|
||||
return myProxyGroup.getDisplayName();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
package org.jetbrains.idea.svn.config;
|
||||
|
||||
import com.intellij.openapi.util.NlsSafe;
|
||||
import org.jetbrains.annotations.Nls;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
@@ -36,6 +37,10 @@ public class ProxyGroup {
|
||||
return myGroupName;
|
||||
}
|
||||
|
||||
public @Nls String getDisplayName() {
|
||||
return getName();
|
||||
}
|
||||
|
||||
public String getPort() {
|
||||
return myProperties.get(ServersFileKeys.PORT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user