Bug in string Recent Activity,Latest Views & I`ms Topic Following

Bug #677546 reported by Kratos
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Richard Mansfield

Bug Description

Bug in string Recent Activity,Latest Views & I`ms Topic Following. After installing Mahara is not possible to translate to and does not recognize the change in these strings in the file mahara.php.And the string continue in english.

Revision history for this message
Richard Mansfield (richard-mansfield) wrote :

It's a slightly tricky thing to fix because these strings are only used at installation time to populate the system dashboard view, and the system dashboard view is then copied for every new user. There is currently no way to edit the system dashboard view (or other site templates) aside from direct modification of the database.

The "My Views" block on the dashboard doesn't suffer from this problem because it defines an override_instance_title function, which ignores the block title stored in the db and instead uses the string hardcoded in the language pack.

Defining override_instance_title would also work for the "Latest Views" block. It's slightly trickier for "Recent Activity" and "Topics I'm Following", because both are instances of the inbox blocktype with different configuration options: one displays forum post notifications and the other displays all the other kinds of notification. Perhaps a more elaborate override_instance_title function could work here by looking at the block configuration to see what kinds of notifications are being displayed, also check whether the view is inside a dashboard, and override appropriately.

Changed in mahara:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 1.4.0
Revision history for this message
Emanuel Garcês (effgarces) wrote :

Besides those strings, there's also some strings in:

lib/pieforms/pieform/elements/expiry.php
lib/pieforms/pieform/rules

that need to be translated.

Changed in mahara:
assignee: nobody → Richard Mansfield (richard-mansfield)
status: Confirmed → In Progress
Changed in mahara:
status: In Progress → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.