mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 09:54:14 +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.
80 lines
4.2 KiB
TypeScript
80 lines
4.2 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const memories: TranslationStrings = {
|
|
'memories.title': 'Fotod',
|
|
'memories.notConnected': '{provider_name} pole ühendatud',
|
|
'memories.notConnectedHint': 'Reisile fotode lisamiseks ühenda seadetes oma {provider_name}.',
|
|
'memories.notConnectedMultipleHint':
|
|
'Reisile fotode lisamiseks ühenda seadetes mõni neist fototeenustest: {provider_names}.',
|
|
'memories.noDates': 'Fotode laadimiseks lisa reisile kuupäevad.',
|
|
'memories.noPhotos': 'Fotosid ei leitud',
|
|
'memories.noPhotosHint': 'Teenuses {provider_name} ei leitud selle reisi ajavahemikus fotosid.',
|
|
'memories.photosFound': 'fotot',
|
|
'memories.fromOthers': 'teistelt',
|
|
'memories.sharePhotos': 'Jaga fotosid',
|
|
'memories.sharing': 'Jagamine',
|
|
'memories.reviewTitle': 'Vaata oma fotod üle',
|
|
'memories.reviewHint': 'Klõpsa fotodel, mida sa ei soovi jagada.',
|
|
'memories.shareCount': 'Jaga {count} fotot',
|
|
'memories.shareCount.one': 'Jaga {count} foto',
|
|
'memories.providerUrl': 'Serveri URL',
|
|
'memories.providerApiKey': 'API-võti',
|
|
'memories.providerUsername': 'Kasutajanimi',
|
|
'memories.providerPassword': 'Parool',
|
|
'memories.providerOTP': 'MFA-kood (kui lubatud)',
|
|
'memories.skipSSLVerification': 'Jäta SSL-sertifikaadi kontroll vahele',
|
|
'memories.immichAutoUpload': 'Kopeeri reisiloo fotod üleslaadimisel Immichisse',
|
|
'memories.providerUrlHintSynology': 'Lisa URL-i Photosi rakenduse tee, nt https://nas:5001/photo',
|
|
'memories.testConnection': 'Testi ühendust',
|
|
'memories.testShort': 'Testi',
|
|
'memories.testFirst': 'Testi esmalt ühendust',
|
|
'memories.connected': 'Ühendatud',
|
|
'memories.disconnected': 'Ühendamata',
|
|
'memories.connectionSuccess': 'Ühendatud teenusega {provider_name}',
|
|
'memories.connectionError': 'Teenusega {provider_name} ühendamine ebaõnnestus',
|
|
'memories.saved': 'Teenuse {provider_name} seaded salvestatud',
|
|
'memories.providerDisconnectedBanner':
|
|
'Ühendus teenusega {provider_name} katkes. Fotode vaatamiseks ühenda teenus seadetes uuesti.',
|
|
'memories.saveError': 'Teenuse {provider_name} seadete salvestamine ebaõnnestus',
|
|
'memories.addPhotos': 'Lisa fotosid',
|
|
'memories.linkAlbum': 'Seo album',
|
|
'memories.selectAlbum': 'Vali teenuse {provider_name} album',
|
|
'memories.selectAlbumMultiple': 'Vali album',
|
|
'memories.noAlbums': 'Albumeid ei leitud',
|
|
'memories.syncAlbum': 'Sünkrooni album',
|
|
'memories.unlinkAlbum': 'Eemalda albumi seos',
|
|
'memories.photos': 'fotot',
|
|
'memories.selectPhotos': 'Vali fotod teenusest {provider_name}',
|
|
'memories.selectPhotosMultiple': 'Vali fotod',
|
|
'memories.selectHint': 'Fotode valimiseks puuduta neid.',
|
|
'memories.selected': 'valitud',
|
|
'memories.addSelected': 'Lisa {count} fotot',
|
|
'memories.addSelected.one': 'Lisa {count} foto',
|
|
'memories.alreadyAdded': 'Lisatud',
|
|
'memories.private': 'Privaatne',
|
|
'memories.stopSharing': 'Lõpeta jagamine',
|
|
'memories.oldest': 'Vanemad enne',
|
|
'memories.newest': 'Uuemad enne',
|
|
'memories.allLocations': 'Kõik asukohad',
|
|
'memories.tripDates': 'Reisi kuupäevad',
|
|
'memories.allPhotos': 'Kõik fotod',
|
|
'memories.confirmShareTitle': 'Kas jagada reisi liikmetega?',
|
|
'memories.confirmShareHint':
|
|
'{count} fotot on nähtavad kõigile selle reisi liikmetele. Hiljem saad üksikuid fotosid privaatseks muuta.',
|
|
'memories.confirmShareHint.one':
|
|
'{count} foto on nähtav kõigile selle reisi liikmetele. Hiljem saad selle privaatseks muuta.',
|
|
'memories.confirmShareButton': 'Jaga fotosid',
|
|
'memories.error.loadAlbums': 'Albumite laadimine ebaõnnestus',
|
|
'memories.error.linkAlbum': 'Albumi sidumine ebaõnnestus',
|
|
'memories.error.unlinkAlbum': 'Albumi seose eemaldamine ebaõnnestus',
|
|
'memories.error.syncAlbum': 'Albumi sünkroonimine ebaõnnestus',
|
|
'memories.error.loadPhotos': 'Fotode laadimine ebaõnnestus',
|
|
'memories.error.addPhotos': 'Fotode lisamine ebaõnnestus',
|
|
'memories.error.removePhoto': 'Foto eemaldamine ebaõnnestus',
|
|
'memories.error.toggleSharing': 'Jagamise uuendamine ebaõnnestus',
|
|
'memories.saveRouteNotConfigured': 'Selle teenusepakkuja salvestamise API-tee on seadistamata',
|
|
'memories.testRouteNotConfigured': 'Selle teenusepakkuja testimise API-tee on seadistamata',
|
|
'memories.fillRequiredFields': 'Täida kõik kohustuslikud väljad',
|
|
};
|
|
export default memories;
|