From 858a5f12e9fdc507294a8aa69d71eaf75aa25899 Mon Sep 17 00:00:00 2001 From: etchirag Date: Fri, 29 Dec 2023 23:29:49 +0530 Subject: [PATCH 1/2] Fixed result page translation issues --- php/shortcodes.php | 3 ++- php/template-variables.php | 5 +++-- php/template-variables/qsm-tempvar-question-answers.php | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/php/shortcodes.php b/php/shortcodes.php index 157564d38..675d75f72 100644 --- a/php/shortcodes.php +++ b/php/shortcodes.php @@ -244,12 +244,13 @@ function qsm_get_post_id_from_quiz_id( $quiz_id ) { add_filter( 'qmn_end_shortcode', 'qsm_display_popup_div', 10, 3 ); function qsm_display_popup_div( $return_display, $qmn_quiz_options ) { if ( '0' === $qmn_quiz_options->enable_result_after_timer_end && 0 < $qmn_quiz_options->timer_limit ) { + $time_up = __( 'Time is Up!', 'quiz-master-next' ); $return_display .= '