Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #195946
    danielvasilios
    Participant

    Hi.

    Am I missing a place to translate the “Day-hour-minute-second” if I want that in another language?

    best regards
    Daniel

    #196214
    Rad
    Moderator

    Hi there,

    Thanks for writing in.

    Unfortunately, translation is not implemented for Under Construction Extension. But you can directly edit it from /wp-content/plugins/x-under-construction/views/site/under-construction.php

    And change strings under :

    <script type="text/javascript">
                jQuery(document).ready(function($) {
                  $('.x-under-construction-countdown').countdown('<?php echo $x_under_construction_date; ?>',
                    function(e) {
    
                      var $this = $(this);
    
                      $this.find('.days').text(e.strftime('%-D Days'));
                      $this.find('.hours').text(e.strftime('%-H Hours'));
                      $this.find('.minutes').text(e.strftime('%-M Minutes'));
                      $this.find('.seconds').text(e.strftime('%-S Seconds'));
    
                    }
                  );
                });
              </script>

    Hope this helps.

    #196345
    danielvasilios
    Participant

    Brilliant!

    Thank you.

    #196487
    Thai
    Moderator

    Glad we were able to help.

    #801877
    belayachimarouane
    Participant

    I bought theme just for the greatness of the support! Didn’t even need to post the question!
    Great job.

    #802563
    Friech
    Moderator

    We’re delighted to assist you with this.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-195946 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>