mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
use <?= for gettext
This commit is contained in:
@@ -11,13 +11,13 @@
|
||||
<div class="tabs">
|
||||
<ul class="nav nav-tabs" id="myTab" role="tablist">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" id="home-tab" data-bs-toggle="tab" href="#home" role="tab" aria-controls="home" aria-selected="true"><?php echo __("Yearly"); ?></a>
|
||||
<a class="nav-link active" id="home-tab" data-bs-toggle="tab" href="#home" role="tab" aria-controls="home" aria-selected="true"><?= __("Yearly"); ?></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" id="daysofweek-tab" data-bs-toggle="tab" href="#daysofweek" role="tab" aria-controls="daysofweek" aria-selected="false"><?php echo __("Days of the week"); ?></a>
|
||||
<a class="nav-link" id="daysofweek-tab" data-bs-toggle="tab" href="#daysofweek" role="tab" aria-controls="daysofweek" aria-selected="false"><?= __("Days of the week"); ?></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" id="streaks-tab" data-bs-toggle="tab" href="#streaks" role="tab" aria-controls="streaks" aria-selected="false"><?php echo __("Streaks"); ?></a>
|
||||
<a class="nav-link" id="streaks-tab" data-bs-toggle="tab" href="#streaks" role="tab" aria-controls="streaks" aria-selected="false"><?= __("Streaks"); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -25,7 +25,7 @@
|
||||
<div class="tab-content" id="myTabContent">
|
||||
<div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">
|
||||
<br/>
|
||||
<h3><?php echo __('Number of days with QSOs each year'); ?></h3>
|
||||
<h3><?= __('Number of days with QSOs each year'); ?></h3>
|
||||
<br/>
|
||||
<?php
|
||||
if (is_array($result)) {
|
||||
@@ -57,14 +57,14 @@
|
||||
|
||||
<div class="tab-pane fade" id="daysofweek" role="tabpanel" aria-labelledby="daysofweek-tab">
|
||||
<br/>
|
||||
<h3><?php echo __('QSOs breakdown by day of the week'); ?></h3>
|
||||
<h3><?= __('QSOs breakdown by day of the week'); ?></h3>
|
||||
<canvas id="weekdaysChart" width="400" height="150"></canvas>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade" id="streaks" role="tabpanel" aria-labelledby="streaks-tab">
|
||||
<br/>
|
||||
<h2><?= __("Longest streak with QSOs in the log"); ?></h2>
|
||||
<p><?php echo __('A maximum of the 10 longest streaks are shown!'); ?></p>
|
||||
<p><?= __('A maximum of the 10 longest streaks are shown!'); ?></p>
|
||||
|
||||
<?php
|
||||
// Get Date format
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<td><?= __("Language"); ?></td>
|
||||
<td><?php echo __(ucfirst($this->config->item('language'))) . "\n"; ?></td>
|
||||
<td><?= __(ucfirst($this->config->item('language'))) . "\n"; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?= __("Base URL"); ?></td>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="container">
|
||||
<br>
|
||||
<h2><?php echo $page_title; ?></h2>
|
||||
<p><?php echo __("This page lists distance records per satellite based on gridsquares."); ?>
|
||||
<p><?= __("This page lists distance records per satellite based on gridsquares."); ?>
|
||||
<?php
|
||||
if ($distances) {
|
||||
?>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<script>
|
||||
var lang_create_mode = "<?php echo __("Create mode"); ?>";
|
||||
var lang_mode_deletion_confirm = "<?php echo __("Warning! Are you sure you want to delete the following mode?:"); ?>";
|
||||
var lang_active_all_confirm = "<?php echo __("Warning! Are you sure you want to activate all modes?"); ?>";
|
||||
var lang_deactive_all_confirm = "<?php echo __("Warning! Are you sure you want to deactivate all modes?"); ?>";
|
||||
var lang_deactivate_mode = "<?php echo __("Deactivate"); ?>";
|
||||
var lang_activate_mode = "<?php echo __("Activate"); ?>";
|
||||
var lang_mode_active = "<?php echo __("Active"); ?>";
|
||||
var lang_mode_not_active = "<?php echo __("Not active"); ?>";
|
||||
var lang_create_mode = "<?= __("Create mode"); ?>";
|
||||
var lang_mode_deletion_confirm = "<?= __("Warning! Are you sure you want to delete the following mode?:"); ?>";
|
||||
var lang_active_all_confirm = "<?= __("Warning! Are you sure you want to activate all modes?"); ?>";
|
||||
var lang_deactive_all_confirm = "<?= __("Warning! Are you sure you want to deactivate all modes?"); ?>";
|
||||
var lang_deactivate_mode = "<?= __("Deactivate"); ?>";
|
||||
var lang_activate_mode = "<?= __("Activate"); ?>";
|
||||
var lang_mode_active = "<?= __("Active"); ?>";
|
||||
var lang_mode_not_active = "<?= __("Not active"); ?>";
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user