From 6b16df8966bfb42ef248b8e8e33d7b5ffc80dd48 Mon Sep 17 00:00:00 2001 From: jo Date: Wed, 21 Sep 2022 00:44:42 +0200 Subject: [PATCH] fix(legacy): update or remove broken links --- legacy/application/assets.json | 4 +- legacy/application/common/LocaleHelper.php | 4 +- .../controllers/LocaleController.php | 2 +- legacy/application/models/ServiceRegister.php | 1 - legacy/application/models/StoredFile.php | 4 +- legacy/application/models/Webstream.php | 4 +- .../rest/controllers/RouteController.php | 3 - .../scripts/form/add-show-autoplaylist.phtml | 2 +- legacy/locale/cs_CZ/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/de_AT/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/de_DE/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/el_GR/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/en_CA/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/en_GB/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/en_US/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/es_ES/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/fr_FR/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/hr_HR/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/hu_HU/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/it_IT/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/ja_JP/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/ko_KR/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/nl_NL/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/pl_PL/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/pt_BR/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/ru_RU/LC_MESSAGES/libretime.po | 276 ++++++++--------- legacy/locale/sr_RS/LC_MESSAGES/libretime.po | 278 +++++++++--------- .../sr_RS@latin/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/tr_TR/LC_MESSAGES/libretime.po | 276 ++++++++--------- legacy/locale/uk_UA/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/locale/zh_CN/LC_MESSAGES/libretime.po | 278 +++++++++--------- legacy/public/js/airtime/library/library.js | 10 +- legacy/public/js/airtime/schedule/add-show.js | 2 +- 33 files changed, 3210 insertions(+), 3216 deletions(-) diff --git a/legacy/application/assets.json b/legacy/application/assets.json index 46a7056b3..c35bbfb0a 100644 --- a/legacy/application/assets.json +++ b/legacy/application/assets.json @@ -59,7 +59,7 @@ "js/airtime/dashboard/versiontooltip.js": "f267c6ec0205e98f1ffba5f636928f7a", "js/airtime/library/events/library_playlistbuilder.js": "1e0aa11953c7ff243cd2df241cc8a296", "js/airtime/library/events/library_showbuilder.js": "996a5c3008eb17552ee8f891d88c9341", - "js/airtime/library/library.js": "54b969bd06ddc919a7fba9cadc693567", + "js/airtime/library/library.js": "d47ed07f83c68271b2e3bb50d4eb2b8f", "js/airtime/library/plupload.js": "7f754a28ac2d4060aec918c688a74a22", "js/airtime/library/podcast.js": "f4fd354d739e7121ba00162496c295df", "js/airtime/library/publish.js": "851ef4c4caa9e9220acf945c21760189", @@ -80,7 +80,7 @@ "js/airtime/preferences/musicdirs.js": "72312faa4081949d5c17ce2d3428dbdc", "js/airtime/preferences/preferences.js": "73aec5c4969eef8f6b02f044b00425c3", "js/airtime/preferences/streamsetting.js": "b45e7ad91d0b3f5e582fd3bd4c697a05", - "js/airtime/schedule/add-show.js": "22ce11f5ffd513be4f3492af1001ebdf", + "js/airtime/schedule/add-show.js": "4984c9bdac1e541eecab2541e21450a7", "js/airtime/schedule/full-calendar-functions.js": "09ac64ebbe48666dcc3c4669b12509b7", "js/airtime/schedule/schedule.js": "d835a1c6110c033edf5c8d0abb701d7c", "js/airtime/showbuilder/builder.js": "08338d5f8e957bda2bac397e958f5610", diff --git a/legacy/application/common/LocaleHelper.php b/legacy/application/common/LocaleHelper.php index 28049ba33..47a1e99d8 100644 --- a/legacy/application/common/LocaleHelper.php +++ b/legacy/application/common/LocaleHelper.php @@ -15,9 +15,7 @@ class Application_Common_LocaleHelper * From: https://www.binarytides.com/php-array-of-iso-639-1-language-codes-and-names/ * * ISO 639-1 Language Codes - * References : - * 1. https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes - * 2. https://blog.xoundboy.com/?p=235 + * https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes */ return [ 'en' => _('English'), diff --git a/legacy/application/controllers/LocaleController.php b/legacy/application/controllers/LocaleController.php index 5f36a57db..64fefda4e 100644 --- a/legacy/application/controllers/LocaleController.php +++ b/legacy/application/controllers/LocaleController.php @@ -459,7 +459,7 @@ final class LocaleController extends Zend_Controller_Action 'Disabled' => _('Disabled'), 'Cancel upload' => _('Cancel upload'), 'Type' => _('Type'), - "Autoloading playlists' contents are added to shows one hour before the show airs. More information" => _("Autoloading playlists' contents are added to shows one hour before the show airs. More information"), + "Autoloading playlists' contents are added to shows one hour before the show airs. More information" => _("Autoloading playlists' contents are added to shows one hour before the show airs. More information"), 'Podcast settings saved' => _('Podcast settings saved'), 'Are you sure you want to delete this user?' => _('Are you sure you want to delete this user?'), "Can't delete yourself!" => _("Can't delete yourself!"), diff --git a/legacy/application/models/ServiceRegister.php b/legacy/application/models/ServiceRegister.php index 7c01a464d..6c9c1252d 100644 --- a/legacy/application/models/ServiceRegister.php +++ b/legacy/application/models/ServiceRegister.php @@ -29,7 +29,6 @@ class Application_Model_ServiceRegister // Need to convert ipv6 to ipv4 since Monit server does not appear // to allow access via an ipv6 address. // http://[::1]:2812 does not respond. - // Bug: https://savannah.nongnu.org/bugs/?27608 if ($p_ipAddress == '::1') { $p_ipAddress = '127.0.0.1'; } diff --git a/legacy/application/models/StoredFile.php b/legacy/application/models/StoredFile.php index 49954ca37..710942915 100644 --- a/legacy/application/models/StoredFile.php +++ b/legacy/application/models/StoredFile.php @@ -108,7 +108,7 @@ class Application_Model_StoredFile * Set multiple metadata values using defined metadata constants. * * @param array $p_md - * example: $p_md['MDATA_KEY_URL'] = 'http://www.fake.com' + * example: $p_md['MDATA_KEY_URL'] = 'https://example.org' */ public function setMetadata($p_md = null) { @@ -163,7 +163,7 @@ class Application_Model_StoredFile * Set multiple metadata values using database columns as indexes. * * @param array $p_md - * example: $p_md['url'] = 'http://www.fake.com' + * example: $p_md['url'] = 'https://www.example.com' */ public function setDbColMetadata($p_md = null) { diff --git a/legacy/application/models/Webstream.php b/legacy/application/models/Webstream.php index 755744773..4fac69ebe 100644 --- a/legacy/application/models/Webstream.php +++ b/legacy/application/models/Webstream.php @@ -179,7 +179,7 @@ class Application_Model_Webstream implements Application_Model_LibraryEditable $mediaUrl = null; if ($result == 0) { $valid['url'][0] = false; - $valid['url'][1] = _('URL should be of form "http://domain"'); + $valid['url'][1] = _('URL should be of form "https://example.org"'); } elseif (strlen($url) > 512) { $valid['url'][0] = false; $valid['url'][1] = _('URL should be 512 characters or less'); @@ -344,7 +344,7 @@ class Application_Model_Webstream implements Application_Model_LibraryEditable * 0 => "HTTP/1.1 302 Moved Temporarily", * 1 => "X-Powered-By: Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.1 Java/Sun Microsystems Inc./1.6)", * 2 => "Server: GlassFish Server Open Source Edition 3.1.1", - * 3 => "Location: https://3043.live.streamtheworld.com:80/SAM04AAC89_SC", + * 3 => "Location: https://example.org/SAM04AAC89_SC", * 4 => "Content-Type: text/html;charset=ISO-8859-1", * 5 => "Content-Language: en-US", * 6 => "Content-Length: 202", diff --git a/legacy/application/modules/rest/controllers/RouteController.php b/legacy/application/modules/rest/controllers/RouteController.php index f76ddface..0b3482a1c 100644 --- a/legacy/application/modules/rest/controllers/RouteController.php +++ b/legacy/application/modules/rest/controllers/RouteController.php @@ -2,9 +2,6 @@ /** * Class Rest_RouteController. - * - * Taken from https://github.com/aporat/Application_Rest_Controller_Route - * to enable hierarchy routing */ class Rest_RouteController extends Zend_Controller_Router_Route { diff --git a/legacy/application/views/scripts/form/add-show-autoplaylist.phtml b/legacy/application/views/scripts/form/add-show-autoplaylist.phtml index 1cee68cd4..684e532b6 100644 --- a/legacy/application/views/scripts/form/add-show-autoplaylist.phtml +++ b/legacy/application/views/scripts/form/add-show-autoplaylist.phtml @@ -11,7 +11,7 @@
-

More information"); ?>

+

More information"); ?>