diff --git a/about.php b/about.php
index c538414..12f36eb 100755
--- a/about.php
+++ b/about.php
@@ -1,235 +1,240 @@
.
*/
require 'load.php';
get_header('about');
?>
|
|
|
| Apache |
|
|
| Boz PHP - Another PHP Framework |
|
|
| Debian GNU/Linux |
|
|
| jQuery + jQuery UI |
|
|
| Leaflet |
|
|
| Materialize |
|
|
| Material Design Icons |
|
|
| MySQL |
Relational database management system |
|
| Open Data MISE |
|
|
| OpenStreetMap |
|
|
| OpenClipArt |
|
|
| PHP |
|
|
| Reveal.JS |
|
|
-
.
*/
/**
- * It do what it's written.
+ * It does what it's written.
+ *
* @param float $latitude1
* @param float $longitude1
* @param float $latitude2
* @param float $longitude2
* @return float Meters
*/
function get_distance_between_coordinates($latitude1, $longitude1, $latitude2, $longitude2) {
$theta = $longitude1 - $longitude2;
$distance = sin(deg2rad($latitude1)) * sin(deg2rad($latitude2)) + (
cos(deg2rad($latitude1)) * cos(deg2rad($latitude2)) * cos(deg2rad($theta))
);
$distance = acos($distance);
$distance = rad2deg($distance) * 60 * 1.1515;
$distance = $distance * 1609.344; // To meters
return $distance;
}
function get_in_touch($url, $who) {
return HTML::a($url, mdi_icon('perm_contact_calendar') . _("Entra in contatto"), sprintf( _("Mettiti in contatto con %s"), $who ), 'waves-effect waves-teal btn');
}
function legal_notes($url, $license, $project) {
return HTML::a($url, $license, sprintf( _("Informazioni legali su %s"), $project ) );
}
/**
* Material Design Icon
*/
function mdi_icon($uid, $class = 'left') {
return "
$uid";
}
/**
* Run GNU Gettext
*/
function gettext_rocks($lang = 'it_IT', $domain = 'fuel.reyboz.it', $folder = 'l10n', $encoding = 'UTF-8') {
putenv("LANG=$lang.$encoding");
setlocale(LC_MESSAGES, "$lang.$encoding");
bindtextdomain($domain, $folder);
textdomain($domain);
bind_textdomain_codeset($domain, $encoding);
}
+/**
+ * Get the last update price.
+ *
+ * Has a cache.
+ *
+ * @param string $format DateTime format.
+ * @return string Formatted date.
+ */
function last_price_date($format = 'd/m/Y H:i') {
- global $db;
+ expect('db');
static $lastdate = null;
if($lastdate === null) {
- $lastdate = $db->getValue(
- "SELECT MAX(price_date) as lastdate FROM {$db->getTable('price')}",
+ $lastdate = $GLOBALS['db']->getValue(
+ "SELECT MAX(price_date) AS lastdate FROM {$GLOBALS['db']->getTable('price')}",
'lastdate'
);
}
$d = DateTime::createFromFormat('Y-m-d H:i:s', $lastdate);
return $d->format($format);
}
diff --git a/includes/scripts.js b/includes/scripts.js
index 9fc7a7a..e0f237b 100644
--- a/includes/scripts.js
+++ b/includes/scripts.js
@@ -1,331 +1,329 @@
/*
* Italian petrol pumps comparator - Project born (and winner) at hackaton Facile.it 2015
* Copyright (C) 2015 Valerio Bozzolan, Marcelino Franchini, Fabio Mottan, Alexander Bustamente, Cesare de Cal, Edoardo de Cal
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see
.
*/
var map;
var EUROS = 40;
var errorTooStations = true;
var pleaseZoomIn = true;
var noStations = true;
var Stations = {
all: [],
exists: function(id) {
var i = 0;
while(i < this.all.length && this.all[i++] !== id);
return this.all[i-1] === id;
},
alreadyAdded: function(id) {
if( this.exists(id) ) {
return true;
}
this.all.push(id);
return false;
}
};
var Overworld = {
$el: undefined,
$action: undefined,
visible: true,
running: false,
hide: function() {
if(Overworld.running) {
return;
}
Overworld.running = true;
Overworld.$el.hide("drop", {direction: "up"}, "slow", function() {
Overworld.$action.show("drop", {direction: "up"}, "fast", function() {
Overworld.running = false;
});
});
},
show: function() {
if(Overworld.running) {
return;
}
Overworld.running = true;
map.closePopup();
Overworld.$el.find("input").val("");
Overworld.$action.hide("drop", {direction: "up"}, "slow", function() {
Overworld.$el.show("drop", {direction: "up"}, "fast", function() {
Overworld.$el.find("input").focus();
Overworld.running = false;
});
});
}
};
$(document).ready(function() {
Overworld.$action = $("#overworld-buttons");
Overworld.$el = $("#overworld");
- Overworld.$action.hide().click(function() {
- Overworld.show();
- });
+ Overworld.$action.hide().click( Overworld.show );
+
+ $(".close-overworld").click( Overworld.hide );
$("form").submit(function(event) {
suggest_nominatim_addresses(
$("input[name=search_address]").val()
);
event.preventDefault();
});
map = L.map('map');
// create the tile layer with correct attribution
var osmUrl='http://{s}.tile.osm.org/{z}/{x}/{y}.png';
var osmAttrib='©
OpenStreetMap contributors';
var osm = new L.TileLayer(osmUrl, {maxZoom: 17, attribution: osmAttrib});
map.addLayer(osm);
map.setView([41.49, 13.11], 6);
map.on("moveend", function() {
getMarkersInBounds();
return true;
});
- map.on("popupopen", function() {
- Overworld.hide();
- });
+ map.on("popupopen", Overworld.hide );
fitDocument();
map.locate({setView: true, enableHighAccuracy: true, maxZoom: 16});
map.on("locationfound", function(e) {
var radius = e.accuracy / 2;
enfatizeLatLng(e.latlng, 2000);
Overworld.hide();
});
map.on("locationerror", function(e) {
toast( L10n.noLocation );
});
getMarkersInBounds();
});
function toast(s) {
Materialize.toast(s, 3000);
}
function getMarkersInBounds(preCallback, postCallback) {
if(map.getZoom() < 13) {
pleaseZoomIn && toast( L10N.pleaseZoomIn );
pleaseZoomIn = false;
return;
}
pleaseZoomIn = true;
var bounds = map.getBounds();
var data = {
lat_n: bounds.getNorth(),
lat_s: bounds.getSouth(),
lng_w: bounds.getWest(),
lng_e: bounds.getEast()
};
$.getJSON("/api/bounds.php", data, function(json) {
if(json.error) {
errorTooStations && toast( L10N.errorTooStations );
errorTooStations = false;
return;
}
errorTooStations = true;
if(json.length === 0) {
noStations && toast( L10N.noStations );
noStations = false;
return;
}
noStations = true;
if(json.length > 90) {
toast( L10N.tooStations.formatUnicorn({n: json.length}) );
return;
}
if(preCallback && preCallback(bounds, json) === false ) {
return;
}
var minPriceId = 0;
var minPrice = 999.0;
for(var i=0; i
:
";
for(var j=0; j";
var litres = (EUROS/json[i].prices[j].price_value).toFixed(2);
if(j === 0) {
txt += "| " + litres + " L | ";
} else {
txt += "" + litres + " L | ";
}
txt += "per il " + json[i].prices[j].fuel_name + " | ";
txt += "";
if(json[i].prices[j].price_self) {
txt += "(self)";
} else {
txt += "";
}
txt += " | ";
txt += "";
}
txt += "
";
txt += "+ " + L10N.actionFavorites + "";
txt += "segnala errore
";
var m = L.marker([json[i].station_lat, json[i].station_lon], {
bounceOnAdd: true,
bounceOnAddOptions: {duration: 500, height: 100},
bounceOnAddCallback: function() {}
})
.bindPopup(txt)
.addTo(map)
.options;
m.station_ID = json[i].station_ID;
}
postCallback && postCallback(bounds, json);
});
}
function suggest_nominatim_addresses(query) {
$.ajax({
url: "https://nominatim.openstreetmap.org/search",
jsonp: "nominatimJsonp",
dataType: "jsonp",
data: {
q: query,
format: "json",
json_callback: "nominatimJsonp"
}
});
}
function nominatimJsonp(json) {
var $searchResults = $("#modal-search-addr-results");
var $list = $searchResults.find("ol").empty();
if(json.length > 0) {
for(i=0; i")
.append(
$('')
.text(json[i].display_name)
.data("latLng", {lat: json[i].lat, lng: json[i].lon})
.data("bounds", json[i].boundingbox)
.click(function(event) {
$searchResults.closeModal();
var latLng = $(this).data("latLng");
var bounds = $(this).data("bounds");
var adaptedBounds = [
[bounds[0], bounds[3]],
[bounds[1], bounds[2]]
];
map.fitBounds(
adaptedBounds
);
getMarkersInBounds();
Overworld.hide();
event.preventDefault();
})
)
.append(
$("
")
)
.append(
$("")
.text(json[i].licence)
)
);
}
// Result links
$searchResults.find("a").click(function() {
$searchResults.closeModal();
});
} else {
$list.append( $("").text( L10N.noAddressFound ) );
}
$searchResults.openModal();
}
function enfatizeLatLng(latLng, duration, radius) {
duration = duration || 2000;
radius = radius || 100;
var circle = L.circle(latLng, radius).addTo(map);
window.setTimeout(function () {
map.removeLayer(circle);
}, duration);
}
function fitDocument() {
var w = $("body").width();
var h = $("body").height();
$("#map").width( w ).height( h );
}
// http://stackoverflow.com/questions/610406/javascript-equivalent-to-printf-string-format
String.prototype.formatUnicorn = function() {
var str = this.toString();
if(!arguments.length) {
return str;
}
var args = typeof arguments[0],
args = (("string" == args || "number" == args) ? arguments : arguments[0]);
for(var arg in args) {
str = str.replace(RegExp("\\{" + arg + "\\}", "gi"), args[arg]);
}
return str;
}
$(window).resize(function() {
// jQuery's windowResize is a bit crazy
setTimeout(fitDocument, 500);
setTimeout(fitDocument, 2000);
setTimeout(fitDocument, 4000);
});
$(document).on("click", ".add-favorites", function() {
toast( L10N.addedToFavorites );
});
$(document).on("click", ".segnala-errore", function() {
toast( L10N.errorSent );
});
diff --git a/index.php b/index.php
index bbf4bd1..5210d87 100755
--- a/index.php
+++ b/index.php
@@ -1,103 +1,100 @@
.
*/
/*
* The map
*/
require 'load.php';
expect('db');
enqueue_css('leaflet');
enqueue_css('my-fuel-map');
enqueue_js('jquery.ui');
enqueue_js('leaflet');
enqueue_js('leaflet.bouncemarker');
enqueue_js('my-fuel-map');
get_header('map');
$last_price_rfc3339 = last_price_date(DateTime::RFC3339);
$last_price_text = last_price_date();
?>
-
-
+
+
getValue(
"SELECT COUNT(*) as count FROM {$db->getTable('station')}",
'count'
),
HTML::property('class', 'station-counter')
)
) ?>
+
+
+
$last_price_text"
) ?>
-
, 2015.
#
msgid ""
msgstr ""
"Project-Id-Version: it.reyboz.fuel\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-12-28 23:02+0100\n"
-"PO-Revision-Date: 2015-12-28 23:00+0100\n"
+"POT-Creation-Date: 2016-01-25 22:44+0100\n"
+"PO-Revision-Date: 2016-01-25 22:43+0100\n"
"Last-Translator: Valerio Bozzolan \n"
"Language-Team: \n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: about.php:26
+#: ../about.php:26
msgid "Il Team «Il Cloud non esiste»"
msgstr "“Cloud storage doesn’t exist” team"
-#: about.php:27
+#: ../about.php:27
msgid ""
"«Il Cloud non esiste» è il team che in 24 ore ha realizzato il progetto "
"vincitore dell'Hackaton di Facile.it 2015 presentando un comparatore di "
"prezzi dei carburanti."
msgstr ""
"“Cloud storage doesn’t exist” is the team that in 24 hours has developed the "
"winning project of the Facile.it 2015 Hackathon, presenting a fuel price "
"comparator."
-#: about.php:32 about.php:41
+#: ../about.php:32 ../about.php:41
#, php-format
msgid "Articolo su %s"
msgstr "Article on %s"
-#: about.php:33 about.php:42
+#: ../about.php:33 ../about.php:42
#, php-format
msgid "Leggi l'articolo su %s"
msgstr "Read the article on %s"
-#: about.php:58
+#: ../about.php:58
msgid "Offensive Security Entusiast"
msgstr "Offensive Security Entusiast"
-#: about.php:74
+#: ../about.php:74
msgid "Junior Hackathon hacker"
msgstr "Junior Hackathon hacker"
-#: about.php:75 about.php:92
+#: ../about.php:75 ../about.php:92
msgid "Smartphone & web developer."
msgstr "Smartphone & web developer."
-#: about.php:91
+#: ../about.php:91
msgid "Very Junior Hackathon hacker"
msgstr "Very Junior Hackathon hacker"
-#: about.php:108
+#: ../about.php:108
msgid "Developer - DBA & Marketing Specialist"
msgstr "Developer - DBA & Marketing Specialist"
-#: about.php:109
+#: ../about.php:109
msgid ""
"Sviluppo dell'importatore-bridge in PHP, MySQL fra i dati dello Sviluppo "
"Economico. Presentatore del progetto."
msgstr ""
"Developed the PHP bridge, MySQL using the data supplied by Economic "
"Development. Presenter of the project"
-#: about.php:125
+#: ../about.php:125
msgid "Tactical Banana"
msgstr "Tactical Banana"
-#: about.php:126
+#: ../about.php:126
msgid "«Valerio per favore scrivi qui qualcosa di divertente». -Fatto-"
msgstr "«Valerio please write down something funny». -Done-"
-#: about.php:142
+#: ../about.php:142
msgid "No-sleep Tech Orchestrator"
msgstr "No-sleep Tech Orchestrator"
-#: about.php:143
+#: ../about.php:143
msgid "Sviluppo del frontend in PHP, MySQL e JavaScript."
msgstr "Developed front-end in PHP, MySQL and JavaScript"
-#: about.php:153
+#: ../about.php:153
msgid "Tecnologie utilizzate"
msgstr "Technologies"
-#: about.php:157
+#: ../about.php:157
msgid "Nome tecnologia"
msgstr "Technology name"
-#: about.php:158
+#: ../about.php:158
msgid "Ruolo"
msgstr "Team role"
-#: about.php:159
+#: ../about.php:159
msgid "Licenza di software libero"
msgstr "Free software license"
-#: about.php:165
+#: ../about.php:165
msgid "Server web"
msgstr "Server web"
-#: about.php:170
+#: ../about.php:170
msgid "Framework casereccio in PHP"
msgstr "Homemade framework in PHP"
-#: about.php:175
+#: ../about.php:175
msgid "Ambiente server GNU/Linux"
msgstr "GNU/Linux server environment"
-#: about.php:180
+#: ../about.php:180
msgid ""
"Libreria JavaScript per l'attraversamento, manipolazione e animazioni del DOM"
msgstr "JavaScript library for manipulating and animating DOM"
-#: about.php:185
+#: ../about.php:185
msgid "Libreria JavaScript per mappe interattive"
msgstr "JavaScript framework for interactive maps"
-#: about.php:190
+#: ../about.php:190
msgid "Framework responsivo ispirato al Material Design"
msgstr "Responsive framework inspired by Material Design"
-#: about.php:195
+#: ../about.php:195
msgid "Set di icone Material Design"
msgstr "Material Design icon set"
-#: about.php:205
+#: ../about.php:205
msgid ""
"Prezzi praticati e anagrafica degli impianti di carburante dal Ministero "
"dello Sviluppo Economico italiano."
msgstr ""
"Price table and station list from the Italian Ministry of Economic "
"Development."
-#: about.php:206
+#: ../about.php:206
msgid "Carburanti - Prezzi praticati e anagrafica degli impianti"
msgstr "Fuels - prices and details info about fuel stations"
-#: about.php:210
+#: ../about.php:210
msgid "Mappa collaborativa globale"
msgstr "Collaborative global map"
-#: about.php:215
+#: ../about.php:215
msgid "Logo e favicon"
msgstr "Logo and favicon"
-#: about.php:216
+#: ../about.php:216
msgid "Pubblico dominio"
msgstr "Public domain"
-#: about.php:220
+#: ../about.php:220
msgid "Pre-processore di ipertesti"
msgstr "Pre-processor of hypertexts"
-#: about.php:221
+#: ../about.php:221
msgid "Licenza PHP"
msgstr "PHP licence"
-#: about.php:225
+#: ../about.php:225
msgid ""
"Software di presentazione HTML utilizzato per presentare il progetto "
"all'hackaton"
msgstr ""
"Software for HTML presentations, used to present the project at the hackathon"
-#: about.php:226
+#: ../about.php:226
msgid "Licenza Reveal.JS"
msgstr "Reveal.JS license"
-#: about.php:232
+#: ../about.php:233
msgid "Torna alla mappa"
msgstr "Back to the map"
-#: about.php:232
+#: ../about.php:233
#, php-format
msgid "Torna a %s"
msgstr "Back to %s"
-#: index.php:53
+#: ../about.php:236
+msgid "Clona il codice"
+msgstr "Clone the source code"
+
+#: ../about.php:236
+msgid "Clona"
+msgstr "Clone"
+
+#: ../index.php:45
#, php-format
msgid "Confronta velocemente i prezzi fra %s stazioni di rifornimento."
msgstr "Quickly compare fuel prices between %s stations."
-#: index.php:64
+#: ../index.php:57
+msgid "Maggiori informazioni"
+msgstr "More informations"
+
+#: ../index.php:57
+msgid "Maggiori info"
+msgstr "More info"
+
+#: ../index.php:58
+msgid "Socchiudi scheda"
+msgstr "Close tab"
+
+#: ../index.php:62
#, php-format
msgid "Ultimo aggiornamento: %s."
msgstr "Last update: %s."
-#: index.php:70
+#: ../index.php:68
msgid "Cerca un indirizzo"
msgstr "Search an address"
-#: index.php:81
+#: ../index.php:79
msgid "Risultati ricerca"
msgstr "Search results"
-#: index.php:87
+#: ../index.php:86
msgid "La tua segnalazione è preziosa. Per ora però sara ignorata <_<"
msgstr "Your report is important to us. "
-#: index.php:88
+#: ../index.php:87
msgid "Aggiunta ai preferiti... Se funzionassero <_<"
msgstr "Added to favorites. "
-#: index.php:89
+#: ../index.php:88
msgid "Posizione non disponibile."
msgstr "Position not avaiable."
-#: index.php:90
+#: ../index.php:89
msgid "Trova la tua zona, zomma!"
msgstr "Find your area, zoom in!"
-#: index.php:91
+#: ../index.php:90
msgid "Vedo molte stazioni. Fai zoom per scoprirle"
msgstr "I see many stations in this area. Zoom in"
-#: index.php:92
+#: ../index.php:91
msgid "Nessuna pompa di benzina in questa zona"
msgstr "No fuel station found in this area."
-#: index.php:93
+#: ../index.php:92
msgid "Fai zoom! Qui ci sono {n} stazioni"
msgstr "Zoom in! There are {n} stations"
-#: index.php:94
+#: ../index.php:93
msgid "Litri ogni {euro} € per {station}"
msgstr "{euro}/liters per {station}"
-#: index.php:95
+#: ../index.php:94
msgid "Preferiti"
msgstr "Favorites"
-#: index.php:96
+#: ../index.php:95
msgid "Segnala errore"
msgstr "Report error"
-#: index.php:97
+#: ../index.php:96
msgid "Nessun indirizzo trovato. Riprova con parole più semplici."
msgstr "No address found. Try with simpler words."
-#: load-post.php:54
+#: ../load-post.php:55
msgid "Compara carburanti"
msgstr "Compare fuel prices"
-#: load-post.php:55
+#: ../load-post.php:56
msgid "Confronta i prezzi dei carburanti"
msgstr "Compare fuels prices"
-#: load-post.php:111
+#: ../load-post.php:112
msgid "Mappa"
msgstr "Map"
-#: load-post.php:116
+#: ../load-post.php:117
msgid "Informazioni sulla piattaforma"
msgstr "Platform information"
-#: cli/import-mise-functions.php:36
+#: ../cli/import-mise-functions.php:36
#, php-format
msgid "La stazione miseID %d doveva essere già stata inserita"
msgstr "The station miseID %d should be inserted yet"
-#: cli/import-mise.php:61
+#: ../cli/import-mise.php:63
#, php-format
msgid "Utilizzo: %s FILE_STAZIONI.csv PREZZI_ALLE_8.csv"
msgstr "Usage: %s FILE_STATIONS.csv PRICES_AT_8.csv"
-#: cli/import-mise.php:72
+#: ../cli/import-mise.php:74
msgid "File delle stazioni non trovato"
msgstr "Station file not found"
-#: cli/import-mise.php:76
+#: ../cli/import-mise.php:78
msgid "Impossibile aprire il file delle stazioni"
msgstr "Unable to open the station file"
-#: cli/import-mise.php:109
+#: ../cli/import-mise.php:111
msgid "File dei prezzi non trovato"
msgstr "Prices file not found"
-#: cli/import-mise.php:113
+#: ../cli/import-mise.php:115
msgid "Impossibile aprire il file dei prezzi"
msgstr "Unable to open the prices file"
-#: cli/import-mise.php:141
+#: ../cli/import-mise.php:143
#, php-format
msgid "Errore: %s."
msgstr "Error: %s."
-#: includes/functions.php:40
+#: ../includes/functions.php:41
msgid "Entra in contatto"
msgstr "Get in touch"
-#: includes/functions.php:40
+#: ../includes/functions.php:41
#, php-format
msgid "Mettiti in contatto con %s"
msgstr "Get in touch with %s"
-#: includes/functions.php:44
+#: ../includes/functions.php:45
#, php-format
msgid "Informazioni legali su %s"
msgstr "Legal information on %s"
#~ msgid "Geolocalizzazione fallita"
#~ msgstr "I couldn’t locate yourself"
diff --git a/l10n/fuel.reyboz.it.pot b/l10n/fuel.reyboz.it.pot
index e446916..89b87b6 100644
--- a/l10n/fuel.reyboz.it.pot
+++ b/l10n/fuel.reyboz.it.pot
@@ -1,298 +1,318 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Valerio Bozzolan
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR , YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: fuel.reyboz.it\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-12-28 23:02+0100\n"
+"POT-Creation-Date: 2016-01-25 22:44+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: about.php:26
+#: ../about.php:26
msgid "Il Team «Il Cloud non esiste»"
msgstr ""
-#: about.php:27
+#: ../about.php:27
msgid ""
"«Il Cloud non esiste» è il team che in 24 ore ha realizzato il progetto "
"vincitore dell'Hackaton di Facile.it 2015 presentando un comparatore di "
"prezzi dei carburanti."
msgstr ""
-#: about.php:32 about.php:41
+#: ../about.php:32 ../about.php:41
#, php-format
msgid "Articolo su %s"
msgstr ""
-#: about.php:33 about.php:42
+#: ../about.php:33 ../about.php:42
#, php-format
msgid "Leggi l'articolo su %s"
msgstr ""
-#: about.php:58
+#: ../about.php:58
msgid "Offensive Security Entusiast"
msgstr ""
-#: about.php:74
+#: ../about.php:74
msgid "Junior Hackathon hacker"
msgstr ""
-#: about.php:75 about.php:92
+#: ../about.php:75 ../about.php:92
msgid "Smartphone & web developer."
msgstr ""
-#: about.php:91
+#: ../about.php:91
msgid "Very Junior Hackathon hacker"
msgstr ""
-#: about.php:108
+#: ../about.php:108
msgid "Developer - DBA & Marketing Specialist"
msgstr ""
-#: about.php:109
+#: ../about.php:109
msgid ""
"Sviluppo dell'importatore-bridge in PHP, MySQL fra i dati dello Sviluppo "
"Economico. Presentatore del progetto."
msgstr ""
-#: about.php:125
+#: ../about.php:125
msgid "Tactical Banana"
msgstr ""
-#: about.php:126
+#: ../about.php:126
msgid "«Valerio per favore scrivi qui qualcosa di divertente». -Fatto-"
msgstr ""
-#: about.php:142
+#: ../about.php:142
msgid "No-sleep Tech Orchestrator"
msgstr ""
-#: about.php:143
+#: ../about.php:143
msgid "Sviluppo del frontend in PHP, MySQL e JavaScript."
msgstr ""
-#: about.php:153
+#: ../about.php:153
msgid "Tecnologie utilizzate"
msgstr ""
-#: about.php:157
+#: ../about.php:157
msgid "Nome tecnologia"
msgstr ""
-#: about.php:158
+#: ../about.php:158
msgid "Ruolo"
msgstr ""
-#: about.php:159
+#: ../about.php:159
msgid "Licenza di software libero"
msgstr ""
-#: about.php:165
+#: ../about.php:165
msgid "Server web"
msgstr ""
-#: about.php:170
+#: ../about.php:170
msgid "Framework casereccio in PHP"
msgstr ""
-#: about.php:175
+#: ../about.php:175
msgid "Ambiente server GNU/Linux"
msgstr ""
-#: about.php:180
+#: ../about.php:180
msgid ""
"Libreria JavaScript per l'attraversamento, manipolazione e animazioni del DOM"
msgstr ""
-#: about.php:185
+#: ../about.php:185
msgid "Libreria JavaScript per mappe interattive"
msgstr ""
-#: about.php:190
+#: ../about.php:190
msgid "Framework responsivo ispirato al Material Design"
msgstr ""
-#: about.php:195
+#: ../about.php:195
msgid "Set di icone Material Design"
msgstr ""
-#: about.php:205
+#: ../about.php:205
msgid ""
"Prezzi praticati e anagrafica degli impianti di carburante dal Ministero "
"dello Sviluppo Economico italiano."
msgstr ""
-#: about.php:206
+#: ../about.php:206
msgid "Carburanti - Prezzi praticati e anagrafica degli impianti"
msgstr ""
-#: about.php:210
+#: ../about.php:210
msgid "Mappa collaborativa globale"
msgstr ""
-#: about.php:215
+#: ../about.php:215
msgid "Logo e favicon"
msgstr ""
-#: about.php:216
+#: ../about.php:216
msgid "Pubblico dominio"
msgstr ""
-#: about.php:220
+#: ../about.php:220
msgid "Pre-processore di ipertesti"
msgstr ""
-#: about.php:221
+#: ../about.php:221
msgid "Licenza PHP"
msgstr ""
-#: about.php:225
+#: ../about.php:225
msgid ""
"Software di presentazione HTML utilizzato per presentare il progetto "
"all'hackaton"
msgstr ""
-#: about.php:226
+#: ../about.php:226
msgid "Licenza Reveal.JS"
msgstr ""
-#: about.php:232
+#: ../about.php:233
msgid "Torna alla mappa"
msgstr ""
-#: about.php:232
+#: ../about.php:233
#, php-format
msgid "Torna a %s"
msgstr ""
-#: index.php:53
+#: ../about.php:236
+msgid "Clona il codice"
+msgstr ""
+
+#: ../about.php:236
+msgid "Clona"
+msgstr ""
+
+#: ../index.php:45
#, php-format
msgid "Confronta velocemente i prezzi fra %s stazioni di rifornimento."
msgstr ""
-#: index.php:64
+#: ../index.php:57
+msgid "Maggiori informazioni"
+msgstr ""
+
+#: ../index.php:57
+msgid "Maggiori info"
+msgstr ""
+
+#: ../index.php:58
+msgid "Socchiudi scheda"
+msgstr ""
+
+#: ../index.php:62
#, php-format
msgid "Ultimo aggiornamento: %s."
msgstr ""
-#: index.php:70
+#: ../index.php:68
msgid "Cerca un indirizzo"
msgstr ""
-#: index.php:81
+#: ../index.php:79
msgid "Risultati ricerca"
msgstr ""
-#: index.php:87
+#: ../index.php:86
msgid "La tua segnalazione è preziosa. Per ora però sara ignorata <_<"
msgstr ""
-#: index.php:88
+#: ../index.php:87
msgid "Aggiunta ai preferiti... Se funzionassero <_<"
msgstr ""
-#: index.php:89
+#: ../index.php:88
msgid "Posizione non disponibile."
msgstr ""
-#: index.php:90
+#: ../index.php:89
msgid "Trova la tua zona, zomma!"
msgstr ""
-#: index.php:91
+#: ../index.php:90
msgid "Vedo molte stazioni. Fai zoom per scoprirle"
msgstr ""
-#: index.php:92
+#: ../index.php:91
msgid "Nessuna pompa di benzina in questa zona"
msgstr ""
-#: index.php:93
+#: ../index.php:92
msgid "Fai zoom! Qui ci sono {n} stazioni"
msgstr ""
-#: index.php:94
+#: ../index.php:93
msgid "Litri ogni {euro} € per {station}"
msgstr ""
-#: index.php:95
+#: ../index.php:94
msgid "Preferiti"
msgstr ""
-#: index.php:96
+#: ../index.php:95
msgid "Segnala errore"
msgstr ""
-#: index.php:97
+#: ../index.php:96
msgid "Nessun indirizzo trovato. Riprova con parole più semplici."
msgstr ""
-#: load-post.php:54
+#: ../load-post.php:55
msgid "Compara carburanti"
msgstr ""
-#: load-post.php:55
+#: ../load-post.php:56
msgid "Confronta i prezzi dei carburanti"
msgstr ""
-#: load-post.php:111
+#: ../load-post.php:112
msgid "Mappa"
msgstr ""
-#: load-post.php:116
+#: ../load-post.php:117
msgid "Informazioni sulla piattaforma"
msgstr ""
-#: cli/import-mise-functions.php:36
+#: ../cli/import-mise-functions.php:36
#, php-format
msgid "La stazione miseID %d doveva essere già stata inserita"
msgstr ""
-#: cli/import-mise.php:61
+#: ../cli/import-mise.php:63
#, php-format
msgid "Utilizzo: %s FILE_STAZIONI.csv PREZZI_ALLE_8.csv"
msgstr ""
-#: cli/import-mise.php:72
+#: ../cli/import-mise.php:74
msgid "File delle stazioni non trovato"
msgstr ""
-#: cli/import-mise.php:76
+#: ../cli/import-mise.php:78
msgid "Impossibile aprire il file delle stazioni"
msgstr ""
-#: cli/import-mise.php:109
+#: ../cli/import-mise.php:111
msgid "File dei prezzi non trovato"
msgstr ""
-#: cli/import-mise.php:113
+#: ../cli/import-mise.php:115
msgid "Impossibile aprire il file dei prezzi"
msgstr ""
-#: cli/import-mise.php:141
+#: ../cli/import-mise.php:143
#, php-format
msgid "Errore: %s."
msgstr ""
-#: includes/functions.php:40
+#: ../includes/functions.php:41
msgid "Entra in contatto"
msgstr ""
-#: includes/functions.php:40
+#: ../includes/functions.php:41
#, php-format
msgid "Mettiti in contatto con %s"
msgstr ""
-#: includes/functions.php:44
+#: ../includes/functions.php:45
#, php-format
msgid "Informazioni legali su %s"
msgstr ""