Changeset 11b3ba5 in Klonkt for src/services


Ignore:
Timestamp:
06/21/2026 03:54:13 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
1664f31
Parents:
5e61b17
Message:

fix(editor): schedule publication behind an on/off toggle (no accidental date)

The "Publish on" date field was always open → an accidentally chosen date silently
set the post to 'scheduled' (not live, no obvious reason). Now a "Schedule
publication" toggle, off by default = publish immediately; the date field appears
and counts only when the toggle is on (input disabled when off). Server honours
publish_at only with schedule_enabled (bulletproof, create + update). NL/EN/DE.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/services/i18n.js

    r5e61b17 r11b3ba5  
    725725    'pedit.noindex_label': 'noindex (verberg voor zoekmachines)',
    726726    'pedit.fan_only_label': 'Alleen voor ingelogde fans',
    727     'pedit.publish_at_label': 'Publiceren op (laat leeg = direct)',
     727    'pedit.schedule_label': 'Publicatie inplannen',
     728    'pedit.schedule_hint': 'Staat dit uit, dan gaat je post meteen live. Aan = kies hieronder wanneer \'ie verschijnt.',
     729    'pedit.publish_at_label': 'Datum & tijd',
    728730    'pedit.scheduled_for': 'Ingepland voor {d}',
    729731    'pedit.cancel': 'Annuleren',
     
    16761678    'pedit.noindex_label': 'noindex (hide from search engines)',
    16771679    'pedit.fan_only_label': 'Logged-in fans only',
    1678     'pedit.publish_at_label': 'Publish at (leave empty = immediately)',
     1680    'pedit.schedule_label': 'Schedule publication',
     1681    'pedit.schedule_hint': 'When off, your post goes live immediately. On = pick below when it appears.',
     1682    'pedit.publish_at_label': 'Date & time',
    16791683    'pedit.scheduled_for': 'Scheduled for {d}',
    16801684    'pedit.cancel': 'Cancel',
     
    26272631    'pedit.noindex_label': 'noindex (vor Suchmaschinen verbergen)',
    26282632    'pedit.fan_only_label': 'Nur für angemeldete Fans',
    2629     'pedit.publish_at_label': 'Veröffentlichen am (leer lassen = sofort)',
     2633    'pedit.schedule_label': 'Veröffentlichung planen',
     2634    'pedit.schedule_hint': 'Wenn aus, geht dein Beitrag sofort live. An = wähle unten, wann er erscheint.',
     2635    'pedit.publish_at_label': 'Datum & Uhrzeit',
    26302636    'pedit.scheduled_for': 'Geplant für {d}',
    26312637    'pedit.cancel': 'Abbrechen',
Note: See TracChangeset for help on using the changeset viewer.