KQMATH / moodle-mod_capquiz

:mushroom: Computer adaptive practice activity module for Moodle
https://moodle.org/plugins/mod_capquiz
GNU General Public License v3.0
4 stars 5 forks source link

Coding error prevents translating English language strings #99

Closed germanvaleroelizondo closed 5 years ago

germanvaleroelizondo commented 5 years ago

Describe the bug No English language strings are available in AMOS (https://lang.moodle.org) for translations of this plugin

To Reproduce Steps to reproduce the behavior:

  1. Go to https://lang.moodle.org

  2. Register as a user

  3. Try to list the plugin's English language strings by https://lang.moodle.org/local/amos/view.php?v=3600&t=1549567851&l=es_mx&c=capquiz

  4. See error as there are no English language strings

Read about the cause (and fix) of this error in Moodle DEV documentation

https://docs.moodle.org/dev/Plugin_contribution_checklist#Strings

Expected behavior All English language strings should be recognized by AMOS and ready for translators to translate.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context

You seem to have string concatenation, that is not allowed.

andstor commented 5 years ago

Thank you for reporting this! I do believe that I have corrected the errors, making ATMOS able to detect the English language strings. Translation should therefore be possible with the next release of CAPQuiz.

germanvaleroelizondo commented 5 years ago

When will the new version of CAPQuiz be released?

Your plugin currently shows "Translation stats not available. " https://moodle.org/plugins/translations.php?plugin=mod_capquiz

andstor commented 5 years ago

CAPCuiz v0.1.5 is now released. Translation is functioning!

germanvaleroelizondo commented 5 years ago

All English language strings for this plugin have been translated into Mexican Spanish in AMOS :)

andstor commented 5 years ago

Thank you! Much appreciated 😊