Name the Preferences category Plug-ins & Scratch Disks

Fixes #3410
This commit is contained in:
Dennis Klappe
2026-10-22 14:01:18 +07:00
committed by bflatastic
parent 6ee357a6d4
commit b11b41d5f3
29 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ fn reload(s: &mut Session, p: &Value) -> Result<Value> {
None => s.prefs.plugins_folder.trim().to_string(),
};
if folder.is_empty() {
return Err(bad(C, "no folder: pass `path` or set Preferences › Storage › Additional Plug-ins Folder"));
return Err(bad(C, "no folder: pass `path` or set Preferences › Plug-ins & Scratch Disks › Additional Plug-ins Folder"));
}
let report = load_folder(&folder);
if let Some(e) = report.get("error").and_then(Value::as_str) {
+6 -6
View File
@@ -49,7 +49,7 @@ pub struct PrefSpec {
pub kind: PrefKind,
}
/// Categories in Illustrator's order (Plug-ins & Scratch Disks is "Storage" here).
/// Categories in Illustrator's order.
pub const PREF_CATEGORIES: &[&str] = &[
"General",
"Selection & Anchor Display",
@@ -59,7 +59,7 @@ pub const PREF_CATEGORIES: &[&str] = &[
"Smart Guides",
"Slices",
"Hyphenation",
"Storage",
"Plug-ins & Scratch Disks",
"User Interface",
"Performance",
"File Handling",
@@ -256,10 +256,10 @@ pub const PREF_SPECS: &[PrefSpec] = &[
])
),
p!("hyphenationExceptions", "Hyphenation", "", "Exceptions (comma separated)", text),
// Storage
p!("pluginsFolder", "Storage", "Plug-ins", "Additional Plug-ins Folder", text),
p!("scratchPrimary", "Storage", "Scratch Disks", "Primary", text),
p!("scratchSecondary", "Storage", "Scratch Disks", "Secondary", text),
// Plug-ins & Scratch Disks
p!("pluginsFolder", "Plug-ins & Scratch Disks", "Plug-ins", "Additional Plug-ins Folder", text),
p!("scratchPrimary", "Plug-ins & Scratch Disks", "Scratch Disks", "Primary", text),
p!("scratchSecondary", "Plug-ins & Scratch Disks", "Scratch Disks", "Secondary", text),
// User Interface
p!(
"uiBrightness",