add language for text error

这个提交包含在:
abarrau 2023-12-04 21:56:04 +01:00
父节点 ee33736e83
当前提交 b3e9832291
共有 17 个文件被更改,包括 52 次插入2 次删除

查看文件

@ -28,6 +28,9 @@ $lang['qsl_notes_helptext'] = 'This note content is exported to QSL services lik
$lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station."; $lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station.";
// error text //
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
// Button Text on /qso Display // Button Text on /qso Display
$lang['qso_btn_reset_qso'] = 'Нулирай'; $lang['qso_btn_reset_qso'] = 'Нулирай';

查看文件

@ -28,6 +28,9 @@ $lang['qsl_notes_helptext'] = '此笔记内容被导出到QSL服务,如 eqsl.c
$lang['qso_eqsl_qslmsg_helptext'] = "获取该站的 eQSL 默认消息。"; $lang['qso_eqsl_qslmsg_helptext'] = "获取该站的 eQSL 默认消息。";
// error text //
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
// Button Text on /qso Display // Button Text on /qso Display
$lang['qso_btn_reset_qso'] = '重置'; $lang['qso_btn_reset_qso'] = '重置';

查看文件

@ -28,6 +28,9 @@ $lang['qsl_notes_helptext'] = 'This note content is exported to QSL services lik
$lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station."; $lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station.";
// error text //
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
// Button Text on /qso Display // Button Text on /qso Display
$lang['qso_btn_reset_qso'] = 'Vymazat'; $lang['qso_btn_reset_qso'] = 'Vymazat';

查看文件

@ -28,6 +28,9 @@ $lang['qsl_notes_helptext'] = 'This note content is exported to QSL services lik
$lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station."; $lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station.";
// error text //
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
// Button Text on /qso Display // Button Text on /qso Display
$lang['qso_btn_reset_qso'] = 'Wis QSO'; $lang['qso_btn_reset_qso'] = 'Wis QSO';

查看文件

@ -28,6 +28,9 @@ $lang['qsl_notes_helptext'] = 'This note content is exported to QSL services lik
$lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station."; $lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station.";
// error text //
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
// Button Text on /qso Display // Button Text on /qso Display
$lang['qso_btn_reset_qso'] = 'Reset'; $lang['qso_btn_reset_qso'] = 'Reset';

查看文件

@ -28,6 +28,9 @@ $lang['qsl_notes_helptext'] = 'Tämä viestisi siirtyy myös QSL-palveluihin, ku
$lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station."; $lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station.";
// error text //
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
// Button Text on /qso Display // Button Text on /qso Display
$lang['qso_btn_reset_qso'] = 'Tyhjennä'; $lang['qso_btn_reset_qso'] = 'Tyhjennä';

查看文件

@ -28,6 +28,9 @@ $lang['qsl_notes_helptext'] = 'This note content is exported to QSL services lik
$lang['qso_eqsl_qslmsg_helptext'] = "Récupérer le message par défaut pour ce lieu de station."; $lang['qso_eqsl_qslmsg_helptext'] = "Récupérer le message par défaut pour ce lieu de station.";
// error text //
$lang['qso_error_timeoff_less_timeon'] = "Heure de fin inférieure à celle de début";
// Button Text on /qso Display // Button Text on /qso Display
$lang['qso_btn_reset_qso'] = 'Réinitialiser'; $lang['qso_btn_reset_qso'] = 'Réinitialiser';

查看文件

@ -28,6 +28,9 @@ $lang['qsl_notes_helptext'] = 'Dieser Notizeninhalt wird an QSL Services wie eqs
$lang['qso_eqsl_qslmsg_helptext'] = "Setze die eQSL Nachricht auf den Standardtext zurück."; $lang['qso_eqsl_qslmsg_helptext'] = "Setze die eQSL Nachricht auf den Standardtext zurück.";
// error text //
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
// Button Text on /qso Display // Button Text on /qso Display
$lang['qso_btn_reset_qso'] = 'Zurücksetzen'; $lang['qso_btn_reset_qso'] = 'Zurücksetzen';

查看文件

@ -28,6 +28,9 @@ $lang['qsl_notes_helptext'] = 'Αυτό το περιεχόμενο σημείω
$lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station."; $lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station.";
// error text //
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
// Button Text on /qso Display // Button Text on /qso Display
$lang['qso_btn_reset_qso'] = 'Επαναφορά'; $lang['qso_btn_reset_qso'] = 'Επαναφορά';

查看文件

@ -28,6 +28,9 @@ $lang['qsl_notes_helptext'] = 'Il contenuto di questa nota è esportato a serviz
$lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station."; $lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station.";
// error text //
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
// Button Text on /qso Display // Button Text on /qso Display
$lang['qso_btn_reset_qso'] = 'Reset'; $lang['qso_btn_reset_qso'] = 'Reset';

查看文件

@ -28,6 +28,9 @@ $lang['qsl_notes_helptext'] = 'This note content is exported to QSL services lik
$lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station."; $lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station.";
// error text //
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
// Button Text on /qso Display // Button Text on /qso Display
$lang['qso_btn_reset_qso'] = 'Resetuj'; $lang['qso_btn_reset_qso'] = 'Resetuj';

查看文件

@ -28,6 +28,9 @@ $lang['qsl_notes_helptext'] = 'СОдержимое этой заметки эк
$lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station."; $lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station.";
// error text //
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
// Button Text on /qso Display // Button Text on /qso Display
$lang['qso_btn_reset_qso'] = 'Сброс'; $lang['qso_btn_reset_qso'] = 'Сброс';

查看文件

@ -28,6 +28,9 @@ $lang['qsl_notes_helptext'] = 'This note content is exported to QSL services lik
$lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station."; $lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station.";
// error text //
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
// Button Text on /qso Display // Button Text on /qso Display
$lang['qso_btn_reset_qso'] = 'Resetear'; $lang['qso_btn_reset_qso'] = 'Resetear';

查看文件

@ -28,6 +28,9 @@ $lang['qsl_notes_helptext'] = 'Detta innehåll exporteras till QSL-services som
$lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station."; $lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station.";
// error text //
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
// Button Text on /qso Display // Button Text on /qso Display
$lang['qso_btn_reset_qso'] = 'Reset'; $lang['qso_btn_reset_qso'] = 'Reset';

查看文件

@ -28,6 +28,9 @@ $lang['qsl_notes_helptext'] = 'Bu not içeriği eqsl.cc gibi QSL servislere akta
$lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station."; $lang['qso_eqsl_qslmsg_helptext'] = "Get the default message for eQSL, for this station.";
// error text //
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
// Button Text on /qso Display // Button Text on /qso Display
$lang['qso_btn_reset_qso'] = 'Baştan başla'; $lang['qso_btn_reset_qso'] = 'Baştan başla';

查看文件

@ -1,5 +1,8 @@
<div class="container qso_panel"> <div class="container qso_panel">
<script language="javascript">var qso_manual = "<?php echo $_GET['manual']; ?>";</script> <script language="javascript">
var qso_manual = "<?php echo $_GET['manual']; ?>";
var text_error_timeoff_less_timeon = "<?php echo lang('qso_error_timeoff_less_timeon'); ?>";
</script>
<div class="row qsopane"> <div class="row qsopane">
@ -549,7 +552,7 @@
<button type="reset" class="btn btn-secondary" onclick="reset_fields()"><?php echo lang('qso_btn_reset_qso'); ?></button> <button type="reset" class="btn btn-secondary" onclick="reset_fields()"><?php echo lang('qso_btn_reset_qso'); ?></button>
<button type="submit" class="btn btn-primary"><i class="fas fa-save"></i> <?php echo lang('qso_btn_save_qso'); ?></button> <button type="submit" class="btn btn-primary"><i class="fas fa-save"></i> <?php echo lang('qso_btn_save_qso'); ?></button>
<div class="alert alert-danger warningOnSubmit" style="display:none;"><span><i class="fas fa-times-circle"></i></span> <span class="warningOnSubmit_txt">TimeOff lest than TimeOn</span></div> <div class="alert alert-danger warningOnSubmit" style="display:none;"><span><i class="fas fa-times-circle"></i></span> <span class="warningOnSubmit_txt">Error</span></div>
</div> </div>
</form> </form>
</div> </div>

查看文件

@ -1068,9 +1068,11 @@ function testTimeOffConsistency() {
var _end_time = $('#qso_input input[name="end_time"]').val(); var _end_time = $('#qso_input input[name="end_time"]').val();
$('#qso_input input[name="end_time"]').removeClass('inputError'); $('#qso_input input[name="end_time"]').removeClass('inputError');
$('#qso_input .warningOnSubmit').hide(); $('#qso_input .warningOnSubmit').hide();
$('#qso_input .warningOnSubmit_txt').empty();
if ( !( (parseInt(_start_time.replaceAll(':','')) <= parseInt(_end_time.replaceAll(':',''))) if ( !( (parseInt(_start_time.replaceAll(':','')) <= parseInt(_end_time.replaceAll(':','')))
|| ((_start_time.substring(0,2)=="23")&&(_end_time.substring(0,2)=="00")) ) ) { || ((_start_time.substring(0,2)=="23")&&(_end_time.substring(0,2)=="00")) ) ) {
$('#qso_input input[name="end_time"]').addClass('inputError'); $('#qso_input input[name="end_time"]').addClass('inputError');
$('#qso_input .warningOnSubmit_txt').html(text_error_timeoff_less_timeon);
$('#qso_input .warningOnSubmit').show(); $('#qso_input .warningOnSubmit').show();
$('#qso_input input[name="end_time"]').off('change').on('change',function(){ testTimeOffConsistency(); }); $('#qso_input input[name="end_time"]').off('change').on('change',function(){ testTimeOffConsistency(); });
return false; return false;