Needs work
Project:
Group Admin
Version:
6.x-2.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Dec 2010 at 08:28 UTC
Updated:
11 Dec 2011 at 12:14 UTC
The action on the confirmation page is not translated.
Side note: This is not usually how a confirmation page is implementet in Drupal, please see other modules.
Comments
Comment #1
andy inman commentedThanks for the report. Guess I just slipped up missing out t() ... and re. method, longer term plan was to use a javascript confirmation to speed up the process. I need to get round to that.
Comment #2
acolade commentedYes, just change line 341 in groupadmin.module to this:
Comment #3
Thomas_Zahreddin commentedt($action) will not work.
t() looks up strings in a table. This means the string has to be 'static' like
$msg = 'Please confirm you want to !action %name in %group';
should be: $msg = t('Please confirm you want to !action %name in %group', array (!action => 'something', name => 'a name' …);
and we (normaly) do not ask users to do a favor to the webmaster, the user uses the site and has not to be pleased to do somthing
means the string should sound like: 'Confirme: !action %name in %group'
and please note: http://drupal.org/node/1367210
is the reason, some files are not processed by potx at all.
Module coder is good in checking such problems :-)
- you are free to use it.