Opened 5 years ago

Closed 4 years ago

#947 closed Bug (fixed)

Translated string truncated in Flash widget

Reported by: jpfle Owned by: vipsoft
Priority: normal Milestone: Piwik 0.5
Component: UI - UX (AngularJS, twig, less) Keywords:
Cc: Sensitive: no


If there's no data for the widget "Visites par fuseau horaire du serveur", the informative string "Aucune donnée pour ce graphique" is so big that it's cut, so we can't read it completely. See the attached screen shot.

Attachments (1)

piwik-widget.png (23.3 KB) - added by jpfle 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by jpfle

comment:1 Changed 5 years ago by vipsoft (robocoder)

  • Milestone set to 2 - Piwik 0.5
  • Summary changed from String cut in a widget to Translated string truncated in Flash widget

For consistency, we should use the #emptyDatatable div. Currently, the title is displayed by the Flash widget (instead of as HTML).

comment:2 Changed 4 years ago by vipsoft (robocoder)

  • Owner set to vipsoft

comment:3 Changed 4 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

In [1543]:

  • fixes #997 - change data fetch for OFC2 widgets to load widget+data in a single fetch; moved HTML to graph.tpl; move JavaScript to common.js; fixed browser portability bug in findSWFGraph
  • fixes #1020 - only the last chart added to the dashboard can be saved locally (using the right-click pop-up menu to "Save Image Locally"); the footer icon link worked properly
  • fixes #947 - truncated translation string in Flash widget when "no data"; this is now styled consistently with "no data" for tables and tag clouds

related changes:

  • data-file (Flash parameter) renamed to x-data-file; this is used by Widgetize to provide the code to embed Flash OBJECTs
  • add translation strings for Flash detection
  • move some translation strings to JavaScript and enhance getJavascriptTranslations() to always generate 'General' translation strings
Note: See TracTickets for help on using tickets.