Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions messages/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
"responseIntroQuestion": "Vælg de muligheder, der passer dig bedst",
"optionsQuestion": "Hvad fungerer for dig?",
"chooseEachQuestion": "Vælg et svar for hver mulighed",
"prefAvailableQuestion": "Fungerer for mig",
"prefUnavailableQuestion": "Fungerer ikke",
"prefAvailableQuestion": "Ja",
"prefUnavailableQuestion": "Nej",
"newOptionsBanner": "Der er tilføjet nye svarmuligheder, siden du svarede. Opdater dit svar.",
"partialAnsweredQuestion": "Mangler nye svarmuligheder",
"needsUpdateTitleQuestion": "Nogle inviterede mangler at svare på de nye svarmuligheder",
Expand Down
4 changes: 2 additions & 2 deletions messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
"responseIntroQuestion": "Wähle die Optionen, die dir am besten passen",
"optionsQuestion": "Was passt für dich?",
"chooseEachQuestion": "Wähle für jede Option eine Antwort",
"prefAvailableQuestion": "Passt für mich",
"prefUnavailableQuestion": "Passt nicht",
"prefAvailableQuestion": "Ja",
"prefUnavailableQuestion": "Nein",
"newOptionsBanner": "Seit deiner Antwort wurden neue Optionen hinzugefügt. Bitte aktualisiere deine Antwort.",
"partialAnsweredQuestion": "Neue Optionen fehlen",
"needsUpdateTitleQuestion": "Einige Eingeladene haben die neuen Optionen noch nicht beantwortet",
Expand Down
4 changes: 2 additions & 2 deletions messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
"responseIntroQuestion": "Choose the options that suit you best",
"optionsQuestion": "What works for you?",
"chooseEachQuestion": "Choose an answer for each option",
"prefAvailableQuestion": "Works for me",
"prefUnavailableQuestion": "Doesn't work",
"prefAvailableQuestion": "Yes",
"prefUnavailableQuestion": "No",
"newOptionsBanner": "New options have been added since you answered. Please update your answer.",
"partialAnsweredQuestion": "Missing new options",
"needsUpdateTitleQuestion": "Some invitees haven't answered the new options",
Expand Down
4 changes: 2 additions & 2 deletions messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
"responseIntroQuestion": "Elige las opciones que mejor te vengan",
"optionsQuestion": "¿Qué te viene bien?",
"chooseEachQuestion": "Elige una respuesta para cada opción",
"prefAvailableQuestion": "Me viene bien",
"prefUnavailableQuestion": "No me viene bien",
"prefAvailableQuestion": "",
"prefUnavailableQuestion": "No",
"newOptionsBanner": "Se han añadido nuevas opciones desde que respondiste. Actualiza tu respuesta.",
"partialAnsweredQuestion": "Faltan opciones nuevas",
"needsUpdateTitleQuestion": "Algunos invitados no han respondido a las opciones nuevas",
Expand Down
4 changes: 2 additions & 2 deletions messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
"responseIntroQuestion": "Choisissez les options qui vous conviennent le mieux",
"optionsQuestion": "Qu'est-ce qui vous convient ?",
"chooseEachQuestion": "Choisissez une réponse pour chaque option",
"prefAvailableQuestion": "Ça me convient",
"prefUnavailableQuestion": "Ça ne convient pas",
"prefAvailableQuestion": "Oui",
"prefUnavailableQuestion": "Non",
"newOptionsBanner": "De nouvelles options ont été ajoutées depuis votre réponse. Mettez à jour votre réponse.",
"partialAnsweredQuestion": "Options manquantes",
"needsUpdateTitleQuestion": "Certains invités n'ont pas répondu aux nouvelles options",
Expand Down
2 changes: 1 addition & 1 deletion openspec/specs/question-options/question-options.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ test("the choice controls read in the poll's language in question wording", asyn
test('result tallies read in question wording on the dashboard', async ({ page }) => {
seed();
await page.goto(`/e/${OTOK}`);
// Pizza: Anna alone can make it - the count row reads works-for-me, not date terms.
// Pizza: Anna alone can make it - the count row reads yes/no, not date terms.
await expect(page.getByText(`1 ${m.prefAvailableQuestion()}`).first()).toBeVisible();
await expect(page.getByText(`1 ${m.prefUnavailableQuestion()}`).first()).toBeVisible();
await expect(page.getByText(m.prefAvailable())).toHaveCount(0);
Expand Down
6 changes: 3 additions & 3 deletions openspec/specs/question-options/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ The system SHALL render question polls with question wording wherever a
dates poll's copy names dates: the response scale's choice labels, result
tally labels, section headings, the response prompt, chosen-outcome headings,
and new-option notices. The Available and Unavailable choices SHALL be
labeled in works-for-me / doesn't-work terms. All such copy SHALL render in
labeled in yes / no terms. All such copy SHALL render in
the poll's language, and dates polls SHALL keep their current wording.

#### Scenario: Choice labels read in question wording
Expand All @@ -185,8 +185,8 @@ the poll's language, and dates polls SHALL keep their current wording.

- GIVEN a question poll with responses
- WHEN the organizer opens the dashboard
- THEN each option's count row is labeled in works-for-me / doesn't-work
terms, not the date wording
- THEN each option's count row is labeled in yes / no terms, not the date
wording

#### Scenario: Dates polls keep date wording

Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/atoms/SegmentedControl.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// The event's enabled choices, in display order (see $lib/logic/choices).
choices?: Preference[];
readOnly?: boolean;
// Question polls label the fixed pair in works-for-me/doesn't-work terms.
// Question polls label the fixed pair in yes/no terms.
pollType?: PollType;
} = $props();

Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/molecules/ResultBars.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
showPreferred?: boolean;
unsure?: number;
// Wording for the count row follows the poll type everywhere (RSVP
// yes/no, question works-for-me, dates preference labels).
// yes/no, question yes/no, dates preference labels).
pollType?: PollType;
names?: {
preferred: string[];
Expand Down
Loading