Bug #5370
Locale not translated
Status: | Closed | Start date: | 06/07/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | yllen | % Done: | 100% | |
Category: | - | |||
Target version: | 1.9.0 |
Description
Version 1.8.0 (0.85) and previous
In the plugin configuration, I get a list of available reports, in order to set the rights per report.
The list is named 'Report' which is not translated !
The list itself is constructed as
Plugin - Reports
>> Tools - Report -> Report is not translated
>> Assistance - Statistics
Plugin - xxx
Associated revisions
fix label to be translated - see #5370
History
#1 Updated by Lena_Gk almost 7 years ago
It appears that it takes the entries from the respective report language file instead of the locale file. So for the applicationsbylocation report, if your language is French for example, you need to go to report/applicationsbylocation/applicationsbylocation_fr_FR.php and add the translation there and not just in the locale file. For the rest, you need to update your locale file to include all translations
blerohellec wrote:
Version 1.8.0 (0.85) and previous
In the plugin configuration, I get a list of available reports, in order to set the rights per report.
The list is named 'Report' which is not translated !The list itself is constructed as
Plugin - ReportsTools - Report -> Report is not translated
Assistance - StatisticsPlugin - xxx
#2 Updated by blerohellec over 6 years ago
v 1.8.1, yet to solve.
In front/report.form.php, line 68, a 'n' must be added to get _n('Report', 'Reports', 1) and manage correctly singular.
Same in line 86 of the same file (plural).
Same in inc/autoreport.class.php, even if I don't know where it is used.
I don't understand why a new msgid "Reports" has been added.
#3 Updated by yllen over 6 years ago
- Status changed from New to Closed
- Assignee set to yllen
- Target version set to 1.9.0
- % Done changed from 0 to 100