From 6d2cfee131ee632a59bea44c6f9d9852b702228b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Tarroja=20Caubet?= Date: Sun, 9 Mar 2025 11:42:59 +0100 Subject: [PATCH] Include version number on new version available message Closes #13640 --- tryton/tryton/common/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/tryton/common/common.py b/tryton/tryton/common/common.py index a013b031f1..bf9612d260 100644 --- a/tryton/tryton/common/common.py +++ b/tryton/tryton/common/common.py @@ -972,7 +972,7 @@ def check_version(box, version=__version__): if check_version(box, version): info_bar = Gtk.InfoBar() info_bar.get_content_area().pack_start( - Gtk.Label(label=_("A new version is available!")), + Gtk.Label(label=_(f"A new version ({version}) is available.")), expand=True, fill=True, padding=0) info_bar.set_show_close_button(True) info_bar.add_button(_("Download"), Gtk.ResponseType.ACCEPT)