Jeremy P XenForo developer Staff member Feb 20, 2011 #1 Haven't looked into it but I noticed that the word 'Open' for reports in the queue is not capitalized..
Haven't looked into it but I noticed that the word 'Open' for reports in the queue is not capitalized..
Paul B XenForo moderator Staff member Feb 20, 2011 #2 I've just checked on here and on my site and it is capitalised. Are you running RC2? Have you perhaps edited the phrase?
I've just checked on here and on my site and it is capitalised. Are you running RC2? Have you perhaps edited the phrase?
Jeremy P XenForo developer Staff member Feb 20, 2011 #3 Running RC2, phrase isn't edited.. hmm. What template contains the queue list items?
Paul B XenForo moderator Staff member Feb 20, 2011 #4 It's a phrase: open_report Unless you've edited the template and hard-coded it? The template is report_view
It's a phrase: open_report Unless you've edited the template and hard-coded it? The template is report_view
Jeremy P XenForo developer Staff member Feb 20, 2011 #5 The phrase open_report exists and is capitalized. Hmm. prepareReport() in XenForo_ReportHandler_Abstract.. PHP: switch ($report['report_state']) { case 'open': $report['reportState'] = new XenForo_Phrase('open'); break; /* ... */ } I don't have a phrase with the id 'open'.
The phrase open_report exists and is capitalized. Hmm. prepareReport() in XenForo_ReportHandler_Abstract.. PHP: switch ($report['report_state']) { case 'open': $report['reportState'] = new XenForo_Phrase('open'); break; /* ... */ } I don't have a phrase with the id 'open'.
Paul B XenForo moderator Staff member Feb 20, 2011 #6 Ah, scratch my earlier, it's probably been fixed in the next release and has more than likely been rolled out here. So I expect it was a bug and has now been fixed. Let me check the latest equivalent of the code you posted above. Yep, here's the new code: PHP: switch ($report['report_state']) { case 'open': $report['reportState'] = new XenForo_Phrase('open_report'); break; I'll mark this as already fixed
Ah, scratch my earlier, it's probably been fixed in the next release and has more than likely been rolled out here. So I expect it was a bug and has now been fixed. Let me check the latest equivalent of the code you posted above. Yep, here's the new code: PHP: switch ($report['report_state']) { case 'open': $report['reportState'] = new XenForo_Phrase('open_report'); break; I'll mark this as already fixed
soloarquitectura Well-known member Mar 3, 2011 #8 "open" remains untranslated in RC3, I don't know if this bug has already been reported in another post.
"open" remains untranslated in RC3, I don't know if this bug has already been reported in another post.
Mike XenForo developer Staff member Mar 4, 2011 #9 The issue is definitely fixed here - that's what Brogan was saying, indicating that it was likely fixed after the release.
The issue is definitely fixed here - that's what Brogan was saying, indicating that it was likely fixed after the release.