mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 08:30:05 +00:00
bee500880e
Finishes the plural work the previous wip commit started. t() picks a count string's form by the language's own Intl.PluralRules, and every locale now spells out the forms its language reaches with whole numbers, about 160 count strings in all: one, few and many in Russian, Ukrainian and Polish, one and few in Czech and Slovak, five forms in Arabic, one in the others, none in Japanese, Korean, Chinese, Thai, Vietnamese and Indonesian. Each language was translated and then reviewed on its own. English no longer reads "1 files", "1 updates available" or "photo(s)". Count labels shown next to a number now take that number too: the atlas and admin statistics, the trip cards, journey and shared trip pills, packing templates, receipts, storage usage, the Studio export note. A heading that shared its key with a counted label keeps a key of its own (the boarding pass heading, the Bookings tab), so languages that put a noun after a number in the singular keep a plural heading. The plugin hosts chip passed its count through .replace() after t() and never got a form; three toasts sent the count as text. Mail and push texts for shared photos and suppressed storage failures pick their form in code through pluralForm. A whole number sent as text counts too, which is how in-app notification params arrive, and the plural rule follows the language of the strings on screen while another one still loads. The parity check knows which forms each language needs and refuses missing and impossible ones. It also reads keys that contain a colon now: it skipped them, which hid 58 missing plugin permission texts in Catalan and 35 in Vietnamese, both translated. The client parity test covers every language of the registry instead of a hand-kept list of 19, and the placeholder spec lets a form spell its number out only where its category is that one number. Brazilian Portuguese error screens were in Breton, and an Arabic dashboard label held Hebrew text.
71 lines
3.1 KiB
TypeScript
71 lines
3.1 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
||
|
||
const planner: TranslationStrings = {
|
||
'planner.places': 'Yer',
|
||
'planner.bookings': 'Rezervasyonlar',
|
||
'planner.packingList': 'Paket Listesi',
|
||
'planner.documents': 'Belgeler',
|
||
'planner.dayPlan': 'Gün Planı',
|
||
'planner.reservations': 'Rezervasyonlar',
|
||
'planner.minTwoPlaces': 'En az 2 koordinatlı yer gerekli',
|
||
'planner.noGeoPlaces': 'Koordinatlı yer bulunamadı',
|
||
'planner.routeCalculated': 'Rota hesaplandı',
|
||
'planner.routeCalcFailed': 'Rota hesaplanamadı',
|
||
'planner.routeError': 'Rota hesaplanırken hata',
|
||
'planner.icsExportFailed': 'ICS dışa aktarma başarısız',
|
||
'planner.routeOptimized': 'Rota optimize edildi',
|
||
'planner.reservationUpdated': 'Rezervasyon güncellendi',
|
||
'planner.reservationAdded': 'Rezervasyon eklendi',
|
||
'planner.confirmDeleteReservation': 'Rezervasyon silinsin mi?',
|
||
'planner.reservationDeleted': 'Rezervasyon silindi',
|
||
'planner.days': 'Günler',
|
||
'planner.allPlaces': 'Tüm Yerler',
|
||
'planner.totalPlaces': 'toplam {n} yer',
|
||
'planner.totalPlaces.one': 'toplam {n} yer',
|
||
'planner.noDaysPlanned': 'Henüz gün planlanmadı',
|
||
'planner.editTrip': 'Seyahati düzenle →',
|
||
'planner.placeOne': '1 yer',
|
||
'planner.placeN': '{n} yer',
|
||
'planner.placeN.one': '{n} yer',
|
||
'planner.addNote': 'Not ekle',
|
||
'planner.noEntries': 'Bu gün için kayıt yok',
|
||
'planner.addPlace': 'Yer/etkinlik ekle',
|
||
'planner.addPlaceShort': '+ Yer/etkinlik ekle',
|
||
'planner.resPending': 'Rezervasyon beklemede',
|
||
'planner.resConfirmed': 'Rezervasyon onaylandı',
|
||
'planner.notePlaceholder': 'Not…',
|
||
'planner.noteTimePlaceholder': 'Saat (isteğe bağlı)',
|
||
'planner.noteExamplePlaceholder': "örn. Merkez istasyondan 14:30'da S3, iskele 7'den feribot, öğle molası…",
|
||
'planner.totalCost': 'Toplam maliyet',
|
||
'planner.searchPlaces': 'Yer ara…',
|
||
'planner.allCategories': 'Tüm Kategoriler',
|
||
'planner.noPlacesFound': 'Hiçbir yer bulunamadı',
|
||
'planner.addFirstPlace': 'İlk yeri ekle',
|
||
'planner.noReservations': 'Rezervasyon yok',
|
||
'planner.addFirstReservation': 'İlk rezervasyonu ekle',
|
||
'planner.new': 'Yeni',
|
||
'planner.addToDay': '+ Gün',
|
||
'planner.calculating': 'Hesaplanıyor…',
|
||
'planner.route': 'Rota',
|
||
'planner.optimize': 'Optimize et',
|
||
'planner.openGoogleMaps': "Google Haritalar'da aç",
|
||
'planner.openCoMaps': "CoMaps'te aç",
|
||
'planner.selectDayHint': 'Gün planını görmek için soldaki listeden bir gün seçin',
|
||
'planner.noPlacesForDay': 'Bu gün için henüz yer yok',
|
||
'planner.addPlacesLink': 'Yer ekle →',
|
||
'planner.minTotal': 'dk. toplam',
|
||
'planner.noReservation': 'Rezervasyon yok',
|
||
'planner.removeFromDay': 'Günden kaldır',
|
||
'planner.addToThisDay': 'Güne ekle',
|
||
'planner.overview': 'Genel bakış',
|
||
'planner.noDays': 'Henüz gün yok',
|
||
'planner.editTripToAddDays': 'Gün eklemek için seyahati düzenleyin',
|
||
'planner.dayCount': '{n} Gün',
|
||
'planner.dayCount.one': '{n} Gün',
|
||
'planner.clickToUnlock': 'Kilidi açmak için tıklayın',
|
||
'planner.keepPosition': 'Rota optimizasyonunda konumu koru',
|
||
'planner.dayDetails': 'Gün ayrıntıları',
|
||
'planner.dayN': '{n}. gün',
|
||
};
|
||
export default planner;
|