-
Notifications
You must be signed in to change notification settings - Fork 21
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
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 02db50c
GTFS Schedule example feed translations
emmambd 2c6f393
exclude translations from search
emmambd 4783c31
fares v1 examples
emmambd efd3a8b
fares v2 example translations
emmambd 4a0acba
rename translation files fares v2
emmambd 1ce03d5
frequencies example translations
emmambd 2d434af
pathways example translations
emmambd 1857394
translations.txt examples translations
emmambd 9f8d339
routes stops trips examples translations
emmambd d92bf71
continuous stop examples translations
emmambd 83cf49e
feed info example translations
emmambd 89d7665
attribution example translations
emmambd e8b121d
examples index translations
emmambd 2f610b9
remove edit link from translated pages
emmambd 25ebc36
example index translations
emmambd 212cac5
changes index translations
emmambd de84a0f
GTFS schedule processes translations
emmambd 033be2a
[create-pull-request] automated change (#67)
github-actions[bot] 7911b5f
[create-pull-request] automated change (#68)
github-actions[bot] 97e8c1e
[create-pull-request] automated change (#70)
github-actions[bot] 0dc1630
feat: Add clearer contribution info (#69)
emmambd 4f2dee6
[create-pull-request] automated change (#71)
github-actions[bot] e9b96ea
update home pages traditional chinese
emmambd 1299046
validate page translations
emmambd 09312a4
Merge branch 'main' into schedule_examples
emmambd 967cbea
[create-pull-request] automated change (#81)
github-actions[bot] 1bcb596
fix: update docs on translation contributions (#85)
emmambd bd8e640
GTFS Schedule new extensions (#86)
emmambd bb3cce9
feat: extension updates (#87)
emmambd f1b0d90
[create-pull-request] automated change (#90)
github-actions[bot] 1821b07
[create-pull-request] automated change (#92)
github-actions[bot] 61a088d
location_type should be 1 (#93)
briandonahue d506943
feat: Add Fares v2 page (#89)
emmambd 3449592
[create-pull-request] automated change (#94)
github-actions[bot] 2e9860e
zh-TW chinese homepage button fix
emmambd 0c4d8d4
changes page fixes
emmambd 9a5c9e5
example feed translation fixes
emmambd 32f52e4
attributions example translation fixes
emmambd dc3283d
continuous stops example fixes
emmambd 27455fb
fares v1 example fixes
emmambd 04f68ef
fares v2 example fixes
emmambd b180122
fares-v2 fixes
emmambd bcbe4ea
feed_info fixes
emmambd b4107f8
frequencies fixes
emmambd ef9545d
examples index fixes
emmambd 2d8f8b3
pathways examples fixes
emmambd 228e86e
continuous stops add translations
emmambd cf50a11
frequencies fixes
emmambd b192a46
example fixes
emmambd 39e7d35
process translation fixes
emmambd 156a073
validate translations
emmambd f21bdbf
translate examples navigation
emmambd e062b31
link fixes
emmambd f2d5d8c
qa changes
emmambd be4a9bc
text-to-speech translations
emmambd f1f2f0a
fares translation fixes
emmambd 266269e
changes translations
emmambd 66d5e5f
attributions
emmambd 8e43320
validate page
emmambd efd64e6
pathways
emmambd b8d1b0a
feed info
emmambd b570c38
frequencies
emmambd 9b47992
translations page
emmambd b84ae6e
feat: Add clearer contribution info (#69)
emmambd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
||
## 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 | ||
[...] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
[...] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fragmented hyperlink