Skip to content

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

Merged

Conversation

Tannoo
Copy link
Contributor

@Tannoo Tannoo commented Jun 8, 2017

No description provided.

@Roxy-3D Roxy-3D merged commit 731c8e6 into MarlinFirmware:bugfix-1.1.x Jun 8, 2017
@Tannoo Tannoo deleted the ubl_G29--Translatable_Strings branch June 8, 2017 21:34
#endif
#ifndef MSG_UBL_RESTORE_ERROR
#define MSG_UBL_RESTORE_ERROR _UxGT("restore_UBL_active() error")
#endif
Copy link
Contributor

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.

Copy link
Member

@thinkyhead thinkyhead Jun 9, 2017

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.

Copy link
Contributor Author

@Tannoo Tannoo Jun 9, 2017

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.

Copy link
Contributor Author

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

Copy link
Member

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.

Copy link
Contributor

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

Kaibob2 added a commit to Kaibob2/Marlin that referenced this pull request Jun 9, 2017
Following MarlinFirmware#6990 some more translations and some grammar fixes
@Kaibob2 Kaibob2 mentioned this pull request Jun 9, 2017
@Tannoo Tannoo restored the ubl_G29--Translatable_Strings branch June 9, 2017 14:30
@Tannoo Tannoo deleted the ubl_G29--Translatable_Strings branch June 9, 2017 14:30
thinkyhead pushed a commit to thinkyhead/Marlin that referenced this pull request Jun 10, 2017
Following MarlinFirmware#6990 some more translations and some grammar fixes
@thinkyhead thinkyhead mentioned this pull request Jun 10, 2017
fixoid pushed a commit to fixoid/Marlin that referenced this pull request Jun 18, 2017
fixoid pushed a commit to fixoid/Marlin that referenced this pull request Jun 18, 2017
Following MarlinFirmware#6990 some more translations and some grammar fixes
damicreabox pushed a commit to damicreabox/Marlin that referenced this pull request Sep 14, 2018
damicreabox pushed a commit to damicreabox/Marlin that referenced this pull request Sep 14, 2018
Following MarlinFirmware#6990 some more translations and some grammar fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants