Skip to content

Commit

Permalink
Merge pull request #446 from sayzard/minorfix
Browse files Browse the repository at this point in the history
mistyped(?),add korean language definition, some gettexted
  • Loading branch information
Ysurac authored Nov 28, 2019
2 parents 2f98db0 + e9a5275 commit 871605e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions aircraft-data.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@
}
print '<div id="trackit">';
if (isset($_COOKIE['MapFormat']) && $_COOKIE['MapFormat'] == '3d') {
print '<a href="?3d&trackid='.$spotter_item['flightaware_id'].'">Track it link !</a>';
print '<a href="?3d&trackid='.$spotter_item['flightaware_id'].'">'._("Track it link !").'</a>';
} else {
print '<a href="?2d&trackid='.$spotter_item['flightaware_id'].'">Track it link !</a>';
print '<a href="?2d&trackid='.$spotter_item['flightaware_id'].'">'._("Track it link !").'</a>';
}
print '</div>';
print '</div>';
Expand All @@ -251,4 +251,4 @@
print '</div>';
}
?>
</div>
</div>
5 changes: 3 additions & 2 deletions require/class.Language.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ class Language {
'uk_UA' => array('Українська', 'en', 'ukrainian'), // ua_UA
'ja_JP' => array('日本語', 'ja', 'japanese'),
'zh_CN' => array('简体中文', 'zh', 'chinese'),
'zh_TW' => array('繁體中文', 'zh', 'chinese')
'zh_TW' => array('繁體中文', 'zh', 'chinese'),
'ko_KR' => array('한글', 'ko', 'korean')
);

/**
Expand Down Expand Up @@ -119,4 +120,4 @@ public function getLanguages()
return $allAvailableLanguages;
}
}
?>
?>
4 changes: 2 additions & 2 deletions search.php
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ function failureCB(errorCode) {
<script type="text/javascript">getSelect('arrivalairportnames','<?php if(isset($_GET['arrival_airport_route'])) print $arrival_airport_route; ?>');</script>
</fieldset>
<fieldset>
<legend>Altitude</legend>
<legend><?php echo _("Altitude"); ?></legend>
<div class="form-group">
<label class="control-label col-sm-2"><?php echo _("Lowest Altitude"); ?></label>
<div class="col-sm-10">
Expand Down Expand Up @@ -761,4 +761,4 @@ function failureCB(errorCode) {

<?php
require_once('footer.php');
?>
?>
4 changes: 2 additions & 2 deletions statistics.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<link href="<?php echo $globalURL; ?>/css/c3.min.css" rel="stylesheet" type="text/css">
<!--<script type="text/javascript" src="https://d3js.org/d3.v4.min.js"></script>-->
<!--<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script>-->
<script type="text/javascript" src="<?php echo $globalURL; ?>/js/d3.min.js"></script>-
<script type="text/javascript" src="<?php echo $globalURL; ?>/js/d3.min.js"></script>
<script type="text/javascript" src="<?php echo $globalURL; ?>/js/c3.min.js"></script>
<script type="text/javascript" src="<?php echo $globalURL; ?>/js/d3pie.min.js"></script>
<script type="text/javascript" src="<?php echo $globalURL; ?>/js/radarChart.js"></script>
Expand Down Expand Up @@ -1571,4 +1571,4 @@ function redraw() {

<?php
require_once('footer.php');
?>
?>

0 comments on commit 871605e

Please sign in to comment.