Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard-coded English language strings in flashcard widget of POODLL filter #2

Open
germanvaleroelizondo opened this issue Feb 18, 2015 · 0 comments

Comments

@germanvaleroelizondo
Copy link

I have been using the flashcard widget in the POODL filter plugin with good results, but there are two words that are hard-coded in the code: 'Back' and 'Next' are declared as text constants (for 'backButton' and 'nextButton') in the file flashcards.lzx.js.

Not being a programmer, I naively think it might be possible to change those two into variables, so that they would be declared in the corresponding PHP file within the LANG folder, and be accesible to Moodle translators in AMOS.

Being such a highly downloaded plugin, I think the POODLL filter would improve if all the strings used were translatable in AMOS. This plugin's current 128 English language strings are currently translated in AMOS into Finnish (fi) , French (fr), German (de) , Serbian (Cyrillic) (sr_cr) , Serbian (Latin) (sr_lt) and Spanish - Mexico (es_mx).

Thanks in advance for your help.
I have been using the flashcard widget in the POODL filter plugin with good results, but there are two words that seem to be hard-coded in the code: 'Back' and 'Next' are declared as text constants (for 'backButton' and 'nextButton') in the file flashcards.lzx.js.

Not being a programmer, I naively think it might be possible to change those two into variables, so that they would be declared in the corresponding PHP file within the LANG folder, and be accesible to Moodle translators in AMOS.

Being such a highly downloaded plugin, I think the POODLL filter would improve if all the strings used were translatable in AMOS. This plugin's current 128 English language strings are currently translated in AMOS into Finnish (fi) , French (fr), German (de) , Serbian (Cyrillic) (sr_cr) , Serbian (Latin) (sr_lt) and Spanish - Mexico (es_mx).

Thanks in advance for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant