mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
[i18n] internationalize strings in platform.lang module
GitOrigin-RevId: 13a938e084ca215b2feceed9d1a6e882d1e7214c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
624ea817e5
commit
d5a4accfd7
@@ -507,4 +507,6 @@ scope.option.uncommitted.files.all.changelists.choice=All
|
||||
specify.analysis.scope=Specify {0} Scope
|
||||
scope.option.include.test.sources=Include &test sources
|
||||
package.dependencies.library.node.text=Library Classes
|
||||
template.context.everywhere=Everywhere
|
||||
intention.family.convert.number=Convert number
|
||||
|
||||
|
||||
@@ -485,4 +485,10 @@ insert.macros=Insert Macros
|
||||
don.t.ask.again=Don't ask again
|
||||
are.you.sure.you.want.to.delete.0=Are you sure you want to delete {0}?
|
||||
select.next.tab=Select Next Tab
|
||||
select.previous.tab=Select Previous Tab
|
||||
select.previous.tab=Select Previous Tab
|
||||
empty.text.no.variables=No variables
|
||||
message.cannot.find.file.0=Cannot find file {0}
|
||||
dialog.title.edit.path.mappings=Edit Path Mappings
|
||||
label.path.mappings=Path mappings:
|
||||
empty.text.no.mappings=No mappings
|
||||
this.configuration.cannot.be.edited=This configuration cannot be edited
|
||||
@@ -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.codeInsight.intention.numeric;
|
||||
|
||||
import com.intellij.codeInsight.CodeInsightBundle;
|
||||
import com.intellij.codeInsight.intention.IntentionAction;
|
||||
import com.intellij.openapi.command.WriteCommandAction;
|
||||
import com.intellij.openapi.editor.Editor;
|
||||
@@ -37,7 +38,7 @@ public abstract class AbstractNumberConversionIntention implements IntentionActi
|
||||
@NotNull
|
||||
@Override
|
||||
public String getFamilyName() {
|
||||
return "Convert number";
|
||||
return CodeInsightBundle.message("intention.family.convert.number");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
package com.intellij.codeInsight.template;
|
||||
|
||||
import com.intellij.codeInsight.CodeInsightBundle;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@@ -24,7 +25,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
*/
|
||||
public class EverywhereContextType extends TemplateContextType {
|
||||
public EverywhereContextType() {
|
||||
super("OTHER", "Everywhere", null);
|
||||
super("OTHER", CodeInsightBundle.message("template.context.everywhere"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -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.execution.configurations;
|
||||
|
||||
import com.intellij.execution.ExecutionBundle;
|
||||
import com.intellij.execution.ExecutionException;
|
||||
import com.intellij.execution.Executor;
|
||||
import com.intellij.execution.runners.ExecutionEnvironment;
|
||||
@@ -127,7 +128,7 @@ public final class UnknownRunConfiguration implements RunConfiguration, WithoutO
|
||||
myPanel = new JPanel();
|
||||
myPanel.setBorder(BorderFactory.createEmptyBorder(0, 0, 50, 0));
|
||||
|
||||
myPanel.add(new JLabel("This configuration cannot be edited", SwingConstants.CENTER));
|
||||
myPanel.add(new JLabel(ExecutionBundle.message("this.configuration.cannot.be.edited"), SwingConstants.CENTER));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.intellij.execution.filters;
|
||||
|
||||
import com.intellij.execution.ExecutionBundle;
|
||||
import com.intellij.ide.IdeBundle;
|
||||
import com.intellij.openapi.fileEditor.OpenFileDescriptor;
|
||||
import com.intellij.openapi.project.DumbAware;
|
||||
@@ -107,7 +108,7 @@ public class UrlFilter implements Filter, DumbAware {
|
||||
public OpenFileDescriptor getDescriptor() {
|
||||
OpenFileDescriptor descriptor = super.getDescriptor();
|
||||
if (descriptor == null) {
|
||||
Messages.showErrorDialog(myProject, "Cannot find file " + StringUtil.trimMiddle(url, 150),
|
||||
Messages.showErrorDialog(myProject, ExecutionBundle.message("message.cannot.find.file.0", StringUtil.trimMiddle(url, 150)),
|
||||
IdeBundle.message("title.cannot.open.file"));
|
||||
}
|
||||
return descriptor;
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
package com.intellij.execution.util;
|
||||
|
||||
import com.intellij.execution.ExecutionBundle;
|
||||
import com.intellij.icons.AllIcons;
|
||||
import com.intellij.ide.CopyProvider;
|
||||
import com.intellij.ide.PasteProvider;
|
||||
@@ -48,7 +49,7 @@ public class EnvVariablesTable extends ListTableWithButtons<EnvironmentVariable>
|
||||
private boolean myPasteEnabled = false;
|
||||
|
||||
public EnvVariablesTable() {
|
||||
getTableView().getEmptyText().setText("No variables");
|
||||
getTableView().getEmptyText().setText(ExecutionBundle.message("empty.text.no.variables"));
|
||||
AnAction copyAction = ActionManager.getInstance().getAction(IdeActions.ACTION_COPY);
|
||||
if (copyAction != null) {
|
||||
copyAction.registerCustomShortcutSet(copyAction.getShortcutSet(), getTableView()); // no need to add in popup menu
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
package com.intellij.execution.util;
|
||||
|
||||
import com.intellij.execution.ExecutionBundle;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.util.PathMappingSettings;
|
||||
import com.intellij.util.ui.ColumnInfo;
|
||||
@@ -23,7 +24,7 @@ import com.intellij.util.ui.ListTableModel;
|
||||
|
||||
final class PathMappingTable extends ListTableWithButtons<PathMappingSettings.PathMapping> {
|
||||
PathMappingTable() {
|
||||
getTableView().getEmptyText().setText("No mappings");
|
||||
getTableView().getEmptyText().setText(ExecutionBundle.message("empty.text.no.mappings"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// 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.execution.util;
|
||||
|
||||
import com.intellij.execution.ExecutionBundle;
|
||||
import com.intellij.openapi.ui.DialogWrapper;
|
||||
import com.intellij.openapi.ui.LabeledComponent;
|
||||
import com.intellij.openapi.ui.TextFieldWithBrowseButton;
|
||||
@@ -30,7 +31,7 @@ public final class PathMappingsComponent extends LabeledComponent<TextFieldWithB
|
||||
final TextFieldWithBrowseButton pathTextField = new TextFieldWithBrowseButton();
|
||||
pathTextField.setEditable(false);
|
||||
setComponent(pathTextField);
|
||||
setText("Path mappings:");
|
||||
setText(ExecutionBundle.message("label.path.mappings"));
|
||||
getComponent().addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(final ActionEvent e) {
|
||||
@@ -101,7 +102,7 @@ public final class PathMappingsComponent extends LabeledComponent<TextFieldWithB
|
||||
|
||||
myPathMappingTable.setValues(mappingsComponent.getMappingSettings().getPathMappings());
|
||||
myWholePanel.add(myPathMappingTable.getComponent(), BorderLayout.CENTER);
|
||||
setTitle("Edit Path Mappings");
|
||||
setTitle(ExecutionBundle.message("dialog.title.edit.path.mappings"));
|
||||
init();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user