View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
05101Bug reportsTranslationpublic2011-04-11 11:30
ReportermagiclkoAssigned Toc_schmitz  
PrioritynormalSeveritytweak 
Status closedResolutionfixed 
Product Version1.91RC5 
Fixed in Version1.91RC6 
Summary05101: Quick Translation - minor UI issue
Description

There is a minor issue while displaying rows in any tab of Quick Translation screen. When ($associated && strlen(trim((string)$textfrom2)) > 0) returns true, we don't update $evenRow and call displayTranslateFields() which raises this issue.

Steps To Reproduce
  1. Create a test survey.
  2. Put some question groups/questions in it( >=2 ).
  3. Go to quick translation.
  4. Check highlighting of rows in Question groups/Question tab.
Additional Information

Screenshot attached.

TagsNo tags attached.
Attached Files
05101_dev.patch (660 bytes)   
Index: admin/translate.php
===================================================================
--- admin/translate.php	(revision 9939)
+++ admin/translate.php	(working copy)
@@ -239,6 +239,7 @@
                     $amTypeOptions, $baselangdesc, $tolangdesc, $textfrom, $textto, $i, $rowfrom, $evenRow);
             if ($associated && strlen(trim((string)$textfrom2)) > 0)
             {
+              $evenRow = !($evenRow);
               $translateoutput .= displayTranslateFields($surveyid, $gid, $qid, $type2,
                       $amTypeOptions2, $baselangdesc, $tolangdesc, $textfrom2, $textto2, $i, $rowfrom2, $evenRow);
             }
05101_dev.patch (660 bytes)   
Capture.PNG (14,476 bytes)   
Capture.PNG (14,476 bytes)   
Bug heat2
Complete LimeSurvey version number (& build)9872
I will donate to the project if issue is resolvedNo
BrowserMozilla Firefox
Database type & versionMySQL(i) 5.1.37
Server OS (if known)Windows 7
Webserver software & version (if known)IIS 6.0
PHP Version5.2.13

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2011-04-11 11:30

administrator   ~14744

1.91RC6 released.

Issue History

Date Modified Username Field Change
2011-04-07 22:20 magiclko New Issue
2011-04-07 22:21 magiclko File Added: 05101_dev.patch
2011-04-07 22:22 magiclko Severity minor => tweak
2011-04-07 22:31 magiclko File Added: Capture.PNG
2011-04-10 22:56 c_schmitz Status new => resolved
2011-04-10 22:56 c_schmitz Fixed in Version => 1.91RC6
2011-04-10 22:56 c_schmitz Resolution open => fixed
2011-04-10 22:56 c_schmitz Assigned To => c_schmitz
2011-04-11 11:30 c_schmitz Note Added: 14744
2011-04-11 11:30 c_schmitz Status resolved => closed