Changeset cca2e89 in Klonkt for src/services/i18n.js


Ignore:
Timestamp:
06/28/2026 01:15:39 PM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
9910ba1
Parents:
931b4cb
Message:

feat(identity): one image — the site photo is the only avatar input

Removed the separate account-avatar upload. A user's avatar everywhere (nav, account, profile
header, fediverse) is now their SITE photo, set in one place (site settings). The account page
shows it read-only with a link.

  • middleware/render.js — nav avatar = site photo always; drop the account-avatar cross-fallback
  • views/pages/account.ejs — remove the avatar upload; read-only site photo + hint to site settings
  • services/i18n.js — acct.photo_site_hint (nl/en/de)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/services/i18n.js

    r931b4cb rcca2e89  
    733733    'acct.profile': 'Profiel',
    734734    'acct.avatar_change': 'Klik om je foto te wijzigen',
    735     'acct.member_since': 'Lid sinds',
     735    'acct.member_since': 'Lid sinds', 'acct.photo_site_hint': 'Je profielfoto stel je in bij je <a href="/admin">site-instellingen</a> — één foto, overal gebruikt.',
    736736    'acct.avatar_remove': 'Foto verwijderen',
    737737    'acct.username': 'Gebruikersnaam',
     
    16431643    'acct.profile': 'Profile',
    16441644    'acct.avatar_change': 'Click to change your photo',
    1645     'acct.member_since': 'Member since',
     1645    'acct.member_since': 'Member since', 'acct.photo_site_hint': 'Your profile photo is set in your <a href="/admin">site settings</a> — one photo, used everywhere.',
    16461646    'acct.avatar_remove': 'Remove photo',
    16471647    'acct.username': 'Username',
     
    25532553    'acct.profile': 'Profil',
    25542554    'acct.avatar_change': 'Zum Ändern deines Fotos klicken',
    2555     'acct.member_since': 'Mitglied seit',
     2555    'acct.member_since': 'Mitglied seit', 'acct.photo_site_hint': 'Dein Profilbild legst du in den <a href="/admin">Site-Einstellungen</a> fest — ein Bild für überall.',
    25562556    'acct.avatar_remove': 'Foto entfernen',
    25572557    'acct.username': 'Benutzername',
Note: See TracChangeset for help on using the changeset viewer.