1452c290133f79e86d6e79708b68a7463c9a913d
Fenris Wolf advanced

Fenris Wolf authored 8 years ago

1) <?php
fenris advanced

fenris authored 8 years ago

2) 	global $configuration;
3) 	include_once("source/logic/server/data.php");
fenris foo

fenris authored 8 years ago

4) 	include_once("source/logic/server/table.php");
5) 	include_once("source/logic/server/misc.php");
Fenris Wolf advanced

Fenris Wolf authored 8 years ago

6)  ?>
bfadmin-master advanced

bfadmin-master authored 8 years ago

7) <section class="section" id="phonology_and_orthography">
Fenris Wolf advanced

Fenris Wolf authored 8 years ago

8) 	<header>Phonology and Orthography</header>
9) 	<!--
10) 	<p>Folksprak uses the following characters as letters:</pa>
11) 	  -->
fenris foo

fenris authored 8 years ago

12) 	<!--
13) 	<div class="note_information">It was not easy to find a phonology system for Folksprak.</div>
14) 	  -->
Fenris Wolf advanced

Fenris Wolf authored 8 years ago

15) <?php
fenris foo

fenris authored 8 years ago

16) 	$table = new class_table
17) 	(
18) 		[
19) 			new class_column
20) 			(
21) 				"IPA-sound",
22) 				function ($row)
23) 				{
24) 					return $row["ipa"];
25) 				},
26) 				function ($value)
27) 				{
28) 					return mark($value, ["ipa"]);
29) 				}
30) 			),
31) 			/*
32) 			new class_column
33) 			(
34) 				"Type",
35) 				function ($row)
36) 				{
37) 					return $row["type"];
38) 				}
39) 			),
40) 			 */
41) 			new class_column
42) 			(
43) 				"Latin letter Representation",
44) 				function ($row)
45) 				{
46) 					return $row["latin"];
47) 				},
48) 				function ($value)
49) 				{
50) 					return mark($value, ["letter", "lang_fs"]);
51) 				}
52) 			),
53) 			new class_column
54) 			(
55) 				"Runic Representation",
56) 				function ($row)
57) 				{
58) 					return $row["runic"];
59) 				},
60) 				function ($value)
61) 				{
62) 					return mark($value, ["letter", "lang_fs", "runic"]);
63) 				}
64) 			),
65) 			new class_column
66) 			(
67) 				$configuration["languagemap"]["fs"] . " Example",
68) 				function ($row)
69) 				{
70) 					return $row["examples"]["fs"];
71) 				},
72) 				function ($value)
73) 				{
74) 					return mark(format($value), ["word", "lang_fs"]);
75) 				}
76) 			),
77) 			new class_column
78) 			(
79) 				$configuration["languagemap"][$configuration["target"]] . " Example",
80) 				function ($row) use (&$configuration)
81) 				{
82) 					return $row["examples"][$configuration["target"]];
83) 				},
84) 				function ($value) use (&$configuration)
85) 				{
86) 					return mark(format($value), ["word", "lang_" . $configuration["target"]]);
87) 				}
88) 			),
bfadmin-master advanced

bfadmin-master authored 8 years ago

89) 			/*
fenris foo

fenris authored 8 years ago

90) 			new class_column
91) 			(
92) 				"Remark",
93) 				function ($row)
94) 				{
95) 					return $row["remark"];
96) 				},
97) 				function ($value)
98) 				{
99) 					return format($value);
100) 				}
101) 			),
bfadmin-master advanced

bfadmin-master authored 8 years ago

102) 			 */
fenris foo

fenris authored 8 years ago

103) 		],
104) 		read_json("source/data/phonology_and_orthography.json")
105) 	);
106) 	$table->generate();
Fenris Wolf advanced

Fenris Wolf authored 8 years ago

107)  ?>
Raymund Zacharias minor linguistic adjustment...

Raymund Zacharias authored 8 years ago

108)  	<div class="note_information">It is permitted to pronounce the sounds a little differently, for example <span class="letter lang_fs">v</span> as <span class="ipa">ʋ</span> or <span class="letter lang_fs">s</span> as <span class="ipa">z</span>, whilst the sounds from the table above are the default.</div>
fenris foo

fenris authored 8 years ago

109) 	<div class="note_warning">The runic writing is not meant to be used in regular texts. Use it only for purposes like art, etc.!</div>