Using AMOS tool for language pack translation

Typo in DEV string, must ask developers

 
Picture of German Valero
Typo in DEV string, must ask developers
by German Valero - Monday, 28 July 2014, 10:18 PM
Language pack maintainers

Hi David,

While I was translating the new strings in DEV branch, I noticed what I think is an improperly  written string in (filter_tex configconvertformat ), which I can not submit to En_fixes because I can not guess the correct string:


If <i>latex</i> and <i>dvips</i> and are available, they are used to GIF or PNG images if <i>convert</i> is also available or if <i>dvisvgm</i> is available SVG images as specified. Otherwise <i>mimeTeX</i> will be used, and it will create GIF images.


I think that  "and are available" is missing one argument between "and" & "are available".

I also think that maybe there is perhaps a missing word (create) after "are used to".


But I am not a native English speaker nor a PHP programmer, and I ask for your expert help.


Would you be so kind as to check with the core developers and ask them  if they can produce a new version of that string that is easier to understand for all AMOS translators and average Moodle users ?


Thanks in advance for your help.


BTW, Congratulations on the  AMOS overhaul smile

Picture of Matteo Scaramuccia
Re: Typo in DEV string, must ask developers
by Matteo Scaramuccia - Tuesday, 29 July 2014, 3:42 AM
 

Hi German,
great catch! Looking at the code, https://github.com/moodle/moodle/blob/fce6c70d413fe7cc3351a4b7e4bf6e0353e78736/filter/tex/settings.php#L73 and https://github.com/moodle/moodle/blob/a57a336fd3760e4b6943e9cda712efa0a2d66383/filter/tex/lib.php#L132, the string should IMHO be:

If <i>latex</i> and <i>dvips</i> are available, they are used to create GIF images or PNG images if <i>convert</i> is also available; if <i>dvisvgm</i> is available, SVG images are created. Otherwise <i>mimeTeX</i> will be used, and it will create GIF images.

Disclaimer: I'm not native English too wink.

HTH,
Matteo

Picture of Helen Foster
Re: Typo in DEV string, must ask developers
by Helen Foster - Tuesday, 29 July 2014, 5:18 AM
 

Thanks German and Matteo, I have added a comment to MDL-44925.