mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-75367: Rename "Attach Files..." button for library creation so it is obvious that directories can also be attached
This commit is contained in:
+1
-1
@@ -146,7 +146,7 @@ public class CreateModuleLibraryChooser implements ClasspathElementChooser<Libra
|
||||
}
|
||||
chooserDescriptor.putUserData(LangDataKeys.MODULE_CONTEXT, myModule);
|
||||
|
||||
final VirtualFile[] files = FileChooser.chooseFiles(myParentComponent, chooserDescriptor);
|
||||
final VirtualFile[] files = FileChooser.chooseFiles(myParentComponent, chooserDescriptor, myModule.getProject().getBaseDir());
|
||||
if (files.length == 0) return Collections.emptyList();
|
||||
|
||||
List<LibraryRootsComponentDescriptor> suitableDescriptors = new ArrayList<LibraryRootsComponentDescriptor>();
|
||||
|
||||
@@ -143,9 +143,9 @@ module.libraries.attach.more.button=Attach &More...
|
||||
attach.annotations.button=Attach Anno&tations...
|
||||
module.libraries.add.button=&Add Library...
|
||||
|
||||
button.text.attach.files=Attach &Files...
|
||||
library.attach.files.action=Attach Files
|
||||
library.attach.files.to.library.action=Attach Files to Library \"{0}\"
|
||||
button.text.attach.files=Attach &Files or Directories...
|
||||
library.attach.files.action=Attach Files or Directories
|
||||
library.attach.files.to.library.action=Attach Files or Directories to Library \"{0}\"
|
||||
library.attach.files.description=Select files or directories in which library classes, sources and documentation are located
|
||||
|
||||
library.sources.not.found=Sources not found
|
||||
@@ -190,7 +190,7 @@ library.name.not.specified.title=Library Name Not Specified
|
||||
library.name.already.exists.error=Library \"{0}\" already exists
|
||||
library.name.already.exists.title=Library Already Exists
|
||||
classpath.add.new.library.action=New Library...
|
||||
classpath.add.simple.module.library.action=Files...
|
||||
classpath.add.simple.module.library.action=Jars or directories...
|
||||
classpath.add.library.action=Library...
|
||||
classpath.add.module.dependency.action=Module Dependency...
|
||||
classpath.chooser.title.add.module.dependency=Choose Modules
|
||||
|
||||
Reference in New Issue
Block a user