Skip to content

Commit

Permalink
Merge pull request #565 from ibi-group/st-translations
Browse files Browse the repository at this point in the history
ST translations
  • Loading branch information
binh-dam-ibigroup authored Mar 29, 2023
2 parents 988c72b + e49c987 commit ab3f72e
Show file tree
Hide file tree
Showing 42 changed files with 294 additions and 263 deletions.
12 changes: 6 additions & 6 deletions packages/endpoints-overlay/i18n/ko.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
otpUi:
EndpointsOverlay:
coordinates: "{lat, number, ::.00000}, {lon, number, ::.00000}"
forgetHome: 잊기
saveAsWork: 직장으로 저장하기
swapLocation: "{locationType} 장소로 변경하기"
clearLocation: "{locationType} 장소로 제거하기"
saveAsHome: 집으로 저장하기
forgetWork: 직장 잊기
forgetHome: 설정 삭제
saveAsWork: 직장으로 저장
swapLocation: "{locationType} 위치로 변경"
clearLocation: "{locationType} 위치 삭제"
saveAsHome: 집으로 저장
forgetWork: 직장 설정 삭제
8 changes: 4 additions & 4 deletions packages/endpoints-overlay/i18n/zh_Hans.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
otpUi:
EndpointsOverlay:
clearLocation: 删除 {locationType} 地点
forgetHome: 忘记家
forgetWork: 忘记工作
saveAsHome: 保存为首页
saveAsWork: 保存为工作
forgetHome: 忽视住家地点
forgetWork: 忽视工作地点
saveAsHome: 保存为住家地点
saveAsWork: 保存为工作地点
swapLocation: 更改为 {locationType} 位置
coordinates: "{lat, number, ::.00000}; {lon, number, ::.00000}"
2 changes: 1 addition & 1 deletion packages/endpoints-overlay/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,5 @@ const EndpointsOverlay = ({

export default EndpointsOverlay;

// Rename styled components for export
// Rename styled components for export.
export { S as Styled };
6 changes: 3 additions & 3 deletions packages/from-to-location-picker/i18n/ko.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
otpUi:
FromToLocationPicker:
planATrip: "여행 계획:"
to: 도착
from: 출발
planATrip: "트립 계획하기:"
to: 여기로 도착
from: 여기서 출발
2 changes: 1 addition & 1 deletion packages/from-to-location-picker/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,5 @@ const FromToLocationPicker = ({

export default FromToLocationPicker;

// Rename styled components for export
// Rename styled components for export.
export { S as Styled };
36 changes: 15 additions & 21 deletions packages/itinerary-body/i18n/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,19 @@ otpUi:
bookRide: Reservar un viaje
bookRideLater: Espere hasta las {timeMillis, time, short} para reservar
estimatedCost: "Costo estimado: {minFare} - {maxFare}"
estimatedTravelTime:
"Tiempo estimado de viaje: {duration} (no tiene en cuenta
el tráfico)"
waitForPickup:
"Espera al conductor {company}{minutes, plural, =0 {} other {
# minutes}}"
estimatedTravelTime: "Tiempo de viaje estimado: {duration} (no tiene en cuenta\
\ el tráfico)"
waitForPickup: "Espera al conductor {company}{minutes, plural, =0 {} other {\
\ # minutos}}"
LegDiagramPreview:
elevationChart: Gráfico de elevación
noElevationData: No hay datos de elevación disponibles.
toggleElevationChart: Activar gráfica de elevación
toggleElevationChart: Cambiar carta de elevación
summary: "{mode} a {place}"
mapillaryTooltip: Mostrar imágenes de la calle en esta ubicación
vehicleTitle: "{vehicleType} {company}"
step:
circleCounterClockwise:
Siga el círculo en sentido contrario a las agujas del
circleCounterClockwise: Siga el círculo en sentido contrario a las agujas del
reloj
continue: Continuar
hardLeft: Giro a la izquierda
Expand All @@ -56,16 +53,16 @@ otpUi:
summaryMode:
bike: Bicicleta
bikeshare: Bicicleta compartida
carDrive: Carro
carDrive: Coche
carHail: Paseo
escooter: Patineta
walk: Caminata
walk: Caminar
unnamedRoad: Calle sin nombre
unnamedPath: Sendero sin nombre
vehicleType:
bike: Bicicleta
bikeshare: Bicicleta compartida
car: Carro
car: Coche
escooter: Patineta
vehicle: Vehículo
stepDepart: Dirígete hacia {heading} por {street}
Expand All @@ -83,18 +80,17 @@ otpUi:
car: en carro
escooter: en patineta
walk: a pie
flexAdvanceNotice:
" al menos {leadDays, plural, one {# día} other {# días}} de
antelación"
flexAdvanceNotice: " al menos {leadDays, plural, one {# día} other {# días}} de\
\ antelación"
TransitLegBody:
agencyExternalLink: "{agencyName} (Enlace external)"
AlertsBody:
effectiveDate: A partir de {dateTime, date, long}
effectiveTimeAndDate: A partir de {dateTime, time, short}, {day}
today: Hoy dia
today: Hoy
tomorrow: Mañana
yesterday: Ayer
alertsHeader: "{alertCount, plural, =1 {# alerta} other {# alertas} }"
alertsHeader: "{alertCount, plural, =1 {# alerta} other {# alertas}}"
arriveAt: "Llegada a {place}"
disembarkAt: Disembarque a {legDestination}
expandDetails: (Ver mas detalles)
Expand All @@ -104,12 +100,10 @@ otpUi:
operatedBy: Servicio operado por {agencyLink}
ride: Toma la línea
rideDurationAndStops: "Paseo {duration}{numStops, plural, =1 {} other { / # paradas}}"
routeDescription:
"{routeName}{headsign, select, undefined {} other {<toPrefix>
destino </toPrefix>{headsign}}}"
routeDescription: "{routeName} <toPrefix>destino</toPrefix> {headsign}"
stopId: Parada n°{stopId}
stopIdBasic: Parada n°{stopId}
stopViewer: Visor de paradas
tripViewer: Visor de viajes
typicalWait: "Espera típica: {waitTime}"
typicalWait: "Tiempo de espera regular: {waitTime}"
zoomToLeg: Acercar el mapa a este etapa
8 changes: 5 additions & 3 deletions packages/itinerary-body/i18n/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ otpUi:
vehicle: Véhicule
ItineraryBody:
common:
durationShort: "{hours, plural, =0 {} other {# h }}{minutes} mn"
flexAdvanceNotice: " au moins {leadDays, plural, one {# jour} other {# jours}} à l'avance"
durationShort: "{hours, plural, =0 {} other {# h }}{minutes} min"
flexAdvanceNotice: " au moins {leadDays, plural, one {# jour} other {# jours}}\
\ à l'avance"
flexCallAhead: réserver au préalable
flexCallNumber: réserver au {phoneNumber}
flexPickupMessage: Pour emprunter cette ligne, vous devez {action}{advanceNotice}.
Expand Down Expand Up @@ -99,7 +100,8 @@ otpUi:
legDetails: Détails de l'étape
operatedBy: Exploité par {agencyLink}
ride: Prenez la ligne
rideDurationAndStops: "Trajet : {duration}{numStops, plural, =1 {} other { / # arrêts}}"
rideDurationAndStops: "Trajet : {duration}{numStops, plural, =1 {} other { / #\
\ arrêts}}"
routeDescription: "{routeName} <toPrefix>vers</toPrefix> {headsign}"
stopId: Arrêt n°{stopId}
stopIdBasic: Arrêt n°{stopId}
Expand Down
40 changes: 20 additions & 20 deletions packages/itinerary-body/i18n/ko.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ otpUi:
AccessLegBody:
RentedVehicleSubheader:
pickupRental: "{company} {vehicleType} {vehicleName} 픽업"
resumeRentalRide: 임대료를 계속 사용하십시오
resumeRentalRide: 대여 서비스 이용 계속하기
vehicleType:
vehicle: 차량
bike: 자전거
bikeshare: 자전거
car: 자동차
escooter: 전기 스쿠터
walkVehicle: "{place} 따라 차량를 밀다"
walkVehicle: "{place}을(를) 따라 차량을 움직이기"
LegDiagramPreview:
elevationChart: 고도 차트
noElevationData: 사용 가능한 고도 데이터가 없습니다.
toggleElevationChart: 토글 고도 차트
toggleElevationChart: 고도 차트 토글
step:
circleClockwise: 시계 방향으로 원을 따라갑니다
hardLeft: 날카로운 왼쪽
Expand All @@ -37,18 +37,18 @@ otpUi:
west: 서쪽
stepGeneric: "{street} 에 {step}"
summaryMode:
bikeshare: 자전거 공유
carDrive: 운전하다
walk: 걷다
bikeshare: 공유자전거
carDrive: 운전
walk: 걷기
bike: 자전거
carHail: 타다
escooter: 타다
TncLeg:
bookRide: 차량을 예약하다
bookRideLater: 예약은 {timeMillis, time, short} 까지 기다려주세요
estimatedCost: "예상 비용은 : {minFare} - {maxFare}"
estimatedTravelTime: "예상 여행 시간: {duration} (트래픽을 고려하지 않음)"
waitForPickup: "{company} 픽업 {minutes, plural, =0 {} other { # 분} } 대기"
bookRide: 승차 예약
bookRideLater: 예약하려면 {timeMillis, time, short}까지 대기
estimatedCost: "예상 비용: {minFare} - {maxFare}"
estimatedTravelTime: "예상 이동 시간: {duration} (교통사정을 고려하지 않음)"
waitForPickup: "{company} 승차까지 {minutes, plural, =0 {} other { # 분} } 대기"
unnamedPath: 이름 없는 경로
vehicleType:
vehicle: 차량
Expand All @@ -61,17 +61,17 @@ otpUi:
stepDepart: "{street} 에서 {heading}으로 향하다"
stepElevator: 엘리베이터를 타고 {street} 이동
summaryAndDistance: "{place} 에 {mode} {distance}"
mapillaryTooltip: 위치에 거리 이미지를 보여줍니다
mapillaryTooltip: 위치의 거리 이미지 보기
summary: "{place} 에 {mode}"
ItineraryBody:
common:
durationShort: "{hours, plural, =0 {} other {# 시간 }}{minutes} 분"
flexAdvanceNotice: " 최소 {leadDays}일 전에"
flexCallAhead: 미리 전화
flexCallNumber: "{phoneNumber}에 전화"
viewOnMap: 지도에서
viewOnMap: 지도 보기
flexPickupMessage: 이 경로를 이용하려면 {advanceNotice}{action}야 합니다.
stayOnBoard: "{place} 에 도착하면 현재 버스에 머무르십시오."
stayOnBoard: "{place}에서는 그대로 타고 계십시오"
travelBy: "{mode} 여행하다"
travelByMode:
bike: 자전거로
Expand All @@ -84,22 +84,22 @@ otpUi:
today: 오늘
tomorrow: 내일
yesterday: 어제
effectiveDate: "{dateTime, date, long}부터 시행"
effectiveTimeAndDate: "{day} {dateTime, time, short}부터 시행"
effectiveDate: "{dateTime, date, long}자로 유효"
effectiveTimeAndDate: "{day} {dateTime, time, short}자로 유효"
alertsHeader: "{alertCount}개의 알림"
arriveAt: "{place} 시장에 도착하다"
disembarkAt: "{legDestination} 에서 하차"
expandDetails: (세부정보 펼치기)
fare: "요금: {fare}"
fare: "운임: {fare}"
fromLocation: "{location}에서"
legDetails: 다리 세부 사항
operatedBy: 운영하는 서비스 {agencyLink}
operatedBy: '{agencyLink}에서 운영하는 서비스'
ride: 타다
rideDurationAndStops: "승차 {duration}{numStops, plural, =1 {} other { / # 정거장}}"
routeDescription: "{routeName} <toPrefix>에</toPrefix> {headsign}"
stopId: 정류장 ID {stopId}
stopIdBasic: ID {stopId}
stopViewer: 정류장 뷰어
tripViewer: 여행 뷰어
typicalWait: "일반적인 대기 시간: {waitTime}"
tripViewer: 트립 뷰어
typicalWait: "일반 대기 시간: {waitTime}"
zoomToLeg: 지도에서 다리 확대
34 changes: 16 additions & 18 deletions packages/itinerary-body/i18n/vi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ otpUi:
resumeRentalRide: Tiếp tục sử dụng cho thuê
vehicleType:
bike: xe đạp
bikeshare: xe đạp chia sẻ
bikeshare: xe đạp thuê
car: xe hơi
escooter: xe tay ga điện
vehicle: xe
walkVehicle: Đẩy phương tiện giao thông dọc theo {place}
summaryMode:
bikeshare: Chia sẻ xe đạp
bikeshare: Xe đạp thuê
carDrive: Lái xe
walk: Đi bộ
carHail: Ngồi trên xe
Expand All @@ -21,10 +21,9 @@ otpUi:
bookRide: Đặt trước một chuyến đi
bookRideLater: Chờ cho đến {timeMillis, time, short} để đặt chỗ
estimatedCost: "Chi phí ước tính: {minFare} - {maxFare}"
estimatedTravelTime:
"Thời gian di chuyển ước tính: {duration} (không tính đến
giao thông)"
waitForPickup: "Chờ{minutes, plural, =0 {} other { # phút}} để {company} đón"
estimatedTravelTime: "Thời gian di chuyển ước tính: {duration} (không tính đến\
\ giao thông)"
waitForPickup: "Chờ{minutes, plural, =0 {} other { # phút}} cho {company} đón"
LegDiagramPreview:
elevationChart: Biểu đồ cao độ
noElevationData: Không có sẵn dữ liệu độ cao.
Expand Down Expand Up @@ -59,7 +58,7 @@ otpUi:
vehicleTitle: "{vehicleType} {company}"
vehicleType:
bike: Xe đạp
bikeshare: Xe đạp chia sẻ
bikeshare: Xe đạp thuê
car: Xe hơi
vehicle: Xe
escooter: Xe tay ga điện
Expand All @@ -69,10 +68,10 @@ otpUi:
common:
durationShort: "{hours, plural, =0 {} other {# giờ }}{minutes} phút"
viewOnMap: Xem trên bản đồ
flexAdvanceNotice: " trước ít nhất {leadDays} ngày"
flexCallAhead: gọi điện trước
flexCallNumber: gọi số điện thoại {phoneNumber}
flexPickupMessage: Để dụng đường này, bạn phải {action}{advanceNotice}.
flexAdvanceNotice: " ít nhất trước {leadDays} ngày"
flexCallAhead: gọi điện trước khi đi
flexCallNumber: gọi {phoneNumber}
flexPickupMessage: Để đi tuyến đường này, bạn phải {action}{advanceNotice}.
stayOnBoard: Ở trên xe tại {place}
travelBy: Di chuyển {mode}
travelByMode:
Expand All @@ -95,15 +94,14 @@ otpUi:
fare: "Giá vé: {fare}"
fromLocation: "Từ {location}"
legDetails: Chi tiết sân khấu
operatedBy: Dịch vụ do {agencyLink}
operatedBy: Dịch vụ được điều hành bởi {agencyLink}
ride: Đi đường
rideDurationAndStops:
"Đi {duration}{numStops, plural, =1 {} other { / # điểm
dừng}}"
routeDescription: "{routeName} <toPrefix>đến</toPrefix> {headsign}"
rideDurationAndStops: "Đi {duration}{numStops, plural, =1 {} other { / # điểm\
\ dừng}}"
routeDescription: "{routeName} <toPrefix>hướng</toPrefix> {headsign}"
stopId: Điểm dừng số {stopId}
stopIdBasic: Điểm dừng số {stopId}
stopViewer: Trình xem trạm dừng
tripViewer: Trình xem chuyến đi
stopViewer: Xem điểm dừng
tripViewer: Xem chuyến đi
typicalWait: "Chờ thông thường: {waitTime}"
zoomToLeg: Thu phóng đến sân khấu trí trên bản đồ
8 changes: 4 additions & 4 deletions packages/itinerary-body/i18n/zh_Hans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ otpUi:
escooter: 电动滑板车
LegDiagramPreview:
elevationChart: 海拔图表
noElevationData: 没有可用的高程数据.
noElevationData: 没有可用的海拔数据.
toggleElevationChart: 切换海拔图表
mapillaryTooltip: 在这个位置显示街道图像
TncLeg:
bookRide: 预订旅行
bookRide: 预订乘车
bookRideLater: 等到 {timeMillis, time, short} 进行预订
estimatedCost: "估计费用: {minFare} - {maxFare}"
estimatedTravelTime: "估计的旅行时间: {duration} (不包括流量)"
Expand Down Expand Up @@ -85,15 +85,15 @@ otpUi:
effectiveTimeAndDate: 从 {dateTime, time, short}, {day} 起生效
today: 今天
tomorrow: 明天
yesterday: 昨日
yesterday: 昨天
alertsHeader: "{alertCount} 个警报"
arriveAt: 到达
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
3 changes: 1 addition & 2 deletions packages/itinerary-body/src/ItineraryBody/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ const ItineraryBody = ({
}

createPlaceRow(false);
// If this is the last leg, create a special PlaceRow for the destination
// only
// If this is the last leg, create a special PlaceRow for the destination only.
if (i === itinerary.legs.length - 1) {
createPlaceRow(true);
}
Expand Down
Loading

0 comments on commit ab3f72e

Please sign in to comment.