diff options
Diffstat (limited to 'app')
26 files changed, 91 insertions, 92 deletions
diff --git a/app/Date/AbstractCalendarDate.php b/app/Date/AbstractCalendarDate.php index 8b521bf589..61db993e44 100644 --- a/app/Date/AbstractCalendarDate.php +++ b/app/Date/AbstractCalendarDate.php @@ -460,7 +460,7 @@ abstract class AbstractCalendarDate /** * Format a date, using similar codes to the PHP date() function. * - * @param string $format See http://php.net/date + * @param string $format See https://php.net/date * @param string $qualifier GEDCOM qualifier, so we can choose the right case for the month name. * * @return string diff --git a/app/Date/HijriDate.php b/app/Date/HijriDate.php index a4d6b53e61..652616feb7 100644 --- a/app/Date/HijriDate.php +++ b/app/Date/HijriDate.php @@ -79,29 +79,29 @@ class HijriDate extends AbstractCalendarDate if ($translated_month_names === null) { $translated_month_names = [ 0 => '', - /* I18N: http://en.wikipedia.org/wiki/Muharram */ + /* I18N: https://en.wikipedia.org/wiki/Muharram */ 1 => I18N::translateContext('NOMINATIVE', 'Muharram'), - /* I18N: http://en.wikipedia.org/wiki/Safar */ + /* I18N: https://en.wikipedia.org/wiki/Safar */ 2 => I18N::translateContext('NOMINATIVE', 'Safar'), - /* I18N: http://en.wikipedia.org/wiki/Rabi%27_al-awwal */ + /* I18N: https://en.wikipedia.org/wiki/Rabi%27_al-awwal */ 3 => I18N::translateContext('NOMINATIVE', 'Rabi’ al-awwal'), - /* I18N: http://en.wikipedia.org/wiki/Rabi%27_al-thani */ + /* I18N: https://en.wikipedia.org/wiki/Rabi%27_al-thani */ 4 => I18N::translateContext('NOMINATIVE', 'Rabi’ al-thani'), - /* I18N: http://en.wikipedia.org/wiki/Jumada_al-awwal */ + /* I18N: https://en.wikipedia.org/wiki/Jumada_al-awwal */ 5 => I18N::translateContext('NOMINATIVE', 'Jumada al-awwal'), - /* I18N: http://en.wikipedia.org/wiki/Jumada_al-thani */ + /* I18N: https://en.wikipedia.org/wiki/Jumada_al-thani */ 6 => I18N::translateContext('NOMINATIVE', 'Jumada al-thani'), - /* I18N: http://en.wikipedia.org/wiki/Rajab */ + /* I18N: https://en.wikipedia.org/wiki/Rajab */ 7 => I18N::translateContext('NOMINATIVE', 'Rajab'), - /* I18N: http://en.wikipedia.org/wiki/Sha%27aban */ + /* I18N: https://en.wikipedia.org/wiki/Sha%27aban */ 8 => I18N::translateContext('NOMINATIVE', 'Sha’aban'), - /* I18N: http://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 */ + /* I18N: https://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 */ 9 => I18N::translateContext('NOMINATIVE', 'Ramadan'), - /* I18N: http://en.wikipedia.org/wiki/Shawwal */ + /* I18N: https://en.wikipedia.org/wiki/Shawwal */ 10 => I18N::translateContext('NOMINATIVE', 'Shawwal'), - /* I18N: http://en.wikipedia.org/wiki/Dhu_al-Qi%27dah */ + /* I18N: https://en.wikipedia.org/wiki/Dhu_al-Qi%27dah */ 11 => I18N::translateContext('NOMINATIVE', 'Dhu al-Qi’dah'), - /* I18N: http://en.wikipedia.org/wiki/Dhu_al-Hijjah */ + /* I18N: https://en.wikipedia.org/wiki/Dhu_al-Hijjah */ 12 => I18N::translateContext('NOMINATIVE', 'Dhu al-Hijjah'), ]; } @@ -124,29 +124,29 @@ class HijriDate extends AbstractCalendarDate if ($translated_month_names === null) { $translated_month_names = [ 0 => '', - /* I18N: http://en.wikipedia.org/wiki/Muharram */ + /* I18N: https://en.wikipedia.org/wiki/Muharram */ 1 => I18N::translateContext('GENITIVE', 'Muharram'), - /* I18N: http://en.wikipedia.org/wiki/Safar */ + /* I18N: https://en.wikipedia.org/wiki/Safar */ 2 => I18N::translateContext('GENITIVE', 'Safar'), - /* I18N: http://en.wikipedia.org/wiki/Rabi%27_al-awwal */ + /* I18N: https://en.wikipedia.org/wiki/Rabi%27_al-awwal */ 3 => I18N::translateContext('GENITIVE', 'Rabi’ al-awwal'), - /* I18N: http://en.wikipedia.org/wiki/Rabi%27_al-thani */ + /* I18N: https://en.wikipedia.org/wiki/Rabi%27_al-thani */ 4 => I18N::translateContext('GENITIVE', 'Rabi’ al-thani'), - /* I18N: http://en.wikipedia.org/wiki/Jumada_al-awwal */ + /* I18N: https://en.wikipedia.org/wiki/Jumada_al-awwal */ 5 => I18N::translateContext('GENITIVE', 'Jumada al-awwal'), - /* I18N: http://en.wikipedia.org/wiki/Jumada_al-thani */ + /* I18N: https://en.wikipedia.org/wiki/Jumada_al-thani */ 6 => I18N::translateContext('GENITIVE', 'Jumada al-thani'), - /* I18N: http://en.wikipedia.org/wiki/Rajab */ + /* I18N: https://en.wikipedia.org/wiki/Rajab */ 7 => I18N::translateContext('GENITIVE', 'Rajab'), - /* I18N: http://en.wikipedia.org/wiki/Sha%27aban */ + /* I18N: https://en.wikipedia.org/wiki/Sha%27aban */ 8 => I18N::translateContext('GENITIVE', 'Sha’aban'), - /* I18N: http://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 */ + /* I18N: https://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 */ 9 => I18N::translateContext('GENITIVE', 'Ramadan'), - /* I18N: http://en.wikipedia.org/wiki/Shawwal */ + /* I18N: https://en.wikipedia.org/wiki/Shawwal */ 10 => I18N::translateContext('GENITIVE', 'Shawwal'), - /* I18N: http://en.wikipedia.org/wiki/Dhu_al-Qi%27dah */ + /* I18N: https://en.wikipedia.org/wiki/Dhu_al-Qi%27dah */ 11 => I18N::translateContext('GENITIVE', 'Dhu al-Qi’dah'), - /* I18N: http://en.wikipedia.org/wiki/Dhu_al-Hijjah */ + /* I18N: https://en.wikipedia.org/wiki/Dhu_al-Hijjah */ 12 => I18N::translateContext('GENITIVE', 'Dhu al-Hijjah'), ]; } @@ -169,29 +169,29 @@ class HijriDate extends AbstractCalendarDate if ($translated_month_names === null) { $translated_month_names = [ 0 => '', - /* I18N: http://en.wikipedia.org/wiki/Muharram */ + /* I18N: https://en.wikipedia.org/wiki/Muharram */ 1 => I18N::translateContext('LOCATIVE', 'Muharram'), - /* I18N: http://en.wikipedia.org/wiki/Safar */ + /* I18N: https://en.wikipedia.org/wiki/Safar */ 2 => I18N::translateContext('LOCATIVE', 'Safar'), - /* I18N: http://en.wikipedia.org/wiki/Rabi%27_al-awwal */ + /* I18N: https://en.wikipedia.org/wiki/Rabi%27_al-awwal */ 3 => I18N::translateContext('LOCATIVE', 'Rabi’ al-awwal'), - /* I18N: http://en.wikipedia.org/wiki/Rabi%27_al-thani */ + /* I18N: https://en.wikipedia.org/wiki/Rabi%27_al-thani */ 4 => I18N::translateContext('LOCATIVE', 'Rabi’ al-thani'), - /* I18N: http://en.wikipedia.org/wiki/Jumada_al-awwal */ + /* I18N: https://en.wikipedia.org/wiki/Jumada_al-awwal */ 5 => I18N::translateContext('LOCATIVE', 'Jumada al-awwal'), - /* I18N: http://en.wikipedia.org/wiki/Jumada_al-thani */ + /* I18N: https://en.wikipedia.org/wiki/Jumada_al-thani */ 6 => I18N::translateContext('LOCATIVE', 'Jumada al-thani'), - /* I18N: http://en.wikipedia.org/wiki/Rajab */ + /* I18N: https://en.wikipedia.org/wiki/Rajab */ 7 => I18N::translateContext('LOCATIVE', 'Rajab'), - /* I18N: http://en.wikipedia.org/wiki/Sha%27aban */ + /* I18N: https://en.wikipedia.org/wiki/Sha%27aban */ 8 => I18N::translateContext('LOCATIVE', 'Sha’aban'), - /* I18N: http://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 */ + /* I18N: https://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 */ 9 => I18N::translateContext('LOCATIVE', 'Ramadan'), - /* I18N: http://en.wikipedia.org/wiki/Shawwal */ + /* I18N: https://en.wikipedia.org/wiki/Shawwal */ 10 => I18N::translateContext('LOCATIVE', 'Shawwal'), - /* I18N: http://en.wikipedia.org/wiki/Dhu_al-Qi%27dah */ + /* I18N: https://en.wikipedia.org/wiki/Dhu_al-Qi%27dah */ 11 => I18N::translateContext('LOCATIVE', 'Dhu al-Qi’dah'), - /* I18N: http://en.wikipedia.org/wiki/Dhu_al-Hijjah */ + /* I18N: https://en.wikipedia.org/wiki/Dhu_al-Hijjah */ 12 => I18N::translateContext('LOCATIVE', 'Dhu al-Hijjah'), ]; } @@ -214,29 +214,29 @@ class HijriDate extends AbstractCalendarDate if ($translated_month_names === null) { $translated_month_names = [ 0 => '', - /* I18N: http://en.wikipedia.org/wiki/Muharram */ + /* I18N: https://en.wikipedia.org/wiki/Muharram */ 1 => I18N::translateContext('INSTRUMENTAL', 'Muharram'), - /* I18N: http://en.wikipedia.org/wiki/Safar */ + /* I18N: https://en.wikipedia.org/wiki/Safar */ 2 => I18N::translateContext('INSTRUMENTAL', 'Safar'), - /* I18N: http://en.wikipedia.org/wiki/Rabi%27_al-awwal */ + /* I18N: https://en.wikipedia.org/wiki/Rabi%27_al-awwal */ 3 => I18N::translateContext('INSTRUMENTAL', 'Rabi’ al-awwal'), - /* I18N: http://en.wikipedia.org/wiki/Rabi%27_al-thani */ + /* I18N: https://en.wikipedia.org/wiki/Rabi%27_al-thani */ 4 => I18N::translateContext('INSTRUMENTAL', 'Rabi’ al-thani'), - /* I18N: http://en.wikipedia.org/wiki/Jumada_al-awwal */ + /* I18N: https://en.wikipedia.org/wiki/Jumada_al-awwal */ 5 => I18N::translateContext('INSTRUMENTAL', 'Jumada al-awwal'), - /* I18N: http://en.wikipedia.org/wiki/Jumada_al-thani */ + /* I18N: https://en.wikipedia.org/wiki/Jumada_al-thani */ 6 => I18N::translateContext('INSTRUMENTAL', 'Jumada al-thani'), - /* I18N: http://en.wikipedia.org/wiki/Rajab */ + /* I18N: https://en.wikipedia.org/wiki/Rajab */ 7 => I18N::translateContext('INSTRUMENTAL', 'Rajab'), - /* I18N: http://en.wikipedia.org/wiki/Sha%27aban */ + /* I18N: https://en.wikipedia.org/wiki/Sha%27aban */ 8 => I18N::translateContext('INSTRUMENTAL', 'Sha’aban'), - /* I18N: http://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 */ + /* I18N: https://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 */ 9 => I18N::translateContext('INSTRUMENTAL', 'Ramadan'), - /* I18N: http://en.wikipedia.org/wiki/Shawwal */ + /* I18N: https://en.wikipedia.org/wiki/Shawwal */ 10 => I18N::translateContext('INSTRUMENTAL', 'Shawwal'), - /* I18N: http://en.wikipedia.org/wiki/Dhu_al-Qi%27dah */ + /* I18N: https://en.wikipedia.org/wiki/Dhu_al-Qi%27dah */ 11 => I18N::translateContext('INSTRUMENTAL', 'Dhu al-Qi’dah'), - /* I18N: http://en.wikipedia.org/wiki/Dhu_al-Hijjah */ + /* I18N: https://en.wikipedia.org/wiki/Dhu_al-Hijjah */ 12 => I18N::translateContext('INSTRUMENTAL', 'Dhu al-Hijjah'), ]; } diff --git a/app/Date/JulianDate.php b/app/Date/JulianDate.php index 94006aa411..93b63a749e 100644 --- a/app/Date/JulianDate.php +++ b/app/Date/JulianDate.php @@ -94,7 +94,7 @@ class JulianDate extends AbstractGregorianJulianDate protected function formatLongYear(): string { if ($this->year < 0) { - return /* I18N: BCE=Before the Common Era, for Julian years < 0. See http://en.wikipedia.org/wiki/Common_Era */ + return /* I18N: BCE=Before the Common Era, for Julian years < 0. See https://en.wikipedia.org/wiki/Common_Era */ I18N::translate('%s BCE', I18N::digits(-$this->year)); } @@ -102,7 +102,7 @@ class JulianDate extends AbstractGregorianJulianDate return I18N::translate('%s CE', I18N::digits(sprintf('%d/%02d', $this->year - 1, $this->year % 100))); } - /* I18N: CE=Common Era, for Julian years > 0. See http://en.wikipedia.org/wiki/Common_Era */ + /* I18N: CE=Common Era, for Julian years > 0. See https://en.wikipedia.org/wiki/Common_Era */ return I18N::translate('%s CE', I18N::digits($this->year)); } diff --git a/app/Elements/TempleCode.php b/app/Elements/TempleCode.php index b8f0530add..b1c27b5f06 100644 --- a/app/Elements/TempleCode.php +++ b/app/Elements/TempleCode.php @@ -90,7 +90,7 @@ class TempleCode extends AbstractElement 'DETRO' => /* I18N: Location of an LDS church temple */ I18N::translate('Detroit, Michigan, United States'), 'DRAPE' => /* I18N: Location of an LDS church temple */ I18N::translate('Draper, Utah, United States'), 'EDMON' => /* I18N: Location of an LDS church temple */ I18N::translate('Edmonton, Alberta, Canada'), - 'EHOUS' => /* I18N: Location of an historic LDS church temple - http://en.wikipedia.org/wiki/Endowment_house */ I18N::translate('Endowment House'), + 'EHOUS' => /* I18N: Location of an historic LDS church temple - https://en.wikipedia.org/wiki/Endowment_house */ I18N::translate('Endowment House'), 'FORTL' => /* I18N: Location of an LDS church temple */ I18N::translate('Fort Lauderdale, Florida, United States'), 'FRANK' => /* I18N: Location of an LDS church temple */ I18N::translate('Frankfurt am Main, Germany'), 'FREIB' => /* I18N: Location of an LDS church temple */ I18N::translate('Freiburg, Germany'), @@ -158,7 +158,7 @@ class TempleCode extends AbstractElement 'PAYSO' => /* I18N: Location of an LDS church temple */ I18N::translate('Payson, Utah, United States'), 'PERTH' => /* I18N: Location of an LDS church temple */ I18N::translate('Perth, Australia'), 'PHOEN' => /* I18N: Location of an LDS church temple */ I18N::translate('Phoenix, Arizona, United States'), - 'POFFI' => /* I18N: Location of an historic LDS church temple - http://en.wikipedia.org/wiki/President_of_the_Church */ I18N::translate('President’s Office'), + 'POFFI' => /* I18N: Location of an historic LDS church temple - https://en.wikipedia.org/wiki/President_of_the_Church */ I18N::translate('President’s Office'), 'PORTL' => /* I18N: Location of an LDS church temple */ I18N::translate('Portland, Oregon, United States'), 'PREST' => /* I18N: Location of an LDS church temple */ I18N::translate('Preston, England'), 'PROCC' => /* I18N: Location of an LDS church temple */ I18N::translate('Provo City Center, Utah, United States'), diff --git a/app/Http/Middleware/BadBotBlocker.php b/app/Http/Middleware/BadBotBlocker.php index 9b1e8dcb29..c479a80ecc 100644 --- a/app/Http/Middleware/BadBotBlocker.php +++ b/app/Http/Middleware/BadBotBlocker.php @@ -105,7 +105,7 @@ class BadBotBlocker implements MiddlewareInterface /** * Some search engines operate from designated IP addresses. * - * @see http://www.apple.com/go/applebot + * @see https://www.apple.com/go/applebot * @see https://help.duckduckgo.com/duckduckgo-help-pages/results/duckduckbot */ private const ROBOT_IPS = [ diff --git a/app/Http/RequestHandlers/ContactAction.php b/app/Http/RequestHandlers/ContactAction.php index a9f6c94b2f..5cb6548541 100644 --- a/app/Http/RequestHandlers/ContactAction.php +++ b/app/Http/RequestHandlers/ContactAction.php @@ -120,7 +120,7 @@ class ContactAction implements RequestHandlerInterface $base_url = $request->getAttribute('base_url'); if (preg_match('/(?!' . preg_quote($base_url, '/') . ')(((?:ftp|http|https):\/\/)[a-zA-Z0-9.-]+)/', $subject . $body, $match)) { - FlashMessages::addMessage(I18N::translate('You are not allowed to send messages that contain external links.') . ' ' . /* I18N: e.g. ‘You should delete the “http://” from “http://www.example.com” and try again.’ */ + FlashMessages::addMessage(I18N::translate('You are not allowed to send messages that contain external links.') . ' ' . /* I18N: e.g. ‘You should delete the “https://” from “https://www.example.com” and try again.’ */ I18N::translate('You should delete the “%1$s” from “%2$s” and try again.', $match[2], $match[1]), 'danger'); $errors = true; } diff --git a/app/I18N.php b/app/I18N.php index d35762de7a..51c3739077 100644 --- a/app/I18N.php +++ b/app/I18N.php @@ -259,7 +259,7 @@ class I18N */ public static function dateFormat(): string { - /* I18N: This is the format string for full dates. See http://php.net/date for codes */ + /* I18N: This is the format string for full dates. See https://php.net/date for codes */ return self::$translator->translate('%j %F %Y'); } @@ -619,7 +619,7 @@ class I18N */ public static function timeFormat(): string { - /* I18N: This is the format string for the time-of-day. See http://php.net/date for codes */ + /* I18N: This is the format string for the time-of-day. See https://php.net/date for codes */ return self::$translator->translate('%H:%i:%s'); } diff --git a/app/Module/CkeditorModule.php b/app/Module/CkeditorModule.php index 5283ff0e7c..9a8e03bc91 100644 --- a/app/Module/CkeditorModule.php +++ b/app/Module/CkeditorModule.php @@ -39,7 +39,7 @@ class CkeditorModule extends AbstractModule implements ModuleExternalUrlInterfac */ public function title(): string { - /* I18N: Name of a module. CKEditor is a trademark. Do not translate it? http://ckeditor.com */ + /* I18N: Name of a module. CKEditor is a trademark. Do not translate it? https://ckeditor.com */ return I18N::translate('CKEditor™'); } diff --git a/app/Module/CustomTagsBrothersKeeper.php b/app/Module/CustomTagsBrothersKeeper.php index 8830959b8b..73f1a11922 100644 --- a/app/Module/CustomTagsBrothersKeeper.php +++ b/app/Module/CustomTagsBrothersKeeper.php @@ -52,7 +52,7 @@ class CustomTagsBrothersKeeper extends AbstractModule implements ModuleConfigInt /** * @return array<string,ElementInterface> * - * @see http://wiki-de.genealogy.net/GEDCOM/_Nutzerdef-Tag + * @see https://wiki-de.genealogy.net/GEDCOM/_Nutzerdef-Tag */ public function customTags(): array { diff --git a/app/Module/CustomTagsFamilyTreeMaker.php b/app/Module/CustomTagsFamilyTreeMaker.php index e779984d22..990a6dbd37 100644 --- a/app/Module/CustomTagsFamilyTreeMaker.php +++ b/app/Module/CustomTagsFamilyTreeMaker.php @@ -47,7 +47,7 @@ class CustomTagsFamilyTreeMaker extends AbstractModule implements ModuleConfigIn /** * @return array<string,ElementInterface> * - * @see http://wiki-de.genealogy.net/GEDCOM/_Nutzerdef-Tag + * @see https://wiki-de.genealogy.net/GEDCOM/_Nutzerdef-Tag */ public function customTags(): array { diff --git a/app/Module/CustomTagsGedcomL.php b/app/Module/CustomTagsGedcomL.php index 4c6e8148e7..b1224d435b 100644 --- a/app/Module/CustomTagsGedcomL.php +++ b/app/Module/CustomTagsGedcomL.php @@ -90,7 +90,7 @@ class CustomTagsGedcomL extends AbstractModule implements ModuleConfigInterface, { return [ 'FAM:*:ADDR:_NAME' => new CustomElement('Name of addressee'), - // I18N: http://gov.genealogy.net + // I18N: https://gov.genealogy.net 'FAM:*:PLAC:_GOV' => new GovIdentifier(I18N::translate('GOV identifier')), 'FAM:*:PLAC:_LOC' => new XrefLocation(I18N::translate('Location')), // I18N: https://en.wikipedia.org/wiki/Maidenhead_Locator_System @@ -139,7 +139,7 @@ class CustomTagsGedcomL extends AbstractModule implements ModuleConfigInterface, 'HEAD:_SCHEMA:*:*:*:_DEFN' => new EmptyElement(I18N::translate('Definition')), 'HEAD:_SCHEMA:*:*:_DEFN' => new EmptyElement(I18N::translate('Definition')), 'INDI:*:ADDR:_NAME' => new CustomElement('Name of addressee'), - // I18N: http://gov.genealogy.net + // I18N: https://gov.genealogy.net 'INDI:*:PLAC:_GOV' => new GovIdentifier(I18N::translate('GOV identifier')), 'INDI:*:PLAC:_LOC' => new XrefLocation(I18N::translate('Location')), // I18N: https://en.wikipedia.org/wiki/Maidenhead_Locator_System @@ -228,7 +228,7 @@ class CustomTagsGedcomL extends AbstractModule implements ModuleConfigInterface, '_LOC:_DMGD:DATE' => new DateValue(I18N::translate('Date')), '_LOC:_DMGD:SOUR' => new XrefSource(I18N::translate('Source')), '_LOC:_DMGD:TYPE' => new CustomElement(I18N::translate('Type of demographic data')), - // I18N: http://gov.genealogy.net + // I18N: https://gov.genealogy.net '_LOC:_GOV' => new GovIdentifier(I18N::translate('GOV identifier')), '_LOC:_LOC' => new XrefLocation(I18N::translate('Parent'), ['DATE' => '0:1', 'SOUR' => '0:M', 'TYPE' => '0:1']), '_LOC:_LOC:DATE' => new DateValue(I18N::translate('Date')), diff --git a/app/Module/CustomTagsGenPluswin.php b/app/Module/CustomTagsGenPluswin.php index 307901a0db..e9ed7c814d 100644 --- a/app/Module/CustomTagsGenPluswin.php +++ b/app/Module/CustomTagsGenPluswin.php @@ -60,11 +60,11 @@ class CustomTagsGenPluswin extends AbstractModule implements ModuleConfigInterfa 'FAM:*:DATE:_ZUS' => new CustomElement(I18N::translate('Additional information')), 'FAM:*:OBJE:_PRIM' => new CustomElement(I18N::translate('Highlighted image')), 'FAM:*:PLAC:_AON' => new CustomElement(I18N::translate('Alternative place name')), - // I18N: http://foko.genealogy.net + // I18N: https://foko.genealogy.net 'FAM:*:PLAC:_FCTRY' => new CustomElement(I18N::translate('FOKO country')), - // I18N: http://foko.genealogy.net + // I18N: https://foko.genealogy.net 'FAM:*:PLAC:_FSTAE' => new CustomElement(I18N::translate('FOKO country')), - // I18N: http://gov.genealogy.net + // I18N: https://gov.genealogy.net 'FAM:*:PLAC:_GOV' => new GovIdentifier(I18N::translate('GOV identifier')), // I18N: https://en.wikipedia.org/wiki/Maidenhead_Locator_System 'FAM:*:PLAC:_MAIDENHEAD' => new MaidenheadLocator(I18N::translate('Maidenhead location code')), @@ -92,11 +92,11 @@ class CustomTagsGenPluswin extends AbstractModule implements ModuleConfigInterfa 'INDI:*:DATE:_ZUS' => new CustomElement(I18N::translate('Additional information')), 'INDI:*:OBJE:_PRIM' => new CustomElement(I18N::translate('Highlighted image')), 'INDI:*:PLAC:_AON' => new CustomElement(I18N::translate('Alternative place name')), - // I18N: http://foko.genealogy.net + // I18N: https://foko.genealogy.net 'INDI:*:PLAC:_FCTRY' => new CustomElement(I18N::translate('FOKO country')), - // I18N: http://foko.genealogy.net + // I18N: https://foko.genealogy.net 'INDI:*:PLAC:_FSTAE' => new CustomElement(I18N::translate('FOKO country')), - // I18N: http://gov.genealogy.net + // I18N: https://gov.genealogy.net 'INDI:*:PLAC:_GOV' => new GovIdentifier(I18N::translate('GOV identifier')), // I18N: https://en.wikipedia.org/wiki/Maidenhead_Locator_System 'INDI:*:PLAC:_MAIDENHEAD' => new MaidenheadLocator(I18N::translate('Maidenhead location code')), diff --git a/app/Module/CustomTagsPersonalAncestralFile.php b/app/Module/CustomTagsPersonalAncestralFile.php index 1519aa5c7b..f262f1a6bb 100644 --- a/app/Module/CustomTagsPersonalAncestralFile.php +++ b/app/Module/CustomTagsPersonalAncestralFile.php @@ -46,7 +46,7 @@ class CustomTagsPersonalAncestralFile extends AbstractModule implements ModuleCo /** * @return array<string,ElementInterface> * - * @see http://wiki-de.genealogy.net/GEDCOM/_Nutzerdef-Tag + * @see https://wiki-de.genealogy.net/GEDCOM/_Nutzerdef-Tag */ public function customTags(): array { diff --git a/app/Module/FanChartModule.php b/app/Module/FanChartModule.php index aebb2d9292..151098488a 100644 --- a/app/Module/FanChartModule.php +++ b/app/Module/FanChartModule.php @@ -161,7 +161,7 @@ class FanChartModule extends AbstractModule implements ModuleChartInterface, Req */ public function chartTitle(Individual $individual): string { - /* I18N: http://en.wikipedia.org/wiki/Family_tree#Fan_chart - %s is an individual’s name */ + /* I18N: https://en.wikipedia.org/wiki/Family_tree#Fan_chart - %s is an individual’s name */ return I18N::translate('Fan chart of %s', $individual->fullName()); } diff --git a/app/Module/FixSearchAndReplace.php b/app/Module/FixSearchAndReplace.php index 3a0487bfa7..5cf907277c 100644 --- a/app/Module/FixSearchAndReplace.php +++ b/app/Module/FixSearchAndReplace.php @@ -102,7 +102,7 @@ class FixSearchAndReplace extends AbstractModule implements ModuleDataFixInterfa 'exact' => I18N::translate('Match the exact text, even if it occurs in the middle of a word.'), 'words' => I18N::translate('Match the exact text, unless it occurs in the middle of a word.'), 'wildcards' => I18N::translate('Use a “?” to match a single character, use “*” to match zero or more characters.'), - /* I18N: http://en.wikipedia.org/wiki/Regular_expression */ + /* I18N: https://en.wikipedia.org/wiki/Regular_expression */ 'regex' => I18N::translate('Regular expression'), ]; diff --git a/app/Module/FrenchHistory.php b/app/Module/FrenchHistory.php index 7999a3d48b..c7aa2f13b4 100644 --- a/app/Module/FrenchHistory.php +++ b/app/Module/FrenchHistory.php @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. * - * Original source : http://www.lorand.org/spip.php?article194 + * Original source : https://www.lorand.org/spip.php?article194 */ declare(strict_types=1); diff --git a/app/Module/MapBox.php b/app/Module/MapBox.php index 9a60100e25..660563678b 100644 --- a/app/Module/MapBox.php +++ b/app/Module/MapBox.php @@ -110,7 +110,7 @@ class MapBox extends AbstractModule implements ModuleConfigInterface, ModuleMapP return [ (object) [ 'accessToken' => $api_key, - 'attribution' => '©<a href="https://www.mapbox.com/about/maps">Mapbox</a> ©<a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> <strong><a href="https://www.mapbox.com/map-feedback">Improve this map</a></strong>', + 'attribution' => '©<a href="https://www.mapbox.com/about/maps">Mapbox</a> ©<a href="https://www.openstreetmap.org/copyrightt">OpenStreetMap</a> <strong><a href="https://www.mapbox.com/map-feedback">Improve this map</a></strong>', 'default' => false, 'id' => 'dark-v10', 'label' => 'Dark', @@ -123,7 +123,7 @@ class MapBox extends AbstractModule implements ModuleConfigInterface, ModuleMapP ], (object) [ 'accessToken' => $api_key, - 'attribution' => '©<a href="https://www.mapbox.com/about/maps">Mapbox</a> ©<a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> <strong><a href="https://www.mapbox.com/map-feedback">Improve this map</a></strong>', + 'attribution' => '©<a href="https://www.mapbox.com/about/maps">Mapbox</a> ©<a href="https://www.openstreetmap.org/copyrightt">OpenStreetMap</a> <strong><a href="https://www.mapbox.com/map-feedback">Improve this map</a></strong>', 'default' => true, 'id' => 'light-v10', 'label' => 'Light', @@ -136,7 +136,7 @@ class MapBox extends AbstractModule implements ModuleConfigInterface, ModuleMapP ], (object) [ 'accessToken' => $api_key, - 'attribution' => '©<a href="https://www.mapbox.com/about/maps">Mapbox</a> ©<a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> <strong><a href="https://www.mapbox.com/map-feedback">Improve this map</a></strong>', + 'attribution' => '©<a href="https://www.mapbox.com/about/maps">Mapbox</a> ©<a href="https://www.openstreetmap.org/copyrightt">OpenStreetMap</a> <strong><a href="https://www.mapbox.com/map-feedback">Improve this map</a></strong>', 'default' => false, 'id' => 'outdoors-v11', 'label' => 'Outdoors', @@ -149,7 +149,7 @@ class MapBox extends AbstractModule implements ModuleConfigInterface, ModuleMapP ], (object) [ 'accessToken' => $api_key, - 'attribution' => '©<a href="https://www.mapbox.com/about/maps">Mapbox</a> ©<a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> <strong><a href="https://www.mapbox.com/map-feedback">Improve this map</a></strong>', + 'attribution' => '©<a href="https://www.mapbox.com/about/maps">Mapbox</a> ©<a href="https://www.openstreetmap.org/copyrightt">OpenStreetMap</a> <strong><a href="https://www.mapbox.com/map-feedback">Improve this map</a></strong>', 'default' => false, 'id' => 'satellite-v9', 'label' => 'Satellite', @@ -162,7 +162,7 @@ class MapBox extends AbstractModule implements ModuleConfigInterface, ModuleMapP ], (object) [ 'accessToken' => $api_key, - 'attribution' => '©<a href="https://www.mapbox.com/about/maps">Mapbox</a> ©<a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> <strong><a href="https://www.mapbox.com/map-feedback">Improve this map</a></strong>', + 'attribution' => '©<a href="https://www.mapbox.com/about/maps">Mapbox</a> ©<a href="https://www.openstreetmap.org/copyrightt">OpenStreetMap</a> <strong><a href="https://www.mapbox.com/map-feedback">Improve this map</a></strong>', 'default' => false, 'id' => 'streets-v11', 'label' => 'Streets', diff --git a/app/Module/MapLinkBing.php b/app/Module/MapLinkBing.php index 94aff162a5..9bb2d749ba 100644 --- a/app/Module/MapLinkBing.php +++ b/app/Module/MapLinkBing.php @@ -63,6 +63,6 @@ class MapLinkBing extends AbstractModule implements ModuleMapLinkInterface $label = strip_tags($fact->record()->fullName()) . ' — ' . $fact->label(); $pointer = $latitude . '_' . $longitude . '_' . rawurlencode($label); - return 'http://www.bing.com/maps/?v=2&cp=' . $center . '&lvl=10&dir=0&sty=o&sp=point.' . $pointer; + return 'https://www.bing.com/maps/?v=2&cp=' . $center . '&lvl=10&dir=0&sty=o&sp=point.' . $pointer; } } diff --git a/app/Module/MapLinkGoogle.php b/app/Module/MapLinkGoogle.php index f5109d4f7d..2a08590fd8 100644 --- a/app/Module/MapLinkGoogle.php +++ b/app/Module/MapLinkGoogle.php @@ -59,6 +59,6 @@ class MapLinkGoogle extends AbstractModule implements ModuleMapLinkInterface // This URL allows us to add a pin at the location. // Other URLs allow us to set the zoom. // Is there one that does both? - return 'http://maps.google.com/maps?q=loc:' . $fact->latitude() . '+' . $fact->longitude(); + return 'https://maps.google.com/maps?q=loc:' . $fact->latitude() . '+' . $fact->longitude(); } } diff --git a/app/Module/OrdnanceSurveyHistoricMaps.php b/app/Module/OrdnanceSurveyHistoricMaps.php index da7c471af7..1352606968 100644 --- a/app/Module/OrdnanceSurveyHistoricMaps.php +++ b/app/Module/OrdnanceSurveyHistoricMaps.php @@ -71,14 +71,14 @@ class OrdnanceSurveyHistoricMaps extends AbstractModule implements ModuleMapProv { return [ (object) [ - 'attribution' => 'Historical Maps Layer, 1919-1947 from the <a href="http://maps.nls.uk/projects/api">NLS Maps API</a>', + 'attribution' => 'Historical Maps Layer, 1919-1947 from the <a href="https://maps.nls.uk/projects/api">NLS Maps API</a>', 'bounds' => [[49.852539, -7.793077], [60.894042, 1.790425]], 'default' => true, 'label' => 'Historic map of Great Britain', 'maxZoom' => 17, 'minZoom' => 2, 'subdomains' => ['0', '1', '2', '3'], - 'url' => 'http://nls-{s}.tileserver.com/nls/{z}/{x}/{y}.jpg', + 'url' => 'https://nls-{s}.tileserver.com/nls/{z}/{x}/{y}.jpg', ], ]; } diff --git a/app/Module/SiteMapModule.php b/app/Module/SiteMapModule.php index 3b76b5c332..c00554fba1 100644 --- a/app/Module/SiteMapModule.php +++ b/app/Module/SiteMapModule.php @@ -159,7 +159,7 @@ class SiteMapModule extends AbstractModule implements ModuleConfigInterface, Req */ public function title(): string { - /* I18N: Name of a module - see http://en.wikipedia.org/wiki/Sitemaps */ + /* I18N: Name of a module - see https://en.wikipedia.org/wiki/Sitemaps */ return I18N::translate('Sitemaps'); } diff --git a/app/Module/YahrzeitModule.php b/app/Module/YahrzeitModule.php index cf6cabdd73..8af5ba5fbd 100644 --- a/app/Module/YahrzeitModule.php +++ b/app/Module/YahrzeitModule.php @@ -118,7 +118,7 @@ class YahrzeitModule extends AbstractModule implements ModuleBlockInterface $hd1 = new JewishDate($hd); ++$hd1->year; $hd1->setJdFromYmd(); - // Special rules. See http://www.hebcal.com/help/anniv.html + // Special rules. See https://www.hebcal.com/help/anniv.html // Everything else is taken care of by our standard anniversary rules. if ($hd->day === 30 && $hd->month === 2 && $hd->year !== 0 && $hd1->daysInMonth() < 30) { // 30 CSH - Last day in CSH diff --git a/app/Services/DatatablesService.php b/app/Services/DatatablesService.php index c7836505fc..ad7d30a088 100644 --- a/app/Services/DatatablesService.php +++ b/app/Services/DatatablesService.php @@ -32,7 +32,7 @@ use function strtr; /** * Paginate and search queries for datatables. * - * @link http://www.datatables.net/usage/server-side + * @link https://www.datatables.net/usage/server-side */ class DatatablesService { diff --git a/app/Services/RelationshipService.php b/app/Services/RelationshipService.php index 5b171e7264..8334e1ca3d 100644 --- a/app/Services/RelationshipService.php +++ b/app/Services/RelationshipService.php @@ -2048,7 +2048,6 @@ class RelationshipService // https://webtrees.net/forums/8-translation/1200-great-xn-grandparent?limit=6&start=6 return self::legacyCousinName($up + $down - 3, $sex2); case 'es': - // Source: Wes Groleau. See http://UniGen.us/Parentesco.html & http://UniGen.us/Parentesco-D.html if ($down === $up) { return self::legacyCousinName($cousin, $sex2); } @@ -2067,7 +2066,7 @@ class RelationshipService return self::legacyCousinName2($cousin + 1, $sex2, $this->legacyNameAlgorithm('sib' . $descent)); - case 'en_AU': // See: http://en.wikipedia.org/wiki/File:CousinTree.svg + case 'en_AU': // See: https://en.wikipedia.org/wiki/File:CousinTree.svg case 'en_GB': case 'en_US': default: @@ -2076,11 +2075,11 @@ class RelationshipService return self::legacyCousinName($cousin, $sex2); case 1: if ($up > $down) { - /* I18N: %s=“fifth cousin”, etc. http://www.ancestry.com/learn/library/article.aspx?article=2856 */ + /* I18N: %s=“fifth cousin”, etc. */ return I18N::translate('%s once removed ascending', self::legacyCousinName($cousin, $sex2)); } - /* I18N: %s=“fifth cousin”, etc. http://www.ancestry.com/learn/library/article.aspx?article=2856 */ + /* I18N: %s=“fifth cousin”, etc. */ return I18N::translate('%s once removed descending', self::legacyCousinName($cousin, $sex2)); case 2: diff --git a/app/Services/UpgradeService.php b/app/Services/UpgradeService.php index e47aa80384..6f37f33a56 100644 --- a/app/Services/UpgradeService.php +++ b/app/Services/UpgradeService.php @@ -279,7 +279,7 @@ class UpgradeService * Fetching the remote file can be slow, so check infrequently, and cache the result. * Pass the current versions of webtrees, PHP and MySQL, as the response * may be different for each. The server logs are used to generate - * installation statistics which can be found at http://dev.webtrees.net/statistics.html + * installation statistics which can be found at https://dev.webtrees.net/statistics.html * * @return string */ diff --git a/app/Soundex.php b/app/Soundex.php index a676b931c5..4a7f5b3d15 100644 --- a/app/Soundex.php +++ b/app/Soundex.php @@ -3487,9 +3487,9 @@ class Soundex public static function getAlgorithms(): array { return [ - /* I18N: http://en.wikipedia.org/wiki/Soundex */ + /* I18N: https://en.wikipedia.org/wiki/Soundex */ 'std' => I18N::translate('Russell'), - /* I18N: http://en.wikipedia.org/wiki/Daitch–Mokotoff_Soundex */ + /* I18N: https://en.wikipedia.org/wiki/Daitch–Mokotoff_Soundex */ 'dm' => I18N::translate('Daitch-Mokotoff'), ]; } |
