mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 10:24:05 +00:00
feat(collections): fusion sharing UI + dashboard widget + per-user toggle (#1081)
- ShareCollectionModal: the owner manages a list's members and invites users (available-users picker → invite, cancel pending); a member can leave a shared list. The incoming accept/decline surface stays in the lists rail. A Share button is added to the collections header for owners (and members, to reach Leave). - CollectionsWidget: a dashboard glass card after the currency widget showing the saved count and the most recent saved places, double-gated by the admin addon and a new per-user appearance flag. - Appearance: a 'collections' dashboard-widget flag (desktop + mobile defaults) wired into the appearance settings, surviving normalize. - Sharing + settings strings across all 22 locales (parity strict passes).
This commit is contained in:
@@ -72,15 +72,23 @@ const collection: TranslationStrings = {
|
||||
'collections.picker.use': 'Übernehmen',
|
||||
|
||||
'collections.share.title': 'Liste teilen',
|
||||
'collections.share.titleNamed': '„{name}“ teilen',
|
||||
'collections.share.button': 'Teilen',
|
||||
'collections.share.members': 'Mitglieder',
|
||||
'collections.share.owner': 'Besitzer',
|
||||
'collections.share.you': 'du',
|
||||
'collections.share.pending': 'ausstehende Einladung',
|
||||
'collections.share.accepted': 'angenommen',
|
||||
'collections.share.invite': 'Jemanden einladen',
|
||||
'collections.share.inviteUser': 'Benutzer wählen',
|
||||
'collections.share.sendInvite': 'Einladung senden',
|
||||
'collections.share.inviteHint': 'Eingeladene Personen können diese Liste ansehen und bearbeiten.',
|
||||
'collections.share.noUsers': 'Keine Benutzer zum Einladen verfügbar.',
|
||||
'collections.share.memberHint': 'Nur der Listenbesitzer kann Personen einladen oder entfernen.',
|
||||
'collections.share.cancel': 'Abbrechen',
|
||||
'collections.share.leave': 'Liste verlassen',
|
||||
'collections.share.leaveConfirm': 'Diese geteilte Liste verlassen? Du verlierst den Zugriff, bis du erneut eingeladen wirst.',
|
||||
'collections.share.left': 'Du hast die Liste verlassen',
|
||||
'collections.share.remove': 'Entfernen',
|
||||
|
||||
'collections.invites.title': 'Einladungen',
|
||||
|
||||
@@ -381,6 +381,7 @@ const settings: TranslationStrings = {
|
||||
'settings.appearance.mobile': 'Mobil',
|
||||
'settings.appearance.widget.sidebar': 'Rechte Seitenleiste',
|
||||
'settings.appearance.widget.currency': 'Währung',
|
||||
'settings.appearance.widget.collections': 'Sammlungen',
|
||||
'settings.appearance.widget.timezones': 'Zeitzonen',
|
||||
'settings.appearance.widget.upcomingReservations': 'Anstehende Reservierungen',
|
||||
'settings.appearance.widget.atlas': 'Atlas / Länder',
|
||||
|
||||
Reference in New Issue
Block a user