← Back to team overview

mahara-contributors team mailing list archive

[Bug 785068] Re: Translated string 'pendingmembers' in group.php not read

 

Hi Emmanuel,

I have just tested this with a custom lang pack that has an overwritten pendingmembers string.
This code displays the overwritten string with and without the change you suggested.

It could be that the string is not present in your lang pack. When I
tried without that string, it used the site default.

If you could attach the group.php from the lang/xx.utf8/ directory of
the lang pack. If it doesn't exist, then there would be your problem.

If it is there, and the group.php does contain the 'pendingmembers'
string, could you either attach the full lang pack, or supply a link
where we can get it.

Cheers,

Hugh


** Changed in: mahara
       Status: Triaged => Incomplete

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/785068

Title:
  Translated string 'pendingmembers' in group.php not read

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  The translated string 'pendingmembers' in group.php is not being read.
  The bug is in the file group\requestjoin.php, line 104 - 109, the current code reads:
  'strings' => (object) array(
                 'urltext' => (object) array(
                     'key'     => 'pendingmembers',
                     'section' => 'group',
                 ),
             ),
  it should be:
  'urltext' => get_string_from_language($adminlang, 'pendingmembers', 'group'),

  This is present in Mahara 1.3.6 and the latest 1.4rc1


References