Merge "docs: Fix typo"
[mediawiki.git] / languages / messages / MessagesLv.php
blobc1789c6d53da316ca1f4936b59acbe2fd1804956
1 <?php
2 /** Latvian (latviešu)
4 * @file
5 * @ingroup Languages
7 * @author Admresdeserv.
8 * @author Dark Eagle
9 * @author Edgars2007
10 * @author FnTmLV
11 * @author Geimeris
12 * @author Geitost
13 * @author Gleb Borisov
14 * @author GreenZeb
15 * @author Kaganer
16 * @author Karlis
17 * @author Kikos
18 * @author Knakts
19 * @author Marozols
20 * @author Papuass
21 * @author Reedy
22 * @author Srolanh
23 * @author Xil
24 * @author Yyy
25 * @author לערי ריינהארט
28 /**
29 * @copyright Copyright © 2006, Niklas Laxström
30 * @license GPL-2.0-or-later
33 $linkTrail = '/^([a-zA-ZĀāČčĒēĢģĪīĶķĻļŅņŠšŪūŽž]+)(.*)$/sDu';
35 $namespaceNames = [
36 NS_MEDIA => 'Media',
37 NS_SPECIAL => 'Special',
38 NS_TALK => 'Diskusija',
39 NS_USER => 'Dalībnieks',
40 NS_USER_TALK => 'Dalībnieka_diskusija',
41 NS_PROJECT_TALK => '{{grammar:ģenitīvs|$1}}_diskusija',
42 NS_FILE => 'Attēls',
43 NS_FILE_TALK => 'Attēla_diskusija',
44 NS_MEDIAWIKI => 'MediaWiki',
45 NS_MEDIAWIKI_TALK => 'MediaWiki_diskusija',
46 NS_TEMPLATE => 'Veidne',
47 NS_TEMPLATE_TALK => 'Veidnes_diskusija',
48 NS_HELP => 'Palīdzība',
49 NS_HELP_TALK => 'Palīdzības_diskusija',
50 NS_CATEGORY => 'Kategorija',
51 NS_CATEGORY_TALK => 'Kategorijas_diskusija',
54 $namespaceAliases = [
55 'Lietotājs' => NS_USER,
56 'Lietotāja_diskusija' => NS_USER_TALK,
59 $namespaceGenderAliases = [
60 NS_USER => [ 'male' => 'Dalībnieks', 'female' => 'Dalībniece' ],
61 NS_USER_TALK => [ 'male' => 'Dalībnieka_diskusija', 'female' => 'Dalībnieces_diskusija' ]
64 $separatorTransformTable = [ ',' => "\u{00A0}", '.' => ',' ];
66 /**
67 * A list of date format preference keys, which can be selected in user
68 * preferences. New preference keys can be added, provided they are supported
69 * by the language class's timeanddate(). Only the 5 keys listed below are
70 * supported by the wikitext converter (parser/DateFormatter.php).
72 * The special key "default" is an alias for either dmy or mdy depending on
73 * $wgAmericanDates
75 $datePreferences = [
76 'default',
77 'ydm',
78 'mdy',
79 'dmy',
80 'ymd',
81 'ISO 8601',
84 /**
85 * The date format to use for generated dates in the user interface.
86 * This may be one of the above date preferences, or the special value
87 * "dmy or mdy", which uses mdy if $wgAmericanDates is true, and dmy
88 * if $wgAmericanDates is false.
90 $defaultDateFormat = 'ydm';
92 /**
93 * Associative array mapping old numeric date formats, which may still be
94 * stored in user preferences, to the new string formats.
96 $datePreferenceMigrationMap = [
97 'default',
98 'mdy',
99 'dmy',
100 'ymd'
104 * These are formats for dates generated by MediaWiki (as opposed to the wikitext
105 * DateFormatter). Documentation for the format string can be found in
106 * Language.php, search for sprintfDate.
108 * This array is automatically inherited by all subclasses. Individual keys can be
109 * overridden.
111 $dateFormats = [
112 'ydm time' => 'H.i',
113 'ydm date' => 'Y". gada" j. F',
114 'ydm monthonly' => 'Y". gada" F',
115 'ydm both' => 'Y". gada" j. F", plkst." H.i',
116 'ydm pretty' => 'j F',
118 'mdy time' => 'H:i',
119 'mdy date' => 'F j, Y',
120 'mdy monthonly' => 'F Y',
121 'mdy both' => 'H:i, F j, Y',
122 'mdy pretty' => 'F j',
124 'dmy time' => 'H:i',
125 'dmy date' => 'j F Y',
126 'dmy monthonly' => 'F Y',
127 'dmy both' => 'H:i, j F Y',
128 'dmy pretty' => 'j F',
130 'ymd time' => 'H:i',
131 'ymd date' => 'Y F j',
132 'ymd monthonly' => 'Y F',
133 'ymd both' => 'H:i, Y F j',
134 'ymd pretty' => 'F j',
136 'ISO 8601 time' => 'xnH:xni:xns',
137 'ISO 8601 date' => 'xnY-xnm-xnd',
138 'ISO 8601 monthonly' => 'xnY-xnm',
139 'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
140 'ISO 8601 pretty' => 'xnm-xnd'