PY-40431 i18n: Add non-python UI strings to bundles

GitOrigin-RevId: 90b88f80e0c8d1cb1c2ae3a016024c817d74271e
This commit is contained in:
Lada Gagina
2020-05-06 14:27:35 +03:00
committed by intellij-monorepo-bot
parent fa4d3287d5
commit b7fde6791b
6 changed files with 12 additions and 6 deletions

View File

@@ -508,6 +508,8 @@ 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
path.mapping.column.path.local=Local path
path.mapping.column.path.remote=Remote path
this.configuration.cannot.be.edited=This configuration cannot be edited
popup.title.choose.target.file=Choose Target File
dialog.title.unable.to.open.file=Unable to Open File

View File

@@ -29,7 +29,7 @@ final class PathMappingTable extends ListTableWithButtons<PathMappingSettings.Pa
@Override
protected ListTableModel createListModel() {
ColumnInfo local = new ElementsColumnInfoBase<PathMappingSettings.PathMapping>("Local path") {
ColumnInfo local = new ElementsColumnInfoBase<PathMappingSettings.PathMapping>(ExecutionBundle.message("path.mapping.column.path.local")) {
@Override
public String valueOf(PathMappingSettings.PathMapping pathMapping) {
return pathMapping.getLocalRoot();
@@ -55,7 +55,7 @@ final class PathMappingTable extends ListTableWithButtons<PathMappingSettings.Pa
}
};
ColumnInfo remote = new ElementsColumnInfoBase<PathMappingSettings.PathMapping>("Remote path") {
ColumnInfo remote = new ElementsColumnInfoBase<PathMappingSettings.PathMapping>(ExecutionBundle.message("path.mapping.column.path.remote")) {
@Override
public String valueOf(PathMappingSettings.PathMapping pathMapping) {
return pathMapping.getRemoteRoot();

View File

@@ -40,5 +40,7 @@ sm.test.runner.abstract.import.test.error.title=Import Failed
sm.test.runner.imported.to.general.failed.to.parse.error.title=Failed to Parse {0}
sm.test.runner.import.test.choose.test.file.title=Choose a File with Tests Result
sm.test.runner.import.test.group.history=Test History
sm.test.runner.import.test=Import Tests from File...
sm.test.runner.import.test.description=Import the results of a test execution from an XML file
sm.test.runner.import.test.group.open.recent.session=Open recent test session
sm.test.runner.results.form.save.test.results.title=Save Test Results

View File

@@ -14,8 +14,8 @@ import org.jetbrains.annotations.Nullable;
public class ImportTestsFromFileAction extends AbstractImportTestsAction {
public ImportTestsFromFileAction() {
super(null, "Import Tests from File...",
"Import the results of a test execution from an XML file",
super(null, SmRunnerBundle.message("sm.test.runner.import.test"),
SmRunnerBundle.message("sm.test.runner.import.test.description"),
AllIcons.ToolbarDecorator.Import);
}

View File

@@ -89,7 +89,7 @@ public final class RestRunConfigurationType implements ConfigurationType {
private static class DocutilsRunConfigurationFactory extends RestConfigurationFactory {
protected DocutilsRunConfigurationFactory(ConfigurationType type) {
super(type, "Docutils task", "Docutils task");
super(type, RestBundle.message("runcfg.docutils.docutils.task"), "Docutils task");
}
@Override
@@ -101,7 +101,7 @@ public final class RestRunConfigurationType implements ConfigurationType {
private static class SphinxRunConfigurationFactory extends RestConfigurationFactory {
protected SphinxRunConfigurationFactory(ConfigurationType type) {
super(type, "Sphinx task", "Sphinx task");
super(type, RestBundle.message("runcfg.docutils.sphinx.task"), "Sphinx task");
}
@Override

View File

@@ -17,6 +17,8 @@ ANN.inline.block=Blank line is required after a literal block
### Run configurations ###
runcfg.docutils.display_name=Python docs
runcfg.docutils.description=Python documentation run configuration
runcfg.docutils.sphinx.task=Sphinx task
runcfg.docutils.docutils.task=Docutils task
runcfg.docutils.input=Input:
runcfg.docutils.output=Output:
runcfg.docutils.command=Command: