Update Chinese#13
Conversation
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis pull request adds Simplified Chinese (zh_CN) localization by translating README.md to Chinese, updating Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ 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: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@addon.xml`:
- Line 16: Replace the incorrect phrase "återuppspela punkten" in the addon
metadata string with the correct Swedish term used elsewhere (e.g.
"återupptagningspunkten" or "återupptagningspunkt") so the sentence reads
consistently as "resume point"; locate the phrase in the metadata block (the
text containing "Körs som en tjänst...") and update only that token to match the
project's existing Swedish PO wording.
In `@README.md`:
- Line 9: Update the README sentence describing the optional autoplay feature to
preserve the original condition from the localized setting: say the random
autoplay occurs "if nothing is playing" (or similar phrasing) rather than
unconditionally "at startup", so replace the current sentence about triggering
random playback at startup with one that specifies it only happens when nothing
is already playing.
In `@resources/language/resource.language.zh_cn/strings.po`:
- Around line 17-18: The PO header incorrectly declares "Language: zh" and
English plural rules; update the header in resource.language.zh_cn strings.po by
replacing the "Language: zh" entry with "Language: zh_CN" and change the
"Plural-Forms: nplurals=2; plural=(n != 1)" entry to "Plural-Forms: nplurals=1;
plural=0;" so the file uses the correct Simplified Chinese locale and
single-plural rule.
🪄 Autofix (Beta)
❌ Autofix failed (check again to retry)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: b4ffb7e6-6f05-449c-a023-fc040d95ccbe
📒 Files selected for processing (3)
README.mdaddon.xmlresources/language/resource.language.zh_cn/strings.po
| Runs as a service and will periodically update the resume point while videos are playing, so you can re-start from where you were in the event of a crash. It can also automatically resume a video if Kodi was shutdown while playing it. See setting to configure how often the resume point is set, and whether to automatically resume. | ||
| </description> | ||
| <description lang="sv_SE"> | ||
| Körs som en tjänst och uppdaterar regelbundet återuppspelningspunkten vid spelning medan videor spelas upp, så att du kan starta om från där du var i händelse av ett krascher. Den kan också automatiskt återuppspela en video om Kodi stängdes av vid spelning. Se inställningarna för att konfigurera hur ofta återuppspela punkten ska ställas in och om den ska återuppspelas automatiskt. |
There was a problem hiding this comment.
Fix the Swedish resume-point typo introduced in the metadata block.
Line 16 says återuppspela punkten, which reads like “replay the point” rather than “resume point” and is inconsistent with the existing Swedish PO wording.
📝 Minimal wording fix
- Körs som en tjänst och uppdaterar regelbundet återuppspelningspunkten vid spelning medan videor spelas upp, så att du kan starta om från där du var i händelse av ett krascher. Den kan också automatiskt återuppspela en video om Kodi stängdes av vid spelning. Se inställningarna för att konfigurera hur ofta återuppspela punkten ska ställas in och om den ska återuppspelas automatiskt.
+ Körs som en tjänst och uppdaterar regelbundet återuppspelningspunkten vid spelning medan videor spelas upp, så att du kan starta om från där du var i händelse av ett krascher. Den kan också automatiskt återuppspela en video om Kodi stängdes av vid spelning. Se inställningarna för att konfigurera hur ofta återuppspelningspunkten ska ställas in och om den ska återuppspelas automatiskt.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@addon.xml` at line 16, Replace the incorrect phrase "återuppspela punkten" in
the addon metadata string with the correct Swedish term used elsewhere (e.g.
"återupptagningspunkten" or "återupptagningspunkt") so the sentence reads
consistently as "resume point"; locate the phrase in the metadata block (the
text containing "Körs som en tjänst...") and update only that token to match the
project's existing Swedish PO wording.
|
Are you planning on attending to the CodeRabbit changes? At least for the Chinese side of things. I'm not qualified! Or are least let me know it's wrong/ok to ignore... |
|
Corrected, and verified to be correct.
|
|
Note Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it. The branch was updated while autofix was in progress. Please try again. |
|
Thank you! |
Summary by CodeRabbit