Skip to content

Update the about dialog and help menu - #442

Open
plopaur wants to merge 4 commits into
csete:masterfrom
plopaur:fix/about-and-info
Open

plopaur wants to merge 4 commits into
csete:masterfrom
plopaur:fix/about-and-info

Conversation

@plopaur

@plopaur plopaur commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Update the about dialog and help menu

About dialog

  • Read the credits from the installed AUTHORS file instead of a hard-coded list that had to be kept in sync by hand. If the file can't be read, the dialog shows a single "Alexandru Csete, OZ9AEC, and contributors" line instead.
  • Add a short program description.
  • Take the last copyright year from a COPYRIGHT_YEAR define (now 2026) instead of a fixed 2019 string. The translatable string becomes Copyright (C) 2001-%s …, so it no longer changes every year.
  • Update the website and documentation links to oz9aec.dk.
  • Don't unref the logo if it failed to load.

Help menu

  • Add Help → Authors, which shows the AUTHORS file.
  • Show the file name in the title of the help text windows (Gpredict Info: %s).
  • Factor out gpredict_help_txt_file_name() so the about dialog and the help windows share the platform-specific file lookup.

Windows

  • Fix loading the help text files. The Windows zip puts AUTHORS, COPYING, NEWS and README in doc without a .txt suffix (win32/Makefile, dist target), but the lookup added one. Help → License and Help → News have failed to open since the zip layout changed in 2020, and without this fix Help → Authors and the about dialog credits would fail too.

Translations

  • Translate the new strings (Authors menu item, program description, copyright, help window title) in cs, da, de, el, en_GB, es, fi, fr, id, it, lt, ru, th and uk.
  • Carry over existing translations of the old help window title to the new format string.
  • Fix the clashing Online help / About mnemonics in da, and add a mnemonic to the Help menu in es.
  • German: translate the TLE and transponder update menu items, which were fuzzy and so never used, and fix wording, punctuation and a typo in several strings.

The cs, el, es, fi, fr, id, it, lt, ru, th and uk translations were written without review by a native speaker. Corrections are welcome.

Testing

  • Rebased on current master (Version 2.7).
  • Built with a clean rebuild, installed to a local prefix and run on Linux: the about dialog shows the credits from AUTHORS, Help → Authors opens the file, and the German UI shows the new strings.
  • msgfmt --check passes for po/de.po.
  • The Windows fix has not been built or tested on Windows. It was checked against win32/Makefile by reading the code.

- Read the about dialog credits from the installed AUTHORS file instead
  of a hard-coded list that had to be kept in sync by hand. Fall back to
  a single credits line if the file can not be read.
- Add a Help > Authors menu item showing the AUTHORS file.
- Add a short program description to the about dialog.
- Take the last copyright year from a COPYRIGHT_YEAR define instead of
  a fixed 2019 string, keeping the translatable string stable.
- Update the website and documentation links to oz9aec.dk.
- Show the file name in the title of the help text windows.
- Do not unref the about dialog logo if it failed to load.
- Factor out gpredict_help_txt_file_name() so the about dialog and the
  help windows share the platform-specific file lookup.
- Translate the Help menu items, the about dialog description and the
  new copyright string in all languages.
- Carry over existing translations of the help window title string to
  its new format string.
- Fix the clashing Online help / About mnemonics in da and add a
  mnemonic to the Help menu in es.

Translations for cs, el, es, fi, fr, id, it, lt, ru, th and uk were
written without a native speaker review.
- Translate the TLE and transponder update menu items. The entries were
  fuzzy and so never used, and the TLE ones had lost their mnemonics.
- Use clearer terms for module detach/attach ("entkoppeln"/"koppeln")
  and full screen ("Vollbildmodus").
- Make trailing periods match the original strings.
- Fix the column alignment in the TLE update summary.
- Fix the "SIe" typo and the wording of the time controller reset
  tooltip.
The Windows zip has AUTHORS, COPYING, NEWS and README in doc without a
.txt suffix, but the lookup added one, so Help > License, Help > News,
Help > Authors and the about dialog credits failed to load them.
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.

1 participant