Skip to content

Commit bf7e1d3

Browse files
authored
Merge pull request #793 from keymanapp/chore/localize-to-keymancom
chore: use keymancom instead of keyman for localization site
2 parents 15b6c09 + fbc550b commit bf7e1d3

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

_includes/2020/templates/Body.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,5 @@ class Body {
99
static function render($fields = []) {
1010
echo '<div class="main">';
1111
echo '<div id="section2"><div class="wrapper">';
12-
echo <<<END
13-
<div id="locale-not-internationalized">This page has not yet been updated for languages other than English. <a href='/about/get-involved'>Help us do this</a></div>
14-
<div id="locale-not-localized">This page is not yet available in your selected language. <a href='https://translate.keyman.com'>Help us translate this page</a></div>
15-
END;
1612
}
1713
}

_includes/2020/templates/Foot.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
declare(strict_types=1);
3-
43
namespace Keyman\Site\com\keyman\templates;
54

5+
require_once(__DIR__ . "/../../autoload.php");
66
use Keyman\Site\Common\ImageRandomizer;
77
use Keyman\Site\Common\KeymanVersion;
88
use Keyman\Site\Common\KeymanHosts;
@@ -17,7 +17,7 @@ static function render(array $fields = []) {
1717
?>
1818

1919
<div id="locale-not-internationalized">This page has not yet been updated for languages other than English. <a href='/about/get-involved'>Can you help make this happen?</a></div>
20-
<div id="locale-not-localized">This page is not yet available in your selected language. <a href='https://translate.keyman.com'>Help us translate this page</a></div>
20+
<div id="locale-not-localized">This page is not yet available in your selected language. <a href='https://translate.keyman.com/project/keymancom'>Help us translate this page</a></div>
2121

2222
</div>
2323
</div>

0 commit comments

Comments
 (0)