Page MenuHomeDevCentral

Use actual compiled language for lang command
ClosedPublic

Authored by dereckson on Jun 18 2023, 13:27.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 12:58
Unknown Object (File)
Tue, Nov 19, 05:02
Unknown Object (File)
Mon, Nov 18, 18:20
Unknown Object (File)
Mon, Nov 18, 04:35
Unknown Object (File)
Sun, Nov 17, 14:14
Unknown Object (File)
Sun, Nov 17, 14:14
Unknown Object (File)
Sun, Nov 17, 12:19
Unknown Object (File)
Sun, Nov 17, 12:13
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