forked from detain/skyscraper
-
Notifications
You must be signed in to change notification settings - Fork 27
For Pegasus Frontend change description colons to MODIFIER LETTER COLON #208
Copy link
Copy link
Closed
Description
The Pegasus Frontend doesn't like colons in the descriptions and you've got them changed to periods. The utf-8 character MODIFIER LETTER COLON (a789) is visually similar and seems like a nicer substitution.
I modified mine with the following:
--- src/pegasus.cpp.old 2026-01-05 00:37:32.190328383 -0330
+++ src/pegasus.cpp 2026-01-05 00:54:40.425687622 -0330
@@ -365,11 +365,10 @@
// PENDING: use sliced() instead of mid() when Qt5
// is no longer supported (ie. RetroPie moved away from Buster)
ctxStr = ctxStr % value.mid(begin, end - begin) % endStr;
- value.replace(idx, 1, ".");
+ value.replace(idx, 1, "꞉");
qWarning() << QString(
"Description of '%1' contains a colon (:) at '%2', "
- "Skyscraper replaced it with '.'. Consider "
- "editing the description to remediate this warning.")
+ "Skyscraper replaced it with '꞉' UTF-8 MODIFIED LETTER COLON.")
.arg(gameTitle)
.arg(ctxStr);
idx = value.indexOf(':');
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels