← Back to team overview

mahara-contributors team mailing list archive

[Bug 677546] Re: Bug in string Recent Activity, Latest Views & I`ms Topic Following

 

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

** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
    Milestone: None => 1.4.0

-- 
Bug in string Recent Activity,Latest Views & I`ms Topic Following
https://bugs.launchpad.net/bugs/677546
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: Confirmed

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.





References