You are here

function _openlayers_openlayers_layers_i18n in Openlayers 6.2

Same name and namespace in other branches
  1. 7.2 includes/openlayers.layers.inc \_openlayers_openlayers_layers_i18n()

This function is for the po editor to be able to find these strings, since in the codebase they are not in t()'s, because they are later run through t() in the layer loader function

File

includes/openlayers.layers.inc, line 262
OpenLayers default packaged layers

Code

function _openlayers_openlayers_layers_i18n() {
  $translatable_strings = array(
    // titles
    t('Google Maps Satellite'),
    t('Google Maps Hybrid'),
    t('Google Maps Normal'),
    t('Google Maps Physical'),
    t('Yahoo Maps Street'),
    t('Yahoo Maps Hybrid'),
    t('Yahoo Maps Satellite'),
    t('Virtual Earth Street'),
    t('Virtual Earth Satellite'),
    t('Virtual Earth Hybrid'),
    t('OSM Mapnik'),
    t('OSM Tiles@Home'),
    t('OSM Cycling Map'),
    t('OSM Overlay'),
    t('Default OpenLayers WMS'),
    // descriptions
    t('Alternative, community-rendered OpenStreetMap'),
    t('Google Maps Hillshades'),
    t('Google Maps Satellite Imagery.'),
    t('Google Maps with roads and terrain.'),
    t('MetaCarta basemap of province and water boundaries'),
    t('OpenStreetMap with highlighted bike lanes'),
    t('Semi-transparent hybrid overlay. Projected into
      WSG84 for use on non spherical-mercator maps.'),
    t('Standard Google Maps Roads'),
    t('The main OpenStreetMap map'),
    t('Virtual Earth (Bing) hybrid of streets and satellite tiles.'),
    t('Virtual Earth (Bing) satellite tiles.'),
    t('Virtual Earth (Bing) street tiles.'),
    t('Yahoo hybrid of streets and satellite tiles.'),
    t('Yahoo satellite imagery tiles.'),
    t('Yahoo streets tiles.'),
  );
}