Browse Source
Introduced a function to process and replace certain escaped symbols like '\n', '\t', and '\uXXXX' in the strings extracted from compose string resources.release/1.6.0-beta02 v1.6.0-beta02
Konstantin
10 months ago
committed by
GitHub
3 changed files with 49 additions and 11 deletions
@ -1,13 +1,12 @@
|
||||
<resources> |
||||
<string name="app_name">Compose Resources App</string> |
||||
<string name="hello">😊 Hello world!</string> |
||||
<string name="multi_line">Lorem ipsum dolor sit amet, |
||||
consectetur adipiscing elit. |
||||
Donec eget turpis ac sem ultricies consequat.</string> |
||||
<string name="str_template">Hello, %1$s! You have %2$d new messages.</string> |
||||
<string name="multi_line">Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit. |
||||
Donec eget turpis ac sem ultricies consequat.</string> |
||||
<string name="str_template">Hello, %1$s!\nYou have %2$d new messages.</string> |
||||
<string-array name="str_arr"> |
||||
<item>item 1</item> |
||||
<item>item 2</item> |
||||
<item>item 3</item> |
||||
<item>item \u2605</item> |
||||
<item>item \u2318</item> |
||||
<item>item \u00BD</item> |
||||
</string-array> |
||||
</resources> |
||||
|
Loading…
Reference in new issue