View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06213Bug reportsSurvey editingpublic2012-06-20 14:08
Reporterprady Assigned ToTMSWhite  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary06213: File upload questions tips have an error in italian
Description

If I choose english as language for my survey I get the tip "Please upload one file".
It becomes a long code if I choose Italian:

{if((is_empty(1) && is_empty(1)),'',if(is_empty(1),if((1)==1,'Selezionare almeno un file per l'upload',sprintf('Selezionare almeno %s file per l'upload',fixnum(1))),if(is_empty(1),if((1)==1,'Selezionare al massimo un file per l'upload ',sprintf('Selezionare al massimo %s file per l'upload ',fixnum(1))),if((1)==(1),if((1)==1,'Selezionare un solo file per l'upload ',sprintf('Selezionare %s file per l'upload ',fixnum(1))),sprintf('Selezionare da un minimo di %s a un massimo di %s file per l'upload ',fixnum(1),fixnum(1))))))}

Steps To Reproduce

Please check the attached file and change the language.

TagsNo tags attached.
Attached Files
English.png (5,213 bytes)   
English.png (5,213 bytes)   
Italian.png (10,806 bytes)   
Italian.png (10,806 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)120613
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMy SQL 5.5
Server OS (if known)Linux
Webserver software & version (if known)Apache & ?
PHP Version5.3.10

Users monitoring this issue

There are no users monitoring this issue.

Activities

TMSWhite

TMSWhite

2012-06-13 22:45

reporter   ~19241

The problem is that there are single quotes in the Italian version of some of the messages (e.g. l'upload').

Fixed with commit https://github.com/LimeSurvey/LimeSurvey/commit/f37af29bf94f748626a17aca642fece082d1a849

prady

prady

2012-06-14 09:25

reporter   ~19248

Quick and effective!

Many thanks!

TMSWhite

TMSWhite

2012-06-15 08:50

reporter   ~19261

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8735

c_schmitz

c_schmitz

2012-06-20 14:08

administrator   ~19399

New 1.92+ version released.

Related Changesets

LimeSurvey: master f37af29b

2012-06-13 13:43:43

TMSWhite

Details Diff
Fixed issue 06213: File upload questions tips have an error in italian Affected Issues
06213
mod - classes/expressions/LimeExpressionManager.php Diff File

LimeSurvey: Yii eecf42e7

2012-06-13 13:48:20

TMSWhite

Details Diff
Fixed issue 06213: File upload questions tips have an error in italian Affected Issues
06213
mod - application/helpers/expressions/em_manager_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-06-13 17:19 prady New Issue
2012-06-13 17:19 prady File Added: limesurvey_survey_72194.lss
2012-06-13 17:27 prady File Added: English.png
2012-06-13 17:27 prady File Added: Italian.png
2012-06-13 22:45 TMSWhite Note Added: 19241
2012-06-13 22:45 TMSWhite Status new => resolved
2012-06-13 22:45 TMSWhite Fixed in Version => 1.92+
2012-06-13 22:45 TMSWhite Resolution open => fixed
2012-06-13 22:45 TMSWhite Assigned To => TMSWhite
2012-06-14 09:25 prady Note Added: 19248
2012-06-15 08:50 TMSWhite Changeset attached => LimeSurvey master f37af29b
2012-06-15 08:50 TMSWhite Changeset attached => LimeSurvey Yii eecf42e7
2012-06-15 08:50 TMSWhite Note Added: 19261
2012-06-20 14:08 c_schmitz Note Added: 19399
2012-06-20 14:08 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing