mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-04 19:25:27 -07:00
Bugfix in the android app for Chinese which was causing the first character in the translation to disappear
This commit is contained in:
1 parent
6fff2def39
commit
8e39c1f622
1 file changed
+1
-1
@@ -240,7 +240,7 @@ public class Translator {
|
||||
}
|
||||
|
||||
private static String implode(String s) {
|
||||
return s.replaceAll("\\s","");
|
||||
return s.replaceAll("(?<!^[%*+])\\s","");
|
||||
}
|
||||
|
||||
private String translateWord(String input) {
|
||||
|
||||
Reference in new issue
Block a user