Giter Site home page Giter Site logo

osm-smart-menu's Introduction

OSM Smart Menu

OpenStreetMap helper extension compatible with the Firefox, Chromium and Opera browsers.

Contributing

Translations

Add a file called messages.json in the folder _locales/xy, where xy is your languages' code. You just need to translate the sentences that are different from the default values (in this case, values from the english translation). Feel free to create regional tranlations adding the country code after the language code. See Chrome's documentation for details.

Adding new websites

  1. Add an entry in lib/sites-configuration.js following a schema similar to the others (will be documented in the future);
  2. Add an entry for it's name translation in the default i18n file (_locales/en/messages.json) and for other languages you know;
  3. If possible, add in lib/background/injectable-content-script.js a function for getting permalinks or some additional data from the website that is not extractable from the URL.

I reserve the right of refusing to add a website to the extension for any reason. In the future, I plan to find a way to allow the users to add their own websites.

osm-smart-menu's People

Contributors

jgpacker avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.