Compare commits
9 Commits
Author | SHA1 | Date |
---|---|---|
Tobias Diekershoff | ab1711e68e | |
Tobias Diekershoff | 3f7be4e9bd | |
Tobias Diekershoff | e755ea4561 | |
Tobias Diekershoff | 6745464253 | |
Tobias Diekershoff | b0da756e2e | |
Tobias Diekershoff | e35339e151 | |
Tobias Diekershoff | 5a24ff42f2 | |
Tobias Diekershoff | b0441ce312 | |
Tobias Diekershoff | 44763ecc9e |
|
@ -0,0 +1,27 @@
|
|||
# ADDON mahjong
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica mahjong addon package.
|
||||
#
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \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"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: mahjong.php:19
|
||||
msgid "Mahjong Game"
|
||||
msgstr ""
|
||||
|
||||
#: mahjong.php:37
|
||||
#, php-format
|
||||
msgid "Game credits: %smah - Mahjong Solitaire Game%s by ffalt (MIT license)."
|
||||
msgstr ""
|
|
@ -0,0 +1,28 @@
|
|||
# ADDON mahjong
|
||||
# Copyright (C)
|
||||
# This file is distributed under the same license as the Friendica mahjong addon package.
|
||||
#
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \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"
|
||||
"Language: \n"
|
||||
"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"
|
||||
msgstr "Mahjong Spiel"
|
||||
|
||||
#: mahjong.php:37
|
||||
#, php-format
|
||||
msgid "Game credits: %smah - Mahjong Solitaire Game%s by ffalt (MIT license)."
|
||||
msgstr "Spiel Credits: %smah - Mahjong Solitaire Game%s von ffalt (MIT Lizenz)."
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
if(! function_exists("string_plural_select_de")) {
|
||||
function string_plural_select_de($n){
|
||||
$n = intval($n);
|
||||
return intval($n != 1);
|
||||
}}
|
||||
$a->strings['Mahjong Game'] = 'Mahjong Spiel';
|
||||
$a->strings['Game credits: %smah - Mahjong Solitaire Game%s by ffalt (MIT license).'] = 'Spiel Credits: %smah - Mahjong Solitaire Game%s von ffalt (MIT Lizenz).';
|
|
@ -0,0 +1,5 @@
|
|||
#mahcredits {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
font-size: 0.8em;
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
/**
|
||||
* Name: A Mahjong Solitaire Game
|
||||
* Description: A Mahjong Solitaire browsergame for your users as time sink. The gamy was developed by ffalt and is MIT licensed.
|
||||
* Version: 1.0
|
||||
* Version: 1.1
|
||||
* Author: Tobias Diekershoff <https://f.diekershoff.de/u/tobias>
|
||||
*/
|
||||
|
||||
|
@ -34,8 +34,10 @@ function mahjong_content(&$a) {
|
|||
</div>
|
||||
</app-root>
|
||||
EOT;
|
||||
$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>';
|
||||
DI::page()->registerStylesheet(__DIR__ . '/mahjong.css');
|
||||
return $o;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue