nekromoff / bicycle-master-plan

Bicycle Master Plan is a bike map that allows visualizing cycling related data from different sources in multiple layers. Built heavily around data from OpenStreetMap, it allows full visual customization using CSS.
https://mapa.cyklokoalicia.sk/bratislava/public/
GNU General Public License v3.0
11 stars 0 forks source link

Move Intro String To Translation File. #34

Open pqhf5kd opened 3 years ago

pqhf5kd commented 3 years ago

map.php contains an 'Intro' string that is displayed in the sidebar when opening the site for the first time.

map.php should instead contain a variable that is set in each translation file.

nekromoff commented 3 years ago

Probably a good idea. It's kind of legacy leftover.

nekromoff commented 3 years ago

But, there is an issue with that: config file is install dependent (customized), translation file is install independent (original). This would make intro non-customizable easily via config files.