[LoTW][Translate] Reformatted all the text to use lang files for translation

This commit is contained in:
Peter Goodhall
2021-01-11 16:05:15 +00:00
parent f507acde67
commit fa940894fe
6 changed files with 104 additions and 52 deletions

View File

@@ -1,9 +1,9 @@
<div class="container lotw">
<h2><?php echo $page_title; ?></h2>
<h2><?php echo $this->lang->line('lotw_title'); ?> - <?php echo $this->lang->line('lotw_title_adif_import'); ?></h2>
<div class="card">
<div class="card-header">Import Options</div>
<div class="card-header"><?php echo $this->lang->line('lotw_title_adif_import_options'); ?></div>
<div class="card-body">
<?php $this->load->view('layout/messages'); ?>
@@ -12,14 +12,14 @@
<div class="form-check">
<input type="radio" id="lotwimport" name="lotwimport" class="form-check-input">
<label class="form-check-label" for="lotwimport">Upload a file</label>
<label class="form-check-label" for="lotwimport"><?php echo $this->lang->line('lotw_input_a_file'); ?></label>
<p>Upload the Exported ADIF file from LoTW from the <a href="https://p1k.arrl.org/lotwuser/qsos?qsoscmd=adif" target="_blank">Download Report</a> Area, to mark QSOs as confirmed on LOTW.</p>
<p><span class="label important">Important</span> Log files must have the file type .adi</p>
<p><?php echo $this->lang->line('lotw_upload_exported_adif_file_from_lotw'); ?></p>
<p><span class="badge badge-info"><?php echo $this->lang->line('general_word_important'); ?></span> <?php echo $this->lang->line('lotw_upload_type_must_be_adi'); ?></p>
<div class="custom-file">
<input type="file" class="custom-file-input" id="adiffile" name="userfile" size="20" />
<label class="custom-file-label" for="adiffile">Choose file</label>
<label class="custom-file-label" for="adiffile"><?php echo $this->lang->line('general_word_choose_file'); ?></label>
</div>
</div>
@@ -29,9 +29,9 @@
<div class="custom-control custom-radio">
<input type="radio" name="lotwimport" id="fetch" class="custom-control-input" value="fetch" checked="checked" />
<label class="custom-control-label" for="fetch">Pull LoTW data for me</label>
<label class="custom-control-label" for="fetch"><?php echo $this->lang->line('lotw_pull_lotw_data_for_me'); ?></label>
</div>
<p class="card-text">From date:</p>
<p class="card-text"><?php echo $this->lang->line('gen_from_date'); ?>:</p>
<div class="row">
<div class="input-group date col-md-3" id="datetimepicker1" data-target-input="nearest">
<input name="from" type="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-target="#datetimepicker1"/>
@@ -45,14 +45,14 @@
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="importMissing" value="1" id="importMissing">
<label class="form-check-label" for="importMissing">Import missing QSOs into the log. Call and gridsquare will be checked to try to find the correct profile to import the QSO into. If not found, the QSO will be skipped.</label>
<label class="form-check-label" for="importMissing"><?php echo $this->lang->line('lotw_import_missing_qsos_text'); ?></label>
</div>
</div>
</div>
<p class="form-text text-muted">Cloudlog will use the LoTW username and password stored in your user profile to download a report from LoTW for you. The report Cloudlog downloads will have all confirmations since chosen date, or since your last LoTW confirmation (fetched from your log), up until now.</p>
<p class="form-text text-muted"><?php echo $this->lang->line('lotw_report_download_overview_helptext'); ?></p>
<input class="btn btn-primary" type="submit" value="Import LoTW Matches" />
<input class="btn btn-primary" type="submit" value="<?php echo $this->lang->line('lotw_btn_import_matches'); ?>" />
</form>
</div>