Skip to content

Commit 5096891

Browse files
committed
rel_upgrade.py: Simplify rel notes URL
1 parent 662fd5a commit 5096891

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

usr/lib/linuxmint/mintUpdate/rel_upgrade.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def build_assistant(self):
8888
vbox_content.pack_start(label, False, False, 6)
8989
self.vbox_rel_notes.pack_start(vbox_content, False, False, 6)
9090
link = Gtk.Label()
91-
link.set_markup("<a href='https://www.linuxmint.com/rel_%s_%s.php'><b>%s</b></a>" % (self.rel_target_codename, self.current_edition.lower(), _("Release notes for %s") % self.rel_target_name))
91+
link.set_markup("<a href='https://www.linuxmint.com/rel_%s.php'><b>%s</b></a>" % (self.rel_target_codename, _("Release notes for %s") % self.rel_target_name))
9292
self.vbox_rel_notes.pack_start(link, False, False, 6)
9393
label = Gtk.Label()
9494
label.set_markup("<i><b>%s</b></i>" % _("Click on the link to open the release notes."))
@@ -110,7 +110,7 @@ def build_assistant(self):
110110
vbox_content.pack_start(label, False, False, 6)
111111
self.vbox_new_features.pack_start(vbox_content, False, False, 6)
112112
link = Gtk.Label()
113-
link.set_markup("<a href='https://www.linuxmint.com/rel_%s_%s_whatsnew.php'><b>%s</b></a>" % (self.rel_target_codename, self.current_edition.lower(), _("New features in %s") % self.rel_target_name))
113+
link.set_markup("<a href='https://www.linuxmint.com/rel_%s_whatsnew.php'><b>%s</b></a>" % (self.rel_target_codename, _("New features in %s") % self.rel_target_name))
114114
self.vbox_new_features.pack_start(link, False, False, 6)
115115
label = Gtk.Label()
116116
label.set_markup("<i><b>%s</b></i>" % _("Click on the link to browse the new features."))

0 commit comments

Comments
 (0)