Repository navigation
🌐 Add Italian (it-IT) translation / 新增意大利语翻译 - #1861
Merged
Merged
Conversation
- src/locales/it-IT/: 12 namespace files translated from en-US - Register it-IT in src/locales/locales.ts - Monaco editor prompts: src/pkg/utils/monaco-editor/langs/it-IT.ts + index.ts entry - chrome.i18n store metadata: src/assets/_locales/it/messages.json - docs/references/terminology-it-IT.md and row in docs/translation.md - relative-date: map "it" Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015DokMJRjQXvb16RBANMJpP
Member
|
Thanks for the PR. It has been merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claude-Session: https://claude.ai/code/session_015DokMJRjQXvb16RBANMJpP
Checklist / 检查清单
Description / 描述
Summary
Adds a full Italian (
it-IT) translation of the ScriptCat UI.The translation was produced with Claude (Anthropic) reviewed and submitted by an Italian speaker. Feedback from other Italian speakers is welcome.
Changes
src/locales/it-IT/: all 12 namespace files translated fromen-US(1,506 strings), plusindex.tssrc/locales/locales.ts: registerit-IT("Italiano")src/pkg/utils/monaco-editor/langs/it-IT.ts+index.ts: Monaco editor hover prompts (97 keys)src/assets/_locales/it/messages.json: chrome.i18n store metadatadocs/references/terminology-it-IT.md: Italian terminology guide, following the structure of the existing guidesdocs/translation.md: add theit-ITrow to the per-locale tablesrc/locales/relative-date.ts: mapitVerification
pnpm run check:i18npasses: key sets matchen-US/en, locale is registered, terminology file andeditorLangsentry are present{{...}},${...},$0,{0}), HTML/React tag (<Link>,<a>) and metadata identifier (@match,@connect, …) matches the English sourcetscpass on the changed files; theit-ITeditor language pack has the same type shape asen-USpnpm lint:cicould not be run locally, so I'm relying on CI for thatTerminology choices
Documented in
[terminology-it-IT.md](http://terminology-it-it.md/). The main ones:Salva,Elimina), informal "tu", sentence caseNote: CONTRIBUTING.md is incomplete for new languages
The "Add a new language" section of
[CONTRIBUTING.md](http://contributing.md/)only mentions thesrc/locales/<locale>/files and the registration inlocales.ts. Following just those steps,pnpm run check:i18n(part oflint:ci) fails with:The full requirements are only listed in
docs/[translation.md](http://translation.md/). It might help future contributors if[CONTRIBUTING.md](http://contributing.md/)listed these steps too, or linked todocs/[translation.md](http://translation.md/).🤖 Generated with Claude Code
https://claude.ai/code/session_015DokMJRjQXvb16RBANMJpP
Screenshots / 截图