Fix invalid unicode escape in Korean string resource#539
Conversation
|
No actionable comments were generated in the recent review. 🎉 📝 WalkthroughWalkthroughA single Korean string resource ( Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@app/src/main/res/values-ko/strings.xml`:
- Line 786: The string resource main_pending_operation_none contains a
double-escaped single quote (\\') causing an "Invalid unicode escape sequence"
build error; replace the double-escaped sequence with a single backslash escape
(\' ) so the literal apostrophe is properly escaped in the XML string. Locate
the <string name="main_pending_operation_none"> entry and change the escape from
\\ ' to \' ensuring it matches the other entries in this file that use \' for
single quotes.
There was a problem hiding this comment.
1 issue found across 1 file
Prompt for AI agents (all issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="app/src/main/res/values-ko/strings.xml">
<violation number="1" location="app/src/main/res/values-ko/strings.xml:786">
P2: Android string resources require apostrophes to be escaped as \' (or by wrapping the whole string in double quotes). Using \\' leaves an unescaped apostrophe and can trigger the “Apostrophe not preceded by \” error or render backslashes.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
1cb81f7 to
4067d03
Compare
Summary by cubic
Escape the apostrophes around 'none' in values-ko/strings.xml (main_pending_operation_none) to fix the aapt2 "invalid unicode escape" build error. This unblocks Android builds and keeps the intended quoted text in the Korean string.
Written for commit 4067d03. Summary will update on new commits.
Summary by CodeRabbit