From 174250b277bb63edf2502596f4f3a39b7c7eeafc Mon Sep 17 00:00:00 2001 From: yetone Date: Wed, 28 Oct 2026 22:29:46 +0800 Subject: [PATCH] =?UTF-8?q?masking:=20comments=20no=20longer=20quote=20Rou?= =?UTF-8?q?ting's=20"masking=E2=80=A6"=20(#4053)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit i18n-keys' "a plugin's words are its own" was red on main: masking.go's and masking_test.go's comments quoted the Requests page's word "masking…", which plugins/routing/i18n.js owns, so the test took it for a shared word. Both comments now say it unquoted, without the ellipsis. Run (on mote): node --test i18n-keys.test.cjs: 4/4 (3/4 before, red with masking.go's then masking_test.go's line); gofmt -l internal/masking: none. Comments only. --- internal/masking/masking.go | 2 +- internal/masking/masking_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/masking/masking.go b/internal/masking/masking.go index fb5e20731..996cd0c98 100644 --- a/internal/masking/masking.go +++ b/internal/masking/masking.go @@ -145,7 +145,7 @@ func toGuard() { // Past it the rules mask alone. AstrLink Guard reads on the CPU, a long // history it hasn't seen takes minutes there, and one request at a time // is read: unbounded, every request queued behind the first (shensmart -// on Discord, 10-28: Codex's requests sat "masking…" once the default's +// on Discord, 10-28: Codex's requests sat masking once the default's // download finished). What the model read meanwhile is kept, so the next // request finds it. A var for tests. var defaultWait = 2 * time.Second diff --git a/internal/masking/masking_test.go b/internal/masking/masking_test.go index 82359e5af..9d8702321 100644 --- a/internal/masking/masking_test.go +++ b/internal/masking/masking_test.go @@ -167,7 +167,7 @@ func (h hangs) Find(context.Context, []string) ([][]redact.Found, error) { } // shensmart on Discord (10-28): with the model on by default, a request -// waited for it as long as its client did, "masking…" on the Requests +// waited for it as long as its client did, masking on the Requests // page, every one after it queued behind. On by default, it is waited for // defaultWait at most and the rules mask alone; turned on by the user, it // is waited for longer (strictWait).