View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06396Bug reportsTranslationpublic2012-07-27 14:42
Reporteruser18271Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionnot fixable 
Summary06396: wrong message string: gT("Please select at least %s answers"
Description

german translation shows the english message "Please select at least 2 answers".

this may be caused by a difference between gT("Please select at least %s answers") in
classes/expressions/LimeExpressionManager.php and the search string "Please select at least % answer(s)" with "answer(s)" in brackets on the *.po files

I'm not sure whether this causes the wrong (english) message in all languages or not.

If so, this affects all languages and also similar messages like "Please select at most % answers"...

Additional Information

try a grep ...
server:/var/www/limesurvey$ grep -HirsnF "Please select at least %s answers" *
to find all wrong occourrences.

also locale/_template/limesurvey.pot shows wrong string.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)120711
I will donate to the project if issue is resolvedNo
BrowserFF 14
Database type & version5.5 mysql
Server OS (if known)ubuntu 12.04
Webserver software & version (if known)apache2
PHP Version5.3.10-1ubuntu3.2
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-07-27 12:58

administrator   ~20023

Please update to the latest version first and report if the issue still exists.

TMSWhite

TMSWhite

2012-07-27 12:59

reporter   ~20024

The messages and translations in translate.limesurvey.org are fine for 1.92 and 2.0 for German and German (informal)

user18271

2012-07-27 14:23

  ~20030

just testet with latest version:120725

seems that some .mo files use the 'answers' version and others use 'answer(s)'

/web/limesurvey/test/current$ grep -HirsnF "Please select at most %s answers" *
classes/expressions/LimeExpressionManager.php:2450: "sprintf('".$this->gT("Please select at most %s answers")."',fixnum($_maxA))".
Binary file locale/es-CL/LC_MESSAGES/es-CL.mo matches
Binary file locale/de-informal/LC_MESSAGES/de-informal.mo matches
Binary file locale/pt/LC_MESSAGES/pt.mo matches
Binary file locale/nl-informal/LC_MESSAGES/nl-informal.mo matches
Binary file locale/de/LC_MESSAGES/de.mo matches
Binary file locale/sl/LC_MESSAGES/sl.mo matches
Binary file locale/fr/LC_MESSAGES/fr.mo matches
Binary file locale/it/LC_MESSAGES/it.mo matches
locale/_template/limesurvey.pot:9179:msgid "Please select at most %s answers"
Binary file locale/tr/LC_MESSAGES/tr.mo matches
Binary file locale/nl/LC_MESSAGES/nl.mo matches
Binary file locale/cs/LC_MESSAGES/cs.mo matches
Binary file locale/pl/LC_MESSAGES/pl.mo matches

/web/limesurvey/test/current$ grep -HirsnF "Please select at most %s answer(s)" *
locale/fi/LC_MESSAGES/fi.po:11894:msgid "Please select at most %s answer(s)"
locale/de-informal/LC_MESSAGES/de-informal.po:11381:msgid "Please select at most %s answer(s)"
locale/de/LC_MESSAGES/de.po:11383:msgid "Please select at most %s answer(s)"
locale/gl/LC_MESSAGES/gl.po:11374:msgid "Please select at most %s answer(s)"
locale/fr/LC_MESSAGES/fr.po:11722:msgid "Please select at most %s answer(s)"
locale/hu/LC_MESSAGES/hu.po:11381:msgid "Please select at most %s answer(s)"
locale/it/LC_MESSAGES/it.po:11380:msgid "Please select at most %s answer(s)"
locale/es-MX/LC_MESSAGES/es-MX.po:12081:msgid "Please select at most %s answer(s)"
locale/da/LC_MESSAGES/da.po:11384:msgid "Please select at most %s answer(s)"
locale/cs/LC_MESSAGES/cs.po:2830:msgid "Please select at most %s answer(s)"

c_schmitz

c_schmitz

2012-07-27 14:42

administrator   ~20031

Anyway, it is not a bug. The next version will have an updated translation for German You download the German .mo file from translate.limesurvey.org - if you see missing German translations on update.limesurvey.org feel free to help.

Issue History

Date Modified Username Field Change
2012-07-27 12:50 user18271 New Issue
2012-07-27 12:58 c_schmitz Note Added: 20023
2012-07-27 12:58 c_schmitz Assigned To => c_schmitz
2012-07-27 12:58 c_schmitz Status new => feedback
2012-07-27 12:59 TMSWhite Note Added: 20024
2012-07-27 14:23 user18271 Note Added: 20030
2012-07-27 14:23 user18271 Status feedback => assigned
2012-07-27 14:42 c_schmitz Note Added: 20031
2012-07-27 14:42 c_schmitz Status assigned => closed
2012-07-27 14:42 c_schmitz Resolution open => not fixable