Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: schedule subnav page translations #66

Merged
merged 65 commits into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
25347e8
add glossaries to CLI config
emmambd Nov 28, 2022
02db50c
GTFS Schedule example feed translations
emmambd Nov 28, 2022
2c6f393
exclude translations from search
emmambd Nov 28, 2022
4783c31
fares v1 examples
emmambd Nov 28, 2022
efd3a8b
fares v2 example translations
emmambd Nov 29, 2022
4a0acba
rename translation files fares v2
emmambd Nov 29, 2022
1ce03d5
frequencies example translations
emmambd Nov 29, 2022
2d434af
pathways example translations
emmambd Nov 29, 2022
1857394
translations.txt examples translations
emmambd Nov 29, 2022
9f8d339
routes stops trips examples translations
emmambd Dec 1, 2022
d92bf71
continuous stop examples translations
emmambd Dec 1, 2022
83cf49e
feed info example translations
emmambd Dec 1, 2022
89d7665
attribution example translations
emmambd Dec 1, 2022
e8b121d
examples index translations
emmambd Dec 1, 2022
2f610b9
remove edit link from translated pages
emmambd Dec 1, 2022
25ebc36
example index translations
emmambd Dec 2, 2022
212cac5
changes index translations
emmambd Dec 2, 2022
de84a0f
GTFS schedule processes translations
emmambd Dec 7, 2022
033be2a
[create-pull-request] automated change (#67)
github-actions[bot] Nov 30, 2022
7911b5f
[create-pull-request] automated change (#68)
github-actions[bot] Dec 1, 2022
97e8c1e
[create-pull-request] automated change (#70)
github-actions[bot] Dec 9, 2022
0dc1630
feat: Add clearer contribution info (#69)
emmambd Dec 9, 2022
4f2dee6
[create-pull-request] automated change (#71)
github-actions[bot] Dec 13, 2022
e9b96ea
update home pages traditional chinese
emmambd Dec 13, 2022
1299046
validate page translations
emmambd Jan 9, 2023
09312a4
Merge branch 'main' into schedule_examples
emmambd Jan 9, 2023
967cbea
[create-pull-request] automated change (#81)
github-actions[bot] Jan 10, 2023
1bcb596
fix: update docs on translation contributions (#85)
emmambd Jan 18, 2023
bd8e640
GTFS Schedule new extensions (#86)
emmambd Jan 26, 2023
bb3cce9
feat: extension updates (#87)
emmambd Jan 30, 2023
f1b0d90
[create-pull-request] automated change (#90)
github-actions[bot] Feb 2, 2023
1821b07
[create-pull-request] automated change (#92)
github-actions[bot] Feb 3, 2023
61a088d
location_type should be 1 (#93)
briandonahue Feb 9, 2023
d506943
feat: Add Fares v2 page (#89)
emmambd Feb 10, 2023
3449592
[create-pull-request] automated change (#94)
github-actions[bot] Feb 10, 2023
2e9860e
zh-TW chinese homepage button fix
emmambd Feb 2, 2023
0c4d8d4
changes page fixes
emmambd Feb 2, 2023
9a5c9e5
example feed translation fixes
emmambd Feb 2, 2023
32f52e4
attributions example translation fixes
emmambd Feb 2, 2023
dc3283d
continuous stops example fixes
emmambd Feb 2, 2023
27455fb
fares v1 example fixes
emmambd Feb 2, 2023
04f68ef
fares v2 example fixes
emmambd Feb 2, 2023
b180122
fares-v2 fixes
emmambd Feb 3, 2023
bcbe4ea
feed_info fixes
emmambd Feb 3, 2023
b4107f8
frequencies fixes
emmambd Feb 3, 2023
ef9545d
examples index fixes
emmambd Feb 3, 2023
2d8f8b3
pathways examples fixes
emmambd Feb 3, 2023
228e86e
continuous stops add translations
emmambd Feb 3, 2023
cf50a11
frequencies fixes
emmambd Feb 6, 2023
b192a46
example fixes
emmambd Feb 7, 2023
39e7d35
process translation fixes
emmambd Feb 7, 2023
156a073
validate translations
emmambd Feb 8, 2023
f21bdbf
translate examples navigation
emmambd Feb 8, 2023
e062b31
link fixes
emmambd Feb 9, 2023
f2d5d8c
qa changes
emmambd Feb 10, 2023
be4a9bc
text-to-speech translations
emmambd Feb 14, 2023
f1f2f0a
fares translation fixes
emmambd Feb 14, 2023
266269e
changes translations
emmambd Feb 14, 2023
66d5e5f
attributions
emmambd Feb 14, 2023
8e43320
validate page
emmambd Feb 14, 2023
efd64e6
pathways
emmambd Feb 14, 2023
b8d1b0a
feed info
emmambd Feb 14, 2023
b570c38
frequencies
emmambd Feb 14, 2023
9b47992
translations page
emmambd Feb 14, 2023
b84ae6e
feat: Add clearer contribution info (#69)
emmambd Dec 9, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
178 changes: 178 additions & 0 deletions docs/schedule/example-feed.de.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
---
search:
exclude: true
---

<a class="pencil-link" href="https://github.com/google/transit/edit/master/gtfs/spec/en/examples/README.md" title="Edit this page" target="_blank">
<svg class="pencil" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 20H6V4h7v5h5v3.1l2-2V8l-6-6H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h4v-2m10.2-7c.1 0 .3.1.4.2l1.3 1.3c.2.2.2.6 0 .8l-1 1-2.1-2.1 1-1c.1-.1.2-.2.4-.2m0 3.9L14.1 23H12v-2.1l6.1-6.1 2.1 2.1Z"></path></svg>
</a>

# Beispiel GTFS-Feed

Dieses GTFS-Beispiel zeigt kommagetrennte Datenbeispiele für jede Datei in einem Transit-Feed. Die hier gezeigten Beispieldateien sind nicht alle miteinander verbunden. Sie können auch [einen vollständigen GTFS-Feed](https://github.com/google/transit/blob/master/gtfs/spec/en/examples/sample-feed-1.zip?raw=true) in der endgültigen Form [herunterladen](https://github.com/google/transit/blob/master/gtfs/spec/en/examples/sample-feed-1.zip?raw=true), um damit zu arbeiten, oder die einzelnen Dateien desselben Feeds [hier](https://github.com/google/transit/tree/master/gtfs/spec/en/examples/sample-feed-1) online durchsuchen.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fragmented hyperlink


## agency.txt

agency_id,agency_name,agency_url,agency_timezone,agency_phone,agency_lang
FunBus,The Fun Bus,https://www.thefunbus.org,America/Los_Angeles,(310) 555-0222,en

<!---->

agency_id,agency_name,agency_url,agency_timezone,agency_lang
agency001,Transit Agency,https://www.transitcommuterbus.com/,PST,en
[...]

## stops.txt

stop_id,level_id,stop_name,stop_lat,stop_lon,location_type,parent_station
F12,,5 Av/53 St,40.760167,-73.975224,1,
E1,L0,5 Av/53 St SW,40.760474,-73.976099,2,F12
E2,L0,5 Av/53 St NE,40.76035,-73.97546,2,F12
E3,L0,5 Av/53 St SE,40.760212,-73.975512,2,F12
E4,L0,Madison/53 St NE,40.759612,-73.973731,2,F12
E5,L0,Madison/53 St SE,40.759491,-73.973820,2,F12
N1,L1,,,40.760457,-73.975912,3,F12
N2,L1,,40.760531,-73.976111,3,F12
N3,L1,,40.759746,-73.974203,3,F12
N4,L1,,40.759679,-73.974064,3,F12
F12S,,5 Av/53 St,40.760167,-73.975224,0,F12
B1,L2,,40.759746,-73.974203,4,F12S
B3,L2,,40.759828,-73.974442,4,F12S
F12N,,5 Av/53 St,40.760167,-73.975224,0,F12
B2,L3,,40.760457,-73.975912,4,F12N
B4,L3,,40.760375,-73.975729,4,F12N

`location_type=` 0: Bahnsteig; 1: Bahnhof; 2: Eingang/Ausgang; 3: allgemeiner Knoten; 4: Einstiegsbereich.

## routes.txt

route_id,route_short_name,route_long_name,route_desc,route_type
A,17,Mission,"The ""A"" route travels from lower Mission to Downtown.",3

## trips.txt

route_id,service_id,trip_id,trip_headsign,block_id
A,WE,AWE1,Downtown,1
A,WE,AWE2,Downtown,2

## stop_times.txt

trip_id,arrival_time,departure_time,stop_id,stop_sequence,pickup_type,drop_off_type
AWE1,0:06:10,0:06:10,S1,1,0,0
AWE1,,,S2,2,1,3
AWE1,0:06:20,0:06:30,S3,3,0,0
AWE1,,,S5,4,0,0
AWE1,0:06:45,0:06:45,S6,5,0,0
AWD1,0:06:10,0:06:10,S1,1,0,0
AWD1,,,S2,2,0,0
AWD1,0:06:20,0:06:20,S3,3,0,0
AWD1,,,S4,4,0,0
AWD1,,,S5,5,0,0
AWD1,0:06:45,0:06:45,S6,6,0,0

## calender.txt

service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date
WE,0,0,0,0,0,1,1,20060701,20060731
WD,1,1,1,1,1,0,0,20060701,20060731

## calendar_dates.txt

Dieses Beispiel zeigt Serviceausnahmen für den Unabhängigkeitstag im Jahr 2006. Am Montag, dem 3. Juli 2006, wird der reguläre Wochentagsverkehr`(service_id=WD`) unterbrochen`(exception_type=2`). Stattdessen verkehrt an diesem Tag ein Wochenenddienst`(service_id=WE`)`(exception_type=1`). Die gleiche Änderung gilt auch für Dienstag, den 4. Juli.

service_id,date,exception_type
WD,20060703,2
WE,20060703,1
WD,20060704,2
WE,20060704,1

## fare_attributes.txt

fare_id,price,currency_type,payment_method,transfers,transfer_duration
1,0.00,USD,0,0,0
2,0.50,USD,0,0,0
3,1.50,USD,0,0,0
4,2.00,USD,0,0,0
5,2.50,USD,0,0,0

## fare_rules.txt

fare_id,route_id,origin_id,destination_id,contains_id
a,TSW,1,1,
a,TSE,1,1,
a,GRT,1,1,
a,GRJ,1,1,
a,SVJ,1,1,
a,JSV,1,1,
a,GRT,2,4,
a,GRJ,4,2,
b,GRT,3,3,
c,GRT,,,6

## shapes.txt

shape_id,shape_pt_lat,shape_pt_lon,shape_pt_sequence,shape_dist_traveled
A_shp,37.61956,-122.48161,1,0
A_shp,37.64430,-122.41070,2,6.8310
A_shp,37.65863,-122.30839,3,15.8765

## frequencies.txt

trip_id,start_time,end_time,headway_secs
AWE1,05:30:00,06:30:00,300
AWE1,06:30:00,20:30:00,180
AWE1,20:30:00,28:00:00,420

## transfers.txt

from_stop_id,to_stop_id,transfer_type,min_transfer_time
S6,S7,2,300
S7,S6,3,
S23,S7,1,

## pathways.txt

pathway_id,from_stop_id,to_stop_id,pathway_mode,is_bidirectional
E1N1,E1,N1,2,1
E2N1,E2,N1,2,1
E3N1,E3,N1,2,1
N1-N2,N1,N2,6,1
N2-N1,N2,N1,7,1
N2N3,N2,N3,2,1
N2-B1,N2,B1,4,0
B1-N2,B1,N2,4,0
B1B2,B1,B2,2,1

B1B3,B1,B3,1,1
B2B4,B2,B4,1,1

E4N3,E4,N3,2,1
E5N3,E5,N3,2,1
N3-N4,N3,N4,6,1
N4-N3,N4,N3,7,1
N4B3,N4,B3,2,1
N4-B3,N4,B3,4,0
B3-N4,B3,N4,4,0
B3B4,B3,B4,2,1

## levels.txt

level_id,level_index,level_name,elevation
L0,0,Street,0
L1,-1,Mezzanine,-6
L2,-2,Southbound,-18
L3,-3,Northbound,-24

## translations.txt

table_name,field_name,language,translation,record_id
stops,stop_name,en,Tokyo Station,stopid000001
emmambd marked this conversation as resolved.
Show resolved Hide resolved
stops,stop_name,fr,Gare de Tokyo,stopid000001
stops,stop_name,zh,東京站,stopid000001

## attributions.txt

attribution_id,is_producer,is_operator,organization_name,agency_id
attribution001,1,0,Transit Feed Solutions USA,agency001
attribution002,0,1,Transit Bus Operations USA ,agency001
[...]
178 changes: 178 additions & 0 deletions docs/schedule/example-feed.es.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
---
search:
exclude: true
---

<a class="pencil-link" href="https://github.com/google/transit/edit/master/gtfs/spec/en/examples/README.md" title="Edit this page" target="_blank">
<svg class="pencil" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 20H6V4h7v5h5v3.1l2-2V8l-6-6H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h4v-2m10.2-7c.1 0 .3.1.4.2l1.3 1.3c.2.2.2.6 0 .8l-1 1-2.1-2.1 1-1c.1-.1.2-.2.4-.2m0 3.9L14.1 23H12v-2.1l6.1-6.1 2.1 2.1Z"></path></svg>
</a>

# Ejemplo de feed GTFS

Este ejemplo de alimentación GTFS muestra muestras de datos delimitados por comas para cada archivo en una alimentación de tránsito. Los archivos de datos de muestra que se muestran aquí no están todos relacionados entre sí. También puede [descargar un feed GTFS completo](https://github.com/google/transit/blob/master/gtfs/spec/en/examples/sample-feed-1.zip?raw=true) en su forma final para trabajar con él, o examinar los archivos individuales de ese mismo feed en línea [aquí](https://github.com/google/transit/tree/master/gtfs/spec/en/examples/sample-feed-1).

## agency.txt

agency_id,agency_name,agency_url,agency_timezone,agency_phone,agency_lang
FunBus,The Fun Bus,https://www.thefunbus.org,America/Los_Angeles,(310) 555-0222,en

<!---->

agency_id,agency_name,agency_url,agency_timezone,agency_lang
agency001,Transit Agency,https://www.transitcommuterbus.com/,PST,en
[...]

## stops.txt

stop_id,level_id,stop_name,stop_lat,stop_lon,location_type,parent_station
F12,,5 Av/53 St,40.760167,-73.975224,1,
E1,L0,5 Av/53 St SW,40.760474,-73.976099,2,F12
E2,L0,5 Av/53 St NE,40.76035,-73.97546,2,F12
E3,L0,5 Av/53 St SE,40.760212,-73.975512,2,F12
E4,L0,Madison/53 St NE,40.759612,-73.973731,2,F12
E5,L0,Madison/53 St SE,40.759491,-73.973820,2,F12
N1,L1,,,40.760457,-73.975912,3,F12
N2,L1,,40.760531,-73.976111,3,F12
N3,L1,,40.759746,-73.974203,3,F12
N4,L1,,40.759679,-73.974064,3,F12
F12S,,5 Av/53 St,40.760167,-73.975224,0,F12
B1,L2,,40.759746,-73.974203,4,F12S
B3,L2,,40.759828,-73.974442,4,F12S
F12N,,5 Av/53 St,40.760167,-73.975224,0,F12
B2,L3,,40.760457,-73.975912,4,F12N
B4,L3,,40.760375,-73.975729,4,F12N

`location_type=` 0: andén; 1: estación; 2: entrada/salida; 3: nodo genérico; 4: zona de embarque.

## routes.txt

route_id,route_short_name,route_long_name,route_desc,route_type
A,17,Mission,"The ""A"" route travels from lower Mission to Downtown.",3

## trips.txt

route_id,service_id,trip_id,trip_headsign,block_id
A,WE,AWE1,Downtown,1
A,WE,AWE2,Downtown,2

## stop_times.txt

trip_id,arrival_time,departure_time,stop_id,stop_sequence,pickup_type,drop_off_type
AWE1,0:06:10,0:06:10,S1,1,0,0
AWE1,,,S2,2,1,3
AWE1,0:06:20,0:06:30,S3,3,0,0
AWE1,,,S5,4,0,0
AWE1,0:06:45,0:06:45,S6,5,0,0
AWD1,0:06:10,0:06:10,S1,1,0,0
AWD1,,,S2,2,0,0
AWD1,0:06:20,0:06:20,S3,3,0,0
AWD1,,,S4,4,0,0
AWD1,,,S5,5,0,0
AWD1,0:06:45,0:06:45,S6,6,0,0

## calendar.txt

service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date
WE,0,0,0,0,0,1,1,20060701,20060731
WD,1,1,1,1,1,0,0,20060701,20060731

## calendar_dates.txt

Este ejemplo muestra las excepciones de servicio para el día de la Independencia de 2006. El lunes 3 de julio de 2006, el servicio regular de días laborables`(service_id=WD`) se interrumpe`(exception_type=2`). En su lugar, el servicio de fin de semana (`service_id=WE`) funciona en esa fecha (`exception_type=1`). El mismo cambio se aplica también al martes 4 de julio.

service_id,date,exception_type
WD,20060703,2
WE,20060703,1
WD,20060704,2
WE,20060704,1

## fare_attributes.txt

fare_id,price,currency_type,payment_method,transfers,transfer_duration
1,0.00,USD,0,0,0
2,0.50,USD,0,0,0
3,1.50,USD,0,0,0
4,2.00,USD,0,0,0
5,2.50,USD,0,0,0

## fare_rules.txt

fare_id,route_id,origin_id,destination_id,contains_id
a,TSW,1,1,
a,TSE,1,1,
a,GRT,1,1,
a,GRJ,1,1,
a,SVJ,1,1,
a,JSV,1,1,
a,GRT,2,4,
a,GRJ,4,2,
b,GRT,3,3,
c,GRT,,,6

## shapes.txt

shape_id,shape_pt_lat,shape_pt_lon,shape_pt_sequence,shape_dist_traveled
A_shp,37.61956,-122.48161,1,0
A_shp,37.64430,-122.41070,2,6.8310
A_shp,37.65863,-122.30839,3,15.8765

## frequencies.txt

trip_id,start_time,end_time,headway_secs
AWE1,05:30:00,06:30:00,300
AWE1,06:30:00,20:30:00,180
AWE1,20:30:00,28:00:00,420

## transfers.txt

from_stop_id,to_stop_id,transfer_type,min_transfer_time
S6,S7,2,300
S7,S6,3,
S23,S7,1,

## pathways.txt

pathway_id,from_stop_id,to_stop_id,pathway_mode,is_bidirectional
E1N1,E1,N1,2,1
E2N1,E2,N1,2,1
E3N1,E3,N1,2,1
N1-N2,N1,N2,6,1
N2-N1,N2,N1,7,1
N2N3,N2,N3,2,1
N2-B1,N2,B1,4,0
B1-N2,B1,N2,4,0
B1B2,B1,B2,2,1

B1B3,B1,B3,1,1
B2B4,B2,B4,1,1

E4N3,E4,N3,2,1
E5N3,E5,N3,2,1
N3-N4,N3,N4,6,1
N4-N3,N4,N3,7,1
N4B3,N4,B3,2,1
N4-B3,N4,B3,4,0
B3-N4,B3,N4,4,0
B3B4,B3,B4,2,1

## levels.txt

level_id,level_index,level_name,elevation
L0,0,Street,0
L1,-1,Mezzanine,-6
L2,-2,Southbound,-18
L3,-3,Northbound,-24

## translations.txt

table_name,field_name,language,translation,record_id
stops,stop_name,en,Tokyo Station,stopid000001
stops,stop_name,fr,Gare de Tokyo,stopid000001
stops,stop_name,zh,東京站,stopid000001

## attributions.txt

attribution_id,is_producer,is_operator,organization_name,agency_id
attribution001,1,0,Transit Feed Solutions USA,agency001
attribution002,0,1,Transit Bus Operations USA ,agency001
[...]
Loading