mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 02:14:05 +00:00
bdaddc44ac
The plural parity check only knows the groups en already declares, so a
"{count} ..." string added as a plain key kept one form in every
language: Polish read "Usuń 1 spakowanych", Czech "Odstranit 1
hotových" and Greek "1 λεπτά". 44 such en keys become plural groups with their
forms in all 27 locales: the collection, packing, day plan and offline
banner counts, the relative times, the audit log, the tour and transit
minutes, the share and photo hints. Labels like "Notes: {count}" get
their forms too, so a language can still inflect them later. The
dashboard's hand-rolled activeOne/activeMany pair, unused, becomes one
group, dashboard.subtitle.active.
i18n-parity now refuses an en string with {count} or {n} that is no
plural group. NOT_PLURAL lists the eleven where the number is never a
quantity (a day number, a step, a waypoint, the equator multiplier),
each with its reason, and an entry that stops matching fails as well.
Callers that worked around the engine:
- Copy to trip switched between two keys on placeIds.length > 1;
collections.copyN now carries the one-place wording as its `one` form,
where the language's `one` is the number 1 alone.
- The plugin dependency toasts said "addon(s)" and "plugin(s)"; they are
groups now and the panels pass the list length as the count.
- The dismissed suggestions count went in as a string and the comp days
as a formatted string, so no form was picked; both pass numbers.
81 lines
4.5 KiB
TypeScript
81 lines
4.5 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const memories: TranslationStrings = {
|
|
'memories.title': 'Fotos',
|
|
'memories.notConnected': '{provider_name} nicht verbunden',
|
|
'memories.notConnectedHint':
|
|
'Verbinde deine {provider_name}-Instanz in den Einstellungen, um deine Reisefotos hier zu sehen.',
|
|
'memories.notConnectedMultipleHint':
|
|
'Verbinde einen dieser Fotoanbieter: {provider_names} in den Einstellungen, um Fotos zu dieser Reise hinzufügen zu können.',
|
|
'memories.noDates': 'Füge Daten zu deiner Reise hinzu, um Fotos zu laden.',
|
|
'memories.noPhotos': 'Keine Fotos gefunden',
|
|
'memories.noPhotosHint': 'Keine Fotos in {provider_name} für den Zeitraum dieser Reise gefunden.',
|
|
'memories.photosFound': 'Fotos',
|
|
'memories.fromOthers': 'von anderen',
|
|
'memories.sharePhotos': 'Fotos teilen',
|
|
'memories.sharing': 'Wird geteilt',
|
|
'memories.reviewTitle': 'Deine Fotos prüfen',
|
|
'memories.reviewHint': 'Klicke auf Fotos, um sie vom Teilen auszuschließen.',
|
|
'memories.shareCount': '{count} Fotos teilen',
|
|
'memories.shareCount.one': '{count} Foto teilen',
|
|
'memories.providerUrl': 'Server-URL',
|
|
'memories.providerApiKey': 'API-Schlüssel',
|
|
'memories.providerUsername': 'Benutzername',
|
|
'memories.providerPassword': 'Passwort',
|
|
'memories.providerOTP': 'MFA-Code (falls aktiviert)',
|
|
'memories.skipSSLVerification': 'SSL-Zertifikatsprüfung überspringen',
|
|
'memories.immichAutoUpload': 'Journey-Fotos beim Upload auch zu Immich spiegeln',
|
|
'memories.providerUrlHintSynology': 'Füge den Fotos-App-Pfad in die URL ein, z.B. https://nas:5001/photo',
|
|
'memories.testConnection': 'Verbindung testen',
|
|
'memories.testShort': 'Testen',
|
|
'memories.testFirst': 'Verbindung zuerst testen',
|
|
'memories.connected': 'Verbunden',
|
|
'memories.disconnected': 'Nicht verbunden',
|
|
'memories.connectionSuccess': 'Verbindung zu {provider_name} hergestellt',
|
|
'memories.connectionError': 'Verbindung zu {provider_name} fehlgeschlagen',
|
|
'memories.saved': '{provider_name}-Einstellungen gespeichert',
|
|
'memories.providerDisconnectedBanner':
|
|
'Deine {provider_name}-Verbindung wurde getrennt. Verbinde erneut in den Einstellungen, um Fotos anzuzeigen.',
|
|
'memories.saveError': '{provider_name}-Einstellungen konnten nicht gespeichert werden',
|
|
'memories.saveRouteNotConfigured': 'Speicherroute ist für diesen Anbieter nicht konfiguriert',
|
|
'memories.testRouteNotConfigured': 'Testroute ist für diesen Anbieter nicht konfiguriert',
|
|
'memories.fillRequiredFields': 'Bitte füllen Sie alle Pflichtfelder aus',
|
|
'memories.addPhotos': 'Fotos hinzufügen',
|
|
'memories.linkAlbum': 'Album verknüpfen',
|
|
'memories.selectAlbum': '{provider_name}-Album auswählen',
|
|
'memories.selectAlbumMultiple': 'Album auswählen',
|
|
'memories.noAlbums': 'Keine Alben gefunden',
|
|
'memories.syncAlbum': 'Album synchronisieren',
|
|
'memories.unlinkAlbum': 'Album trennen',
|
|
'memories.photos': 'Fotos',
|
|
'memories.selectPhotos': 'Fotos aus {provider_name} auswählen',
|
|
'memories.selectPhotosMultiple': 'Fotos auswählen',
|
|
'memories.selectHint': 'Tippe auf Fotos um sie auszuwählen.',
|
|
'memories.selected': 'ausgewählt',
|
|
'memories.addSelected': '{count} Fotos hinzufügen',
|
|
'memories.addSelected.one': '{count} Foto hinzufügen',
|
|
'memories.alreadyAdded': 'Hinzugefügt',
|
|
'memories.private': 'Privat',
|
|
'memories.stopSharing': 'Nicht mehr teilen',
|
|
'memories.oldest': 'Älteste zuerst',
|
|
'memories.newest': 'Neueste zuerst',
|
|
'memories.allLocations': 'Alle Orte',
|
|
'memories.tripDates': 'Trip-Zeitraum',
|
|
'memories.allPhotos': 'Alle Fotos',
|
|
'memories.confirmShareTitle': 'Mit Reisebegleitern teilen?',
|
|
'memories.confirmShareHint':
|
|
'{count} Fotos werden für alle Mitglieder dieses Trips sichtbar. Du kannst einzelne Fotos nachträglich auf privat setzen.',
|
|
'memories.confirmShareHint.one':
|
|
'{count} Foto wird für alle Mitglieder dieses Trips sichtbar. Du kannst es nachträglich auf privat setzen.',
|
|
'memories.confirmShareButton': 'Fotos teilen',
|
|
'memories.error.loadAlbums': 'Alben konnten nicht geladen werden',
|
|
'memories.error.linkAlbum': 'Album konnte nicht verknüpft werden',
|
|
'memories.error.unlinkAlbum': 'Album konnte nicht getrennt werden',
|
|
'memories.error.syncAlbum': 'Album konnte nicht synchronisiert werden',
|
|
'memories.error.loadPhotos': 'Fotos konnten nicht geladen werden',
|
|
'memories.error.addPhotos': 'Fotos konnten nicht hinzugefügt werden',
|
|
'memories.error.removePhoto': 'Foto konnte nicht entfernt werden',
|
|
'memories.error.toggleSharing': 'Freigabe konnte nicht aktualisiert werden',
|
|
};
|
|
export default memories;
|