Skip to content

Commit 604fd4d

Browse files
authored
Fix URL where the XSD can be retrieved from (#53)
1 parent 2cacb0b commit 604fd4d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Exporter/Xml.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Xml extends Exporter
1111
*/
1212
public static function getDescription()
1313
{
14-
return 'Build an XML file - schema available at http://mlocati.github.io/cldr-to-gettext-plural-rules/GettextLanguages.xsd';
14+
return 'Build an XML file - schema available at https://php-gettext.github.io/Languages/GettextLanguages.xsd';
1515
}
1616

1717
/**
@@ -25,7 +25,7 @@ protected static function toStringDoWithOptions($languages, array $options)
2525
$xml->loadXML('<languages
2626
xmlns="https://github.com/mlocati/cldr-to-gettext-plural-rules"
2727
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28-
xsi:schemaLocation="https://github.com/mlocati/cldr-to-gettext-plural-rules http://mlocati.github.io/cldr-to-gettext-plural-rules/GettextLanguages.xsd"
28+
xsi:schemaLocation="https://github.com/mlocati/cldr-to-gettext-plural-rules https://php-gettext.github.io/Languages/GettextLanguages.xsd"
2929
/>');
3030
$xLanguages = $xml->firstChild;
3131
foreach ($languages as $language) {

0 commit comments

Comments
 (0)