Fix de_DE translation (#269)
* Fix escape symbols in translations Signed-off-by: Felix Kaechele <felix@kaechele.ca> * Update German translation Signed-off-by: Felix Kaechele <felix@kaechele.ca>
This commit is contained in:
committed by
Yuri Kuznetsov
parent
1955dff68e
commit
fd76459077
@@ -175,6 +175,7 @@ PO.prototype.replaceAll = function (string, find, replace) {
|
||||
}
|
||||
|
||||
PO.prototype.fixString = function (savedString) {
|
||||
savedString = this.replaceAll(savedString, "\\", '\\\\');
|
||||
savedString = this.replaceAll(savedString, '"', '\\"');
|
||||
savedString = this.replaceAll(savedString, "\n", '\\n');
|
||||
savedString = this.replaceAll(savedString, "\t", '\\t');
|
||||
|
||||
Reference in New Issue
Block a user