Repository navigation
feat(copy): Spanish bot copy for profile, team, repo commands and team picker (spanish-copy 2/3) - #40
Merged
Merged
Conversation
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.
Summary
This is PR 2 of 3 for change
spanish-copy. It translates the profile, team, membership and repo commands and the DM team picker into neutral Spanish (tú). Only the copy changes; behavior stays the same.src/adapters/telegram/copy.ts: the adapter catalog gains the profile, team, repo and picker copy.commonCopy.Record<Role, string>mapping to "administrador" / "miembro".src/adapters/telegram/commands.tsandteam-picker.ts: every reply now comes from the catalog. The picker buttons read "Equipo {id}".reposReplynow delegates tojoinLinesWithinLimit. This removes a duplicate truncation loop, so/reposuses the same "…y N más" as every other reply. It also removes the last English "...and N more" left over from PR 1.test/copy/catalog-language.test.ts: the English-word guard now covers the full adapter catalog.test/http/webhook-e2e.test.ts: only the expected/setupreply string changed.Domain exception messages and log event names stay in English. Users never see them.
Review
A bounded review ran at high risk, because the webhook e2e test is a security hot path. All four lenses found nothing:
/repos4096 cap holdsTests
Next is PR 3 of 3, which covers the GitHub alerts.
🤖 Generated with Claude Code