q2a-poll icon indicating copy to clipboard operation
q2a-poll copied to clipboard

extra privileges are showing incorrectly

Open MaxjTechno opened this issue 10 years ago • 0 comments

On the admin profile page I can see, at the bottom of the extra privileges list : [profile/permit_close_poll] [profile/permit_delete_poll]

The privileges are not translated correctly. In the qa-poll-overrides.php file, after line 20 (and before line 21) : https://github.com/NoahY/q2a-poll/blob/b52fa7cc65da9305929f0e627e8550be2ae82f0c/qa-poll-overrides.php#L20

the following 2 lines must be added : $ov = str_replace('[profile/permit_close_poll]',qa_lang('polls/permit_close_poll'),$ov); $ov = str_replace('[profile/permit_delete_poll]',qa_lang('polls/permit_delete_poll'),$ov);

MaxjTechno avatar Oct 04 '14 09:10 MaxjTechno