Skip to content

Commit

Permalink
Translation to french
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed May 2, 2016
1 parent 35240c5 commit 28151a4
Show file tree
Hide file tree
Showing 164 changed files with 7,449 additions and 156 deletions.
1 change: 1 addition & 0 deletions about-export.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');

$title = "Exporting Data";
require_once('header.php');
Expand Down
1 change: 1 addition & 0 deletions about-map.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');

$title = "Live Map";
require_once('header.php');
Expand Down
1 change: 1 addition & 0 deletions about-tv.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');

$title = "Spotter TV";
require_once('header.php');
Expand Down
1 change: 1 addition & 0 deletions about.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');

$title = "About";
$top_header = "about.jpg";
Expand Down
5 changes: 3 additions & 2 deletions acars-archive.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.ACARS.php');
require_once('require/class.Language.php');
$ACARS = new ACARS();
$title = "Archived ACARS messages";
$title = _("Archived ACARS messages");
require_once('header.php');

$page_url = $globalURL.'/acars-archive';
Expand All @@ -26,7 +27,7 @@
$limit_previous_2 = $limit_end - $absolute_difference;

print '<div class="info column">';
print '<h1>Archived ACARS messages</h1>';
print '<h1>'._("Archived ACARS messages").'</h1>';
print '</div>';

print '<div class="table column">';
Expand Down
3 changes: 2 additions & 1 deletion acars-latest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.ACARS.php');
require_once('require/class.Language.php');
$ACARS = new ACARS();
$title = "Latest ACARS messages";
$title = _("Latest ACARS messages");
require_once('header.php');

$page_url = $globalURL.'/acars-latest';
Expand Down
2 changes: 1 addition & 1 deletion aircraft-data.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
require_once('require/class.SpotterLive.php');
require_once('require/class.SpotterArchive.php');
require_once('require/class.Language.php');
$SpotterLive = new SpotterLive();
$SpotterArchive = new SpotterArchive();

Expand Down
1 change: 1 addition & 0 deletions aircraft-detailed.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
$Spotter = new Spotter();

if (!isset($_GET['aircraft_type'])){
Expand Down
3 changes: 2 additions & 1 deletion aircraft-statistics-airline-country.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
$Spotter = new Spotter();

if (!isset($_GET['aircraft_type'])) {
Expand Down Expand Up @@ -59,7 +60,7 @@
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
["Country", "# of Times"], ';
["Country", "# of times"], ';
$country_data = '';
foreach($airline_array as $airline_item)
{
Expand Down
1 change: 1 addition & 0 deletions aircraft-statistics-airline.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');

if (!isset($_GET['aircraft_type'])) {
header('Location: '.$globalURL.'/aircraft');
Expand Down
3 changes: 2 additions & 1 deletion aircraft-statistics-arrival-airport-country.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
if (!isset($_GET['aircraft_type'])) {
header('Location: '.$globalURL.'/aircraft');
die();
Expand Down Expand Up @@ -58,7 +59,7 @@
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
["'._("Country").'", "'._("# of Times").'"], ';
["'._("Country").'", "'._("# of times").'"], ';
$country_data = '';
foreach($airport_country_array as $airport_item)
{
Expand Down
3 changes: 2 additions & 1 deletion aircraft-statistics-arrival-airport.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');

if (!isset($_GET['aircraft_type'])) {
header('Location: '.$globalURL.'/aircraft');
Expand Down Expand Up @@ -64,7 +65,7 @@
function drawCharts() {

var data = google.visualization.arrayToDataTable([
["<?php echo _("Airport"); ?>", "<?php echo _("# of Times"); ?>"],
["<?php echo _("Airport"); ?>", "<?php echo _("# of times"); ?>"],
<?php
$airport_data = '';
foreach($airport_airport_array as $airport_item)
Expand Down
3 changes: 2 additions & 1 deletion aircraft-statistics-departure-airport-country.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
if (!isset($_GET['aircraft_type'])) {
header('Location: '.$globalURL.'/aircraft');
die();
Expand Down Expand Up @@ -56,7 +57,7 @@
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
["'._("Country").'", "'._("# of Times").'"], ';
["'._("Country").'", "'._("# of times").'"], ';
$country_data = '';
foreach($airport_country_array as $airport_item)
{
Expand Down
3 changes: 2 additions & 1 deletion aircraft-statistics-departure-airport.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
if (!isset($_GET['aircraft_type'])) {
header('Location: '.$globalURL.'/aircraft');
die();
Expand Down Expand Up @@ -61,7 +62,7 @@
function drawCharts() {
var data = google.visualization.arrayToDataTable([
["'._("Airport").'", "'._("# of Times").'"],';
["'._("Airport").'", "'._("# of times").'"],';
$airport_data = '';
foreach($airport_airport_array as $airport_item)
{
Expand Down
3 changes: 2 additions & 1 deletion aircraft-statistics-registration.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
if (!isset($_GET['aircraft_type'])) {
header('Location: '.$globalURL.'/aircraft');
die();
Expand Down Expand Up @@ -59,7 +60,7 @@
print '<th></th>';
print '<th>'._("Registration").'</th>';
print '<th>'._("Aircraft Type").'</th>';
print '<th>'._("# of Times").'</th>';
print '<th>'._("# of times").'</th>';
print '<th></th>';
print '</thead>';
print '<tbody>';
Expand Down
3 changes: 2 additions & 1 deletion aircraft-statistics-route.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
if (!isset($_GET['aircraft_type'])) {
header('Location: '.$globalURL.'/aircraft');
die();
Expand Down Expand Up @@ -58,7 +59,7 @@
print '<th></th>';
print '<th>'._("Departure Airport").'</th>';
print '<th>'._("Arrival Airport").'</th>';
print '<th>'._("# of Times").'</th>';
print '<th>'._("# of times").'</th>';
print '<th></th>';
print '<th></th>';
print '</thead>';
Expand Down
1 change: 1 addition & 0 deletions aircraft-statistics-time.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
if (!isset($_GET['aircraft_type'])) {
header('Location: '.$globalURL.'/aircraft');
die();
Expand Down
5 changes: 3 additions & 2 deletions aircraft.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
require_once('require/class.Stats.php');

if (isset($_POST['aircraft_type']))
Expand All @@ -9,10 +10,10 @@
} else {
$Spotter = new Spotter();
$Stats = new Stats();
$title = _("Aircraft Types");
$title = _("Aircrafts Types");
require_once('header.php');
print '<div class="column">';
print '<h1>'._("Aircraft Types").'</h1>';
print '<h1>'._("Aircrafts Types").'</h1>';

$aircraft_types = $Stats->getAllAircraftTypes();
if (empty($aircraft_types)) $aircraft_types = $Spotter->getAllAircraftTypes();
Expand Down
1 change: 1 addition & 0 deletions airline-detailed.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');

if (!isset($_GET['airline'])){
header('Location: '.$globalURL.'/airline');
Expand Down
3 changes: 2 additions & 1 deletion airline-statistics-aircraft.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
if (!isset($_GET['airline'])) {
header('Location: '.$globalURL.'/airline');
die();
Expand Down Expand Up @@ -68,7 +69,7 @@
print '<thead>';
print '<th></th>';
print '<th>'._("Aircraft Type").'</th>';
print '<th>'._("# of Times").'</th>';
print '<th>'._("# of times").'</th>';
print '<th></th>';
print '</thead>';
print '<tbody>';
Expand Down
3 changes: 2 additions & 1 deletion airline-statistics-arrival-airport-country.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
if (!isset($_GET['airline'])) {
header('Location: '.$globalURL.'/airline');
die();
Expand Down Expand Up @@ -67,7 +68,7 @@
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
["'._("Country").'", "'._("# of Times").'"], ';
["'._("Country").'", "'._("# of times").'"], ';
$country_data = '';
foreach($airport_country_array as $airport_item)
{
Expand Down
3 changes: 2 additions & 1 deletion airline-statistics-arrival-airport.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
if (!isset($_GET['airline'])) {
header('Location: '.$globalURL.'/airline');
die();
Expand Down Expand Up @@ -70,7 +71,7 @@
function drawCharts() {
var data = google.visualization.arrayToDataTable([
["'._("Airport").'", "'._("# of Times").'"],';
["'._("Airport").'", "'._("# of times").'"],';
$airport_data = '';
foreach($airport_airport_array as $airport_item)
{
Expand Down
3 changes: 2 additions & 1 deletion airline-statistics-departure-airport-country.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
if (!isset($_GET['airline'])) {
header('Location: '.$globalURL.'/airline');
die();
Expand Down Expand Up @@ -67,7 +68,7 @@
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
["'._("Country").'", "'._("# of Times").'"], ';
["'._("Country").'", "'._("# of times").'"], ';
$country_data = '';
foreach($airport_country_array as $airport_item)
{
Expand Down
3 changes: 2 additions & 1 deletion airline-statistics-departure-airport.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
if (!isset($_GET['airline'])) {
header('Location: '.$globalURL.'/airline');
die();
Expand Down Expand Up @@ -70,7 +71,7 @@
function drawCharts() {
var data = google.visualization.arrayToDataTable([
["'._("Airport").'", "'._("# of Times").'"],';
["'._("Airport").'", "'._("# of times").'"],';
$airport_data = '';
foreach($airport_airport_array as $airport_item)
{
Expand Down
3 changes: 2 additions & 1 deletion airline-statistics-manufacturer.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
if (!isset($_GET['airline'])) {
header('Location: '.$globalURL.'/airline');
die();
Expand Down Expand Up @@ -68,7 +69,7 @@
print '<thead>';
print '<th></th>';
print '<th>'._("Aircraft Manufacturer").'</th>';
print '<th>'._("# of Times").'</th>';
print '<th>'._("# of times").'</th>';
print '<th></th>';
print '</thead>';
print '<tbody>';
Expand Down
3 changes: 2 additions & 1 deletion airline-statistics-registration.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
if (!isset($_GET['airline'])) {
header('Location: '.$globalURL.'/airline');
die();
Expand Down Expand Up @@ -71,7 +72,7 @@
print '<th></th>';
print '<th>'._("Registration").'</th>';
print '<th>'._("Aircraft Type").'</th>';
print '<th>'._("# of Times").'</th>';
print '<th>'._("# of times").'</th>';
print '<th></th>';
print '</thead>';
print '<tbody>';
Expand Down
3 changes: 2 additions & 1 deletion airline-statistics-route.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
if (!isset($_GET['airline'])) {
header('Location: '.$globalURL.'/airline');
die();
Expand Down Expand Up @@ -68,7 +69,7 @@
print '<th></th>';
print '<th>'._("Departure Airport").'</th>';
print '<th>'._("Arrival Airport").'</th>';
print '<th>'._("# of Times").'</th>';
print '<th>'._("# of times").'</th>';
print '<th></th>';
print '<th></th>';
print '</thead>';
Expand Down
1 change: 1 addition & 0 deletions airline-statistics-time.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
if (!isset($_GET['airline'])) {
header('Location: '.$globalURL.'/airline');
die();
Expand Down
1 change: 1 addition & 0 deletions airline.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
require_once('require/class.Connection.php');
require_once('require/class.Spotter.php');
require_once('require/class.Language.php');
require_once('require/class.Stats.php');

if (isset($_POST['airline']))
Expand Down
Loading

0 comments on commit 28151a4

Please sign in to comment.