Page MenuHomeDevCentral

Use actual compiled language for lang command
ClosedPublic

Authored by dereckson on Jun 18 2023, 13:27.
Tags
None
Referenced Files
F29678559: D3200.diff
Tue, May 19, 02:37
F29579330: D3200.id.diff
Mon, May 18, 11:12
F29538428: D3200.id8164.diff
Mon, May 18, 05:13
Unknown Object (File)
Wed, May 13, 00:52
Unknown Object (File)
Tue, May 12, 22:25
Unknown Object (File)
Tue, May 12, 20:07
Unknown Object (File)
Tue, May 12, 09:44
Unknown Object (File)
Tue, May 12, 04:08
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