Compare commits

...

3 Commits

4 changed files with 10 additions and 16 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-20 08:08+0100\n"
"POT-Creation-Date: 2022-02-22 10:32+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -16,7 +16,6 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: mahjong.php:19
msgid "Mahjong Game"
@ -24,7 +23,5 @@ msgstr ""
#: mahjong.php:37
#, php-format
msgid ""
"Game credits: <a href=\"%s\" target=\"_new\">mah - Mahjong Solitaire Game</"
"a> by ffalt (MIT license)."
msgid "Game credits: %smah - Mahjong Solitaire Game%s by ffalt (MIT license)."
msgstr ""

View File

@ -8,11 +8,11 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-20 08:08+0100\n"
"POT-Creation-Date: 2022-02-22 10:32+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Tobias Diekershoff <tobias.diekershoff@gmx.net>\n"
"Language-Team: de\n"
"Language: de"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@ -24,8 +24,5 @@ msgstr "Mahjong Spiel"
#: mahjong.php:37
#, php-format
msgid ""
"Game credits: <a href=\"%s\" target=\"_new\">mah - Mahjong Solitaire Game</"
"a> by ffalt (MIT license)."
msgstr "Credits zum Spiel: <a href=\"%s\" target=\"_new\">mah - Mahjong Solitaire Game</"
"a> von ffalt (MIT Lizenz)."
msgid "Game credits: %smah - Mahjong Solitaire Game%s by ffalt (MIT license)."
msgstr "Spiel Credits: %smah - Mahjong Solitaire Game%s von ffalt (MIT Lizenz)."

View File

@ -6,4 +6,4 @@ function string_plural_select_de($n){
return intval($n != 1);
}}
$a->strings['Mahjong Game'] = 'Mahjong Spiel';
$a->strings['Game credits: <a href="%s" target="_new">mah - Mahjong Solitaire Game</a> by ffalt (MIT license).'] = 'Credits zum Spiel: <a href="%s" target="_new">mah - Mahjong Solitaire Game</a> von ffalt (MIT Lizenz).';
$a->strings['Game credits: %smah - Mahjong Solitaire Game%s by ffalt (MIT license).'] = 'Spiel Credits: %smah - Mahjong Solitaire Game%s von ffalt (MIT Lizenz).';

View File

@ -34,7 +34,7 @@ function mahjong_content(&$a) {
</div>
</app-root>
EOT;
$o .= '<div id="mahcredits">' . DI::l10n()->t('Game credits: <a href="%s" target="_new">mah - Mahjong Solitaire Game</a> by ffalt (MIT license).', 'https://github.com/ffalt/mah') . '</div>';
$o .= '<div id="mahcredits">' . DI::l10n()->t('Game credits: %smah - Mahjong Solitaire Game%s by ffalt (MIT license).', '<a href="https://github.com/ffalt/mah" target="_new">', '</a>') . '</div>';
DI::page()['htmlhead'] .= '<script src="'.$basepath.'/runtime.js" type="module"></script>';
DI::page()['htmlhead'] .= '<script src="'.$basepath.'/polyfills.js" type="module"></script>';
DI::page()['htmlhead'] .= '<script src="'.$basepath.'/main.js" type="module"></script>';