270847a5a6badc57411c713b4d8646dc4d18a577
Fenris Wolf advanced

Fenris Wolf authored 7 years ago

source/structure/personal_pronouns.html.php   1) <?php
fenris advanced

fenris authored 7 years ago

source/structure/personal_pronouns.html.php   2) global $configuration;
source/structure/personal_pronouns.html.php   3) include_once("source/logic/server/data.php");
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php     4) include_once("source/logic/server/sql.php");
fenris foo

fenris authored 7 years ago

source/structure/personal_pronouns.html.php   5) include_once("source/logic/server/table.php");
Fenris Wolf advanced

Fenris Wolf authored 7 years ago

source/structure/personal_pronouns.html.php   6) 
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php     7) /*
fenris foo

fenris authored 7 years ago

source/structure/personal_pronouns.html.php   8) function convert_persona($persona) {return [0 => "impersonal", 1 => "1st person", 2 => "2nd person", 3 => "3rd person"][$persona];}
source/structure/personal_pronouns.html.php   9) function convert_numerus($numerus) {return [0 => null, 1 => "singular", 2 => "plural"][$numerus];}
source/structure/personal_pronouns.html.php  10) function convert_genus($genus) {return [0 => "common", 1 => "masculine", 2 => "feminine", 3 => "neuter"][$genus];}
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    11)  */
Fenris Wolf advanced

Fenris Wolf authored 7 years ago

source/structure/personal_pronouns.html.php  12)  ?>
bfadmin-master advanced

bfadmin-master authored 7 years ago

source/structure/personal_pronouns.html.php  13) <section class="subsection" id="personal_pronouns">
Fenris Wolf advanced

Fenris Wolf authored 7 years ago

source/structure/personal_pronouns.html.php  14) 	<header>Personal Pronouns</header>
source/structure/personal_pronouns.html.php  15) <?php
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    16) 	$data_common = read_json("source/data/common.json");
source/content/personal_pronouns.html.php    17) 	$data_pronouns = read_json("source/data/personal_pronouns.json");
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    18) 	
source/content/personal_pronouns.html.php    19) 	$data = $data_pronouns["words"];
source/content/personal_pronouns.html.php    20) 	{
source/content/personal_pronouns.html.php    21) 		{
Christian Fraß improved look of pronoun-table

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    22) 			if (false)
source/content/personal_pronouns.html.php    23) 			{
source/content/personal_pronouns.html.php    24) 				$data = sql_cross($data, $data_common["counts"]);
source/content/personal_pronouns.html.php    25) 				$data = sql_select($data, function ($row) {return ($row["count_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    26) 				$data = sql_delete($data, ["count_id", "id"]);
source/content/personal_pronouns.html.php    27) 				$data = sql_rename($data, "name", "count_name");
source/content/personal_pronouns.html.php    28) 			}
source/content/personal_pronouns.html.php    29) 			else
source/content/personal_pronouns.html.php    30) 			{
source/content/personal_pronouns.html.php    31) 				$data = sql_rename($data, "count_id", "count_name");
source/content/personal_pronouns.html.php    32) 			}
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    33) 		}
source/content/personal_pronouns.html.php    34) 		{
Christian Fraß improved look of pronoun-table

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    35) 			if (false)
source/content/personal_pronouns.html.php    36) 			{
source/content/personal_pronouns.html.php    37) 				$data = sql_cross($data, $data_common["persons"]);
source/content/personal_pronouns.html.php    38) 				$data = sql_select($data, function ($row) {return ($row["person_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    39) 				$data = sql_delete($data, ["person_id", "id"]);
source/content/personal_pronouns.html.php    40) 				$data = sql_rename($data, "name", "person_name");
source/content/personal_pronouns.html.php    41) 			}
source/content/personal_pronouns.html.php    42) 			else
source/content/personal_pronouns.html.php    43) 			{
source/content/personal_pronouns.html.php    44) 				$data = sql_rename($data, "person_id", "person_name");
source/content/personal_pronouns.html.php    45) 			}
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    46) 		}
source/content/personal_pronouns.html.php    47) 		{
Christian Fraß improved look of pronoun-table

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    48) 			if (false)
source/content/personal_pronouns.html.php    49) 			{
source/content/personal_pronouns.html.php    50) 				$data = sql_cross($data, $data_common["genders"]);
source/content/personal_pronouns.html.php    51) 				$data = sql_select($data, function ($row) {return ($row["gender_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    52) 				$data = sql_delete($data, ["gender_id", "id"]);
source/content/personal_pronouns.html.php    53) 				$data = sql_rename($data, "name", "gender_name");
source/content/personal_pronouns.html.php    54) 			}
source/content/personal_pronouns.html.php    55) 			else
source/content/personal_pronouns.html.php    56) 			{
source/content/personal_pronouns.html.php    57) 				$data = sql_rename($data, "gender_id", "gender_name");
source/content/personal_pronouns.html.php    58) 			}
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    59) 		}
source/content/personal_pronouns.html.php    60) 		{
Christian Fraß improved look of pronoun-table

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    61) 			if (false)
source/content/personal_pronouns.html.php    62) 			{
source/content/personal_pronouns.html.php    63) 				$data = sql_cross($data, $data_pronouns["types"]);
source/content/personal_pronouns.html.php    64) 				$data = sql_select($data, function ($row) {return ($row["type_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    65) 				$data = sql_delete($data, ["type_id", "id"]);
source/content/personal_pronouns.html.php    66) 				$data = sql_rename($data, "name", "type_name");
source/content/personal_pronouns.html.php    67) 			}
source/content/personal_pronouns.html.php    68) 			else
source/content/personal_pronouns.html.php    69) 			{
source/content/personal_pronouns.html.php    70) 				$data = sql_rename($data, "type_id", "type_name");
source/content/personal_pronouns.html.php    71) 			}
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    72) 		}
source/content/personal_pronouns.html.php    73) 		{
Christian Fraß included developer-notes; a...

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    74) 			if (false)
Christian Fraß improved look of pronoun-table

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    75) 			{
source/content/personal_pronouns.html.php    76) 				$data = sql_cross($data, $data_common["cases"]);
source/content/personal_pronouns.html.php    77) 				$data = sql_select($data, function ($row) {return ($row["case_id"] == $row["id"]);});
source/content/personal_pronouns.html.php    78) 				$data = sql_delete($data, ["case_id", "id"]);
source/content/personal_pronouns.html.php    79) 				$data = sql_rename($data, "name", "case_name");
source/content/personal_pronouns.html.php    80) 			}
source/content/personal_pronouns.html.php    81) 			else
source/content/personal_pronouns.html.php    82) 			{
source/content/personal_pronouns.html.php    83) 				$data = sql_rename($data, "case_id", "case_name");
source/content/personal_pronouns.html.php    84) 			}
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    85) 		}
source/content/personal_pronouns.html.php    86) 	}
source/content/personal_pronouns.html.php    87) 	
Christian Fraß improved look of pronoun-table

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    88) 	{
Christian Fraß added reflexive-nominative...

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    89) 		// $data = sql_select($data, function ($row) {return ($row["type_name"] == "nor");});
Christian Fraß update

Christian Fraß authored 6 years ago

source/content/personal_pronouns.html.php    90) 		$data = sql_select($data, function ($row) {global $configuration; return (($row["language_id"] == "flk") or ($row["language_id"] == $configuration["target"]));});
Christian Fraß improved look of pronoun-table

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    91) 	}
source/content/personal_pronouns.html.php    92) 	
fenris foo

fenris authored 7 years ago

source/structure/personal_pronouns.html.php  93) 	$table = new class_table
source/structure/personal_pronouns.html.php  94) 	(
source/structure/personal_pronouns.html.php  95) 		[
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php    96) 			new class_column("Language", "language_id"),
source/content/personal_pronouns.html.php    97) 			new class_column("Count", "count_name"),
source/content/personal_pronouns.html.php    98) 			new class_column("Person", "person_name"),
source/content/personal_pronouns.html.php    99) 			new class_column("Gender", "gender_name"),
source/content/personal_pronouns.html.php   100) 			new class_column("Type", "type_name"),
source/content/personal_pronouns.html.php   101) 			new class_column("Case", "case_name"),
source/content/personal_pronouns.html.php   102) 			new class_column("Words", "words", function ($x) {return json_encode($x);}),
fenris foo

fenris authored 7 years ago

source/structure/personal_pronouns.html.php 103) 		],
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   104) 		$data
source/content/personal_pronouns.html.php   105) 	);
source/content/personal_pronouns.html.php   106) 	
Christian Fraß minor changes; move to kora...

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   107) 	$table->snap
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   108) 	(
source/content/personal_pronouns.html.php   109) 		[
source/content/personal_pronouns.html.php   110) 			"label_vertical" => function ($column) {return "";},
source/content/personal_pronouns.html.php   111) 			"columns_vertical" =>
source/content/personal_pronouns.html.php   112) 			[
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   113) 				$table->columns_get()[1],
source/content/personal_pronouns.html.php   114) 				$table->columns_get()[2],
source/content/personal_pronouns.html.php   115) 				$table->columns_get()[3],
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   116) 			],
source/content/personal_pronouns.html.php   117) 			"label_horizontal" => function ($column, $value) {return $value;},
source/content/personal_pronouns.html.php   118) 			"columns_horizontal" =>
source/content/personal_pronouns.html.php   119) 			[
Christian Fraß included developer-notes; a...

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   120) 				$table->columns_get()[4],
Christian Fraß repaired tables in content

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   121) 				$table->columns_get()[5],
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   122) 			],
source/content/personal_pronouns.html.php   123) 			"columns_data" =>
source/content/personal_pronouns.html.php   124) 			[
source/content/personal_pronouns.html.php   125) 				$table->columns_get()[0],
source/content/personal_pronouns.html.php   126) 				$table->columns_get()[6],
source/content/personal_pronouns.html.php   127) 			],
source/content/personal_pronouns.html.php   128) 			"data_aggregator" => function ($values)
source/content/personal_pronouns.html.php   129) 			{
source/content/personal_pronouns.html.php   130) 				return $values;
source/content/personal_pronouns.html.php   131) 			},
Christian Fraß added transition-data and t...

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   132) 			"data_formatter" => function_chain
source/content/personal_pronouns.html.php   133) 			(
source/content/personal_pronouns.html.php   134) 				[
source/content/personal_pronouns.html.php   135) 					object_from_array("language_id"),
source/content/personal_pronouns.html.php   136) 					object_map(object_attribute("words")),
source/content/personal_pronouns.html.php   137) 					format_correlation("type_word"),
source/content/personal_pronouns.html.php   138) 				]
source/content/personal_pronouns.html.php   139) 			),
Christian Fraß better table-snap

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   140) 		]
Christian Fraß minor changes; move to kora...

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   141) 	)->generate();
Fenris Wolf advanced

Fenris Wolf authored 7 years ago

source/structure/personal_pronouns.html.php 142)  ?>
Christian Fraß included developer-notes; a...

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   143) 	<div class="note note_information">
source/content/personal_pronouns.html.php   144) 		<span class="note_content">
Christian Fraß added transition-data and t...

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   145) 			<p>Since the word <?php echo(mark("man", ["type_word", "lang_fs"])); ?> simply means <?php echo(mark("human being", ["type_word", "lang_en"])); ?>, it can be understood as an implicit way to express an abstract actor; similar words like <?php echo(mark("lüd", ["type_word", "lang_fs"])); ?> (<?php echo(mark("people", ["type_word", "lang_en"])); ?>) or <?php echo(mark("di", ["type_word", "lang_fs"])); ?> can be used as well.</p>
Christian Fraß included developer-notes; a...

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   146) 		</span>
source/content/personal_pronouns.html.php   147) 	</div>
source/content/personal_pronouns.html.php   148) 	<div class="note note_information">
source/content/personal_pronouns.html.php   149) 		<span class="note_content">
Christian Fraß added transition-data and t...

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   150) 			<p>The honorific salutation is expressed by the plural form <?php echo(mark("je", ["type_word", "lang_fs"])); ?>; however it should be avoided in usual speech in favor of the singular form <?php echo(mark("du", ["type_word", "lang_fs"])); ?>.</p>
Christian Fraß included developer-notes; a...

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   151) 		</span>
source/content/personal_pronouns.html.php   152) 	</div>
source/content/personal_pronouns.html.php   153) 	<div class="note note_information">
source/content/personal_pronouns.html.php   154) 		<span class="note_content">
Christian Fraß update

Christian Fraß authored 6 years ago

source/content/personal_pronouns.html.php   155) 			<p>A reflexive genitive can be formed by inserting the word <?php echo(mark("egen", ["word", "lang_fs"])); ?> (<?php echo(mark("own", ["type_word", "lang_en"])); ?>), for example <?php echo(format_correlation("type_sentence")(["flk" => ["Han (A) hav givt to ham (B) hans egen buk."], "eng" => ["He (A) has given (to) him (B) his own book."]])); ?> (A's book was given to B).</p>
Christian Fraß included developer-notes; a...

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   156) 		</span>
source/content/personal_pronouns.html.php   157) 	</div>
Christian Fraß added reflexive-nominative...

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   158) 	<div class="note note_reasoning">
source/content/personal_pronouns.html.php   159) 		<input type="checkbox" class="note_hide" title="click to show/hide" id="note_02"/>
source/content/personal_pronouns.html.php   160) 		<label class="note_label note_label_show" for="note_02">show</label>
source/content/personal_pronouns.html.php   161) 		<label class="note_label note_label_hide" for="note_02">hide</label>
source/content/personal_pronouns.html.php   162) 		<span class="note_content">
Christian Fraß added transition-data and t...

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   163) 			<p>When finding appropriate personal pronouns, the most intricate cases were the 3rd person singular and the 2nd person plural; both turned out to be very diverse among the modern Germanic languages. While for the 2nd person plural we could find a sufficient satisfying solution after a while, the 3rd person singular kept defying. In the end we came to the settlement to use a Swedish-like solution including the pronoun <?php echo(mark("hen", ["type_word", "lang_fs"])); ?>, which is not bound to any sexus so that it can be used for actors in general.</p>
Christian Fraß added reflexive-nominative...

Christian Fraß authored 7 years ago

source/content/personal_pronouns.html.php   164) 		</span>
source/content/personal_pronouns.html.php   165) 	</div>