added tooltip for gui boxes
This commit is contained in:
parent
3f1c3e0923
commit
3fc8c4309f
@ -37,6 +37,7 @@ OSRM.GUIBoxHandle = function( box_name, side, css, transitionStartFct, transitio
|
||||
var icon = document.createElement('div');
|
||||
icon.id = box_name + '-handle-icon';
|
||||
icon.className = 'iconic-button';
|
||||
icon.title = box_name;
|
||||
|
||||
content.appendChild(icon);
|
||||
wrapper.appendChild(content);
|
||||
|
@ -73,6 +73,9 @@ setLabels: function() {
|
||||
document.getElementById('gui-data-timestamp').innerHTML = OSRM.G.data_timestamp;
|
||||
document.getElementById('gui-timestamp-label').innerHTML = OSRM.loc("GUI_VERSION");
|
||||
document.getElementById('gui-timestamp').innerHTML = OSRM.DATE+"; v"+OSRM.VERSION;
|
||||
document.getElementById('config-handle-icon').title = OSRM.loc("GUI_CONFIGURATION");
|
||||
document.getElementById('mapping-handle-icon').title = OSRM.loc("GUI_MAPPING_TOOLS");
|
||||
document.getElementById('main-handle-icon').title = OSRM.loc("GUI_MAIN_WINDOW");
|
||||
|
||||
document.getElementById("gui-units-toggle").getElementsByTagName("option")[0].innerHTML = OSRM.loc("GUI_KILOMETERS");
|
||||
document.getElementById("gui-units-toggle").getElementsByTagName("option")[1].innerHTML = OSRM.loc("GUI_MILES");
|
||||
|
@ -32,6 +32,7 @@ OSRM.Localization["de"] = {
|
||||
"GUI_REVERSE": "Umdrehen",
|
||||
"GUI_START_TOOLTIP": "Startposition eingeben",
|
||||
"GUI_END_TOOLTIP": "Zielposition eingeben",
|
||||
"GUI_MAIN_WINDOW": "Hauptfenster",
|
||||
//config
|
||||
"GUI_CONFIGURATION": "Einstellungen",
|
||||
"GUI_LANGUAGE": "Sprache",
|
||||
|
@ -32,6 +32,7 @@ OSRM.Localization["dk"] = {
|
||||
"GUI_REVERSE": "Omvendt",
|
||||
"GUI_START_TOOLTIP": "Indtast start",
|
||||
"GUI_END_TOOLTIP": "Indtast destination",
|
||||
"GUI_MAIN_WINDOW": "Hovedvinduet",
|
||||
//config
|
||||
"GUI_CONFIGURATION": "Konfiguration",
|
||||
"GUI_LANGUAGE": "Sprog",
|
||||
|
@ -32,6 +32,7 @@ OSRM.Localization["en"] = {
|
||||
"GUI_REVERSE": "Reverse",
|
||||
"GUI_START_TOOLTIP": "Enter start",
|
||||
"GUI_END_TOOLTIP": "Enter destination",
|
||||
"GUI_MAIN_WINDOW": "Main window",
|
||||
// config
|
||||
"GUI_CONFIGURATION": "Configuration",
|
||||
"GUI_LANGUAGE": "Language",
|
||||
|
@ -32,6 +32,7 @@ OSRM.Localization["es"] = {
|
||||
"GUI_REVERSE": "Invertir",
|
||||
"GUI_START_TOOLTIP": "Escriba la dirección de origen",
|
||||
"GUI_END_TOOLTIP": "Escriba la dirección de destino",
|
||||
"GUI_MAIN_WINDOW": "Ventana principal",
|
||||
// config
|
||||
"GUI_CONFIGURATION": "Configuración",
|
||||
"GUI_LANGUAGE": "Idioma",
|
||||
|
@ -32,6 +32,7 @@ OSRM.Localization["fi"] = {
|
||||
"GUI_REVERSE": "Käänteinen reitti",
|
||||
"GUI_START_TOOLTIP": "Syötä lähtöpaikka",
|
||||
"GUI_END_TOOLTIP": "Syötä määränpää",
|
||||
"GUI_MAIN_WINDOW": "Pääikkuna",
|
||||
//config
|
||||
"GUI_CONFIGURATION": "Kokoonpano",
|
||||
"GUI_LANGUAGE": "Kieli",
|
||||
|
@ -32,6 +32,7 @@ OSRM.Localization["fr"] = {
|
||||
"GUI_REVERSE": "Inverser",
|
||||
"GUI_START_TOOLTIP": "Entrez le lieu de départ",
|
||||
"GUI_END_TOOLTIP": "Entrez le lieu d’arrivée",
|
||||
"GUI_MAIN_WINDOW": "Fenêtre principale",
|
||||
//config
|
||||
"GUI_CONFIGURATION": "Configuration",
|
||||
"GUI_LANGUAGE": "Langue",
|
||||
|
@ -32,6 +32,7 @@ OSRM.Localization["it"] = {
|
||||
"GUI_REVERSE": "Inverti",
|
||||
"GUI_START_TOOLTIP": "Inserire la Partenza",
|
||||
"GUI_END_TOOLTIP": "Inserire la destinazione",
|
||||
"GUI_MAIN_WINDOW": "Finestra principale",
|
||||
//config
|
||||
"GUI_CONFIGURATION": "Configurazione",
|
||||
"GUI_LANGUAGE": "Lingua",
|
||||
|
@ -32,6 +32,7 @@ OSRM.Localization["lv"] = {
|
||||
"GUI_REVERSE": "Pretējā virzienā",
|
||||
"GUI_START_TOOLTIP": "Izvēlieties sākumu",
|
||||
"GUI_END_TOOLTIP": "Izvēlieties galamērķi",
|
||||
"GUI_MAIN_WINDOW": "Galvenais logs",
|
||||
// config
|
||||
"GUI_CONFIGURATION": "Konfigurācija",
|
||||
"GUI_LANGUAGE": "Valoda",
|
||||
|
@ -32,6 +32,7 @@ OSRM.Localization["pl"] = {
|
||||
"GUI_REVERSE": "Odwróć",
|
||||
"GUI_START_TOOLTIP": "Wprowadź początek",
|
||||
"GUI_END_TOOLTIP": "Wprowadź koniec",
|
||||
"GUI_MAIN_WINDOW": "Główne okno",
|
||||
//config
|
||||
"GUI_CONFIGURATION": "Konfiguracja",
|
||||
"GUI_LANGUAGE": "Język",
|
||||
|
@ -32,6 +32,7 @@ OSRM.Localization["ru"] = {
|
||||
"GUI_REVERSE": "Обратно",
|
||||
"GUI_START_TOOLTIP": "Укажите начальную точку",
|
||||
"GUI_END_TOOLTIP": "Укажите пункт назначения",
|
||||
"GUI_MAIN_WINDOW": "Главное окно",
|
||||
// config
|
||||
"GUI_CONFIGURATION": "Настройки",
|
||||
"GUI_LANGUAGE": "Язык",
|
||||
|
Loading…
Reference in New Issue
Block a user