Polish the copy the audit flagged across all six locales

- Singular variants for the bulk-delete toast and confirm dialog
  (measurements + mood); the call sites branch on a count of one.
- Consent confirm buttons shortened so they no longer overflow the
  small button on phones.
- Workouts empty-state CTA is source-neutral instead of assuming an
  iPhone with Apple Health.
- "Pills" is no longer a navigation term in a medication app: DE says
  Navigations-Chips, EN chips, PL chipy; ES/FR/IT subtitles align with
  their own established terms.
- Health-score insufficient hint drops the translationese and fixes the
  pronoun.
- Side-effect tag helper uses the established Stimmungs-Tags term.
- Success toasts that are single fragments lose the terminal period
  (37 keys, all locales).
- Integration pill parked state short enough to survive truncation.
- The iPhone-managed reminder badge carries a short label; the full
  sentence moved to a helper line below instead of clipping mid-word.
This commit is contained in:
Marc-André Bombeck committed 2026-08-14 05:02:49 +02:00
1 parent 1cde353965
commit 487eb6970c
10 files changed
+371 -300

No files matched your search

+24 -11
View File
@@ -394,12 +394,17 @@ export function MoodList({ onAddFirst }: MoodListProps = {}) {
await invalidateKeys(queryClient, moodDependentKeys);
await refetchInactiveDailyReads(queryClient);
clearSelection();
toast.success(t("mood.bulkDeleteSuccess", { count: String(deleted) }), {
action: {
label: t("common.undo"),
onClick: () => void restoreEntries(ids),
toast.success(
deleted === 1
? t("mood.bulkDeleteSuccessOne")
: t("mood.bulkDeleteSuccess", { count: String(deleted) }),
{
action: {
label: t("common.undo"),
onClick: () => void restoreEntries(ids),
},
},
});
);
},
onError: () => {
toast.error(t("mood.bulkDeleteError"));
@@ -955,12 +960,20 @@ export function MoodList({ onAddFirst }: MoodListProps = {}) {
onClear={clearSelection}
onConfirmDelete={onConfirmBulkDelete}
isDeleting={bulkDeleteMutation.isPending}
confirmTitle={t("mood.bulkDeleteConfirmTitle", {
count: String(selectedOnPage),
})}
confirmBody={t("mood.bulkDeleteConfirmBody", {
count: String(selectedOnPage),
})}
confirmTitle={
selectedOnPage === 1
? t("mood.bulkDeleteConfirmTitleOne")
: t("mood.bulkDeleteConfirmTitle", {
count: String(selectedOnPage),
})
}
confirmBody={
selectedOnPage === 1
? t("mood.bulkDeleteConfirmBodyOne")
: t("mood.bulkDeleteConfirmBody", {
count: String(selectedOnPage),
})
}
/>
{/* Pagination */}