[Translation][Russian]
这个提交包含在:
父节点
9fb641ba03
当前提交
7e7f1c5474
共有 20 个文件被更改,包括 131 次插入 和 36 次删除
|
|
@ -14,6 +14,15 @@ class Activated_grids extends CI_Controller {
|
|||
* - Band page provide a band dropdown list
|
||||
* - Find somewhere in the main menu to add a button to it
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
// Load language files
|
||||
$this->lang->load(array(
|
||||
'gridsquares',
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
public function index() {
|
||||
|
|
|
|||
|
|
@ -14,6 +14,15 @@ class Gridsquares extends CI_Controller {
|
|||
* - Band page provide a band dropdown list
|
||||
* - Find somewhere in the main menu to add a button to it
|
||||
*/
|
||||
function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
// Load language files
|
||||
$this->lang->load(array(
|
||||
'gridsquares',
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
public function index() {
|
||||
|
|
|
|||
|
|
@ -2,10 +2,22 @@
|
|||
|
||||
class Statistics extends CI_Controller {
|
||||
|
||||
function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
// Load language files
|
||||
$this->lang->load(array(
|
||||
'statistics',
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
public function index()
|
||||
{
|
||||
$this->load->model('user_model');
|
||||
$this->load->model('bands');
|
||||
|
||||
if(!$this->user_model->authorize($this->config->item('auth_mode'))) {
|
||||
if($this->user_model->validate_session()) {
|
||||
$this->user_model->clear_session();
|
||||
|
|
|
|||
|
|
@ -136,3 +136,5 @@ $lang['europe'] = 'Europe';
|
|||
$lang['northamerica'] = 'North America';
|
||||
$lang['oceania'] = 'Oceania';
|
||||
$lang['southamerica'] = 'South America';
|
||||
|
||||
$lang['gen_band_selection'] = 'Band selection';
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
|
||||
|
||||
$lang['gridsquares_gridsquare_map'] = 'Gridsquare map';
|
||||
|
||||
$lang['gridsquares_confirmed_is_green'] = 'Confirmed is Green';
|
||||
$lang['gridsquares_worked_but_not_confirmed_is_red'] = 'Worked but not confirmes is Red';
|
||||
|
||||
$lang['gridsquares_this_map_does_not_include_satellite_internet_or_repeater_qsos'] = 'This map does not include satellite, internet or repeater QSOs';
|
||||
|
||||
$lang['gridsquares_grid_squares'] = 'grid square';
|
||||
$lang['gridsquares_total_count'] = 'Total count';
|
||||
|
|
@ -16,6 +16,8 @@ $lang['menu_post_contest_logging'] = 'Post Contest Logging';
|
|||
$lang['menu_view_qsl'] = 'View QSL';
|
||||
$lang['menu_view_eqsl'] = 'View eQSL';
|
||||
|
||||
$lang['menu_notes'] = 'Notes';
|
||||
|
||||
$lang['menu_analytics'] = 'Analytics';
|
||||
$lang['menu_statistics'] = 'Statistics';
|
||||
$lang['menu_gridsquares'] = 'Gridsquares';
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
$lang['statistics_explore_the_logbook'] = 'Explore the logbook.';
|
||||
|
||||
$lang['statistics_years'] = 'Years';
|
||||
$lang['statistics_mode'] = 'Mode';
|
||||
$lang['statistics_bands'] = 'Bands';
|
||||
$lang['statistics_qsos'] = 'QSOs';
|
||||
$lang['statistics_unique_callsigns'] = 'Unique callsigns';
|
||||
|
||||
$lang['statistics_total'] = 'Total';
|
||||
|
|
@ -4,7 +4,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||
|
||||
$lang['error_no_active_station_profile'] = 'Внимание: вам нужно назначить активный профиль месторасположения станции.';
|
||||
|
||||
$lang['notice_turn_the_radio_on'] = 'За сегодня ни одного QSO; время вернуться к радио!';
|
||||
$lang['notice_turn_the_radio_on'] = 'За сегодня ни одного QSO, время вернуться к радио!';
|
||||
|
||||
$lang['general_word_important'] = 'Важно';
|
||||
$lang['general_word_info'] = 'Информация';
|
||||
|
|
@ -48,9 +48,9 @@ $lang['general_word_qslcard_direct'] = 'Напрямую';
|
|||
$lang['general_word_qslcard_bureau'] = 'Бюро';
|
||||
$lang['general_word_qslcard_electronic'] = 'Электронное';
|
||||
$lang['general_word_qslcard_manager'] = 'Менеджер';
|
||||
$lang['general_word_qslcard_via'] = 'via';
|
||||
$lang['general_word_eqslcards'] = 'eQSL Cards';
|
||||
$lang['general_word_lotw'] = 'Logbook of the World';
|
||||
$lang['general_word_qslcard_via'] = 'через';
|
||||
$lang['general_word_eqslcards'] = 'eQSL';
|
||||
$lang['general_word_lotw'] = 'LotW';
|
||||
|
||||
|
||||
|
||||
|
|
@ -117,10 +117,10 @@ $lang['gen_hamradio_sig'] = 'Sig';
|
|||
$lang['gen_hamradio_sig_info'] = 'Sig Info';
|
||||
|
||||
// Dashboard Words
|
||||
$lang['dashboard_you_have_had'] = 'You have had';
|
||||
$lang['dashboard_you_have_had'] = '';
|
||||
$lang['dashboard_qsos_today'] = 'QSOs сегодня!';
|
||||
$lang['dashboard_qso_breakdown'] = 'QSOs Breakdown';
|
||||
$lang['dashboard_countries_breakdown'] = 'Countries Breakdown';
|
||||
$lang['dashboard_qso_breakdown'] = 'Статистика QSO';
|
||||
$lang['dashboard_countries_breakdown'] = 'Статистика по странам';
|
||||
|
||||
$lang['gen_from_date'] = 'Начиная с даты';
|
||||
|
||||
|
|
@ -137,3 +137,6 @@ $lang['europe'] = 'Европа';
|
|||
$lang['northamerica'] = 'Северная Америка';
|
||||
$lang['oceania'] = 'Океания';
|
||||
$lang['southamerica'] = 'Южная Америка';
|
||||
|
||||
|
||||
$lang['gen_band_selection'] = 'Выбор диапазона';
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
|
||||
|
||||
$lang['gridsquares_gridsquare_map'] = 'Выбор диапазона';
|
||||
|
||||
$lang['gridsquares_confirmed_is_green'] = 'Подтверждённые окрашены зелёным';
|
||||
$lang['gridsquares_worked_but_not_confirmed_is_red'] = 'Сработанные, но не подтверждённые — красным';
|
||||
|
||||
$lang['gridsquares_this_map_does_not_include_satellite_internet_or_repeater_qsos'] = 'На этой карте не отображены QSO, проведённые через спутники, интернет или репитеры';
|
||||
|
||||
$lang['gridsquares_grid_squares'] = 'квадрат(/-а/-ов)';
|
||||
$lang['gridsquares_total_count'] = 'Всего';
|
||||
|
|
@ -6,7 +6,7 @@ $lang['lotw_short'] = 'LoTW';
|
|||
$lang['lotw_title'] = 'Logbook of the World';
|
||||
$lang['lotw_title_available_cert'] = 'Имеющиеся сертификаты';
|
||||
$lang['lotw_title_information'] = 'Информация';
|
||||
$lang['lotw_title_upload_p12_cert'] = 'Загрузка Logbook of the World .p12 сертификата';
|
||||
$lang['lotw_title_upload_p12_cert'] = 'Загрузка LotW .p12 сертификата';
|
||||
$lang['lotw_title_export_p12_file_instruction'] = 'Инструкции по экспорту .p12 файла';
|
||||
$lang['lotw_title_adif_import'] = 'Импорт ADIF';
|
||||
$lang['lotw_title_adif_import_options'] = 'Опции импорта';
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|||
$lang['menu_badge_developer_mode'] = 'Режим разработчика';
|
||||
|
||||
$lang['menu_logbook'] = 'Журнал';
|
||||
$lang['menu_overview'] = 'Обзор';
|
||||
$lang['menu_advanced'] = 'Расширенный';
|
||||
$lang['menu_overview'] = 'Обычный вид';
|
||||
$lang['menu_advanced'] = 'Расширенный вид';
|
||||
|
||||
$lang['menu_qso'] = 'QSO';
|
||||
$lang['menu_live_qso'] = 'добавить QSO';
|
||||
|
|
@ -16,6 +16,8 @@ $lang['menu_post_contest_logging'] = 'Журнал прошедших сорев
|
|||
$lang['menu_view_qsl'] = 'Просмотр QSL';
|
||||
$lang['menu_view_eqsl'] = 'Просмотр eQSL';
|
||||
|
||||
$lang['menu_notes'] = 'Заметки';
|
||||
|
||||
$lang['menu_analytics'] = 'Аналитика';
|
||||
$lang['menu_statistics'] = 'Статистика';
|
||||
$lang['menu_gridsquares'] = 'Квадраты';
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
$lang['statistics_explore_the_logbook'] = 'Исследуем журнал.';
|
||||
|
||||
$lang['statistics_years'] = 'Годы';
|
||||
$lang['statistics_mode'] = 'Виды модуляции';
|
||||
$lang['statistics_bands'] = 'Диапазоны';
|
||||
$lang['statistics_qsos'] = 'QSO';
|
||||
$lang['statistics_unique_callsigns'] = 'Уникальные позывные';
|
||||
|
||||
$lang['statistics_total'] = 'Всего';
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<?php if ($this->uri->segment(1) == "activated_grids" && $this->uri->segment(2) == "band") { ?>
|
||||
<form class="form-inline">
|
||||
<label class="my-1 mr-2" for="gridsquare_bands">Band Selection</label>
|
||||
<label class="my-1 mr-2" for="gridsquare_bands"><?php echo lang('gen_band_selection'); ?></label>
|
||||
<select class="custom-select my-1 mr-sm-2" id="gridsquare_bands"></select>
|
||||
</form>
|
||||
|
||||
|
|
@ -25,14 +25,14 @@
|
|||
<div class="container">
|
||||
<?php if ($this->uri->segment(2) == "satellites") { ?>
|
||||
<div class="alert alert-success" role="alert">
|
||||
Confirmed is Green <span id="confirmed_grids"></span>| Activated but not confirmed is Red <span id="activated_grids"></span>| <span id="sum_grids"></span>
|
||||
<?php echo lang('gridsquares_confirmed_is_green'); ?> <span id="confirmed_grids"></span>| <?php echo lang('gridsquares_worked_but_not_confirmed_is_red'); ?> <span id="worked_grids"></span>|<span id="sum_grids"></span><br>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($this->uri->segment(2) == "band") { ?>
|
||||
<div class="alert alert-success" role="alert">
|
||||
Confirmed is Green <span id="confirmed_grids"></span>| Activated but not confirmed is Red <span id="worked_grids"></span>| <span id="sum_grids"></span><br>
|
||||
[This map does not include satellite, internet or repeater QSOs]
|
||||
<?php echo lang('gridsquares_confirmed_is_green'); ?> <span id="confirmed_grids"></span>| <?php echo lang('gridsquares_worked_but_not_confirmed_is_red'); ?> <span id="worked_grids"></span>|<span id="sum_grids"></span><br>
|
||||
[<?php echo lang('gridsquares_this_map_does_not_include_satellite_internet_or_repeater_qsos'); ?>]
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<div id="distances_div">
|
||||
<form class="form-inline">
|
||||
<label class="my-1 mr-2" for="distplot_bands">Band Selection</label>
|
||||
<label class="my-1 mr-2" for="distplot_bands"><?php echo lang('gen_band_selection'); ?></label>
|
||||
<select class="custom-select my-1 mr-sm-2" id="distplot_bands">
|
||||
<?php if (count($sats_available) != 0) { ?>
|
||||
<option value="sat">SAT</option>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<?php if ($this->uri->segment(1) == "gridsquares" && $this->uri->segment(2) == "band") { ?>
|
||||
<form class="form-inline">
|
||||
<label class="my-1 mr-2" for="gridsquare_bands">Band Selection</label>
|
||||
<label class="my-1 mr-2" for="gridsquare_bands"><?php echo lang('gen_band_selection'); ?></label>
|
||||
<select class="custom-select my-1 mr-sm-2" id="gridsquare_bands"></select>
|
||||
</form>
|
||||
|
||||
|
|
@ -25,14 +25,14 @@
|
|||
<div class="container">
|
||||
<?php if ($this->uri->segment(2) == "satellites") { ?>
|
||||
<div class="alert alert-success" role="alert">
|
||||
Confirmed is Green <span id="confirmed_grids"></span>| Worked but not confirmed is Red <span id="worked_grids"></span>|<span id="sum_grids"></span>
|
||||
<?php echo lang('gridsquares_confirmed_is_green'); ?> <span id="confirmed_grids"></span>| <?php echo lang('gridsquares_worked_but_not_confirmed_is_red'); ?> <span id="worked_grids"></span>|<span id="sum_grids"></span>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($this->uri->segment(2) == "band") { ?>
|
||||
<div class="alert alert-success" role="alert">
|
||||
Confirmed is Green <span id="confirmed_grids"></span>| Worked but not confirmed is Red <span id="worked_grids"></span>|<span id="sum_grids"></span><br>
|
||||
[This map does not include satellite, internet or repeater QSOs]
|
||||
<?php echo lang('gridsquares_confirmed_is_green'); ?> <span id="confirmed_grids"></span>| <?php echo lang('gridsquares_worked_but_not_confirmed_is_red'); ?> <span id="worked_grids"></span>|<span id="sum_grids"></span><br>
|
||||
[<?php echo lang('gridsquares_this_map_does_not_include_satellite_internet_or_repeater_qsos'); ?>]
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1408,14 +1408,14 @@ $(document).ready(function(){
|
|||
|
||||
if (grid_four_confirmed_count > 0) {
|
||||
var span = document.getElementById('confirmed_grids');
|
||||
span.innerText = span.textContent = '('+grid_four_confirmed_count+' grid square'+(grid_four_confirmed_count != 1 ? 's' : '')+') ';
|
||||
span.innerText = span.textContent = '('+grid_four_confirmed_count+' <?php echo lang('gridsquares_grid_squares'); ?>'+(grid_four_confirmed_count != 1 ? 's' : '')+') ';
|
||||
}
|
||||
if ((grid_four_count-grid_four_confirmed_count) > 0) {
|
||||
var span = document.getElementById('worked_grids');
|
||||
span.innerText = span.textContent = '('+(grid_four_count-grid_four_confirmed_count)+' grid square'+(grid_four_count-grid_four_confirmed_count != 1 ? 's' : '')+') ';
|
||||
span.innerText = span.textContent = '('+(grid_four_count-grid_four_confirmed_count)+' <?php echo lang('gridsquares_grid_squares'); ?>'+(grid_four_count-grid_four_confirmed_count != 1 ? 's' : '')+') ';
|
||||
}
|
||||
var span = document.getElementById('sum_grids');
|
||||
span.innerText = span.textContent = ' Total Count: '+grid_four_count+' grid square'+(grid_four_count != 1 ? 's' : '');
|
||||
span.innerText = span.textContent = ' <?php echo lang('gridsquares_total_count'); ?>'+': '+grid_four_count+' <?php echo lang('gridsquares_grid_squares'); ?>'+(grid_four_count != 1 ? 's' : '');
|
||||
|
||||
var maidenhead = L.maidenhead().addTo(map);
|
||||
|
||||
|
|
@ -1547,14 +1547,14 @@ $(document).ready(function(){
|
|||
|
||||
if (grid_four_confirmed_count > 0) {
|
||||
var span = document.getElementById('confirmed_grids');
|
||||
span.innerText = span.textContent = '('+grid_four_confirmed_count+' grid square'+(grid_four_confirmed_count != 1 ? 's' : '')+') ';
|
||||
span.innerText = span.textContent = '('+grid_four_confirmed_count+' <?php echo lang('gridsquares_grid_squares'); ?>'+(grid_four_confirmed_count != 1 ? 's' : '')+') ';
|
||||
}
|
||||
if ((grid_four_count-grid_four_confirmed_count) > 0) {
|
||||
var span = document.getElementById('activated_grids');
|
||||
span.innerText = span.textContent = '('+(grid_four_count-grid_four_confirmed_count)+' grid square'+(grid_four_count-grid_four_confirmed_count != 1 ? 's' : '')+') ';
|
||||
span.innerText = span.textContent = '('+(grid_four_count-grid_four_confirmed_count)+' <?php echo lang('gridsquares_grid_squares'); ?>'+(grid_four_count-grid_four_confirmed_count != 1 ? 's' : '')+') ';
|
||||
}
|
||||
var span = document.getElementById('sum_grids');
|
||||
span.innerText = span.textContent = ' Total Count: '+grid_four_count+' grid square'+(grid_four_count != 1 ? 's' : '');
|
||||
span.innerText = span.textContent = ' <?php echo lang('gridsquares_total_count'); ?>'+': '+grid_four_count+' <?php echo lang('gridsquares_grid_squares'); ?>'+(grid_four_count != 1 ? 's' : '');
|
||||
|
||||
var maidenhead = L.maidenhead().addTo(map);
|
||||
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@
|
|||
|
||||
<!-- Notes -->
|
||||
<?php if ($this->session->userdata('user_show_notes') == 1) { ?>
|
||||
<a class="nav-link" href="<?php echo site_url('notes');?>">Notes</a>
|
||||
<a class="nav-link" href="<?php echo site_url('notes');?>"><?php echo lang('menu_notes'); ?></a>
|
||||
<?php } ?>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><?php echo lang('menu_analytics'); ?></a>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
<h2>
|
||||
<?php echo $page_title; ?>
|
||||
<small class="text-muted">Explore the logbook.</small>
|
||||
<small class="text-muted"><?php echo lang('statistics_explore_the_logbook'); ?></small>
|
||||
</h2>
|
||||
|
||||
<br>
|
||||
|
|
@ -33,19 +33,19 @@
|
|||
<br />
|
||||
<ul class="nav nav-pills" id="myTab2" role="tablist">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" id="years-tab" data-toggle="tab" href="#yearstab" role="tab" aria-controls="yearstab" aria-selected="true">Years</a>
|
||||
<a class="nav-link active" id="years-tab" data-toggle="tab" href="#yearstab" role="tab" aria-controls="yearstab" aria-selected="true"><?php echo lang('statistics_years'); ?></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" id="mode-tab" data-toggle="tab" href="#modetab" role="tab" aria-controls="modetab" aria-selected="false">Mode</a>
|
||||
<a class="nav-link" id="mode-tab" data-toggle="tab" href="#modetab" role="tab" aria-controls="modetab" aria-selected="false"><?php echo lang('statistics_mode'); ?></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" id="band-tab" data-toggle="tab" href="#bandtab" role="tab" aria-controls="bandtab" aria-selected="false">Bands</a>
|
||||
<a class="nav-link" id="band-tab" data-toggle="tab" href="#bandtab" role="tab" aria-controls="bandtab" aria-selected="false"><?php echo lang('statistics_bands'); ?></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" id="qso-tab" data-toggle="tab" href="#qsotab" role="tab" aria-controls="bandtab" aria-selected="false">QSOs</a>
|
||||
<a class="nav-link" id="qso-tab" data-toggle="tab" href="#qsotab" role="tab" aria-controls="bandtab" aria-selected="false"><?php echo lang('statistics_qsos'); ?></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" id="unique-tab" data-toggle="tab" href="#uniquetab" role="tab" aria-controls="uniquetab" aria-selected="false">Unique callsigns</a>
|
||||
<a class="nav-link" id="unique-tab" data-toggle="tab" href="#uniquetab" role="tab" aria-controls="uniquetab" aria-selected="false"><?php echo lang('statistics_unique_callsigns'); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ if ($qsoarray) {
|
|||
foreach($bands as $band) {
|
||||
echo '<th>' . $band . '</th>';
|
||||
}
|
||||
echo '<th>Total</th>';
|
||||
echo '<th>'.lang('statistics_total').'</th>';
|
||||
echo '</tr>
|
||||
</thead>
|
||||
<tbody>';
|
||||
|
|
@ -20,7 +20,7 @@ if ($qsoarray) {
|
|||
echo '<th>' . $modetotal[$mode] . '</th>';
|
||||
echo '</tr>';
|
||||
}
|
||||
echo '</tbody><tfoot><tr><th>Total</th>';
|
||||
echo '</tbody><tfoot><tr><th>'.lang('statistics_total').'</th>';
|
||||
|
||||
$grandtotal = 0;
|
||||
foreach ($bandtotal as $band => $value) {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ if ($qsoarray) {
|
|||
foreach($bands as $band) {
|
||||
echo '<th>' . $band . '</th>';
|
||||
}
|
||||
echo '<th>Total</th>';
|
||||
echo '<th>'.lang('statistics_total').'</th>';
|
||||
echo '</tr>
|
||||
</thead>
|
||||
<tbody>';
|
||||
|
|
@ -20,7 +20,7 @@ if ($qsoarray) {
|
|||
echo '<th>' . $modeunique[$mode] . '</th>';
|
||||
echo '</tr>';
|
||||
}
|
||||
echo '</tbody><tfoot><tr><th>Total</th>';
|
||||
echo '</tbody><tfoot><tr><th>'.lang('statistics_total').'</th>';
|
||||
|
||||
foreach($bands as $band) {
|
||||
echo '<th>' . $bandunique[$band] . '</th>';
|
||||
|
|
|
|||
正在加载…
在新工单中引用