MyBB Community Forums

Full Version: Reporting message shows {7} instead of the warning reason
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When a user reports someone at my forum, I get a message with this: 


Quote:Op *my forum* heeft User het volgende bericht gerapporteerd:

RE: *Title*
the link

De reden die deze gebruiker opgaf voor het rapporteren van dit bericht:
{7}

Dit e-mailbericht is verstuurd naar alle moderators van dit forum, of, als er geen moderators zijn, naar alle supermoderators en beheerders.

Controleer dit bericht zo spoedig mogelijk.

I have installed the Dutch language files, so there it is. 
When I set my forum to English ... this is not happening and shows the reporting reason. 



Quote:*user*  from *my forum* has reported the following post:

Title
link to the post

The reason this user gave for reporting this post:
Spam Content

This message has been sent to all moderators of this forum, or all administrators and super moderators if there are no moderators.

Please check this post out as soon as possible.


So I checked report.lang.php from both English and Dutch. All is there it seems. I threw the English report.lang.php in the dutch folder. Nothing changed. 
But when I switch my total forum language to English, it all works normally.. 

I hope you guys/girls have an idea what could cause this. 

Thanks a lot in advance.
It seems like you might have that language line missing. Can you manually search the file/ACP to see if it does exist?
(2020-07-25, 08:10 PM)Ben Wrote: [ -> ]It seems like you might have that language line missing. Can you manually search the file/ACP to see if it does exist?
Hello Ben, 


What file you mean? I have all rights so I am able to see and do all.
(2020-07-25, 08:13 PM)Jopie Wrote: [ -> ]
(2020-07-25, 08:10 PM)Ben Wrote: [ -> ]It seems like you might have that language line missing. Can you manually search the file/ACP to see if it does exist?
Hello Ben, 


What file you mean? I have all rights so I am able to see and do all.

I’m currently on my phone so can’t check but you would have imported a language file for the new language. It may be easier if you browse to the languages section of the ACP and check there.
(2020-07-25, 08:14 PM)Ben Wrote: [ -> ]
(2020-07-25, 08:13 PM)Jopie Wrote: [ -> ]
(2020-07-25, 08:10 PM)Ben Wrote: [ -> ]It seems like you might have that language line missing. Can you manually search the file/ACP to see if it does exist?
Hello Ben, 


What file you mean? I have all rights so I am able to see and do all.

I’m currently on my phone so can’t check but you would have imported a language file for the new language. It may be easier if you browse to the languages section of the ACP and check there.
I did... but I cannot trace where it goes wrong sorry!
file : messages.lang.php
variable : $l['email_reportpost']

content should be having {6} (not {7} )
(2020-07-26, 03:10 AM).m. Wrote: [ -> ]file : messages.lang.php
variable : $l['email_reportpost']

content should be having {6} (not {7} )


Thanks a lot for your help! This was fixing it!! 
How can I give this solution as a change to the dutch language files here on the site of MyBB?
So next downloaders/users will have this fixed?
if the translator is active then you can send a PM
if the translation has a release thread then you can post there

you can also submit a suggestion at the Extend section

MyBB Extend section >> relevant project >> suggestions >> submit suggestion
example URL : https://community.mybb.com/mods.php?action=suggestions&sub=submit&pid=1378
Super will do that!