Wrong format for the empty Android string file
See original GitHub issueHi there!
as a followup for https://github.com/box/mojito/issues/546, after using the flag --inheritance-mode REMOVE_UNTRANSLATED
during pulling the string, I’m getting the following file (string.xml
) if the strings are not translated:
<?xml version="1.0" encoding="utf-8"?>
</resources>
Problem is here that opening tag <resource>
is missing.
Also, we need to have a copyright statement on the top of the file, is there any possibility to define a template for the pull?
Many thanks in advance!
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top Results From Across the Web
Format string XXX is not a valid format string so it should ...
This error will be shown if you have the same string in multiple string files (translations), but one of them doesn't have proper...
Read more >android:versionCode gets set to empty string causing ...
Expected behaviour is that the version number value provided in the project properties or in the original manifest file will be used in...
Read more >Improve your code with lint checks
The lint tool checks your Android project source files for potential bugs and optimization ... Change the severity of hardcoded strings to "error"...
Read more >String (Java Platform SE 8 )
Initializes a newly created String object so that it represents an empty character sequence. Note that use of this constructor is unnecessary since...
Read more >How to Handle the Unclosed String Literal Error in Java
Python unclosed string literal error refers to the Java compiler failing to interpret a string literal due to the missing of a double...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
the prolog is
<?xml version="1.0" encoding="utf-8"?>
. So I guess the copyright is missing for the same reason<resources>
is missing, it just got drop with the text unit that has no translation. I’ll try to have a look tonight.@jeeyi great! thank you for so fast replay and fix! 😻