mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
[QSL Card Image][Translated] Translated /qsl ready for international support.
This commit is contained in:
@@ -8,7 +8,7 @@ class Qsl extends CI_Controller {
|
||||
|
||||
function __construct() {
|
||||
parent::__construct();
|
||||
|
||||
$this->lang->load('qslcard');
|
||||
$this->load->model('user_model');
|
||||
if(!$this->user_model->authorize(2)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); }
|
||||
}
|
||||
|
||||
7
application/language/english/qslcard_lang.php
Normal file
7
application/language/english/qslcard_lang.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
// Tiles
|
||||
$lang['qslcard_string_your_are_using'] = 'You are using';
|
||||
$lang['qslcard_string_disk_space'] = 'of disk space to store QSL Card assets';
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
<br>
|
||||
|
||||
<h2><?php echo $page_title; ?></h2>
|
||||
<h2><?php echo $this->lang->line('general_word_qslcards'); ?></h2>
|
||||
|
||||
<div class="alert alert-info" role="alert">
|
||||
You are using <?php echo $storage_used; ?> of disk space to store QSL Card assets.
|
||||
<?php echo $this->lang->line('qslcard_string_your_are_using'); ?> <?php echo $storage_used; ?> <?php echo $this->lang->line('qslcard_string_disk_space'); ?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
@@ -13,8 +13,8 @@
|
||||
echo '<table style="width:100%" class="qsltable table table-sm table-bordered table-hover table-striped table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style=\'text-align: center\'>Callsign</th>
|
||||
<th style=\'text-align: center\'>QSL</th>
|
||||
<th style=\'text-align: center\'>'.$this->lang->line('gen_hamradio_callsign').'</th>
|
||||
<th style=\'text-align: center\'>'.$this->lang->line('gen_hamradio_qsl').'</th>
|
||||
<th style=\'text-align: center\'></th>
|
||||
<th style=\'text-align: center\'></th>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user