WordPress.org

Forums

SlickQuiz
[resolved] Translate Question x of x (7 posts)

  1. MagentaManiacs
    Member
    Posted 2 years ago #

    Hi,

    First of all, I would like to congratulate you on this fine and light Quiz plugin!

    I was wondering where I can find the text "Question x of x" to translate it into Dutch, I can't seem to find it in the code?

    Thanks in advance!

    M.

    http://wordpress.org/plugins/slickquiz/

  2. jewlofthelotus
    Member
    Plugin Author

    Posted 2 years ago #

    @magentabrugge - Thanks for trying SlickQuiz!

    You can find that copy in slickquiz/js/slickQuiz.js on line 153 (if you're up to date with the newest version). Here's a link to the line to look for:

    https://github.com/jewlofthelotus/SlickQuiz-WordPress/blob/master/slickquiz/js/slickQuiz.js#L153

    Hopefully that will get you going.

    Thanks again!

  3. MagentaManiacs
    Member
    Posted 2 years ago #

    Thanks a million!

  4. jewlofthelotus
    Member
    Plugin Author

    Posted 2 years ago #

    Sure thing, just bear in mind that if you update the WP SlickQuiz plugin, you'll need to go back into that file and make the change again.

    I'd like to internationalize the plugin at some point but it's a pretty big time investment. I'll see if I can get that specific wording to work for you in an future update though.

    Thanks again for using SlickQuiz!

  5. sakuravaanlonhart
    Member
    Posted 2 years ago #

    I must have some kind of mental issue... I'm trying to do the same thing but in the line 153 I just see the variable where you store the number of questions... I don't see anything related to the "Question x of x" text...

    I'm sorry for all the trouble...

  6. jewlofthelotus
    Member
    Plugin Author

    Posted 2 years ago #

    Hi @sakuravaanlonhart - no worries! If you're using the latest version of the plugin (v1.3), that code has moved to line 214: https://github.com/jewlofthelotus/SlickQuiz-WordPress/blob/master/slickquiz/js/slickQuiz.js#L214

  7. sakuravaanlonhart
    Member
    Posted 2 years ago #

    Oh God... Thank you really.

    REALLY THANKS.

  8. jewlofthelotus
    Member
    Plugin Author

    Posted 2 years ago #

    Haha, no prob! Glad I could help! Thank YOU for choosing SlickQuiz!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SlickQuiz
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.