[ui] "create desktop entry" localization warnings

GitOrigin-RevId: 0fe2ec1d84a5cfc9994c4ffdcff69e5e250431df
This commit is contained in:
Roman Shevchenko
2020-06-10 21:21:19 +03:00
committed by intellij-monorepo-bot
parent 72e4a1ea3e
commit 9969730503
3 changed files with 7 additions and 4 deletions
@@ -619,12 +619,14 @@ launcher.script.sudo.prompt=Please enter your password to create a launcher scri
launcher.script.progress=Creating launcher script...
desktop.entry.title=Create Desktop Entry
desktop.entry.system.wide=For all users (requires superuser privileges)
desktop.entry.success=You may now exit {0} and start it from the system menu.<br/> \
If a new menu entry is not shown, please restart your login session.
desktop.entry.xdg.missing=Unfortunately, xdg-utils seem to be unavailable on your system.
desktop.entry.icon.missing=Unable to locate suitable application icon in ''{0}''.
desktop.entry.script.missing=Unable to locate suitable startup script in ''{0}''.
desktop.entry.sudo.prompt=Please enter your password to create a desktop entry
desktop.entry.progress=Creating desktop entry...
watcher.slow.sync=External file changes sync may be slow
watcher.exe.not.found=Native file watcher executable not found
@@ -1,4 +1,4 @@
// 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.
// 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.ide.actions;
import com.intellij.execution.ExecutionException;
@@ -64,7 +64,7 @@ public class CreateDesktopEntryAction extends DumbAwareAction {
}
boolean globalEntry = dialog.myGlobalEntryCheckBox.isSelected();
new Task.Backgroundable(project, ApplicationBundle.message("desktop.entry.title")) {
new Task.Backgroundable(project, ApplicationBundle.message("desktop.entry.progress")) {
@Override
public void run(@NotNull ProgressIndicator indicator) {
try {
@@ -1,10 +1,11 @@
// 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.
// 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.ide.customize;
import com.intellij.ide.IdeBundle;
import com.intellij.ide.actions.CreateDesktopEntryAction;
import com.intellij.ide.plugins.PluginManagerCore;
import com.intellij.idea.ActionsBundle;
import com.intellij.openapi.application.ApplicationBundle;
import com.intellij.openapi.ui.Messages;
import com.intellij.openapi.util.EmptyRunnable;
import com.intellij.openapi.util.IconLoader;
@@ -24,7 +25,7 @@ public class CustomizeDesktopEntryStep extends AbstractCustomizeWizardStep {
}
private final JCheckBox myCreateEntryCheckBox = new JCheckBox(ActionsBundle.message("action.CreateDesktopEntry.description"));
private final JCheckBox myGlobalEntryCheckBox = new JCheckBox("For all users (requires superuser privileges)");
private final JCheckBox myGlobalEntryCheckBox = new JCheckBox(ApplicationBundle.message("desktop.entry.system.wide"));
public CustomizeDesktopEntryStep(String iconPath) {
setLayout(new BorderLayout());