Repository navigation
SegmentSkip: make labels translatable - #3250
Open
CrisBarreiro wants to merge 2 commits into
Open
CrisBarreiro wants to merge 2 commits into
CrisBarreiro wants to merge 2 commits into
Conversation
Contributor
[Beta] Generated file diffTime updated: Fri, 27 Nov 2026 16:43:34 GMT AndroidFile has changed AppleFile has changed IntegrationFile has changed WindowsFile has changed New Files❌ File only exists in new changeset |
Contributor
Build Branch
Static preview entry points
QR codes (mobile preview)
Integration commandsnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", branch: "pr-releases/CrisBarreiro/segment-skip-localize-label")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/CrisBarreiro/segment-skip-localize-label
git -C submodules/content-scope-scripts checkout origin/pr-releases/CrisBarreiro/segment-skip-localize-labelPin to exact commitnpm (Android / Extension): Swift Package Manager (Apple): .package(url: "https://github.com/duckduckgo/content-scope-scripts.git", revision: "f9ce653e0731623ee4406ae60d5ec0be9015f806")git submodule (Windows): git -C submodules/content-scope-scripts fetch origin pr-releases/CrisBarreiro/segment-skip-localize-label
git -C submodules/content-scope-scripts checkout f9ce653e0731623ee4406ae60d5ec0be9015f806 |
CrisBarreiro
force-pushed
the
CrisBarreiro/segment-skip-localize-label
branch
from
November 25, 2026 16:20
95d2cf0 to
cba6af0
Compare
CrisBarreiro
force-pushed
the
CrisBarreiro/segment-skip-localize-label
branch
2 times, most recently
from
November 25, 2026 17:22
4ee98b6 to
b0bcce5
Compare
CrisBarreiro
marked this pull request as ready for review
November 25, 2026 17:32
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
CrisBarreiro
force-pushed
the
CrisBarreiro/segment-skip-localize-label
branch
from
November 26, 2026 13:47
b0bcce5 to
8c18354
Compare
miasma13
approved these changes
Nov 26, 2026
CrisBarreiro
force-pushed
the
CrisBarreiro/segment-skip-localize-label
branch
from
November 26, 2026 16:13
8c18354 to
9bd0eee
Compare
Base automatically changed from
CrisBarreiro/segment-skip-highlight-color
to
main
November 27, 2026 16:40
Move "Skip" into src/locales/segment-skip/en/segment-skip.json for Smartling, bundle it with buildLocales.js, and pick the string by the platform locale, falling back to English. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add "Undo Skip" to segment-skip.json as undoSkipButton and look it up the same way as the Skip label. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CrisBarreiro
force-pushed
the
CrisBarreiro/segment-skip-localize-label
branch
from
November 27, 2026 16:41
9bd0eee to
ae91909
Compare
This branch has not been deployed
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.
Asana Task/Github Issue: https://app.asana.com/1/137249556945/project/1212227266948491/task/1220898355398037?focus=true
Description
Makes the SegmentSkip button labels ("Skip" and "Undo Skip") translatable. Stacked on #3246.
skipButton,undoSkipButton) intoinjected/src/locales/segment-skip/en/segment-skip.json, the file to upload to Smartling. It's named for the feature because Smartling needs unique file names per repo.buildLocales.jsbundles it intobuild/locales/segment-skip-locales.js.init(args)(de-DE→de) and picks the label from the bundled locale, falling back to English. Same approach aschrome-webstore-patching.Until translations are committed, every locale shows the English labels.
Testing Steps
npm run build -w injectedand check thatinjected/build/locales/segment-skip-locales.jscontainsskipButtonandundoSkipButton.npx playwright test segment-skip --reporter listininjected/: the existing tests still pass.Checklist
Please tick all that apply:
🤖 Generated with Claude Code