Skip to content
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

Fixed double-label for fan speed-up time, fixed label to include hyphen #996

Merged
merged 1 commit into from
May 8, 2023

Conversation

scottmudge
Copy link
Contributor

Minor change to correct double "Fan speedup time" label (now only included in the Line object), and add hyphen to "speed-up", which should be the correct spelling.

@hliebscher
Copy link
Contributor

hliebscher commented May 8, 2023

no empty L("") are allowed or remove L

and fix empty label bug in src/libslic3r/PrintConfig.cpp

def->label = L(""); <-- no pot file was created with this cpp input L("") not possible
def->label = L("Fan Speedup Time");

you can test it and get a error

xgettext --keyword=L --keyword=_L --keyword=_u8L --keyword=L_CONTEXT:1,2c --keyword=_L_PLURAL:1,2 --add-comments=TRN --from-code=UTF-8 --no-location --debug --boost -f "bbl/i18n/list.txt" -o "bbl/i18n/OrcaSlicer.pot"

src/libslic3r/PrintConfig.cpp Outdated Show resolved Hide resolved
@scottmudge scottmudge force-pushed the bugfix_double_fanspeed_label branch from b8dd4cf to eafe696 Compare May 8, 2023 13:00
@scottmudge
Copy link
Contributor Author

Should be fixed now -- thought it needed a string object in label, but good to know it can be left unset. Don't use translations, so didn't catch that. Thanks!

Copy link
Owner

@SoftFever SoftFever left a comment

Choose a reason for hiding this comment

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

LGTM
Thanks!

fr3ak2402 pushed a commit to fr3ak2402/OrcaSlicer that referenced this pull request May 8, 2023
…en (SoftFever#996)

Fixed double-label for fan speed-up time, fixed label to include hyphen.
@SoftFever SoftFever merged commit 6875e2a into SoftFever:main May 8, 2023
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