mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 14:38:49 +00:00
Simplify quote handling
This commit is contained in:
1 file changed
+1
-3
@@ -315,9 +315,7 @@ public final class CarbonMessageSource implements IMessageSource<Audience, Strin
|
|||||||
|
|
||||||
// Crowdin exports single quotes as double quotes
|
// Crowdin exports single quotes as double quotes
|
||||||
private static String fixCrowdin(final String s) {
|
private static String fixCrowdin(final String s) {
|
||||||
return s.replace("\\''", "$$$$$")
|
return s.replace("''", "'");
|
||||||
.replace("''", "'")
|
|
||||||
.replace("$$$$$", "''");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user