-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update messages and po files #61
base: mk3-mmu
Are you sure you want to change the base?
Conversation
Updated update-pot.sh to search also `Firmware/mmu` resources
Looking good so far, but I think it's pointless to add a review now? |
Don't translate unused AUTOTEMP messages
Add #ifdef to IR messages Sync order of messages.cpp and messages.h
Update fw-build.sh - Output used space of each translation (easier to troubleshoot) - Read config.h max size per translation - output variant .map files (easier to troubleshoot and finding missing/unused messages)
__loc_pri_end is inclusive and needs to be accounted for in get_lang_symbols(). This was incorrectly excluding the last translatable string from the map file.
_R marks a raw catalog entry as Referenced (= used) for cases where the catalog pointers are handled at a lower level.
c0c3f76
to
209a2ed
Compare
Some are only used with two options and so longer than with 3
Remove duplicate messages
Update messages missing c= r= Don't scan to translate serial and commented out code Change MMU2 KEEPALIVE_STATE to IN_PROCESS
This message is never actually shown on the LCD (it's immediately overwritten by other content). It also include g-code in a translatable string, which is not a good idea. It's also otherwise identical to MSG_V2_CALIBRATION, which we should have used. Just remove it and save some space in the process.
Update po files after last change
@@ -648,7 +649,7 @@ void MMU2::CheckUserInput(){ | |||
void MMU2::manage_response(const bool move_axes, const bool turn_off_nozzle) { | |||
mmu_print_saved = SavedState::None; | |||
|
|||
KEEPALIVE_STATE(PAUSED_FOR_USER); | |||
KEEPALIVE_STATE(IN_PROCESS); |
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.
👍
@@ -13,7 +13,7 @@ enum class ProgressCode : uint_fast8_t { | |||
UnloadingToFinda, // P3 | |||
UnloadingToPulley, //P4 | |||
FeedingToFinda, // P5 | |||
FeedingToBondtech, // P6 | |||
FeedingToExtruder, // P6 |
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.
we should rename the state in the MMU FW - progress_codes.h and error_codes.h are normally copied from the MMU repo
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.
Well done 👍
My only complaint about this PR is the rename of "Load/Feed to Bondtech" to "Load/Feed to Extruder". I understand the intent here but the Extruder describes usually the whole assembly and not only the gears which are grabbing the filament and pushing it into the nozzle.
Firmware/mmu
resources#ifdef
these messages to save some bytes on MK3 / MK2.5 buildsToDo:
Auto
is the same in GermanAuto
äöüß
on LCDc=20 r=3
is a hard limit as the 4th row is used for selection.Refresh
and at the end ofMore
Short summary:
FS v0.3/0.4 or older/never
de-duplicated tov0.3/0.4 or older/newer
as the Support already shows FSensorFinishing movements
-->Finishing moves
_i
changed to_n
////MSG_
comments_O
or_n
for serial outputpo
files#ifdef
some code#ifdef
-ed IR sensor messagesMSG_
and all upper-caseIN_PROCESS
(Octoprint Plugins reading these)PAUSED_FOR_USER
in error states or LCD interactionsfirmware_<printer type>.map
files to easier find messages for different variantsconfig.h