config: clarify plugin conflict list

people thought that `Conflicts with GPU` meant that their hardware was
unsupported, not that the plugins are mutually exclusive
This commit is contained in:
Max Weber
2021-09-14 08:04:40 -06:00
parent 82ff2e6d12
commit 639765d8e8

View File

@@ -73,13 +73,13 @@ class PluginToggleButton extends JToggleButton
{ {
if (conflicts != null && !conflicts.isEmpty()) if (conflicts != null && !conflicts.isEmpty())
{ {
StringBuilder sb = new StringBuilder("<br>Conflicts with "); StringBuilder sb = new StringBuilder("<br>Plugin conflicts: ");
for (int i = 0; i < conflicts.size() - 2; i++) for (int i = 0; i < conflicts.size() - 2; i++)
{ {
sb.append(conflicts.get(i)); sb.append(conflicts.get(i));
sb.append(", "); sb.append(", ");
} }
if (conflicts.size() > 2) if (conflicts.size() >= 2)
{ {
sb.append(conflicts.get(conflicts.size() - 2)); sb.append(conflicts.get(conflicts.size() - 2));
sb.append(" and "); sb.append(" and ");