Skip to content

i18n: translate hardcoded UI strings and complete Polish locale - #1782

Merged
mattwoberts merged 7 commits into
getfider:mainfrom
lol2x:i18n/pl-missing-strings
Dec 3, 2026
Merged

mattwoberts merged 7 commits into
getfider:mainfrom
lol2x:i18n/pl-missing-strings

Conversation

@lol2x

@lol2x lol2x commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Issue: #1781

Wraps the user-facing strings that were hardcoded in English in lingui calls, so they can be translated:

  • comment editor toolbar tooltips, including the Markdown / Rich Text mode toggle (editor.toolbar.*)
  • "No result" in the @mention list (editor.mention.noresults)
  • the cookies-required notice on sign in (signin.cookiesrequired.*)
  • the moderation indicator (moderation.indicator.waiting)
  • the theme switcher label (action.toggletheme)
  • the status field label in the response modal (label.status)
  • error toasts for failed requests (error.http.*) and failed account deletion (mysettings.deleteaccount.failed)
  • the image uploader size alert now reuses validation.custom.maximagesize

English messages are unchanged, except three toolbar tooltips that used code-like names: "BulletList" → "Bulleted list", "OrderedList" → "Numbered list", "Code" → "Code block". New keys were added to every client catalog with lingui extract. Admin pages are untouched (#1674).

Polish: translated all new keys and the empty ones added for threaded comments (action.reply, showpost.commentinput.replyplaceholder, showpost.comment.deleted, newpost.modal.title.tooshort), added the missing server keys (validation.custom.invalidreplyparent, feed.global.title, feed.post.title) and switched feed.post.footer to Polish plural forms (checked with the pl messageformat culture: 1 głos, 2 głosy, 5 głosów, 22 głosy).

A second commit fixes existing Polish strings: literal machine translations of Follow / Following, a few wrong meanings (moderation help said the action "cannot be performed" instead of "cannot be undone", the unauthorized page text, the My activity filter), the sign-in email still describing a link instead of the one-time code, post statuses in emails, gender agreement in validation messages, and typos.

npx eslint on the changed files and npx jest ./public (271 tests) pass. Running on a production instance (twojglos.geobid.pl) on top of v0.41.0.

Checklist

  • This PR is linked to a GitHub issue (bug fix or an agreed change).
  • New feature only: it relates to a suggestion on https://feedback.fider.io and a maintainer has confirmed on the linked issue that it's accepted onto the roadmap.
  • I've read the Contributing guide and the feature policy in discussion #1529.

lol2x and others added 7 commits November 25, 2026 22:59
Wrap user-facing strings that were hardcoded in English so they can be
translated: editor toolbar tooltips, the mention "No result" item, the
cookies-required notice, the moderation indicator, the theme switcher
label, the status field in the response modal, and error toasts shown
for failed requests and failed account deletion. The image uploader
size alert now reuses validation.custom.maximagesize.

New keys were extracted with lingui into all client catalogs.

Polish: translate all new keys, fill the strings added for threaded
comments (reply, reply placeholder, deleted comment, title too short),
add the missing server keys (invalid reply parent, feed titles) and use
Polish plural forms in feed.post.footer.
- follow/following: "Obserwuj" / "Obserwujesz" instead of literal
  machine translations
- fix wrong meaning in moderation help ("cannot be undone"), unauthorized
  page text, "My activity" filter, "Read on last 30 days"
- imperative forms for "Sign up" and the sign-in code "Edit" link
- sign-in email now talks about the one-time code instead of a link
- post statuses in emails as adjectives, matching the client catalog
- gender-neutral validation messages ("Pole „{name}” jest wymagane.")
- typos and grammar (GIF, double "o", missing space, "zdecydujesz się",
  "tę stronę")
- shorter moderation indicator and cookies notice, "Wspomnij użytkownika"
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…abel key

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mattwoberts
mattwoberts enabled auto-merge December 3, 2026 10:02
@mattwoberts
mattwoberts added this pull request to the merge queue Dec 3, 2026
Merged via the queue into getfider:main with commit 4242b0b Dec 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants