Skip to content

Commit 2dda014

Browse files
NF: Test non-breaking spaces on crowdin
1 parent fd2d5c3 commit 2dda014

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

AnkiDroid/src/main/res/values/12-dont-translate.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,16 @@
1414
~ You should have received a copy of the GNU General Public License along with
1515
~ this program. If not, see <http://www.gnu.org/licenses/>.
1616
-->
17-
<!-- This contains strings that are used to test the translation process. They should not be used in actual code -->
17+
<!--
18+
This contains strings that are used to test the translation process.
19+
They should not be used in actual code.
20+
Those strings still appear as untranslated to crowdin translators.
21+
22+
If you want to use a string in your code that can't be translated, please use:
23+
24+
* constants.xml if the string must be a constant, such as the name of someone or a URL
25+
* hard coded string literals if the string should not be translated because it belongs to a feature in progress.
26+
-->
1827
<resources>
1928
<!--
2029
Adding or removing new line at the start/end of the string cause crowdin to require a new translation. Let's check if a comment before lead to a translation need!
@@ -26,5 +35,8 @@
2635
<string
2736
name="crowdin_test_string_do_not_translate"
2837
>In order to ensure this string is not shown as untranslated, translate it the way you want. Probably using a single letter, so that it\'s quick. This string will never appear in ankidroid and is present here only to test crowdin feature.</string>
38+
39+
<string name="crowding_test_non_breaking_space">This is a string with a non breakable-space using unicode.</string>
40+
<string name="crowding_test_160_space">This is a string with a non&#160;breakable-space using entity.</string>
2941
</resources>
3042

0 commit comments

Comments
 (0)