mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +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
|
||||
private static String fixCrowdin(final String s) {
|
||||
return s.replace("\\''", "$$$$$")
|
||||
.replace("''", "'")
|
||||
.replace("$$$$$", "''");
|
||||
return s.replace("''", "'");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user