Skip to content

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

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

Closed
wants to merge 2 commits into from

Conversation

hugodahl
Copy link

@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
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
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy