Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with CallAdminReportTitle in discord #36

Closed
MickaNoob opened this issue Jul 10, 2022 · 4 comments
Closed

Bug with CallAdminReportTitle in discord #36

MickaNoob opened this issue Jul 10, 2022 · 4 comments

Comments

@MickaNoob
Copy link

Hi, I have detected a bug with the DU --> Calladmin .

The message for new calladmins is not displayed correctly, the title (CallAdminReportTitle) is missing.

CallAdminReportTitle is present in tranlastion, but not working

	"CallAdminReportTitle"
	{
		"en"		"New Calladmin"
		"fr"		"Nouveau CallAdmin"
		"hu"		"Egy jelentést éppen kezelnek!"
		"nl"		"De CallAdmin Report wordt behandelt!"
		"lv"		"CallAdmin Ziņojums tiek izskatīts!"
		"ru"		"CallAdmin Репорт обрабатывается!"
		"ro"		"CallAdmin Report se gestionează!"
	}

bug1

Check Images.

@MickaNoob
Copy link
Author

Hi,

I have fixed this bug,

Juste in modules.sp modifie buffer by trans

char buffer[512], trans[64];
    Format( trans, sizeof( trans ), "%T", "CallAdminReportTitle", LANG_SERVER);
    embed.SetTitle( buffer );
char buffer[512], trans[64];
    Format( trans, sizeof( trans ), "%T", "CallAdminReportTitle", LANG_SERVER);
    embed.SetTitle( trans );

@Cruze03
Copy link
Owner

Cruze03 commented Jul 11, 2022

Oh wow, good find. Will push this update with next update. Thank you!

@MickaNoob
Copy link
Author

Hi,

I have found same bug with the "bug report".

Default:

	char buffer[512], trans[64];
	Format( trans, sizeof( trans ), "%T", "BugReportTitle", LANG_SERVER);
	embed.SetTitle( buffer );

Fixed version :

	char buffer[512], trans[64];
	Format( trans, sizeof( trans ), "%T", "BugReportTitle", LANG_SERVER);
	embed.SetTitle( trans );

image

image

@Cruze03
Copy link
Owner

Cruze03 commented Jul 22, 2022

Wow, reasonable because they both are almost copy-pasta! Thanks for notifying though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants