Files
TREK/shared/src/i18n/ja/atlas.ts
T
Maurice bee500880e fix(i18n): every language says one file and five files its own way
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.
2026-10-08 00:01:59 +00:00

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;