On a list of projects, tasks, tickets etc ... alt and title icon's are based on the "akey" value in stormattribute.
Is it possible to based alt and titles on the "avalue" instead ? to be able to make a true translation ?

Thank you :)

(sorry for my english)

Comments

juliangb’s picture

Version: 6.x-1.32 » 6.x-1.x-dev

$title is an argument passed into storm_icon() and similar functions.

This change is basically a slog through when these functions are called making the minor changes at each point.

juliangb’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
Status: Active » Needs review
StatusFileSize
new5.95 KB

I had a start at a patch for this.

It was created offline, so needs testing, and may not be complete yet.

juliangb’s picture

juliangb’s picture

StatusFileSize
new6.59 KB

Updated patch to test.

juliangb’s picture

From my point of view, this is RTBC now (for 2.x, with no backport).

I will leave for others to review, or if no comments commit in 1 week from now.

kfritsche’s picture

JS error fon Gant:

-      $js .= "g.AddTaskItem(new JSGantt.TaskItem(".$pID.",'".$pName."','".$pStart."','".$pEnd."','".$pColor."','".$pLink."',".$pMile.",'".$pRes."',".$pComp.",".$pGroup.",".$pParent.",".$pOpen.",".$pDepend.",'".$pCaption."'));\n";
+      $js .= "g.AddTaskItem(nw JSGantt.TaskItem(".$pID.",'".$pName."','".$pStart."','".$pEnd."','".$pColor."','".$pLink."',".$pMile.",'".$pRes."',".$pComp.",".$pGroup.",".$pParent.",".$pOpen.",".$pDepend.",'".$pCaption."'));\n";

it should be left to new ;)

Otherwise it seems to be working.

juliangb’s picture

Status: Needs review » Needs work

I was looking for why that line had appeared in the diff!

Thanks - will reroll without the change in that line.

juliangb’s picture

Status: Needs work » Needs review
StatusFileSize
new5.91 KB

Amended patch.

juliangb’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.