mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
[Translation] Replaced all language string from $this->lang->line to lang
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<div class="container qso_panel contesting">
|
||||
<button type="button" class="btn btn-sm btn-warning float-right" onclick="reset_contest_session()"><i class="fas fa-sync-alt"></i> <?php echo $this->lang->line('contesting_button_reset_contest_session'); ?></button>
|
||||
<h2><?php echo $this->lang->line('contesting_page_title'); ?></h2>
|
||||
<button type="button" class="btn btn-sm btn-warning float-right" onclick="reset_contest_session()"><i class="fas fa-sync-alt"></i> <?php echo lang('contesting_button_reset_contest_session'); ?></button>
|
||||
<h2><?php echo lang('contesting_page_title'); ?></h2>
|
||||
<div class="row">
|
||||
|
||||
<div class="col-sm-12 col-md-12">
|
||||
@@ -8,7 +8,7 @@
|
||||
<div class="card-body">
|
||||
<form id="qso_input" name="qsos">
|
||||
<div class="form-group row">
|
||||
<label class="col-auto control-label" for="radio"><?php echo $this->lang->line('contesting_exchange_type'); ?></label>
|
||||
<label class="col-auto control-label" for="radio"><?php echo lang('contesting_exchange_type'); ?></label>
|
||||
|
||||
<div class="col-auto">
|
||||
<select class="form-control-sm" id="exchangetype" name="exchangetype">
|
||||
@@ -21,7 +21,7 @@
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<label class="col-auto control-label" for="contestname"><?php echo $this->lang->line('contesting_contest_name'); ?></label>
|
||||
<label class="col-auto control-label" for="contestname"><?php echo lang('contesting_contest_name'); ?></label>
|
||||
|
||||
<div class="col-auto">
|
||||
<select class="form-control-sm" id="contestname" name="contestname">
|
||||
@@ -34,12 +34,12 @@
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-2">
|
||||
<label for="start_date"><?php echo $this->lang->line('general_word_date'); ?></label>
|
||||
<label for="start_date"><?php echo lang('general_word_date'); ?></label>
|
||||
<input type="text" class="form-control form-control-sm input_date" name="start_date" id="start_date" value="<?php if (($this->session->userdata('start_date') != NULL && ((time() - $this->session->userdata('time_stamp')) < 24 * 60 * 60))) { echo $this->session->userdata('start_date'); } else { echo date('d-m-Y');}?>" <?php echo ($_GET['manual'] == 0 ? "disabled" : ""); ?> >
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-1">
|
||||
<label for="start_time"><?php echo $this->lang->line('general_word_time'); ?></label>
|
||||
<label for="start_time"><?php echo lang('general_word_time'); ?></label>
|
||||
<input type="text" class="form-control form-control-sm input_time" name="start_time" id="start_time" value="<?php if (($this->session->userdata('start_time') != NULL && ((time() - $this->session->userdata('time_stamp')) < 24 * 60 * 60))) { echo $this->session->userdata('start_time'); } else {echo date('H:i'); } ?>" size="7" <?php echo ($_GET['manual'] == 0 ? "disabled" : ""); ?> >
|
||||
</div>
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<?php } ?>
|
||||
|
||||
<div class="form-group col-md-2">
|
||||
<label for="mode"><?php echo $this->lang->line('gen_hamradio_mode'); ?></label>
|
||||
<label for="mode"><?php echo lang('gen_hamradio_mode'); ?></label>
|
||||
<select id="mode" class="form-control mode form-control-sm" name="mode">
|
||||
<?php foreach($modes->result() as $mode) {
|
||||
if ($mode->submode == null) {
|
||||
@@ -62,7 +62,7 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-2">
|
||||
<label for="band"><?php echo $this->lang->line('gen_hamradio_band'); ?></label>
|
||||
<label for="band"><?php echo lang('gen_hamradio_band'); ?></label>
|
||||
|
||||
<select id="band" class="form-control form-control-sm" name="band">
|
||||
<?php foreach($bands as $key=>$bandgroup) {
|
||||
@@ -79,14 +79,14 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-2">
|
||||
<label for="frequency"><?php echo $this->lang->line('gen_hamradio_frequency'); ?></label>
|
||||
<label for="frequency"><?php echo lang('gen_hamradio_frequency'); ?></label>
|
||||
<input type="text" class="form-control form-control-sm" id="frequency" name="freq_display" value="<?php echo $this->session->userdata('freq'); ?>" />
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-2">
|
||||
<label for="inputRadio"><?php echo $this->lang->line('gen_hamradio_radio'); ?></label>
|
||||
<label for="inputRadio"><?php echo lang('gen_hamradio_radio'); ?></label>
|
||||
<select class="form-control form-control-sm radios" id="radio" name="radio">
|
||||
<option value="0" selected="selected"><?php echo $this->lang->line('general_word_none'); ?></option>
|
||||
<option value="0" selected="selected"><?php echo lang('general_word_none'); ?></option>
|
||||
<?php foreach ($radios->result() as $row) { ?>
|
||||
<option value="<?php echo $row->id; ?>" <?php if($this->session->userdata('radio') == $row->id) { echo "selected=\"selected\""; } ?>><?php echo $row->radio; ?></option>
|
||||
<?php } ?>
|
||||
@@ -96,13 +96,13 @@
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-3">
|
||||
<label for="callsign"><?php echo $this->lang->line('gen_hamradio_callsign'); ?></label>
|
||||
<label for="callsign"><?php echo lang('gen_hamradio_callsign'); ?></label>
|
||||
<input type="text" class="form-control form-control-sm" id="callsign" name="callsign" required>
|
||||
<small id="callsign_info" class="badge badge-danger"></small>
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-1">
|
||||
<label for="rst_sent"><?php echo $this->lang->line('gen_hamradio_rsts'); ?></label>
|
||||
<label for="rst_sent"><?php echo lang('gen_hamradio_rsts'); ?></label>
|
||||
<input type="text" class="form-control form-control-sm" name="rst_sent" id="rst_sent" value="59">
|
||||
</div>
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
</div>
|
||||
|
||||
<div style="display:none" class="form-group col-md-1 exchanges">
|
||||
<label for="exch_sent"><?php echo $this->lang->line('gen_hamradio_exchange_sent_short'); ?></label>
|
||||
<label for="exch_sent"><?php echo lang('gen_hamradio_exchange_sent_short'); ?></label>
|
||||
<input type="text" class="form-control form-control-sm" name="exch_sent" id="exch_sent" value="">
|
||||
</div>
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-1">
|
||||
<label for="rst_rcvd"><?php echo $this->lang->line('gen_hamradio_rstr'); ?></label>
|
||||
<label for="rst_rcvd"><?php echo lang('gen_hamradio_rstr'); ?></label>
|
||||
<input type="text" class="form-control form-control-sm" name="rst_rcvd" id="rst_rcvd" value="59">
|
||||
</div>
|
||||
|
||||
@@ -132,7 +132,7 @@
|
||||
</div>
|
||||
|
||||
<div style="display:none" class="form-group col-md-1 exchanger">
|
||||
<label for="exch_rcvd"><?php echo $this->lang->line('gen_hamradio_exchange_rcvd_short'); ?></label>
|
||||
<label for="exch_rcvd"><?php echo lang('gen_hamradio_exchange_rcvd_short'); ?></label>
|
||||
<input type="text" class="form-control form-control-sm" name="exch_rcvd" id="exch_rcvd" value="">
|
||||
</div>
|
||||
|
||||
@@ -144,18 +144,18 @@
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-5">
|
||||
<label for="name"><?php echo $this->lang->line('general_word_name'); ?></label>
|
||||
<label for="name"><?php echo lang('general_word_name'); ?></label>
|
||||
<input type="text" class="form-control form-control-sm" name="name" id="name" value="">
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-5">
|
||||
<label for="comment"><?php echo $this->lang->line('general_word_comment'); ?></label>
|
||||
<label for="comment"><?php echo lang('general_word_comment'); ?></label>
|
||||
<input type="text" class="form-control form-control-sm" name="comment" id="comment" value="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button type="button" class="btn btn-sm btn-light" onclick="reset_log_fields()"><i class="fas fa-sync-alt"></i> <?php echo $this->lang->line('contesting_btn_reset_qso'); ?></button>
|
||||
<button type="button" class="btn btn-sm btn-primary" onclick="logQso();"><i class="fas fa-save"></i> <?php echo $this->lang->line('contesting_btn_save_qso'); ?></button>
|
||||
<button type="button" class="btn btn-sm btn-light" onclick="reset_log_fields()"><i class="fas fa-sync-alt"></i> <?php echo lang('contesting_btn_reset_qso'); ?></button>
|
||||
<button type="button" class="btn btn-sm btn-primary" onclick="logQso();"><i class="fas fa-save"></i> <?php echo lang('contesting_btn_save_qso'); ?></button>
|
||||
<div class="form-group row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-check-inline">
|
||||
@@ -172,26 +172,26 @@
|
||||
|
||||
<!-- Callsign SCP Box -->
|
||||
<div class="card callsign-suggest">
|
||||
<div class="card-header"><h5 class="card-title"><?php echo $this->lang->line('contesting_title_callsign_suggestions'); ?></h5></div>
|
||||
<div class="card-header"><h5 class="card-title"><?php echo lang('contesting_title_callsign_suggestions'); ?></h5></div>
|
||||
|
||||
<div class="card-body callsign-suggestions"></div>
|
||||
</div>
|
||||
|
||||
<!-- Past QSO Box -->
|
||||
<div class="card log">
|
||||
<div class="card-header"><h5 class="card-title"><?php echo $this->lang->line('contesting_title_contest_logbook'); ?></h5></div>
|
||||
<div class="card-header"><h5 class="card-title"><?php echo lang('contesting_title_contest_logbook'); ?></h5></div>
|
||||
|
||||
<table style="width:100%" class="table-sm table qsotable table-bordered table-hover table-striped table-condensed text-center">
|
||||
<thead>
|
||||
<tr class="log_title titles">
|
||||
<th><?php echo $this->lang->line('general_word_date'); ?>/<?php echo $this->lang->line('general_word_time'); ?></th>
|
||||
<th><?php echo $this->lang->line('gen_hamradio_call'); ?></th>
|
||||
<th><?php echo $this->lang->line('gen_hamradio_band'); ?></th>
|
||||
<th><?php echo $this->lang->line('gen_hamradio_mode'); ?></th>
|
||||
<th><?php echo $this->lang->line('gen_hamradio_rsts'); ?></th>
|
||||
<th><?php echo $this->lang->line('gen_hamradio_rstr'); ?></th>
|
||||
<th><?php echo $this->lang->line('gen_hamradio_exchange_sent_short'); ?></th>
|
||||
<th><?php echo $this->lang->line('gen_hamradio_exchange_rcvd_short'); ?></th>
|
||||
<th><?php echo lang('general_word_date'); ?>/<?php echo lang('general_word_time'); ?></th>
|
||||
<th><?php echo lang('gen_hamradio_call'); ?></th>
|
||||
<th><?php echo lang('gen_hamradio_band'); ?></th>
|
||||
<th><?php echo lang('gen_hamradio_mode'); ?></th>
|
||||
<th><?php echo lang('gen_hamradio_rsts'); ?></th>
|
||||
<th><?php echo lang('gen_hamradio_rstr'); ?></th>
|
||||
<th><?php echo lang('gen_hamradio_exchange_sent_short'); ?></th>
|
||||
<th><?php echo lang('gen_hamradio_exchange_rcvd_short'); ?></th>
|
||||
<th>Serial (S)</th>
|
||||
<th>Serial (R)</th>
|
||||
<th>Gridsquare</th>
|
||||
|
||||
Reference in New Issue
Block a user