View Issue Details

IDProjectCategoryView StatusLast Update
16745Bug reports_ Unknownpublic2020-10-19 10:13
Reporterritapas Assigned ToDenisChenu  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Fixed in Version3.24.1 
Summary16745: Title for ranking question gets codes instead of quotes
Description

Title for ranking question gets codes instead of quotes, at least in Latvian translation.
The Latvian translation for <Your ranking> is <Tavs "tops">

(https://translate.limesurvey.org/projects/limesurvey-3/lv/default/?filters%5Bterm%5D=ranking&amp;filters%5Buser_login%5D=&amp;filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&amp;filter=Filter&amp;sort%5Bby%5D=priority&amp;sort%5Bhow%5D=desc)

This is shown as in the enclosed picture.
I don't know whether this particular string translates with quotes inside in other languages.

This happens in our 3.x-LTS version as well as in the official demo version (LS 4).

Steps To Reproduce

create a ranking question inside a survey which has Latvian language or use the enclosed lss file

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.22.25 and also 4.3.20
I will donate to the project if issue is resolvedNo
Browser
Database & DB-Versionn/a
Server OS (if known)
Webserver software & version (if known)
PHP Versionn/a

Activities

ritapas

ritapas

2020-10-16 10:23

reporter  

TestLatvian-Lettone.lss (22,491 bytes)
immagine.png (16,819 bytes)   
immagine.png (16,819 bytes)   
ritapas

ritapas

2020-10-16 10:25

reporter   ~60229

Maybe a quick fix could be taking away the quotes in the translated string, but since I cannot speak Latvian, I cannot tell if this would fit.

ritapas

ritapas

2020-10-16 12:58

reporter   ~60231

In the meanwhile, i've been asking to get an alternative translation for the string and I've put it as a suggestion in the official translate page

DenisChenu

DenisChenu

2020-10-16 18:19

developer   ~60236

To fix temporaty : you can set manually «Tavs "tops"» in Rank header (lv)

It work in 3.X, don't know in 4.X

DenisChenu

DenisChenu

2020-10-16 18:19

developer   ~60237

DenisChenu

DenisChenu

2020-10-16 18:25

developer   ~60238

Fix committed to 3.x-LTS branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=30612

DenisChenu

DenisChenu

2020-10-16 18:28

developer   ~60239

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=30613

ritapas

ritapas

2020-10-19 04:22

reporter   ~60248

I would advise to approve the translation I provided for "Your ranking" as "Jūsu tops ".

I consulted a professional translator and this is the answer I got:

<snip>stick to the polite "Jūsu" which is found elsewhere in the question (left hand side of the picture below; this is the equivalent of German "Sie"). “Tavs” is the informal manner of addressing someone (like the German “Du”).

Thanks a lot,

DenisChenu

DenisChenu

2020-10-19 09:58

developer   ~60250

I didn't update translation, i fix the issue ;)

lime_release_bot

lime_release_bot

2020-10-19 10:13

administrator   ~60252

Fixed in Release 4.3.22+201019

Related Changesets

LimeSurvey: 3.x-LTS bcebfe82

2020-10-16 18:24:57

DenisChenu

Details Diff
Fixed issue 16745: Title for ranking question gets codes instead of quotes
Dev: gT for html like htmlspecialchars for user entred setting
Affected Issues
16745
mod - application/helpers/qanda_helper.php Diff File

LimeSurvey: master add18018

2020-10-16 18:28:34

DenisChenu

Details Diff
Fixed issue 16745: Title for ranking question gets codes instead of quotes
Dev: html
Affected Issues
16745
mod - application/core/QuestionTypes/RankingStyle/RenderRanking.php Diff File

Issue History

Date Modified Username Field Change
2020-10-16 10:23 ritapas New Issue
2020-10-16 10:23 ritapas File Added: TestLatvian-Lettone.lss
2020-10-16 10:23 ritapas File Added: immagine.png
2020-10-16 10:25 ritapas Note Added: 60229
2020-10-16 12:58 ritapas Note Added: 60231
2020-10-16 18:19 DenisChenu Note Added: 60236
2020-10-16 18:19 DenisChenu Assigned To => DenisChenu
2020-10-16 18:19 DenisChenu Status new => assigned
2020-10-16 18:19 DenisChenu Note Added: 60237
2020-10-16 18:19 DenisChenu File Added: Capture d’écran du 2020-10-16 18-17-40.png
2020-10-16 18:19 DenisChenu File Added: Test-Fix-Latvian-Lettone.lss
2020-10-16 18:25 DenisChenu Changeset attached => LimeSurvey 3.x-LTS bcebfe82
2020-10-16 18:25 DenisChenu Note Added: 60238
2020-10-16 18:25 DenisChenu Resolution open => fixed
2020-10-16 18:28 DenisChenu Changeset attached => LimeSurvey master add18018
2020-10-16 18:28 DenisChenu Note Added: 60239
2020-10-16 18:28 DenisChenu Status assigned => resolved
2020-10-16 18:28 DenisChenu Fixed in Version => 3.24.1
2020-10-19 04:22 ritapas Note Added: 60248
2020-10-19 09:58 DenisChenu Note Added: 60250
2020-10-19 10:13 lime_release_bot Note Added: 60252
2020-10-19 10:13 lime_release_bot Status resolved => closed