Changed more links to English language

This commit is contained in:
Steffen Lange 2020-01-27 18:25:11 +01:00
parent aa45832818
commit 7c85eb6464
5 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@ class GpgWin extends PatchBase {
parent::__construct('Gpg4win Initiative', 'GNU Privacy Guard for Windows', 'https://www.gpg4win.de/'); parent::__construct('Gpg4win Initiative', 'GNU Privacy Guard for Windows', 'https://www.gpg4win.de/');
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://www.gpg4win.de/get-gpg4win-de.html')) if ($this->fetch('https://www.gpg4win.de/get-gpg4win.html'))
return $this->parse('/<h2>Download Gpg4win ([\d\.]+) \(/'); return $this->parse('/<h2>Download Gpg4win ([\d\.]+) \(/');
return false; return false;
} }

View file

@ -5,7 +5,7 @@ class MozillaFirefox extends PatchBase {
parent::__construct('Mozilla', 'Firefox', 'https://www.mozilla.org/en-US/firefox/all/'); parent::__construct('Mozilla', 'Firefox', 'https://www.mozilla.org/en-US/firefox/all/');
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://www.mozilla.org/de/firefox/all/')) if ($this->fetch('https://www.mozilla.org/en-US/firefox/all/'))
return $this->parse('/data-latest-firefox="([\d\.]+)"/'); return $this->parse('/data-latest-firefox="([\d\.]+)"/');
return false; return false;
} }

View file

@ -5,7 +5,7 @@ class MozillaFirefoxESR extends PatchBase {
parent::__construct('Mozilla', 'Firefox ESR', 'https://www.mozilla.org/en-US/firefox/organizations/all/'); parent::__construct('Mozilla', 'Firefox ESR', 'https://www.mozilla.org/en-US/firefox/organizations/all/');
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://www.mozilla.org/de/firefox/organizations/all/')) if ($this->fetch('https://www.mozilla.org/en-US/firefox/organizations/all/'))
return $this->parse('/data-esr-versions="([\d\.]+)[ "]/'); return $this->parse('/data-esr-versions="([\d\.]+)[ "]/');
return false; return false;
} }

View file

@ -5,7 +5,7 @@ class MozillaThunderbird extends PatchBase {
parent::__construct('Mozilla', 'Thunderbird', 'https://www.thunderbird.net/en-US/thunderbird/all/'); parent::__construct('Mozilla', 'Thunderbird', 'https://www.thunderbird.net/en-US/thunderbird/all/');
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://www.thunderbird.net/de/thunderbird/all/')) if ($this->fetch('https://www.thunderbird.net/en-US/thunderbird/all/'))
return $this->parse('_//download\.mozilla\.org/\?product=thunderbird-([\d\.]+)(-SSL)?&(amp;)?os=win&(amp;)?lang=en-US_'); return $this->parse('_//download\.mozilla\.org/\?product=thunderbird-([\d\.]+)(-SSL)?&(amp;)?os=win&(amp;)?lang=en-US_');
return false; return false;
} }

View file

@ -5,7 +5,7 @@ class UBlock extends PatchBase {
parent::__construct('Raymond Hill', 'uBlock Origin', 'https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/'); parent::__construct('Raymond Hill', 'uBlock Origin', 'https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/');
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://addons.mozilla.org/de/firefox/addon/ublock-origin/')) if ($this->fetch('https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/'))
return $this->parse('/"version":"([\d\.]+)"/'); return $this->parse('/"version":"([\d\.]+)"/');
return false; return false;
} }