translation bands complete

pull/2592/head
HB9HIL 2023-10-19 00:38:42 +02:00
rodzic 9472207e09
commit a6d3832e74
3 zmienionych plików z 20 dodań i 15 usunięć

Wyświetl plik

@ -21,32 +21,32 @@
<form>
<div class="form-group">
<label for="bandInput">Band</label>
<label for="bandInput"><?php echo lang('gen_hamradio_band'); ?></label>
<input type="text" class="form-control" name="band" id="bandInput" aria-describedby="bandInputHelp" required>
<small id="bandInputHelp" class="form-text text-muted">Band name</small>
<small id="bandInputHelp" class="form-text text-muted"><?php echo lang('options_bands_name_band'); ?></small>
</div>
<div class="form-group">
<label for="bandGroup">Bandgroup</label>
<label for="bandGroup"><?php echo lang('gen_hamradio_bandgroup'); ?></label>
<input type="text" class="form-control" name="bandgroup" id="bandGroup" aria-describedby="bandgroupInputHelp" required>
<small id="bandgroupInputHelp" class="form-text text-muted">Name of bandgroup (E.g. hf, vhf, uhf, shf)</small>
<small id="bandgroupInputHelp" class="form-text text-muted"><?php echo lang('options_bands_name_bandgroup'); ?></small>
</div>
<div class="form-group">
<label for="ssbqrg">SSB QRG</label>
<label for="ssbqrg"><?php echo lang('options_bands_ssb_qrg'); ?></label>
<input type="text" class="form-control" name="ssbqrg" id="ssbqrg" aria-describedby="ssbqrgInputHelp" required>
<small id="ssbqrgInputHelp" class="form-text text-muted">Frequency for SSB QRG in band (must be in Hz)</small>
<small id="ssbqrgInputHelp" class="form-text text-muted"><?php echo lang('options_bands_ssb_qrg_hint'); ?></small>
</div>
<div class="form-group">
<label for="dataqrg">DATA QRG</label>
<label for="dataqrg"><?php echo lang('options_bands_data_qrg'); ?></label>
<input type="text" class="form-control" name="dataqrg" id="dataqrg" aria-describedby="dataqrgInputHelp" required>
<small id="dataqrgInputHelp" class="form-text text-muted">Frequency for DATA QRG in band (must be in Hz)</small>
<small id="dataqrgInputHelp" class="form-text text-muted"><?php echo lang('options_bands_data_qrg_hint'); ?></small>
</div>
<div class="form-group">
<label for="cwqrg">CW QRG</label>
<label for="cwqrg"><?php echo lang('options_bands_cw_qrg'); ?></label>
<input type="text" class="form-control" name="cwqrg" id="cwqrg" aria-describedby="cwqrgInputHelp" required>
<small id="cwqrgInputHelp" class="form-text text-muted">Frequency for CW QRG in band (must be in Hz)</small>
<small id="cwqrgInputHelp" class="form-text text-muted"><?php echo lang('options_bands_cw_qrg_hint'); ?></small>
</div>
<button type="button" onclick="createBand(this.form);" class="btn btn-primary"><i class="fas fa-plus-square"></i> Create band</button>
<button type="button" onclick="createBand(this.form);" class="btn btn-primary"><i class="fas fa-plus-square"></i> <?php echo lang('options_save'); ?></button>
</form>
</div>

Wyświetl plik

@ -120,6 +120,11 @@ $wwff = 0;
<br/>
<p>
<?php if($this->session->userdata('user_type') == '99') { ?>
<script>
var lang_options_bands_edit = '<?php echo lang('options_bands_edit'); ?>';
var lang_options_bands_create = '<?php echo lang('options_bands_create'); ?>';
var lang_admin_close = '<?php echo lang('admin_close'); ?>';
</script>
<button onclick="createBandDialog();" class="btn btn-primary btn-sm"><i class="fas fa-plus"></i> <?php echo lang('options_bands_create'); ?></button>
<button onclick="activateAllBands();" class="btn btn-primary btn-sm"><?php echo lang('options_bands_activate_all'); ?></button>
<button onclick="deactivateAllBands();" class="btn btn-primary btn-sm"><?php echo lang('options_bands_deactivate_all'); ?></button>

Wyświetl plik

@ -42,13 +42,13 @@ function createBandDialog() {
type: 'post',
success: function (html) {
BootstrapDialog.show({
title: 'Create band',
title: lang_options_bands_create,
size: BootstrapDialog.SIZE_NORMAL,
cssClass: 'create-band-dialog',
nl2br: false,
message: html,
buttons: [{
label: 'Close',
label: lang_admin_close,
action: function (dialogItself) {
dialogItself.close();
}
@ -90,13 +90,13 @@ function editBandDialog(id) {
},
success: function (html) {
BootstrapDialog.show({
title: 'Edit band',
title: lang_options_bands_edit,
size: BootstrapDialog.SIZE_NORMAL,
cssClass: 'edit-band-dialog',
nl2br: false,
message: html,
buttons: [{
label: 'Close',
label: lang_admin_close,
action: function (dialogItself) {
dialogItself.close();
}