mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
bundle configurable display names
GitOrigin-RevId: 21c47ad923428d23c6f9dbf6d2aa3dbe3c88a76b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
021bd510ab
commit
c8f182b3f6
@@ -8,6 +8,7 @@ import com.intellij.credentialStore.keePass.DB_FILE_NAME
|
||||
import com.intellij.credentialStore.keePass.KeePassFileManager
|
||||
import com.intellij.credentialStore.keePass.MasterKeyFileStorage
|
||||
import com.intellij.credentialStore.keePass.getDefaultMasterPasswordFile
|
||||
import com.intellij.ide.IdeBundle
|
||||
import com.intellij.ide.passwordSafe.PasswordSafe
|
||||
import com.intellij.ide.passwordSafe.impl.PasswordSafeImpl
|
||||
import com.intellij.ide.passwordSafe.impl.createPersistentCredentialStore
|
||||
@@ -36,8 +37,8 @@ import javax.swing.JPanel
|
||||
import javax.swing.JRadioButton
|
||||
|
||||
internal class PasswordSafeConfigurable : ConfigurableBase<PasswordSafeConfigurableUi, PasswordSafeSettings>("application.passwordSafe",
|
||||
"Passwords",
|
||||
"reference.ide.settings.password.safe") {
|
||||
IdeBundle.message("password.safe.configurable"),
|
||||
"reference.ide.settings.password.safe") {
|
||||
private val settings = service<PasswordSafeSettings>()
|
||||
|
||||
override fun getSettings() = settings
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.intellij.util.net;
|
||||
|
||||
import com.intellij.ide.IdeBundle;
|
||||
import com.intellij.openapi.options.ConfigurableBase;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@@ -26,7 +27,7 @@ public class HttpProxyConfigurable extends ConfigurableBase<HttpProxySettingsUi,
|
||||
}
|
||||
|
||||
public HttpProxyConfigurable(@NotNull HttpConfigurable settings) {
|
||||
super("http.proxy", "HTTP Proxy", "http.proxy");
|
||||
super("http.proxy", IdeBundle.message("http.proxy.configurable"), "http.proxy");
|
||||
|
||||
this.settings = settings;
|
||||
}
|
||||
|
||||
@@ -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.gdpr;
|
||||
|
||||
import com.intellij.ide.IdeBundle;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.options.ConfigurableBase;
|
||||
import com.intellij.ui.AppUIUtil;
|
||||
@@ -13,7 +14,7 @@ public class ConsentConfigurable extends ConfigurableBase<ConsentSettingsUi, Lis
|
||||
private final List<Consent> myConsents;
|
||||
|
||||
public ConsentConfigurable() {
|
||||
super("consents", "Data Sharing", "preferences.usage.statistics");
|
||||
super("consents", IdeBundle.message("consent.configurable"), "preferences.usage.statistics");
|
||||
myConsents = new ArrayList<>(AppUIUtil.loadConsentsForEditing());
|
||||
}
|
||||
|
||||
|
||||
@@ -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.
|
||||
package com.intellij.ide.ui.text;
|
||||
|
||||
import com.intellij.ide.IdeBundle;
|
||||
import com.intellij.openapi.options.ConfigurableBase;
|
||||
import com.intellij.util.text.DateTimeFormatManager;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -10,7 +11,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
*/
|
||||
public class DateTimeFormatConfigurable extends ConfigurableBase<DateTimeFormatConfigurableUi, DateTimeFormatManager> {
|
||||
protected DateTimeFormatConfigurable() {
|
||||
super("ide.date.format", "Date Formats", null);
|
||||
super("ide.date.format", IdeBundle.message("date.time.format.configurable"), null);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.intellij.openapi.keymap.impl.ui;
|
||||
|
||||
import com.intellij.ide.IdeBundle;
|
||||
import com.intellij.openapi.actionSystem.ex.QuickList;
|
||||
import com.intellij.openapi.actionSystem.ex.QuickListsManager;
|
||||
import com.intellij.openapi.options.ConfigurableBase;
|
||||
@@ -24,7 +25,7 @@ import java.util.List;
|
||||
|
||||
public class QuickListsPanel extends ConfigurableBase<QuickListsUi, List<QuickList>> {
|
||||
public QuickListsPanel() {
|
||||
super("reference.idesettings.quicklists", "Quick Lists", "reference.idesettings.quicklists");
|
||||
super("reference.idesettings.quicklists", IdeBundle.message("quick.lists.presentable.name"), "reference.idesettings.quicklists");
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
@@ -1410,4 +1410,9 @@ copy.reference=Cop&y Reference
|
||||
configurable.file.colors=File Colors
|
||||
configurable.font.name=Font
|
||||
configurable.notifications.name=Notifications
|
||||
configurable.quick.lists.name=Quick Lists
|
||||
configurable.quick.lists.name=Quick Lists
|
||||
|
||||
password.safe.configurable=Passwords
|
||||
http.proxy.configurable=HTTP Proxy
|
||||
consent.configurable=Data Sharing
|
||||
date.time.format.configurable=Date Formats
|
||||
@@ -283,6 +283,7 @@ commit.dialog.changelist.label=Changelis&t:
|
||||
commit.dialog.changed.files.label=Changed &Files
|
||||
commit.dialog.partial.commit.warning.title=Partial Commit Is Not Supported
|
||||
commit.dialog.partial.commit.warning.body=Partial commit is not supported for ''{0}''.\nAll changes in the selected files will be committed.
|
||||
commit.dialog.configurable=Commit Dialog
|
||||
commit.wait.util.synced.message=Please wait until VCS synchronization is finished.
|
||||
commit.wait.util.synced.title=Finishing VCS refresh
|
||||
change.list.manager.wait.lists.synchronization={0}: Local Changes Refresh
|
||||
|
||||
+2
-2
@@ -17,6 +17,7 @@ package com.intellij.openapi.vcs.configurable;
|
||||
|
||||
import com.intellij.openapi.options.ConfigurableBase;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.vcs.VcsBundle;
|
||||
import com.intellij.openapi.vcs.VcsConfiguration;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -24,13 +25,12 @@ import org.jetbrains.annotations.NotNull;
|
||||
public class CommitDialogConfigurable extends ConfigurableBase<CommitDialogSettingsPanel, VcsConfiguration> {
|
||||
|
||||
public static final String ID = "project.propVCSSupport.CommitDialog";
|
||||
public static final String DISPLAY_NAME = "Commit Dialog";
|
||||
@NonNls private static final String HELP_ID = "reference.settings.VCS.CommitDialog";
|
||||
|
||||
@NotNull private final Project myProject;
|
||||
|
||||
public CommitDialogConfigurable(@NotNull Project project) {
|
||||
super(ID, DISPLAY_NAME, HELP_ID);
|
||||
super(ID, VcsBundle.message("commit.dialog.configurable"), HELP_ID);
|
||||
myProject = project;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user