Skip to content

Update built-in help output for localization (Issue #3907)#3908

Closed
hugodahl wants to merge 2 commits into
adafruit:mainfrom
hugodahl:hugodahl-patch-1
Closed

Update built-in help output for localization (Issue #3907)#3908
hugodahl wants to merge 2 commits into
adafruit:mainfrom
hugodahl:hugodahl-patch-1

Conversation

@hugodahl
Copy link
Copy Markdown

@hugodahl hugodahl commented Dec 30, 2020

Adding localization values for the output of calls to help(<object>) can match the current firmware's language.

This change addresses issue #3907

Copy link
Copy Markdown
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't work because the type of a translate() is not a char *, it's a special compressed string type. You'll need to do more to get this to print. See calls to serial_write_compressed() in main.c, for example.

It would be good to test this in a local build.

@hugodahl
Copy link
Copy Markdown
Author

Thank you for the feedback @dhalbert, much appreciated. Working on getting the build to complete locally.
It did yesterday when I got it setup, but while I was asleep, the bits did play and move around it seems.

jepler and others added 2 commits December 30, 2020 18:09
Support localizing the output of a call to  to match the
firmware's language.
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

Successfully merging this pull request may close these issues.

3 participants