-
-
Notifications
You must be signed in to change notification settings - Fork 19.5k
Translatable Strings for ubl_G29 #6990
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
Translatable Strings for ubl_G29 #6990
Conversation
#endif | ||
#ifndef MSG_UBL_RESTORE_ERROR | ||
#define MSG_UBL_RESTORE_ERROR _UxGT("restore_UBL_active() error") | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: Shouldn't we stay below 20 characters? Only asking, because translating to german would be much easier having more space.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely. Below 18 is even better. Below 16 ftw. Strings may also be adapted to screen width. I understand we all like to make things work with our hardware but let's think of others too.
Anyway errors like "restore_UBL_active() error
" are obviously awful and obviously need replacement before merging this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to help on some of the TODO's.
LCD_MESSAGEPGM("restore_UBL_active() error"); // TODO: Make translatable string
Since this was still there, I took it as being accepted.
Changing the error message is fine... I agree.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this be better?
#ifndef MSG_UBL_SAVE_ERROR
#define MSG_UBL_SAVE_ERROR _UxGT("save error")
#endif
#ifndef MSG_UBL_RESTORE_ERROR
#define MSG_UBL_RESTORE_ERROR _UxGT("restore error")
#endif
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a commit in a PR with "Err: UBL Save" and "Err: UBL Restore". These are internal errors that should only occur if there are bugs in the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I already took "Err: UBL Save" and "Err: UBL Restore" into the german translation PR. So i'm fine with them
Following MarlinFirmware#6990 some more translations and some grammar fixes
Following MarlinFirmware#6990 some more translations and some grammar fixes
Following MarlinFirmware#6990 some more translations and some grammar fixes
Following MarlinFirmware#6990 some more translations and some grammar fixes
No description provided.