mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 02:14: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.
67 lines
2.9 KiB
TypeScript
67 lines
2.9 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const atlas: TranslationStrings = {
|
|
'atlas.subtitle': '전 세계의 나의 여행 발자취',
|
|
'atlas.countries': '국가',
|
|
'atlas.trips': '여행',
|
|
'atlas.places': '장소',
|
|
'atlas.placesShow': '이 나라의 장소 보기',
|
|
'atlas.placesSearch': '장소 검색',
|
|
'atlas.placesNone': '일치하는 장소가 없습니다',
|
|
'atlas.unmark': '제거',
|
|
'atlas.confirmMark': '이 나라를 방문한 곳으로 표시할까요?',
|
|
'atlas.confirmUnmark': '방문 목록에서 이 나라를 제거할까요?',
|
|
'atlas.confirmUnmarkRegion': '방문 목록에서 이 지역을 제거할까요?',
|
|
'atlas.markVisited': '방문으로 표시',
|
|
'atlas.markVisitedHint': '방문 목록에 이 나라를 추가합니다',
|
|
'atlas.markRegionVisitedHint': '방문 목록에 이 지역을 추가합니다',
|
|
'atlas.addToBucket': '버킷 리스트에 추가',
|
|
'atlas.addPoi': '장소 추가',
|
|
'atlas.searchCountry': '국가 검색...',
|
|
'atlas.searchPlaces': '장소',
|
|
'atlas.bucketNamePlaceholder': '이름 (국가, 도시, 장소...)',
|
|
'atlas.month': '월',
|
|
'atlas.year': '연도',
|
|
'atlas.addToBucketHint': '방문하고 싶은 장소로 저장',
|
|
'atlas.removeFromBucket': '버킷 리스트에서 제거',
|
|
'atlas.removeFromBucketHint': '이 나라를 버킷 리스트에서 뺍니다',
|
|
'atlas.bucketWhen': '방문 예정 시기는 언제인가요?',
|
|
'atlas.bucketDuplicate': '이미 버킷 리스트에 있습니다',
|
|
'atlas.statsTab': '통계',
|
|
'atlas.bucketTab': '버킷 리스트',
|
|
'atlas.addBucket': '버킷 리스트에 추가',
|
|
'atlas.bucketNotesPlaceholder': '메모 (선택)',
|
|
'atlas.bucketEmpty': '버킷 리스트가 비어 있습니다',
|
|
'atlas.bucketEmptyHint': '꿈꾸는 방문지를 추가하세요',
|
|
'atlas.days': '일',
|
|
'atlas.visitedCountries': '방문한 나라',
|
|
'atlas.cities': '도시',
|
|
'atlas.regions': '지역',
|
|
'atlas.noData': '아직 여행 데이터가 없습니다',
|
|
'atlas.noDataHint': '여행을 만들고 장소를 추가하여 세계 지도를 확인하세요',
|
|
'atlas.nextTrip': '다음 여행',
|
|
'atlas.daysLeft': '일 남음',
|
|
'atlas.streak': '연속',
|
|
'atlas.years': '년',
|
|
'atlas.yearsInRow': '년 연속',
|
|
'atlas.tripsIn': '여행',
|
|
'atlas.since': '부터',
|
|
'atlas.europe': '유럽',
|
|
'atlas.asia': '아시아',
|
|
'atlas.northAmerica': '북미',
|
|
'atlas.southAmerica': '남미',
|
|
'atlas.africa': '아프리카',
|
|
'atlas.oceania': '오세아니아',
|
|
'atlas.other': '기타',
|
|
'atlas.firstVisit': '첫 번째 여행',
|
|
'atlas.lastVisitLabel': '마지막 여행',
|
|
'atlas.tripsLabel': '여행',
|
|
'atlas.placesVisited': '방문한 장소',
|
|
'atlas.planned': '예정',
|
|
'atlas.showPlanned': '예정된 국가 표시',
|
|
'atlas.plannedFor': '예정일',
|
|
'atlas.antarctica': '남극',
|
|
'atlas.regionPlacesLabel': '개 장소',
|
|
};
|
|
export default atlas;
|