Skip to content

Warn on missing translations#79

Merged
FlorentRevest merged 1 commit intoAsteroidOS:masterfrom
PureTryOut:fix/missing-translations
Mar 20, 2026
Merged

Warn on missing translations#79
FlorentRevest merged 1 commit intoAsteroidOS:masterfrom
PureTryOut:fix/missing-translations

Conversation

@PureTryOut
Copy link
Copy Markdown
Contributor

To fix the following observed build warning:

src/app/asteroidapp.cpp:80:13: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
   80 |             translator->load(QLocale(), appName(), ".", "/usr/share/translations", ".qm");
      |             ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Separated from #53 so it doesn't block or is blocked by other things.

To fix the following observed build warning:
src/app/asteroidapp.cpp:80:13: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
   80 |             translator->load(QLocale(), appName(), ".", "/usr/share/translations", ".qm");
      |             ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@FlorentRevest FlorentRevest merged commit e433bee into AsteroidOS:master Mar 20, 2026
@PureTryOut PureTryOut deleted the fix/missing-translations branch March 21, 2026 07:30
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