Hardcoded English strings in 3.0DEV

Hardcoded English strings in 3.0DEV

German Valero གིས-
Number of replies: 2
Language pack maintainers གི་པར

Hi (David),

I think I found some English language hard-coded strings in the upcoming Moodle 3.0 branch.

I was testing 3.0 DEV Moodle 3.0beta+ (Build: 20151031) in a new local Windows server

Added a 100% translated language pack (es_mx)

Added a new course

Added a tags block

Edited tag block settings

Choose 'Number of tags to display' dropdown menu

The three choices shown (default, official, both) are hard-coded English strings and not available for translation in AMOS.

Can you please check and, if true, add a new issue in the tracker. I know it is minor, but it is always good to improve Moodle a little bit more དགའ་འཛུམ་

Thanks in advance for your help.

In reply to German Valero

Re: Hardcoded English strings in 3.0DEV

David Mudrák གིས-
Language pack maintainers གི་པར
Hi German.

Seems like another good catch! I was able to find the hard-coded strings in the code. However, they seem to be like that since 2.4 - MDL-15471. Would be great if you could confirm you are seeing those strings in lower versions (than 3.0), too.

I will appreciate if you report this as a bug in the block_tags and let me know about it. I'll be happy to prepare a patch fixing this.

Thanks!