mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-22 00:07:14 +00:00
add language for text error
This commit is contained in:
parent
ee33736e83
commit
b3e9832291
@ -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.";
|
||||
|
||||
// error text //
|
||||
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
|
||||
|
||||
// Button Text on /qso Display
|
||||
|
||||
$lang['qso_btn_reset_qso'] = 'Нулирай';
|
||||
|
@ -28,6 +28,9 @@ $lang['qsl_notes_helptext'] = '此笔记内容被导出到QSL服务,如 eqsl.c
|
||||
|
||||
$lang['qso_eqsl_qslmsg_helptext'] = "获取该站的 eQSL 默认消息。";
|
||||
|
||||
// error text //
|
||||
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
|
||||
|
||||
// Button Text on /qso Display
|
||||
|
||||
$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.";
|
||||
|
||||
// error text //
|
||||
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
|
||||
|
||||
// Button Text on /qso Display
|
||||
|
||||
$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.";
|
||||
|
||||
// error text //
|
||||
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
|
||||
|
||||
// Button Text on /qso Display
|
||||
|
||||
$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.";
|
||||
|
||||
// error text //
|
||||
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
|
||||
|
||||
// Button Text on /qso Display
|
||||
|
||||
$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.";
|
||||
|
||||
// error text //
|
||||
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
|
||||
|
||||
// Button Text on /qso Display
|
||||
|
||||
$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.";
|
||||
|
||||
// error text //
|
||||
$lang['qso_error_timeoff_less_timeon'] = "Heure de fin inférieure à celle de début";
|
||||
|
||||
// Button Text on /qso Display
|
||||
|
||||
$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.";
|
||||
|
||||
// error text //
|
||||
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
|
||||
|
||||
// Button Text on /qso Display
|
||||
|
||||
$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.";
|
||||
|
||||
// error text //
|
||||
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
|
||||
|
||||
// Button Text on /qso Display
|
||||
|
||||
$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.";
|
||||
|
||||
// error text //
|
||||
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
|
||||
|
||||
// Button Text on /qso Display
|
||||
|
||||
$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.";
|
||||
|
||||
// error text //
|
||||
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
|
||||
|
||||
// Button Text on /qso Display
|
||||
|
||||
$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.";
|
||||
|
||||
// error text //
|
||||
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
|
||||
|
||||
// Button Text on /qso Display
|
||||
|
||||
$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.";
|
||||
|
||||
// error text //
|
||||
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
|
||||
|
||||
// Button Text on /qso Display
|
||||
|
||||
$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.";
|
||||
|
||||
// error text //
|
||||
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
|
||||
|
||||
// Button Text on /qso Display
|
||||
|
||||
$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.";
|
||||
|
||||
// error text //
|
||||
$lang['qso_error_timeoff_less_timeon'] = "TimeOff is less than TimeOn";
|
||||
|
||||
// Button Text on /qso Display
|
||||
|
||||
$lang['qso_btn_reset_qso'] = 'Baştan başla';
|
||||
|
@ -1,5 +1,8 @@
|
||||
<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">
|
||||
|
||||
@ -549,7 +552,7 @@
|
||||
|
||||
<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>
|
||||
<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>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -1068,9 +1068,11 @@ function testTimeOffConsistency() {
|
||||
var _end_time = $('#qso_input input[name="end_time"]').val();
|
||||
$('#qso_input input[name="end_time"]').removeClass('inputError');
|
||||
$('#qso_input .warningOnSubmit').hide();
|
||||
$('#qso_input .warningOnSubmit_txt').empty();
|
||||
if ( !( (parseInt(_start_time.replaceAll(':','')) <= parseInt(_end_time.replaceAll(':','')))
|
||||
|| ((_start_time.substring(0,2)=="23")&&(_end_time.substring(0,2)=="00")) ) ) {
|
||||
$('#qso_input input[name="end_time"]').addClass('inputError');
|
||||
$('#qso_input .warningOnSubmit_txt').html(text_error_timeoff_less_timeon);
|
||||
$('#qso_input .warningOnSubmit').show();
|
||||
$('#qso_input input[name="end_time"]').off('change').on('change',function(){ testTimeOffConsistency(); });
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user