mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
dependencies editor: show more detailed text for unnamed module libraries composed of several files (IDEA-154044)
This commit is contained in:
@@ -110,7 +110,8 @@ public class OrderEntryAppearanceServiceImpl extends OrderEntryAppearanceService
|
||||
}
|
||||
|
||||
final String url = StringUtil.trimEnd(files[0], JarFileSystem.JAR_SEPARATOR);
|
||||
return SimpleTextCellAppearance.regular(PathUtil.getFileName(url), PlatformIcons.LIBRARY_ICON);
|
||||
String text = ProjectBundle.message("library.unnamed.text", PathUtil.getFileName(url), files.length - 1);
|
||||
return SimpleTextCellAppearance.regular(text, PlatformIcons.LIBRARY_ICON);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
@@ -198,6 +198,7 @@ library.sources.node=Sources
|
||||
project.order.entry.project=<Project>
|
||||
jdk.missing.item=<No SDK>
|
||||
library.empty.library.item=Empty Library
|
||||
library.unnamed.text={0} and {1, choice, 1#one more file|2#{1} more files}
|
||||
module.type.java.name=Java Module
|
||||
module.type.java.description=Java modules are used for developing <b>JVM-based</b> desktop and web applications, including applications that use <b>Java EE</b> and other enterprise development frameworks.
|
||||
module.type.unknown.name=Unknown module type. Used \"{0}\" as a substitute
|
||||
|
||||
Reference in New Issue
Block a user