• v1.1.0 a719d8f975

    v1.1.0 Stable

    govtech42 released this 2026-08-27 14:11:08 +00:00 | 12 commits to main since this release

    Pomotimer now speaks six languages.

    What's new

    Interface translations — English, Português (BR), Español, Italiano, Deutsch and
    Français, chosen from a picker in the top bar, next to the theme picker.

    • Follows your browser language on first open, and remembers the choice from then on.
    • Dates, the day summary and the exported Markdown all follow the selected language:
      Donnerstag, 27. August 2026 · Fokus 1h10 · 2 Blöcke · Pause 10min.
    • Switching is instant — no reload, and it reaches the help dialog and the notifications too.

    Still one HTML file, still no build and no dependencies. The whole thing is a single
    I18N object with 50 keys per language; adding a seventh language means adding one
    entry to it. Opening index.html?test now fails loudly if any language is missing a key.

    Fixes

    Found while translating:

    • The clock text and the in-place editor each had a local variable shadowing the
      translation function, which broke the timer on start.
    • Plurals are whole words per language instead of an +s suffix, so Italian reads
      2 blocchi rather than 2 bloccs.
    • The German summary drops the preposition so the plural does not need a dative form.
    • clockParts() takes an explicit locale, so its self-check no longer depends on
      whichever language happens to be saved.

    Upgrading

    Replace your index.html with the one from this release. Your entries are untouched —
    they live in the browser's localStorage and no migration is involved. If you had
    bookmarked the file, the bookmark keeps working and keeps pointing at the same data.

    Full changelog: https://git.govtech42.com.br/govtech42/pomotimer/compare/v1.0.0...v1.1.0

    Downloads