Skip to content
This repository has been archived by the owner on Jan 23, 2019. It is now read-only.

Bug: Issue with strings.xml that contain \n for newline #208

Closed
NotSoImportant opened this issue Apr 27, 2018 · 4 comments
Closed

Bug: Issue with strings.xml that contain \n for newline #208

NotSoImportant opened this issue Apr 27, 2018 · 4 comments

Comments

@NotSoImportant
Copy link
Contributor

NotSoImportant commented Apr 27, 2018

Stringlate changes entries that contain the sequence "\n" to separate lines.
Example:

-    <string name="unableToReadDictionaryDir">Fehler beim Lesen des Wörterbuch Verzeichnis: \n%1$s\n\nAndroid externer Speicher Verzeichnis: \n%2$s</string>
+    <string name="unableToReadDictionaryDir">Fehler beim Lesen des Wörterbuch Verzeichnis: \n
+  %1$s\n
+  \n
+  Android externer Speicher Verzeichnis: \n
+  %2$s</string>
@Lonami
Copy link
Member

Lonami commented Apr 27, 2018

This is done for readability purposes (when reading the .xml file), and it should have no effect in the final translation.

@NotSoImportant
Copy link
Contributor Author

Actually it was included in my final pull request

@Lonami
Copy link
Member

Lonami commented Apr 27, 2018

Yes, it's done for readability purposes in the .xml file, so when you export the result, it's added, so it can be easily read.

@NotSoImportant
Copy link
Contributor Author

see several issues, just mentioned here:
rdoeffinger/Dictionary@6cb63df

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants