mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
i18n for sh plugin
GitOrigin-RevId: 9840905b275bbf2339ba70201286894e45c554fe
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b169c23ef0
commit
4e43a048bf
@@ -36,6 +36,11 @@ sh.suppress.inspection=Suppress {0}
|
||||
sh.title.case=Shell Script
|
||||
sh.unnamed.element.presentable.name=<unnamed>
|
||||
|
||||
sh.label.download.shfmt.formatter=Download Shfmt Formatter
|
||||
sh.label.choose.interpreter=Choose Interpreter
|
||||
sh.label.choose.script.working.directory=Choose Script Working Directory
|
||||
sh.label.choose.shell.script=Choose Shell Script
|
||||
|
||||
action.ShGenerateUntilLoop.text=Until Loop
|
||||
action.ShGenerateUntilLoop.description=Creates until loop
|
||||
action.ShGenerateWhileLoop.text=While Loop
|
||||
|
||||
@@ -13,6 +13,7 @@ import com.intellij.openapi.util.Pair;
|
||||
import com.intellij.openapi.util.SystemInfo;
|
||||
import com.intellij.openapi.util.io.FileUtil;
|
||||
import com.intellij.psi.codeStyle.CodeStyleSettings;
|
||||
import com.intellij.sh.ShBundle;
|
||||
import com.intellij.sh.ShLanguage;
|
||||
import com.intellij.sh.settings.ShSettings;
|
||||
import com.intellij.sh.statistics.ShFeatureUsagesCollector;
|
||||
@@ -76,7 +77,7 @@ public class ShShfmtFormatterUtil {
|
||||
DownloadableFileDescription description = service.createFileDescription(getShfmtDistributionLink(), downloadName);
|
||||
FileDownloader downloader = service.createDownloader(Collections.singletonList(description), downloadName);
|
||||
|
||||
Task.Backgroundable task = new Task.Backgroundable(project, "Download Shfmt Formatter") {
|
||||
Task.Backgroundable task = new Task.Backgroundable(project, ShBundle.message("sh.label.download.shfmt.formatter")) {
|
||||
@Override
|
||||
public void run(@NotNull ProgressIndicator indicator) {
|
||||
try {
|
||||
|
||||
@@ -6,6 +6,7 @@ import com.intellij.openapi.options.ConfigurationException;
|
||||
import com.intellij.openapi.options.SettingsEditor;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.ui.TextFieldWithBrowseButton;
|
||||
import com.intellij.sh.ShBundle;
|
||||
import com.intellij.ui.RawCommandLineEditor;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@@ -20,9 +21,9 @@ public class ShRunConfigurationEditor extends SettingsEditor<ShRunConfiguration>
|
||||
private RawCommandLineEditor myInterpreterOptions;
|
||||
|
||||
ShRunConfigurationEditor(Project project) {
|
||||
myScriptSelector.addBrowseFolderListener("Choose Shell Script", "", project, FileChooserDescriptorFactory.createSingleFileDescriptor());
|
||||
myScriptWorkingDirectory.addBrowseFolderListener("Choose Script Working Directory", "", project, FileChooserDescriptorFactory.createSingleFolderDescriptor());
|
||||
myInterpreterSelector.addBrowseFolderListener("Choose Interpreter", "", project, FileChooserDescriptorFactory.createSingleFileDescriptor());
|
||||
myScriptSelector.addBrowseFolderListener(ShBundle.message("sh.label.choose.shell.script"), "", project, FileChooserDescriptorFactory.createSingleFileDescriptor());
|
||||
myScriptWorkingDirectory.addBrowseFolderListener(ShBundle.message("sh.label.choose.script.working.directory"), "", project, FileChooserDescriptorFactory.createSingleFolderDescriptor());
|
||||
myInterpreterSelector.addBrowseFolderListener(ShBundle.message("sh.label.choose.interpreter"), "", project, FileChooserDescriptorFactory.createSingleFileDescriptor());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user