Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
254 commits
Select commit Hold shift + click to select a range
28a7b8b
Merge claude/issue-620-client-lint, which now has main with #889
claude Nov 13, 2026
a4559c0
Lint hard-coded text where it has moved to the catalogs
claude Nov 13, 2026
218b7d9
Merge branch 'main' into claude/issue-623-catalog-check
richshaw Nov 13, 2026
a7a10ed
Catch a select shown as a plain placeholder in the catalog check
claude Nov 13, 2026
4480055
Precompile the message catalogs at build time
claude Nov 13, 2026
701bd61
Merge branch 'claude/issue-623-catalog-check' into claude/issue-623-t…
claude Nov 14, 2026
dd50e3b
Merge branch 'main' into claude/issue-623-text-lint
richshaw Nov 14, 2026
20409b8
Give slot dates and times a language
claude Nov 14, 2026
18564d2
Escape backslashes too in filesAt's globs
claude Nov 14, 2026
9ca3cb6
Merge branch 'claude/issue-623-text-lint' into claude/issue-624-preco…
claude Nov 14, 2026
86a0365
Merge branch 'claude/issue-624-precompile' into claude/issue-622-slot…
claude Nov 14, 2026
1559802
Merge branch 'main' into claude/issue-624-precompile
claude Nov 14, 2026
ee870e1
Merge branch 'claude/issue-624-precompile' into claude/issue-622-slot…
claude Nov 14, 2026
325f17a
Merge branch 'main' into claude/issue-622-slot-format
richshaw Nov 14, 2026
d768b87
Give the other formatters a language
claude Nov 14, 2026
3c9b122
Merge branch 'claude/issue-622-slot-format' into claude/issue-622-oth…
claude Nov 14, 2026
40bb396
Give a signup a language and an instance a default one, with no visib…
claude Nov 14, 2026
07afbfd
Add a Signup language control to the Settings tab, hidden while one l…
claude Nov 14, 2026
a5d1fab
Keep the language rules out of the browser's view, so no page grows
claude Nov 14, 2026
efff208
Read any stored signup language leniently, and check the one sent as …
claude Nov 14, 2026
d53625b
Say plainly that DEFAULT_LOCALE accepts only en today
claude Nov 14, 2026
49db138
Keep the Signup language form in the Settings page's own file
claude Nov 14, 2026
a7f3825
Merge branch 'main' into claude/issue-625-signup-locale
claude Nov 14, 2026
f9e4103
Merge branch 'claude/issue-625-signup-locale' into claude/issue-625-s…
claude Nov 14, 2026
fe68bb1
Work out an organizer's language as pure logic, with no storage yet
claude Nov 14, 2026
bd3c442
Read a public signup's row once per request, through a cached loader
claude Nov 14, 2026
5ddc90f
Carry the organizer's saved language in the session and the token con…
claude Nov 14, 2026
afaf7be
Let an organizer save a language for new signups, hidden until a seco…
claude Nov 14, 2026
dd7ef70
Start new signups in their organizer's language, once there's a choice
claude Nov 14, 2026
e99765d
Let create_signup take a locale, else the organizer's language
claude Nov 14, 2026
1e53268
Have the public signup pages work out the signup's language
claude Nov 14, 2026
d0a8a6b
Find the signup's language on the not-found pages from the request path
claude Nov 14, 2026
522775f
Show a signup's language to AI assistants and the public API
claude Nov 14, 2026
8811cf2
Share one ship() test helper for languages that haven't shipped
claude Nov 14, 2026
39eb1eb
Take the footer's language and the Banner and BottomSheet labels as p…
claude Nov 14, 2026
855ea58
Move the public signup page's server-rendered text into the catalogs
claude Nov 14, 2026
8fcca7f
Give the sign-up dialog its messages from a client provider
claude Nov 14, 2026
c536029
Take the sign-up dialog's text and the error copy from the catalog
claude Nov 14, 2026
2e10c73
Add a partial Swedish catalog and a Swedish test signup
claude Nov 14, 2026
5911881
Give the edit and unsubscribe pages their signup's language
claude Nov 14, 2026
b3d5f3c
Fit the Swedish Spots label, and warn when the e2e locale hook is on
claude Nov 14, 2026
45c4dce
Take the edit, cancel and unsubscribe pages' text from the catalog
claude Nov 14, 2026
3aebf1d
Name the case of a refused sign-up or edit in details.reason
claude Nov 14, 2026
b94d806
Merge #914's final branch into #915
claude Nov 14, 2026
e9d6a14
Merge #915's branch into #916
claude Nov 14, 2026
05eba67
Find the edit form's Swedish Spots field by its new label
claude Nov 14, 2026
56ce1b3
Merge #916's branch into #917
claude Nov 14, 2026
4eabed3
Word every sign-up and edit-page error from the catalog
claude Nov 14, 2026
91fae7d
Merge remote-tracking branch 'origin/claude/issue-631-error-reasons' …
claude Nov 14, 2026
57c8242
Find the Swedish Spots field by its catalog label; widen quantity_not…
claude Nov 14, 2026
8ac41eb
Write participant email subjects from the catalog, in the signup's la…
claude Nov 14, 2026
6f0cf51
Check the Swedish preview text is the subject
claude Nov 14, 2026
45f6bec
Write participant emails from the catalog, in the signup's language
claude Nov 14, 2026
2ab7365
Lint hard-coded text in the participant email templates
claude Nov 14, 2026
78df23f
Warn when the worker starts with E2E_UNSHIPPED_LOCALES set
claude Nov 14, 2026
9242a0f
Make no claim after an answer that isn't the API's error
claude Nov 14, 2026
50d2bd9
Take the calendar file's description and the share text from the catalog
claude Nov 14, 2026
3749e69
Make no claim when the edit page's save or cancel gets no answer
claude Nov 14, 2026
1e1ed68
Keep the slot's letters in the calendar file's name
claude Nov 14, 2026
76a7b50
Merge #918's final branch into #919
claude Nov 14, 2026
00d47a2
Merge #919's branch into #920
claude Nov 14, 2026
a393208
Merge #920's branch into #921
claude Nov 14, 2026
bad9f41
Name a new signup's columns and the Build tab's defaults in its language
claude Nov 14, 2026
40985a9
Say in the CHANGELOG that new signups' default names follow their lan…
claude Nov 14, 2026
8bc4be4
Reword the Build tab's language prop comment
claude Nov 14, 2026
b14b06a
Merge #921's branch into #925
claude Nov 14, 2026
435e410
Merge #925's branch into #926
claude Nov 14, 2026
4bfca33
Write Magic Compose drafts in the description's language
claude Nov 14, 2026
d2f5938
Start a Magic Compose signup in the language its draft is written in
claude Nov 14, 2026
cb49cc8
Save screenshots and email HTML for a translation's review
claude Nov 14, 2026
49d832a
Add a translating guide, a Swedish glossary and a translate skill
claude Nov 14, 2026
15d274e
Read a draft's reported language as a whole language tag
claude Nov 14, 2026
ebecefd
Merge #928's branch into #929
claude Nov 14, 2026
f1c1bb1
Catch translations whose English changed since they were made
claude Nov 14, 2026
2c8a074
Merge #929's branch into #930
claude Nov 14, 2026
5f4e0bb
Put each email's subject in the text the translation review reads
claude Nov 14, 2026
a920482
Merge #929's address round into the stale check
claude Nov 14, 2026
98657d1
Ask about the organizer's language and their open signups after a lan…
claude Nov 14, 2026
2bb311d
Bring each language question into view after its save
claude Nov 14, 2026
852d990
Give No the focus after a language save, first in the row
claude Nov 14, 2026
793e4f1
Take #928's draft-language change back out
claude Nov 14, 2026
1ece68b
Merge #929's branch into #930 (#928 taken back out)
claude Nov 14, 2026
9e237b3
Merge #930's branch into #933 (#928 taken back out)
claude Nov 14, 2026
5f7d444
Replace the after-save language questions with a switch button
claude Nov 14, 2026
6062c1e
Keep a longer "Saved" line's words evenly spaced
claude Nov 14, 2026
768f1cb
Store an organizer's language once, when their account is created
claude Nov 14, 2026
45fb6a1
Take the switch's count from what's stored, not the address
claude Nov 14, 2026
7a8c9b6
Merge #933's latest (the switch's count from what's stored)
claude Nov 14, 2026
750e570
Let the site default win when an account stores its language
claude Nov 14, 2026
7d843e9
Show organizer text in the organizer's own language
claude Nov 15, 2026
63e603a
Move the organizer header, Your signups and crumbs into the catalog
claude Nov 15, 2026
433d790
Move account Settings and Connected apps text into the catalog
claude Nov 15, 2026
f9e020f
Name the case of each refusal the organizer screens word themselves
claude Nov 15, 2026
d41034a
Word organizer refusals by code and reason, never the server's English
claude Nov 15, 2026
6d1f7ec
Keep the code lines in a module of their own, and budget New signup's…
claude Nov 15, 2026
175e2a6
Move a signup's header, tabs and status labels into the catalog
claude Nov 15, 2026
74e0cbe
Shorten the account language setting's help text
claude Nov 15, 2026
8480301
Merge #954's shorter help text into #955
claude Nov 15, 2026
df64c92
Merge #955 into #956, with #954's shorter help text
claude Nov 15, 2026
5edc588
Move a signup's Settings tab into the catalog
claude Nov 15, 2026
637d4e6
Move the Build tab's text into the catalog
claude Nov 15, 2026
d3575ee
Give the AI connector's title refusal the same reason as the REST API
claude Nov 15, 2026
bab513a
Drop the Build tab's line for a refusal it can't get
claude Nov 15, 2026
8513527
Merge #958's MCP title reason fix into #959
claude Nov 15, 2026
70cc529
Record what organizers now read when a save is refused
claude Nov 15, 2026
6ddbed1
Move the Responses tab's text and the CSV's own words into the catalog
claude Nov 15, 2026
1498283
Move New signup's and Magic Compose's start, drafting and error text …
claude Nov 15, 2026
e42f7ab
Move Magic Compose's questions and the AI-draft banner's text into th…
claude Nov 15, 2026
a2ea2a0
Send the AI-draft banner's warning messages with a draft's pages only
claude Nov 15, 2026
71b2225
Format and mark a signup's own words in its language on the Build tab…
claude Nov 15, 2026
4e488f6
Test that Magic Compose's time boxes write times in the organizer's l…
claude Nov 15, 2026
f202145
Word three Build tab refusals for organizers rather than developers
claude Nov 15, 2026
99aede7
Translate organizer refusals, a signup's Settings tab and Responses i…
claude Nov 15, 2026
b77ba6a
Merge #955's new head (#954's shorter help text) into #958
claude Nov 15, 2026
8d1ab25
Merge #956 into #957, with #954's shorter help text
claude Nov 15, 2026
929dba6
Drop archiving from where status_changed comes from
claude Nov 15, 2026
1b62884
Leave the organizer glossary to the track B batch that owns it
claude Nov 15, 2026
d58003a
Merge #958's new head into #959
claude Nov 15, 2026
8303ffe
Merge #959's new head into #960
claude Nov 15, 2026
f8a108c
Merge #960's new head into #962
claude Nov 15, 2026
2cba05f
Take the Swedish review's four suggestions for organizer refusals, Se…
claude Nov 15, 2026
17db577
Merge #962's new head into #964
claude Nov 15, 2026
73e87ff
Merge #964's new head into #967
claude Nov 15, 2026
2a5543d
Say what Magic Compose's unexpected error read before and after, agai…
claude Nov 15, 2026
5768ac4
Merge #967's new head into #968
claude Nov 15, 2026
348644f
Merge #968's new head into #970
claude Nov 15, 2026
77e0bea
Merge #970's new head into #971
claude Nov 15, 2026
651e45e
Translate the Build tab into Swedish
claude Nov 15, 2026
65b9abf
Merge #977's review round into the Build tab translation
claude Nov 15, 2026
a6c5384
Merge #971's new head into #977
claude Nov 15, 2026
346e6b0
Merge #977's new head (the stack's propagation) into the Build tab tr…
claude Nov 15, 2026
645d266
Translate New signup, Magic Compose and the AI-draft banner into Swedish
claude Nov 15, 2026
db98ab7
Answer the Build tab translation's in-context review
claude Nov 15, 2026
d6ff22a
Fit two Swedish labels at 320 px and reword the classroom example
claude Nov 15, 2026
9c20281
Merge #981's review round into the New signup and Magic Compose trans…
claude Nov 15, 2026
e617ebc
Answer the in-context review of the New signup and Magic Compose tran…
claude Nov 15, 2026
0e60422
Merge #982 (track A's top) into #956: restack track B on track A
claude Nov 15, 2026
6f6609c
Merge #956 (restacked on track A) into #957
claude Nov 15, 2026
eaa788a
Merge main into claude/issue-625-signup-locale
claude Nov 15, 2026
009a51b
Merge main (Next.js 15.5.29, #984, #806) into the client messages PR
claude Nov 15, 2026
3d90da2
Merge #897's final head into claude/issue-625-settings-control
claude Nov 15, 2026
271a335
Merge main: #897 landed as c1f13bd, same tree as its head
claude Nov 15, 2026
67dbde0
Raise the edit page budget for Next.js 15.5.29
claude Nov 15, 2026
0f5ae9d
Merge #899's final head into claude/issue-626-organizer-locale-core
claude Nov 15, 2026
e4c7170
Merge main: #899 landed as 1d2a721, same tree as its head
claude Nov 15, 2026
9d4ec17
Merge the client messages PR (main's Next.js 15.5.29, #984, #806) int…
claude Nov 15, 2026
1dee0ac
Raise the edit page budget for Next.js 15.5.29
claude Nov 15, 2026
2074a5f
Merge #901's final head into claude/issue-628-signup-row-loader
claude Nov 15, 2026
f1e9bb4
Merge main: #901 landed as c2fb12a, same tree as its head
claude Nov 15, 2026
f031cc5
Merge the dialog text PR (main's Next.js 15.5.29, #984, #806) into th…
claude Nov 15, 2026
1330c8e
Merge the Swedish seed PR (main's Next.js 15.5.29, #984, #806) into t…
claude Nov 15, 2026
47ec19d
Merge #902's final head into claude/issue-626-organizer-locale-column
claude Nov 15, 2026
d348453
Merge main: #902 landed as 9f39d58, same tree as its head
claude Nov 15, 2026
5487a05
Merge the edit page locale PR (main's Next.js 15.5.29, #984, #806) in…
claude Nov 16, 2026
4ccf859
Merge #903's final head into claude/issue-626-account-language
claude Nov 16, 2026
4dbb0cc
Merge main: #903 landed as f8dabd9, same tree as its head
claude Nov 16, 2026
a1fa37d
Merge the edit page text PR (main's Next.js 15.5.29, #984, #806) into…
claude Nov 16, 2026
d34b5b0
Merge the error reasons PR (main's Next.js 15.5.29, #984, #806) into …
claude Nov 16, 2026
084a0d4
Merge #904's final head into claude/issue-627-signup-starts-in-language
claude Nov 16, 2026
b31a87c
Merge main: #904 landed as e2b4f49, same tree as its head
claude Nov 16, 2026
7b0d70e
Raise the edit page budget for Next.js 15.5.29
claude Nov 16, 2026
a13405e
Merge the client error text PR (main's Next.js 15.5.29, #984, #806) i…
claude Nov 16, 2026
fd3afe4
Merge #905's final head into claude/issue-627-mcp-create-locale
claude Nov 16, 2026
300bfc7
Merge main: #905 landed as 950f718, same tree as its head
claude Nov 16, 2026
58de416
Merge the email subjects PR (main's Next.js 15.5.29, #984, #806) into…
claude Nov 16, 2026
0c3c170
Merge #906's final head into claude/issue-628-page-locale
claude Nov 16, 2026
02989f4
Merge main: #906 landed as 614a0d7, same tree as its head
claude Nov 16, 2026
eedebd5
Merge the email templates PR (main's Next.js 15.5.29, #984, #806) int…
claude Nov 16, 2026
b108a9b
Merge #907's final head into claude/issue-628-path-header
claude Nov 16, 2026
7797da1
Merge main: #907 landed as ba75aae, same tree as its head
claude Nov 16, 2026
329d114
Merge the calendar share text PR (main's Next.js 15.5.29, #984, #806)…
claude Nov 16, 2026
07d80d2
Merge #908's final head into claude/issue-625-locale-in-api
claude Nov 16, 2026
9694d0d
Merge main: #908 landed as 80d071b, same tree as its head
claude Nov 16, 2026
353242f
Merge the calendar file name PR (main's Next.js 15.5.29, #984, #806) …
claude Nov 16, 2026
7910cb1
Merge #909's final head into claude/issue-629-common
claude Nov 16, 2026
4320ec9
Merge main: #909 landed as debb086, same tree as its head
claude Nov 16, 2026
f242d12
Merge #910's final head into claude/issue-629-server-text
claude Nov 16, 2026
d9ec84e
Merge main: #910 landed as bda7dfd, same tree as its head
claude Nov 16, 2026
40116ab
Merge #911's final head into claude/issue-629-client-messages
claude Nov 16, 2026
17e8e0f
Merge main: #911 landed as 2f93094, same tree as its head
claude Nov 16, 2026
20a474d
Merge #912's final head into claude/issue-629-dialog-text
claude Nov 16, 2026
ac3e06f
Merge main: #912 landed as 2e2e314, same tree as its head
claude Nov 16, 2026
6c85da5
Merge #913's final head into claude/issue-629-swedish-seed
claude Nov 16, 2026
baefdf4
Merge main: #913 landed as 271e16d, same tree as its head
claude Nov 16, 2026
01f9d2b
Merge #914's final head into claude/issue-630-edit-page-locale
claude Nov 16, 2026
6a7d27e
Merge main: #914 landed as 9324bc0, same tree as its head
claude Nov 16, 2026
e97074e
Merge #915's final head into claude/issue-630-edit-page-text
claude Nov 16, 2026
b961f87
Merge main: #915 landed as c5ac17a, same tree as its head
claude Nov 16, 2026
54f38b7
Merge #916's final head into claude/issue-631-error-reasons
claude Nov 16, 2026
f58589b
Merge main: #916 landed as d492687, same tree as its head
claude Nov 16, 2026
4814f8b
Merge #917's final head into claude/issue-631-client-error-text
claude Nov 16, 2026
997b554
Merge main: #917 landed as fe30dcb, same tree as its head
claude Nov 16, 2026
17e294e
Merge #918's final head into claude/issue-632-email-subjects
claude Nov 16, 2026
278fd84
Merge main: #918 landed as 00c230a, same tree as its head
claude Nov 16, 2026
14aa4e4
Merge #919's final head into claude/issue-632-email-templates
claude Nov 16, 2026
9ffaccc
Merge main: #919 landed as 471b451, same tree as its head
claude Nov 16, 2026
eddba5d
Merge #920's final head into claude/issue-633-calendar-share-text
claude Nov 16, 2026
0c82935
Merge main: #920 landed as 809b797, same tree as its head
claude Nov 16, 2026
49229ce
Merge #921's final head into claude/issue-633-calendar-file-name
claude Nov 16, 2026
0861a72
Merge main: #921 landed as 360d235, same tree as its head
claude Nov 16, 2026
ce1f313
Merge #925's final head into claude/issue-634-default-columns
claude Nov 16, 2026
6395824
Merge main: #925 landed as 2035f0e, same tree as its head
claude Nov 16, 2026
9583463
Merge #926's final head into claude/issue-635-prompt-language
claude Nov 16, 2026
472332c
Merge main: #926 landed as 75488be, same tree as its head
claude Nov 16, 2026
2072f84
Merge main into claude/issue-635-prompt-language
claude Nov 16, 2026
abbcc46
Merge #927's final head into claude/issue-637-translating-guide
claude Nov 16, 2026
297c5a0
Merge main: #927 landed as 48d501b, same tree as its head
claude Nov 16, 2026
50cf7b3
Merge #929's final head into claude/issue-637-stale-check
claude Nov 16, 2026
a6b6852
Merge main: #929 landed as 7e03236, same tree as its head
claude Nov 16, 2026
7c7c4dc
Merge #930's final head into claude/issue-639-post-save-prompts
claude Nov 16, 2026
d7dd6e5
Merge main: #930 landed as d4f02b8, same tree as its head
claude Nov 16, 2026
d577fa2
Merge main into claude/issue-639-post-save-prompts
claude Nov 16, 2026
e820aa5
Merge #933's final head into claude/issue-627-stored-language
claude Nov 16, 2026
facdcd9
Merge main: #933 landed as fbd0277, same tree as its head
claude Nov 16, 2026
563d57f
Merge #936's final head into claude/issue-937-organizer-language
claude Nov 16, 2026
652a190
Merge main: #936 landed as 8ec92af, same tree as its head
claude Nov 16, 2026
57815e5
Merge #954's final head into claude/issue-937-organizer-text
claude Nov 16, 2026
d2cc4f3
Merge main: #954 landed as 0fdcbed, same tree as its head
claude Nov 16, 2026
4bae41d
Merge #955's final head into claude/issue-939-refusal-codes
claude Nov 16, 2026
0a7915a
Merge main: #955 landed as 2a873fe, same tree as its head
claude Nov 16, 2026
a2967e5
Merge #958's final head into claude/issue-939-refusal-screens
claude Nov 16, 2026
14be625
Merge main: #958 landed as b56eef1, same tree as its head
claude Nov 16, 2026
b5b15b6
Merge #959's final head into claude/issue-943-settings-tab-text
claude Nov 16, 2026
11cfb1b
Merge main: #959 landed as 21698c0, same tree as its head
claude Nov 16, 2026
d6c39de
Merge #960's final head into claude/issue-944-build-tab-text
claude Nov 16, 2026
c5d8ab8
Merge main: #960 landed as b451db0, same tree as its head
claude Nov 16, 2026
023c3e3
Raise the Build tab's budget for Next.js 15.5.29 on main
claude Nov 16, 2026
f66bd3d
Merge #962's final head into claude/issue-945-responses-text
claude Nov 16, 2026
b7f3161
Merge main: #962 landed as fd555a4, same tree as its head
claude Nov 16, 2026
1c07853
Merge #964's final head into claude/issue-946-new-signup-text
claude Nov 16, 2026
8102f7e
Merge main: #964 landed as d4b46e9, same tree as its head
claude Nov 16, 2026
f5fd38c
Raise New signup's budget for Next.js 15.5.29 on main
claude Nov 16, 2026
8ffe322
Merge #967's final head into claude/issue-947-compose-questions-text
claude Nov 16, 2026
6a6a611
Merge main: #967 landed as 2c6138a, same tree as its head
claude Nov 16, 2026
8fd941a
Set the Build tab's and edit page's budgets for Next.js 15.5.29 on main
claude Nov 16, 2026
bf4f013
Merge #968's final head into claude/issue-951-content-lang-build
claude Nov 16, 2026
8491e01
Merge main: #968 landed as f8cfdbf, same tree as its head
claude Nov 16, 2026
2754270
Raise the Build tab's budget for Next.js 15.5.29 on main
claude Nov 16, 2026
a985145
Merge #970's final head into claude/issue-944-reword-build-errors
claude Nov 16, 2026
fad10da
Merge main: #970 landed as 0228d29, same tree as its head
claude Nov 16, 2026
a225f93
Merge #971's final head into claude/issue-953-sv-batch-a1
claude Nov 16, 2026
e0afc65
Merge main: #971 landed as b888980, same tree as its head
claude Nov 16, 2026
83a1b27
Merge #977's final head into claude/issue-953-sv-batch-a2
claude Nov 16, 2026
cb9f88e
Merge main: #977 landed as 2fb8b72, same tree as its head
claude Nov 16, 2026
e83d834
Merge #981's final head into claude/issue-953-sv-batch-a3
claude Nov 16, 2026
5491761
Merge main: #981 landed as 47c9fd4, same tree as its head
claude Nov 16, 2026
a44a61b
Merge #982's final head into claude/issue-940-account-text
claude Nov 16, 2026
7317dfd
Merge main: #982 landed as 0757241, same tree as its head
claude Nov 16, 2026
6d3711d
Merge #956's final head into claude/issue-941-signup-header-text
claude Nov 16, 2026
776c752
Merge main: #956 landed as 40c0625, same tree as its head
claude Nov 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ All notable changes to OpenSignup are documented here. Format follows [Keep a Ch
- The privacy page now lists, among what an organizer's account holds, the language they choose for their new signups (#626). Account Settings has a "Language" choice for it, which appears only once a second language has shipped to participants and offers only those, so it isn't there yet. New signups don't follow it yet either.
- New signups start in their organizer's language (#627), once there's a choice: made by `POST /api/signups`, the New signup form or Magic Compose, a signup takes the language stored on the organizer's account, else the instance's `DEFAULT_LOCALE`, else English, each only if it has shipped to participants. While only English has shipped, which is today, they store no language, as before, so nothing changes yet. A `settings.locale` sent to `POST /api/signups` still wins, and is still refused unless it has shipped. Changing the organizer's language later doesn't move signups already made. `signup.created` activity rows for a signup created with a language gain `locale` and `localeSource` (`setting`, `instance`, `api` or `default`), and the privacy page's activity-log paragraph says so. The AI connector's `create_signup` follows the same rule, and takes an optional `locale`, which wins over the organizer's and is recorded as `api`; one that hasn't shipped to participants (anything but `en` so far) is refused with `invalid_input` on `locale`, naming the ones that have, before anything is created or counted against the hourly create limit.
- An organizer's language is stored once, when their account is created (#627), and the site default wins: on an instance that sets `DEFAULT_LOCALE` nothing is stored and the account follows it; otherwise the top language of the browser they sign up in is stored if it has shipped to participants and isn't English, whether they sign in with the magic link, the six-digit code or a sign-in provider such as Google. Otherwise none is stored, and they get the instance's `DEFAULT_LOCALE`, else English, as accounts made before this do, so setting or changing `DEFAULT_LOCALE` later moves every account with none. `docs/translating.md` has a table of every case, which the tests run. Nothing works a language out from the browser again: a later sign-in leaves the stored one as it is, and only the organizer changes it, in account Settings. Their new signups, Magic Compose's drafts and the Settings choice all follow it. The account-creation activity row (`workspace.created`) records it as `locale`, and the privacy page says so. While only English has shipped, which is today, nothing is stored, so nothing changes.
- The organizer app follows the organizer's language (#937), the same one their new signups start in: the language stored on their account, else the instance's `DEFAULT_LOCALE`, else English, each only once it has shipped to organizers. The strip a signup's organizers see across its page, the note on their own draft's page, the Preview banner, and in the organizer app the header, the crumbs, Your signups, the card for a signup that can't be loaded, account Settings and Connected apps (its dates too), a signup's Settings, Build and Responses tabs, and New signup, with Magic Compose's start, drafting and error screens, its three examples, its questions and what it says about the answers, and the banner on a draft it made with its warnings, are in it, marked with it for screen readers, as the rest of the organizer app will be as its text moves to the catalogs. So is the CSV the Responses tab downloads, for OpenSignup's own words only: its column names ("Name", "Email", "Status", "Spots", "Notes", "Signed up") and each sign-up's status. Its field columns keep the organizer's labels, and every value, name, note and signed-up time stays as written, so once a language ships, a spreadsheet or script that reads the English column names gets that language's names from an organizer who uses it. Account Settings' language choice is now called "Language", and says it sets both the organizer's screens and their new signups' language; the privacy page words the account's language the same way. While only English has shipped, which is today, everything stays in English, and the choice isn't shown.
- The organizer app follows the organizer's language (#937), the same one their new signups start in: the language stored on their account, else the instance's `DEFAULT_LOCALE`, else English, each only once it has shipped to organizers. The strip a signup's organizers see across its page, the note on their own draft's page, the Preview banner, and in the organizer app the header, the crumbs, Your signups, the card for a signup that can't be loaded, account Settings and Connected apps (its dates too), a signup's header, status, tabs, Publish and share's check, Close signup and Reopen signup, its Settings, Build and Responses tabs, and New signup, with Magic Compose's start, drafting and error screens, its three examples, its questions and what it says about the answers, and the banner on a draft it made with its warnings, are in it, marked with it for screen readers, as the rest of the organizer app will be as its text moves to the catalogs. So is the CSV the Responses tab downloads, for OpenSignup's own words only: its column names ("Name", "Email", "Status", "Spots", "Notes", "Signed up") and each sign-up's status. Its field columns keep the organizer's labels, and every value, name, note and signed-up time stays as written, so once a language ships, a spreadsheet or script that reads the English column names gets that language's names from an organizer who uses it. Account Settings' language choice is now called "Language", and says it sets both the organizer's screens and their new signups' language; the privacy page words the account's language the same way. While only English has shipped, which is today, everything stays in English, and the choice isn't shown.
- The Build tab and Responses write a signup's dates and times in the signup's language, and mark its own words with that language where it isn't the organizer's (#951). The Build tab's group headings, slot rows and the times a slot's editor offers, and the Slot column on Responses, read as the signup's participants read them; they used to be in English whatever the signup's language. Its title, description, field names (in the Fields dialog too), values and list items are marked, so screen readers read them in their language. A box the organizer types in keeps the organizer's language, and participants' names, emails and notes aren't marked. Magic Compose's time boxes now write times in the organizer's language, as the rest of its questions do. While only English has shipped, every signup and every organizer is in English, so nothing changes.
- A button in account Settings that switches the organizer's open signups to their language (#639): under "Language", "Switch your 3 open signups to Svenska" ("signup" for one) shows while some of their open signups are in another language. It switches the signups they made themselves that are open now, in workspaces where they can edit; drafts, closed and archived signups, other members' signups, and those in a workspace the organizer only views stay as they are. Each signup it changes gets the `signup.updated` activity row a save on its Settings tab writes, and the page then says how many of the organizer's open signups use the language, "Saved. Your 3 open signups now use Svenska.", in the button's place. Nothing appears after a language is saved. Like the language choices, the button appears only once a second language has shipped to participants, so it isn't there yet.
- A new signup's two starting columns, "What" and "Date", are named in the signup's language (#634), as are the names the Build tab gives a field saved without one ("Untitled") and a new list's first option ("Option 1"): participants read all four. The columns' refs stay `what` and `date` in every language. Signups made by Magic Compose or an AI assistant don't start from these columns, so they're unaffected. While only English has shipped, nothing changes. The Build tab also sorts its group headings in the signup's alphabetical order. It used to sort them in the server's language and again in the browser's, so where the two disagree (Swedish puts Å, Ä and Ö after Z) the browser redrew the list and logged an error.
Expand Down
10 changes: 5 additions & 5 deletions docs/translating.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ nothing else.
A catalog's top-level sections are its namespaces. Each audience reads its
own, as `AUDIENCE_NAMESPACES` in `src/i18n/config.ts` lists them:

| Audience | Namespaces | What's in them today |
| ----------- | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| participant | `participant`, `email`, `common` | The signup's page, the sign-up sheet, the edit, cancelled and unsubscribe pages, both not-found pages, the participant emails, and the footer's links |
| organizer | `organizer`, `auth`, `common` | Organizer text: on a participant page, the bar across the top, the Preview banner and the note on your own draft; in the organizer app, the header, the crumbs, Your signups, the card for a signup that can't be loaded, account Settings and Connected apps, a signup's Settings, Build and Responses tabs and the column names and statuses in its CSV, New signup, every Magic Compose screen and the banner on a draft it made, and what New signup, the Settings pages and Connected apps say when a save is refused |
| site | `site`, `common` | Nothing yet |
| Audience | Namespaces | What's in them today |
| ----------- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| participant | `participant`, `email`, `common` | The signup's page, the sign-up sheet, the edit, cancelled and unsubscribe pages, both not-found pages, the participant emails, and the footer's links |
| organizer | `organizer`, `auth`, `common` | Organizer text: on a participant page, the bar across the top, the Preview banner and the note on your own draft; in the organizer app, the header, the crumbs, Your signups, the card for a signup that can't be loaded, account Settings and Connected apps, on a signup's own pages its header, status, tabs, publish, close and reopen, a signup's Settings, Build and Responses tabs and the column names and statuses in its CSV, New signup, every Magic Compose screen and the banner on a draft it made, and what New signup, the Settings pages and Connected apps say when a save is refused |
| site | `site`, `common` | Nothing yet |

`auth` and `site` have no messages yet. `participant.defaults` holds the names
a new signup's first fields get ("What", "Date") and a new field's ("Untitled",
Expand Down
17 changes: 14 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,32 @@ const TRANSLATED = [
'src/app/app/(chrome)/page.tsx',
'src/app/app/(chrome)/@crumbs',
'src/components/chrome',
'src/components/signup/SignupLoadError.tsx',
// New signup: the form, and Magic Compose's screens, its questions and the
// banner on a draft it made included.
'src/app/app/(chrome)/signups/new',
'src/components/magic-compose',
// Account Settings and Connected apps, the disconnect button included.
'src/app/app/(chrome)/settings',
// A signup's header, tabs, status pill and closed box, on every tab, and the
// card its pages show when it can't be loaded, but the share button and
// panel (`NOT_YET_TRANSLATED`).
'src/app/app/(chrome)/signups/[id]/layout.tsx',
'src/components/signup',
'src/components/status-pill.tsx',
];

/**
* Files inside a `TRANSLATED` folder whose text hasn't moved yet, left out of
* the rules until it does, written as in `TRANSLATED`. The sign-in email is
* organizer text, which moves to the catalogs after the participant's.
* organizer text, which moves to the catalogs after the participant's. The
* signup header's Share button and the share panel's scope move with the
* share panel (#942).
*/
const NOT_YET_TRANSLATED = ['src/email/templates/magic-link.tsx'];
const NOT_YET_TRANSLATED = [
'src/email/templates/magic-link.tsx',
'src/components/signup/ShareButton.tsx',
'src/components/signup/ShareScope.tsx',
];

/**
* Glob patterns for `files` that match exactly `paths`, each a file or a
Expand Down
4 changes: 4 additions & 0 deletions src/app/app/(chrome)/page.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ describe('Your signups', () => {
expect(screen.getByText('/s/bake-sale')).toBeInTheDocument();
expect(screen.getByText('Only you can see this draft')).toBeInTheDocument();
expect(screen.queryByText('/s/picnic')).not.toBeInTheDocument();
// Each row's status, in the words it always had.
expect(screen.getByText('open', { exact: true })).toBeInTheDocument();
expect(screen.getByText('draft', { exact: true })).toBeInTheDocument();
});

it('says so, as before, when the workspace isn’t set up', async () => {
Expand All @@ -97,6 +100,7 @@ describe('Your signups', () => {
expect(screen.getByRole('heading', { level: 1 })).toHaveTextContent(ask('title'));
expect(screen.getByText(ask('total'))).toBeInTheDocument();
expect(screen.getByText(ask('draftOnlyYou'))).toBeInTheDocument();
expect(screen.getByText(`organizer.status.draft in ${other}`)).toBeInTheDocument();
expect(screen.getByRole('link', { name: ask('newSignup') })).toBeInTheDocument();
expect(await generateMetadata()).toEqual({ title: ask('title') });
});
Expand Down
11 changes: 9 additions & 2 deletions src/app/app/(chrome)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { getServerTranslator } from '@/i18n/server';
import { publicSignupPath } from '@/lib/links';
import { listSignupSummariesForWorkspace } from '@/services/signups';
import { StatusPill } from '@/components/status-pill';
import { signupStatusLabel } from '@/components/signup/status-label';
import type { SignupStatus } from '@/schemas/signups';

export async function generateMetadata(): Promise<Metadata> {
const locale = getOrganizerAppLocale(await getOrganizerSession());
Expand All @@ -15,7 +17,9 @@ export async function generateMetadata(): Promise<Metadata> {

export default async function DashboardPage() {
const session = await requireOrganizerSession();
const t = getServerTranslator(getOrganizerAppLocale(session), 'organizer.dashboard');
const locale = getOrganizerAppLocale(session);
const t = getServerTranslator(locale, 'organizer.dashboard');
const tStatus = getServerTranslator(locale, 'organizer.status');
const actor = toActor(session);
const workspaceId = session.defaultWorkspaceId;
if (!workspaceId) {
Expand Down Expand Up @@ -76,7 +80,10 @@ export default async function DashboardPage() {
</p>
)}
</div>
<StatusPill status={r.status} />
<StatusPill
status={r.status}
label={signupStatusLabel(r.status as SignupStatus, tStatus)}
/>
</div>
</Link>
</li>
Expand Down
3 changes: 2 additions & 1 deletion src/app/app/(chrome)/signups/[id]/actions.db.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { workspaces } from '@/db/schema/workspaces';
import { CATALOG_LOCALES } from '@/i18n/config';
import { ship } from '@/i18n/testing/ship';
import { makeId } from '@/lib/ids';
import { getTestTranslator } from '@/i18n/testing/translator';
import type { Actor } from '@/lib/policy';
import { publishCheckCopy, publishCheckTarget, type PublishCheck } from '@/lib/publish-check';
import { commitToSlot } from '@/services/commitments';
Expand Down Expand Up @@ -507,7 +508,7 @@ describe('Publish’s check (db)', () => {
.map((s) => s.id);
const answer = (check: PublishCheck) => ({
check,
copy: publishCheckCopy(check),
copy: publishCheckCopy(check, getTestTranslator('organizer.signup.check')),
target: publishCheckTarget(check),
});

Expand Down
Loading
Loading