Page MenuHomeDevCentral

Use actual compiled language for lang command
ClosedPublic

Authored by dereckson on Jun 18 2023, 13:27.
Tags
None
Referenced Files
F4076854: D3200.id8164.diff
Thu, Jan 30, 12:25
Unknown Object (File)
Mon, Jan 27, 10:21
Unknown Object (File)
Mon, Jan 27, 04:14
Unknown Object (File)
Sun, Jan 26, 20:06
Unknown Object (File)
Sat, Jan 25, 14:50
Unknown Object (File)
Sat, Jan 25, 12:30
Unknown Object (File)
Tue, Jan 21, 05:45
Unknown Object (File)
Mon, Jan 20, 14:28
Subscribers
None

Details

Summary

While addressing T1131 and removing the command lang from Nasqueron production
branch (see D3199), it was noticed this function always return English whatver
the language selected at compile time.

This change allows this command to be useful and output the actual language.

Test Plan
13:24:25 -!- Odderon0 [dereckson@nasqueron/bot/Odderon] has joined #pentacle
13:24:29 < DcK> Odderon0: lang
13:24:29 < Odderon0> DcK: I speak French.

Diff Detail

Repository
rDARKBOT Darkbot
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Jun 18 2023, 13:28