Permalink
Browse files

Merge pull request #727 from StichtingOpenGeo/master

Dutch: webapp: locale: sync bikeshare optional locale changes
  • Loading branch information...
2 parents ba43350 + 10daec2 commit 90f8876b9c41b52861199f899c9039166f37d6f5 @novalis novalis committed May 12, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 opentripplanner-webapp/src/main/webapp/js/otp/locale/Dutch.js
@@ -354,6 +354,20 @@ otp.locale.Dutch = {
['TRAINISH,WALK', 'Alleen trein'],
['WALK', 'Alleen lopen'],
['BICYCLE', 'Fiets'],
+ ['TRANSIT,BICYCLE', 'OV & Fiets']
+ ],
+
+ // TODO: remove this hack, and provide code that allows the mode array to be configured with different transit modes.
+ // (note that we've been broken for awhile here, since many agencies don't have a 'Train' mode either...this needs attention)
+ // IDEA: maybe we start with a big array (like below), and the pull out modes from this array when turning off various modes...
+
+ with_bikeshare_mode :
+ [
+ ['TRANSIT,WALK', 'OV'],
+ ['BUSISH,WALK', 'Alleen bus'],
+ ['TRAINISH,WALK', 'Alleen trein'],
+ ['WALK', 'Alleen lopen'],
+ ['BICYCLE', 'Fiets'],
['WALK,BICYCLE', 'Huurfiets'],
['TRANSIT,BICYCLE', 'OV & Fiets'],
['TRANSIT,WALK,BICYCLE', 'OV & OV-fiets']

0 comments on commit 90f8876

Please sign in to comment.