Skip to content

Commit

Permalink
Merge branch 'master' into nearby-view-support
Browse files Browse the repository at this point in the history
# Conflicts:
#	yarn.lock
  • Loading branch information
daniel-heppner-ibigroup committed Nov 27, 2023
2 parents 8ba60ef + 6026b38 commit 99213e1
Show file tree
Hide file tree
Showing 54 changed files with 1,380 additions and 1,562 deletions.
1,830 changes: 677 additions & 1,153 deletions __snapshots__/storybook.test.ts.snap

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion packages/endpoints-overlay/i18n/tr.yml
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
{}
otpUi:
EndpointsOverlay:
clearLocation: "{locationType} konumu olarak kaldır"
coordinates: "{lat, number, ::.00000}, {lon, number, ::.00000}"
forgetHome: Evi unut
forgetWork: İşi unut
saveAsHome: Evi kaydet
saveAsWork: İşi Kaydet
swapLocation: "{locationType} konumuna değiştir"
2 changes: 1 addition & 1 deletion packages/endpoints-overlay/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opentripplanner/endpoints-overlay",
"version": "2.0.10",
"version": "2.0.11",
"description": "A map overlay to show the from and to locations of an itinerary",
"main": "lib/index.js",
"module": "esm/index.js",
Expand Down
6 changes: 5 additions & 1 deletion packages/from-to-location-picker/i18n/tr.yml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
{}
otpUi:
FromToLocationPicker:
from: Buradan
planATrip: "Bir yolculuk planla:"
to: Buraya
2 changes: 1 addition & 1 deletion packages/from-to-location-picker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opentripplanner/from-to-location-picker",
"version": "2.1.10",
"version": "2.1.11",
"description": "Location Picker Component",
"author": "@binh-dam-ibigroup",
"homepage": "https://github.com/opentripplanner/otp-ui/#readme",
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opentripplanner/icons",
"version": "2.0.6",
"version": "2.0.7",
"description": "Icons for otp-ui",
"main": "lib/index.js",
"module": "esm/index.js",
Expand Down
9 changes: 8 additions & 1 deletion packages/icons/src/companies/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,14 @@ const companyLookup = {
};

function getCompanyIcon(name) {
const icon = companyLookup[name.toLowerCase()];
const icon =
companyLookup[name.toLowerCase()] ||
/*
Some company names are lyft_pdx instead of just Lyft.
This PR matches based on the first 4 characters to hopefully
match more company icons.
*/
companyLookup[name.toLowerCase().slice(0, 4)];
if (!icon) {
console.warn(`No Company Icon found for: '${name}'!`);
}
Expand Down
6 changes: 6 additions & 0 deletions packages/itinerary-body/i18n/en-US.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ otpUi:
car: by car
escooter: by e-scooter
walk: by walking
tripAccessibility:
inaccessible: inaccessible
itineraryAccessibility: "Wheelchair accessibility of this trip: "
legAccessibility: "Wheelchair accessibility of this trip leg: "
likelyAccessible: likely accessible
unclear: unknown
viewOnMap: View on map
TransitLegBody:
AlertsBody:
Expand Down
6 changes: 6 additions & 0 deletions packages/itinerary-body/i18n/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ otpUi:
car: en voiture
escooter: en trottinette
walk: à pied
tripAccessibility:
inaccessible: inaccessible
itineraryAccessibility: "Accessibilité de ce trajet en fauteuil roulant : "
legAccessibility: "Accessibilité de cette étape en fauteuil roulant : "
likelyAccessible: probablement accessible
unclear: inconnue
viewOnMap: Afficher sur le plan
TransitLegBody:
AlertsBody:
Expand Down
7 changes: 7 additions & 0 deletions packages/itinerary-body/i18n/i18n-exceptions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ignoredIds": ["otpUi.ItineraryBody.tripAccessibility.accessible"],

"groups": {
"otpUi.ItineraryBody.tripAccessibility.*Accessibility": ["itinerary", "leg"]
}
}
66 changes: 35 additions & 31 deletions packages/itinerary-body/i18n/ko.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,44 @@
otpUi:
AccessLegBody:
LegDiagramPreview:
elevationChart: 고도 차트
noElevationData: 사용 가능한 고도 데이터가 없습니다.
toggleElevationChart: 고도 차트 토글
RentedVehicleSubheader:
pickupRental: "{company} {vehicleType} {vehicleName} 픽업"
resumeRentalRide: 대여 서비스 이용 계속하기
vehicleType:
vehicle: 차량
bike: 자전거
bikeshare: 자전거
car: 자동차
escooter: 전기 스쿠터
vehicle: 차량
walkVehicle: "{place}을(를) 따라 차량을 움직이기"
LegDiagramPreview:
elevationChart: 고도 차트
noElevationData: 사용 가능한 고도 데이터가 없습니다.
toggleElevationChart: 고도 차트 토글
TncLeg:
bookRide: 승차 예약
bookRideLater: 예약하려면 {timeMillis, time, short}까지 대기
estimatedCost: "예상 비용: {minFare} - {maxFare}"
estimatedTravelTime: "예상 이동 시간: {duration} (교통사정을 고려하지 않음)"
waitForPickup: "{company} 승차까지 {minutes, plural, =0 {} other { # 분} } 대기"
mapillaryTooltip: 이 위치의 거리 이미지 보기
step:
circleClockwise: 시계 방향으로 원을 따라갑니다
circleCounterClockwise: 시계 반대 방향으로 서클을 따르십시오
continue: 계속
enterStation: 역 입력
exitStation: 역 나가기
hardLeft: 날카로운 왼쪽
hardRight: 날카로운 권리
left: 왼쪽
right: 오른
slightlyLeft: 약간 왼쪽
slightlyRight: 약간 오른쪽
uTurnLeft: 유턴
uTurnRight: 유턴
continue: 계속
circleCounterClockwise: 시계 반대 방향으로 서클을 따르십시오
left: 왼쪽
slightlyRight: 약간 오른쪽
stepDepart: "{street} 에서 {heading}으로 향하다"
stepElevator: 엘리베이터를 타고 {street} 이동
stepFollowSigns: "다음까지 표지판을 따라가십시오: {street}"
stepGeneric: "{street} 에 {step}"
stepHeading:
east: 동쪽
north: 북쪽
Expand All @@ -35,41 +48,31 @@ otpUi:
southeast: 남동쪽
southwest: 남서쪽
west: 서쪽
stepGeneric: "{street} 에 {step}"
stepStation: "{step} 에서 {street}"
summary: "{place} 에 {mode}"
summaryAndDistance: "{place} 에 {mode} {distance}"
summaryMode:
bike: 자전거
bikeshare: 공유자전거
carDrive: 운전
walk: 걷기
bike: 자전거
carHail: 타다
escooter: 타다
TncLeg:
bookRide: 승차 예약
bookRideLater: 예약하려면 {timeMillis, time, short}까지 대기
estimatedCost: "예상 비용: {minFare} - {maxFare}"
estimatedTravelTime: "예상 이동 시간: {duration} (교통사정을 고려하지 않음)"
waitForPickup: "{company} 승차까지 {minutes, plural, =0 {} other { # 분} } 대기"
walk: 걷기
unnamedPath: 이름 없는 경로
unnamedRoad: 이름 없는 길
vehicleTitle: "{company} {vehicleType}"
vehicleType:
vehicle: 차량
bike: 자전거
bikeshare: 자전거
car: 자동차
escooter: 전기 스쿠터
unnamedRoad: 이름 없는 길
vehicleTitle: "{company} {vehicleType}"
stepDepart: "{street} 에서 {heading}으로 향하다"
stepElevator: 엘리베이터를 타고 {street} 이동
summaryAndDistance: "{place} 에 {mode} {distance}"
mapillaryTooltip: 이 위치의 거리 이미지 보기
summary: "{place} 에 {mode}"
vehicle: 차량
ItineraryBody:
common:
durationShort: "{hours, plural, =0 {} other {# 시간 }}{minutes} 분"
flexAdvanceNotice: " 최소 {leadDays}일 전에"
flexCallAhead: 미리 전화
flexCallNumber: "{phoneNumber}에 전화"
viewOnMap: 지도 보기
flexPickupMessage: 이 경로를 이용하려면 {advanceNotice}{action}야 합니다.
stayOnBoard: "{place}에서는 그대로 타고 계십시오"
travelBy: "{mode} 여행하다"
Expand All @@ -78,22 +81,23 @@ otpUi:
car: 차로
escooter: 전자 스쿠터로
walk: 걸어서
viewOnMap: 지도 보기
TransitLegBody:
agencyExternalLink: "{agencyName} (외부 링크)"
AlertsBody:
effectiveDate: "{dateTime, date, long}자로 유효"
effectiveTimeAndDate: "{day} {dateTime, time, short}자로 유효"
today: 오늘
tomorrow: 내일
yesterday: 어제
effectiveDate: "{dateTime, date, long}자로 유효"
effectiveTimeAndDate: "{day} {dateTime, time, short}자로 유효"
agencyExternalLink: "{agencyName} (외부 링크)"
alertsHeader: "{alertCount}개의 알림"
arriveAt: "{place} 시장에 도착하다"
disembarkAt: "{legDestination} 에서 하차"
expandDetails: (세부정보 펼치기)
fare: "운임: {fare}"
fromLocation: "{location}에서"
legDetails: 다리 세부 사항
operatedBy: '{agencyLink}에서 운영하는 서비스'
operatedBy: "{agencyLink}에서 운영하는 서비스"
ride: 타다
rideDurationAndStops: "승차 {duration}{numStops, plural, =1 {} other { / # 정거장}}"
routeDescription: "{routeName} <toPrefix>에</toPrefix> {headsign}"
Expand Down
Loading

0 comments on commit 99213e1

Please sign in to comment.