Conversation
Added Italian localization for application messages.
WalkthroughA new Italian localization resource file ( Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ 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: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
messages/it.json(1 hunks)
🧰 Additional context used
🧠 Learnings (3)
📓 Common learnings
Learnt from: CR
Repo: panteLx/BetterShift PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-12-04T19:12:37.208Z
Learning: Applies to messages/{de,en}.json : All translations for new features must be added to both `messages/de.json` and `messages/en.json`
Learnt from: CR
Repo: panteLx/BetterShift PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-12-04T19:12:37.208Z
Learning: Applies to **/*.tsx : Use `useTranslations()` from next-intl for all user-facing text and load translations from `messages/{de,en}.json`
📚 Learning: 2025-12-04T19:12:37.208Z
Learnt from: CR
Repo: panteLx/BetterShift PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-12-04T19:12:37.208Z
Learning: Applies to messages/{de,en}.json : All translations for new features must be added to both `messages/de.json` and `messages/en.json`
Applied to files:
messages/it.json
📚 Learning: 2025-12-04T19:12:37.208Z
Learnt from: CR
Repo: panteLx/BetterShift PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-12-04T19:12:37.208Z
Learning: Applies to **/*.tsx : Use `useTranslations()` from next-intl for all user-facing text and load translations from `messages/{de,en}.json`
Applied to files:
messages/it.json
🪛 Biome (2.1.2)
messages/it.json
[error] 28-28: expected , but instead found {
Remove {
(parse)
[error] 28-28: Property key must be double quoted
(parse)
[error] 28-28: expected : but instead found }
Remove }
(parse)
[error] 28-28: expected , but instead found "? Anche tutti i turni, i preset e le note saranno eliminati."
Remove "? Anche tutti i turni, i preset e le note saranno eliminati."
(parse)
[error] 28-28: expected : but instead found ,
Remove ,
(parse)
[error] 51-51: expected , but instead found {
Remove {
(parse)
[error] 51-51: Property key must be double quoted
(parse)
[error] 51-51: expected : but instead found }
Remove }
(parse)
[error] 51-51: expected , but instead found ""
Remove ""
(parse)
[error] 51-51: expected : but instead found ,
Remove ,
(parse)
[error] 52-52: expected , but instead found {
Remove {
(parse)
[error] 52-52: Property key must be double quoted
(parse)
[error] 52-52: expected : but instead found }
Remove }
(parse)
[error] 52-52: expected , but instead found ""
Remove ""
(parse)
[error] 52-52: expected : but instead found ,
Remove ,
(parse)
[error] 98-98: Expected a property but instead found '"shift_one"'.
Expected a property here.
(parse)
[error] 98-98: Invalid escape sequence
Valid escape sequences are: \\, \/, /", \b\, \f, \n, \r, \t or any unicode escape sequence \uXXXX where X is hexedecimal number.
(parse)
[error] 98-98: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 98-98: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 98-99: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 99-99: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 99-99: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 99-99: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 99-100: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 100-100: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 100-100: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 100-100: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 100-101: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 101-101: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 101-101: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 101-101: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 101-102: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 102-102: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 102-102: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 102-102: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 102-103: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 103-103: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 103-103: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 103-103: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 103-104: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 104-104: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 104-104: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 104-104: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 104-105: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 105-105: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 105-105: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 105-105: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 105-106: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 106-106: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 106-106: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 106-106: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 106-107: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 107-107: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 107-107: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 107-107: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 107-108: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 108-108: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 108-108: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 108-109: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 109-110: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 110-110: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 110-110: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 110-135: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 135-136: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 136-136: Invalid escape sequence
Valid escape sequences are: \\, \/, /", \b\, \f, \n, \r, \t or any unicode escape sequence \uXXXX where X is hexedecimal number.
(parse)
[error] 136-146: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 146-146: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 146-146: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 146-146: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 146-153: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 153-154: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 154-154: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 154-154: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 154-160: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 160-161: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 161-161: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 161-161: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 161-165: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 165-166: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 166-166: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 166-166: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 166-168: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 168-169: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 169-169: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 169-169: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 169-173: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 173-174: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 174-174: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 174-174: End of file expected
Use an array for a sequence of values: [1, 2]
(parse)
[error] 51-51: The key was already declared.
This where a duplicated key was declared again.
If a key is defined multiple times, only the last definition takes effect. Previous definitions are ignored.
(lint/suspicious/noDuplicateObjectKeys)
🔇 Additional comments (1)
messages/it.json (1)
1-232: Ensure this Italian translation file includes all keys from the reference locale files.This file must maintain feature parity with
messages/en.jsonandmessages/de.json. To verify completeness, compare all translation keys across these files to confirm no new features or messages have been added to English/German without corresponding Italian entries.
|
Thank you for your contribution! As im planning to update the translation keys in one of the next updates ill wait until i merge ur PR. Check out #35 to learn more |
|
@albanobattistella just finished restructuring the message keys. can you update ur translations to the new structure? Check out https://github.com/panteLx/BetterShift/blob/main/messages/en.json |
Hi, |
|
Thank you for your contribution! Ill include it in the :latest docker tag on the next release. Use :dev to use it now :) |
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.