View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
03735Bug reportsTranslationpublic2009-11-13 16:40
Reportermdekker Assigned Tolemeur  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.85+ 
Fixed in Version1.87RC1 
Summary03735: In printable survey the multiflexi numerical is not translatable
Description

My printable survey is modified so it is a little bit difficult to produce a good patch... but I found out this message couldn't be translated because there were variables inside... fixed it by wrapping the ->gT call in a sprintf

Additional Information

fix: around line 1340 it should read like this:
{
$question['QUESTION_TYPE_HELP'] = sprintf($clang->gT("Please write a multiple of %d between %d and %d for each item:"),$stepvalue,$minvalue,$maxvalue);
if(isset($_POST['printableexport'])){$pdf->intopdf(sprintf($clang->gT("Please write a multiple of %d between %d and %d for each item:"),$stepvalue,$minvalue,$maxvalue),"U");}
}
else {
$question['QUESTION_TYPE_HELP'] = sprintf($clang->gT("Please write a number between %d and %d for each item:"),$minvalue,$maxvalue);
if(isset($_POST['printableexport'])){$pdf->intopdf(sprintf($clang->gT("Please write a number between %d and %d for each item:"),$minvalue,$maxvalue),"U");}
}

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)7690
I will donate to the project if issue is resolved
Browser
Database type & versiondna
Server OS (if known)dna
Webserver software & version (if known)dna
PHP Versiondna

Users monitoring this issue

There are no users monitoring this issue.

Activities

lemeur

lemeur

2009-10-11 00:24

developer   ~09772

Fixed in rev 7755.
Thanks

Issue History

Date Modified Username Field Change
2009-09-30 12:58 mdekker New Issue
2009-09-30 12:58 mdekker Status new => assigned
2009-09-30 12:58 mdekker Assigned To => user372
2009-09-30 12:58 mdekker LimeSurvey build number => 7690
2009-09-30 12:58 mdekker Database & DB-Version => dna
2009-09-30 12:58 mdekker Operating System (Server) => dna
2009-09-30 12:58 mdekker Webserver => dna
2009-09-30 12:58 mdekker PHP Version => dna
2009-09-30 15:06 user372 Assigned To user372 => lemeur
2009-09-30 15:27 lemeur Status assigned => acknowledged
2009-10-11 00:24 lemeur Note Added: 09772
2009-10-11 00:24 lemeur Status acknowledged => resolved
2009-10-11 00:24 lemeur Fixed in Version => 1.87RC1
2009-10-11 00:24 lemeur Resolution open => fixed
2009-11-13 16:40 c_schmitz Status resolved => closed