View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
12351 | Bug reports | Survey taking | public | 2017-04-27 14:47 | 2018-01-15 10:41 |
Reporter | ollehar | Assigned To | |||
Priority | urgent | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Summary | 12351: Non-translated string | ||||
Description | See pic. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | develop | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | - | ||||
Database type & version | - | ||||
Server OS (if known) | - | ||||
Webserver software & version (if known) | - | ||||
PHP Version | 7.1 | ||||
related to | 12276 | closed | Strange display of "There are x questions in this survey" |
There should be a way (I think) to be able to send params to gT. {{ "There are {NUMBEROFQUESTIONS} questions in this survey."| t({'NUMBEROFQUESTIONS': aSurveyInfo.iTotalquestions})}} This nicely fits into LS translations logic, but ... I'm not familiar with how LS replaces the variables, but looking at how the yii's native t() works (and twigs) it would be logical to allow passing parameters as I'm not sure how doable it is though ;) |
|
Use sprintf? |
|
Needs to be fixed in Twig template to properly use a printf variable. Maybe the string itself should not be in the template but a placeholder? |
|
Version 3.0.3 released. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-04-27 14:47 | ollehar | New Issue | |
2017-04-27 14:47 | ollehar | Status | new => assigned |
2017-04-27 14:47 | ollehar | Assigned To | => LouisGac |
2017-04-27 14:47 | ollehar | File Added: limesurvey_survey_349746.lss | |
2017-04-27 14:47 | ollehar | File Added: Selection_190.png | |
2017-07-20 21:28 |
|
Note Added: 44122 | |
2017-07-21 09:58 | ollehar | Note Added: 44123 | |
2017-10-23 11:15 |
|
Priority | none => urgent |
2017-11-16 18:11 |
|
Sticky Issue | No => Yes |
2017-11-16 18:11 |
|
Relationship added | related to 12276 |
2017-12-19 11:57 | c_schmitz | Note Added: 45337 | |
2017-12-29 12:03 |
|
Sticky Issue | Yes => No |
2017-12-29 12:03 |
|
Status | assigned => resolved |
2017-12-29 12:03 |
|
Resolution | open => fixed |
2018-01-15 10:41 | c_schmitz | Note Added: 45762 | |
2018-01-15 10:41 | c_schmitz | Status | resolved => closed |