git.schokokeks.org
Repositories
Help
Report an Issue
fs-draft.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
b3c1b9b
Branches
Tags
master
midgard
vorlage
fs-draft.git
source
content
declension.html.php
added some drafts and an example text
Christian Fraß
commited
b3c1b9b
at 2016-06-05 19:05:53
declension.html.php
Blame
History
Raw
<section class="section" id="declension"> <header>Declension</header> <?php compose ( [ "numeri", "cases", "definiteness", ] ); ?> <p>The following table summarizes the information of this section:</p> <?php $data = [ [ "nominative", ["original" => ["en dag"], "translated" => ["a day"]], ["original" => ["de dag"], "translated" => ["the day"]], ["original" => ["dager"], "translated" => ["days"]], ["original" => ["de dager"], "translated" => ["the days"]], ], [ "accusative", ["original" => ["en dag"], "translated" => ["a day"]], ["original" => ["de dag"], "translated" => ["the day"]], ["original" => ["dager"], "translated" => ["days"]], ["original" => ["de dager"], "translated" => ["the days"]], ], [ "dative", ["original" => ["to en dag"], "translated" => ["(to) a day"]], ["original" => ["to de dag"], "translated" => ["(to) the day"]], ["original" => ["to dager"], "translated" => ["(to) days"]], ["original" => ["to de dager"], "translated" => ["(to) the days"]], ], [ "genitive", ["original" => ["en dag(e)s","av en dag"], "translated" => ["a days","of a day"]], ["original" => ["de dag(e)s","av de dag"], "translated" => ["the days","of the day"]], ["original" => ["dager(e)s","av dager"], "translated" => ["days'","of days"]], ["original" => ["de dager(e)s","av de dager"], "translated" => ["the days'","of the days"]], ], ]; (new class_table ( [ new class_column ( "Case", function ($row) {return $row[0];} ), new class_column ( "singular indefinite", function ($row) {return $row[1];}, _bar("word") ), new class_column ( "singular definite", function ($row) {return $row[2];}, _bar("word") ), new class_column ( "plural indefinite", function ($row) {return $row[3];}, _bar("word") ), new class_column ( "plural definite", function ($row) {return $row[4];}, _bar("word") ), ], $data ))->generate(); ?> <p><span class="sentence lang_fs">Vi kön see de huses vindöger.</span> ~ <span class="sentence lang_en">We can see the houses' windows.</span></p> </section>