Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe player pause controls now use a dedicated ChangesPlayer pause localization
Priority: ➖ Normal Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix · Severity of issue fixed: Medium Suggested reviewers: Merge Risk: ⚪ Minimal · up to This localized pause-label change is mergeable with no identified production or integration risk. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 unsupported.)
✨ 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 |
Problem
The Pause label on the full player's play/pause button stays in English no matter what language the app is in, and it can't be found on Weblate either.
Cause
The button reads
R.string.pause, which only exists instrings.xml. That's the upstream InnerTune file and it isn't translated here, so no locale haspause.playsits right next to it and is translated everywhere, which is why only Pause shows up in English.Solution
Added
player_pausetometrolist_strings.xmland pointed the two uses inPlayer.ktat it.strings.xmlisn't touched.Testing
Built
assembleFossDebugand dumped the APK's resources with aapt2.player_pauseis in there with "Pause" as the default, andpausestill only has the English value, same as the bug. I didn't run it on a device since the only change is which string the label reads.I used an AI assistant while working on this.
Related Issues
Closes #4354
Closes #4375
Summary by CodeRabbit