From 672a2f9c71036cff3c5e69ab81acf11e82ef05da Mon Sep 17 00:00:00 2001 From: Mike Fleetwood Date: Sun, 27 May 2018 09:44:42 +0100 Subject: [PATCH] Update URLs in the app to https://gparted.org (#796411) We previously migrated our web site from http://gparted.org to https://gparted.org under: bug 786707 - gparted.org does not use HTTPS and updated URLs in the GParted Manual to match in commit: a8172ecb04afabd636e3ad3d6f6665af894516f1 Convert Manual links to HTTPS where possible and update version Now update the URLs displayed in the GParted application too. Bug 796411 - Enhancements request - URL links --- src/Dialog_Progress.cc | 11 ++++++++--- src/Win_GParted.cc | 6 +++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/Dialog_Progress.cc b/src/Dialog_Progress.cc index ca49a2cd..9ca4dead 100644 --- a/src/Dialog_Progress.cc +++ b/src/Dialog_Progress.cc @@ -282,9 +282,14 @@ void Dialog_Progress::on_signal_show() str_temp += "\n\n" + Glib::ustring( _("IMPORTANT") ) + "\n" ; str_temp += _("If you want support, you need to provide the saved details!") ; - str_temp += "\n" + String::ucompose( - /* TO TRANSLATORS: looks like See http://gparted.org/save-details.htm for more information. */ - _("See %1 for more information."), "http://gparted.org/save-details.htm" ) + "" ; + str_temp += "\n"; + str_temp += String::ucompose( + /* TO TRANSLATORS: looks like + * See https://gparted.org/save-details.htm for more information. + */ + _("See %1 for more information."), + "https://gparted.org/save-details.htm" ); + str_temp += ""; dialog .set_secondary_text( str_temp, true ) ; dialog .run() ; diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc index 0abf31e3..dec3ef98 100644 --- a/src/Win_GParted.cc +++ b/src/Win_GParted.cc @@ -1688,7 +1688,7 @@ void Win_GParted::menu_help_contents() tmp_msg += "\n" ; tmp_msg += _( "Documentation is available at the project web site." ) ; tmp_msg += "\n" ; - tmp_msg += "http://gparted.org" ; + tmp_msg += "https://gparted.org"; dialog .set_secondary_text( tmp_msg ) ; dialog .run() ; #endif @@ -1745,7 +1745,7 @@ void Win_GParted::menu_help_about() //the url is not clickable - should not invoke web browser as root - dialog .set_website_label( "http://gparted.org" ) ; + dialog.set_website_label( "https://gparted.org" ); dialog .run() ; } @@ -1924,7 +1924,7 @@ void Win_GParted::activate_resize() tmp_msg += "\n"; tmp_msg += _("You can learn how to repair the boot configuration in the GParted FAQ."); tmp_msg += "\n"; - tmp_msg += "http://gparted.org/faq.php"; + tmp_msg += "https://gparted.org/faq.php"; tmp_msg += "\n\n"; tmp_msg += _("Moving a partition might take a very long time to apply."); dialog.set_secondary_text( tmp_msg );