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

NUT-Monitor: report NUT version and website for this build in About dialog #2845

Merged
merged 19 commits into from
Mar 13, 2025

Conversation

jimklimov
Copy link
Member

Also revise localization of that dialog, and review how localization happens generally.
Update some links, copyrights, etc. along the way.

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
networkupstools#722]

* refer to @NUT_WEBSITE_BASE@ and @PACKAGE_VERSION@;
* add NUT Community copyright;
* fix phrasing and markup;
* aboutdialog1.ui: render NUT_WEBSITE_BASE as a clickable link
* update link to lestat original page (now it is a wiki)

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…): substitute NUT_WEBSITE_BASE and PACKAGE_VERSION in real time [networkupstools#722]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
… with HTML Markup of aboutdialog1.ui file [networkupstools#722]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…on data path of About dialog

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov jimklimov added python portability We want NUT to build and run everywhere possible labels Mar 12, 2025
@jimklimov jimklimov added this to the 2.8.3 milestone Mar 12, 2025
@jimklimov jimklimov force-pushed the nut-monitor-about branch 3 times, most recently from 33962c2 to 3d783a6 Compare March 13, 2025 10:37
…nd localization files reliably

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ind localization files reliably

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ython2

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…log text

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…est both py2 and py3 versions

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…reading in Windows

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ML (py3qt5) translations of About dialog text

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…es are resolved, prefer it if both implementations are available

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ion issues are resolved, prefer it if both implementations are available"

This reverts commit 64d82b5de2878d539c1b0fca78ae0e7d88760523 :
stash for future completion. Currently there are still problems
with menu names, dialog field labels, etc.

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ion of Py3 variant

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ents made by the framework itself

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…nerate due to changes in translation sources [networkupstools#722]

Note that we keep verbatim @Nut PACKAGE_VERSION@ and @NUT_WEBSITE_BASE@
in text (About dialog) and substitute them in real-time. This allows us
to keep the document wording static, while certain strings depend on
build circumstances. Unlike other resources, this dialog is shared with
py2 code which is not localized in same manner as py3, and does not seem
to use formatting strings ("{0}" or "{}" sequences).

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov jimklimov merged commit 81af5f2 into networkupstools:master Mar 13, 2025
21 of 24 checks passed
@jimklimov jimklimov deleted the nut-monitor-about branch March 13, 2025 11:58
jimklimov added a commit to jimklimov/nut that referenced this pull request Mar 23, 2025
…TF-8" naming [networkupstools#2845]

For NUT-Monitor GUI: on some platforms, glib/gtk2 or qt5 require the full
stack of names to be addressable this way; on others it is more relaxed.

Signed-off-by: Jim Klimov <jim@jimklimov.com>
jimklimov added a commit to jimklimov/nut that referenced this pull request Mar 23, 2025
….3.glade: update translators list with Russian [networkupstools#2845]

Signed-off-by: Jim Klimov <jim@jimklimov.com>
jimklimov added a commit to jimklimov/nut that referenced this pull request Mar 23, 2025
…rish platforms [networkupstools#2845]

Signed-off-by: Jim Klimov <jim@jimklimov.com>
jimklimov added a commit to jimklimov/nut that referenced this pull request Mar 23, 2025
…rted in the end [networkupstools#2845]

Signed-off-by: Jim Klimov <jim@jimklimov.com>
jimklimov added a commit to jimklimov/nut that referenced this pull request Mar 23, 2025
…rish platforms [networkupstools#2845]

Signed-off-by: Jim Klimov <jim@jimklimov.com>
jimklimov added a commit to jimklimov/nut that referenced this pull request Mar 23, 2025
…rted in the end [networkupstools#2845]

Signed-off-by: Jim Klimov <jim@jimklimov.com>
jimklimov added a commit to jimklimov/nut that referenced this pull request Mar 24, 2025
jimklimov added a commit to jimklimov/nut that referenced this pull request Mar 24, 2025
…TF-8" naming [networkupstools#2845]

For NUT-Monitor GUI: on some platforms, glib/gtk2 or qt5 require the full
stack of names to be addressable this way; on others it is more relaxed.

Signed-off-by: Jim Klimov <jim@jimklimov.com>
jimklimov added a commit to jimklimov/nut that referenced this pull request Mar 24, 2025
….3.glade: update translators list with Russian [networkupstools#2845]

Signed-off-by: Jim Klimov <jim@jimklimov.com>
jimklimov added a commit to jimklimov/nut that referenced this pull request Mar 24, 2025
…rish platforms [networkupstools#2845]

Signed-off-by: Jim Klimov <jim@jimklimov.com>
jimklimov added a commit to jimklimov/nut that referenced this pull request Mar 24, 2025
…rted in the end [networkupstools#2845]

Signed-off-by: Jim Klimov <jim@jimklimov.com>
jimklimov added a commit to jimklimov/nut that referenced this pull request Mar 25, 2025
…TF-8" naming [networkupstools#2845]

For NUT-Monitor GUI: on some platforms, glib/gtk2 or qt5 require the full
stack of names to be addressable this way; on others it is more relaxed.

Signed-off-by: Jim Klimov <jim@jimklimov.com>
jimklimov added a commit to jimklimov/nut that referenced this pull request Mar 25, 2025
….3.glade: update translators list with Russian [networkupstools#2845]

Signed-off-by: Jim Klimov <jim@jimklimov.com>
jimklimov added a commit to jimklimov/nut that referenced this pull request Mar 25, 2025
…rish platforms [networkupstools#2845]

Signed-off-by: Jim Klimov <jim@jimklimov.com>
jimklimov added a commit to jimklimov/nut that referenced this pull request Mar 25, 2025
…rted in the end [networkupstools#2845]

Signed-off-by: Jim Klimov <jim@jimklimov.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
portability We want NUT to build and run everywhere possible python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant