77d8eec65a6d272eeee78097bf5a526d3a45059d
bfadmin-master advanced

bfadmin-master authored 8 years ago

source/structure/tempora_and_modi.html.php  1) <section class="subsection" id="tempora_and_modi">
source/structure/tempora_and_modi.html.php  2) 	<header>Tempora and Modi</header>
source/structure/tempora_and_modi.html.php  3) 	<p>The following table lists the timeforms found in Folksprak and how they are built in the <span class="grammarterm">indicative</span> mode.</p>
source/structure/tempora_and_modi.html.php  4) <?php
source/structure/tempora_and_modi.html.php  5) $table = new class_table
source/structure/tempora_and_modi.html.php  6) (
source/structure/tempora_and_modi.html.php  7) 	[
source/structure/tempora_and_modi.html.php  8) 		new class_column
source/structure/tempora_and_modi.html.php  9) 		(
source/structure/tempora_and_modi.html.php 10) 			"Name",
source/structure/tempora_and_modi.html.php 11) 			function ($row)
source/structure/tempora_and_modi.html.php 12) 			{
source/structure/tempora_and_modi.html.php 13) 				return ["name" => $row["name"], "remark" => $row["remark"]];
source/structure/tempora_and_modi.html.php 14) 			},
source/structure/tempora_and_modi.html.php 15) 			function ($value)
source/structure/tempora_and_modi.html.php 16) 			{
source/structure/tempora_and_modi.html.php 17) 				$output = $value["name"];
source/structure/tempora_and_modi.html.php 18) 				if ($value["remark"] != null)
source/structure/tempora_and_modi.html.php 19) 				{
source/structure/tempora_and_modi.html.php 20) 					$output .= (" " . "(" . $value["remark"] . ")");
source/structure/tempora_and_modi.html.php 21) 				}
source/structure/tempora_and_modi.html.php 22) 				return $output;
source/structure/tempora_and_modi.html.php 23) 			}
source/structure/tempora_and_modi.html.php 24) 		),
source/structure/tempora_and_modi.html.php 25) 		new class_column
source/structure/tempora_and_modi.html.php 26) 		(
source/structure/tempora_and_modi.html.php 27) 			"Description",
source/structure/tempora_and_modi.html.php 28) 			function ($row)
source/structure/tempora_and_modi.html.php 29) 			{
source/structure/tempora_and_modi.html.php 30) 				return $row["description"];
source/structure/tempora_and_modi.html.php 31) 			}
source/structure/tempora_and_modi.html.php 32) 		),
source/structure/tempora_and_modi.html.php 33) 		new class_column
source/structure/tempora_and_modi.html.php 34) 		(
source/structure/tempora_and_modi.html.php 35) 			"Scheme",
source/structure/tempora_and_modi.html.php 36) 			function ($row)
source/structure/tempora_and_modi.html.php 37) 			{
source/structure/tempora_and_modi.html.php 38) 				return $row["scheme"];
source/structure/tempora_and_modi.html.php 39) 			},
source/structure/tempora_and_modi.html.php 40) 			function ($value)
source/structure/tempora_and_modi.html.php 41) 			{
source/structure/tempora_and_modi.html.php 42) 				return format($value, ["word", "lang_fs"]);
source/structure/tempora_and_modi.html.php 43) 			}
source/structure/tempora_and_modi.html.php 44) 		),
source/structure/tempora_and_modi.html.php 45) 		new class_column
source/structure/tempora_and_modi.html.php 46) 		(
source/structure/tempora_and_modi.html.php 47) 			"Example",
source/structure/tempora_and_modi.html.php 48) 			function ($row)
source/structure/tempora_and_modi.html.php 49) 			{
source/structure/tempora_and_modi.html.php 50) 				global $configuration;
source/structure/tempora_and_modi.html.php 51) 				return ["original" => [$row["example"]["original"]], "translated" => $row["example"]["translations"][$configuration["target"]]];
source/structure/tempora_and_modi.html.php 52) 			},
source/structure/tempora_and_modi.html.php 53) 			_bar("sentence")
source/structure/tempora_and_modi.html.php 54) 		),
source/structure/tempora_and_modi.html.php 55) 	],
source/structure/tempora_and_modi.html.php 56) 	array_slice(read_json("source/data/timeforms.json"), 0, 3)
source/structure/tempora_and_modi.html.php 57) );
source/structure/tempora_and_modi.html.php 58) $table->generate();
source/structure/tempora_and_modi.html.php 59) ?>
Raymund Zacharias minor linguistic adjustment...

Raymund Zacharias authored 8 years ago

source/structure/tempora_and_modi.html.php 60) 	<p>Since these forms are built with auxiliary verbs, they can be combined straightforward to form complex expressions. For example <span class="sentence lang_fs">ek skal hava skrivt.</span> means <span class="sentence lang_en">i will have written.</span> and <span class="sentence lang_fs">ek hav skalt skriva.</span> means sth. like <span class="sentence lang_en">i was going to write.</span>.</p>