2006-06-28 16:49:31 +00:00
|
|
|
<?php
|
2012-06-23 20:09:38 +00:00
|
|
|
/** Latvian (latviešu)
|
2006-07-26 07:15:39 +00:00
|
|
|
*
|
WARNING: HUGE COMMIT
Doxygen documentation update:
* Changed alls @addtogroup to @ingroup. @addtogroup adds the comment to the group description, but doesn't add the file, class, function, ... to the group like @ingroup does. See for example http://svn.wikimedia.org/doc/group__SpecialPage.html where it's impossible to see related files, classes, ... that should belong to that group.
* Added @file to file description, it seems that it should be explicitely decalred for file descriptions, otherwise doxygen will think that the comment document the first class, variabled, function, ... that is in that file.
* Removed some empty comments
* Removed some ?>
Added following groups:
* ExternalStorage
* JobQueue
* MaintenanceLanguage
One more thing: there are still a lot of warnings when generating the doc.
2008-05-20 17:13:28 +00:00
|
|
|
* @file
|
2022-06-22 22:37:31 +00:00
|
|
|
* @ingroup Languages
|
2006-07-26 07:15:39 +00:00
|
|
|
*
|
2013-04-06 19:29:48 +00:00
|
|
|
* @author Admresdeserv.
|
2009-09-30 22:06:26 +00:00
|
|
|
* @author Dark Eagle
|
2013-09-05 20:28:26 +00:00
|
|
|
* @author Edgars2007
|
2009-12-07 19:59:37 +00:00
|
|
|
* @author FnTmLV
|
2011-04-28 20:38:36 +00:00
|
|
|
* @author Geimeris
|
2013-06-23 20:06:41 +00:00
|
|
|
* @author Geitost
|
2012-12-19 19:43:38 +00:00
|
|
|
* @author Gleb Borisov
|
2010-05-26 19:08:50 +00:00
|
|
|
* @author GreenZeb
|
2012-01-27 20:44:55 +00:00
|
|
|
* @author Kaganer
|
2011-05-10 21:00:25 +00:00
|
|
|
* @author Karlis
|
2009-12-09 19:52:28 +00:00
|
|
|
* @author Kikos
|
Localisation updates from Betawiki.
* an, be, bg, ca, crh-cyrl, crh-latn, csb, dv, el, es, eu, fi, fr, frp, ga, gl, gsw, jv, li, loz, lv, mk, nl, nn, oc, pt-br, qu, sdc, sq, sr-el, stq, sv, te, tr, wa
2007-12-12 22:23:49 +00:00
|
|
|
* @author Knakts
|
2009-08-10 18:10:08 +00:00
|
|
|
* @author Marozols
|
2008-12-09 07:42:23 +00:00
|
|
|
* @author Papuass
|
2011-01-02 21:18:06 +00:00
|
|
|
* @author Reedy
|
2014-03-17 21:11:15 +00:00
|
|
|
* @author Srolanh
|
2008-08-05 19:58:06 +00:00
|
|
|
* @author Xil
|
2008-08-10 10:16:19 +00:00
|
|
|
* @author Yyy
|
2008-07-16 16:35:57 +00:00
|
|
|
* @author לערי ריינהארט
|
2007-12-26 11:09:39 +00:00
|
|
|
*/
|
|
|
|
|
|
2011-10-11 18:30:50 +00:00
|
|
|
/**
|
2006-07-26 07:15:39 +00:00
|
|
|
* @copyright Copyright © 2006, Niklas Laxström
|
2018-05-23 23:23:42 +00:00
|
|
|
* @license GPL-2.0-or-later
|
2006-07-26 07:15:39 +00:00
|
|
|
*/
|
2006-06-28 16:49:31 +00:00
|
|
|
|
2015-07-22 14:18:27 +00:00
|
|
|
$linkTrail = '/^([a-zA-ZĀāČčĒēĢģĪīĶķĻļŅņŠšŪūŽž]+)(.*)$/sDu';
|
|
|
|
|
|
2016-02-17 09:09:32 +00:00
|
|
|
$namespaceNames = [
|
2006-07-26 07:15:39 +00:00
|
|
|
NS_MEDIA => 'Media',
|
|
|
|
|
NS_SPECIAL => 'Special',
|
|
|
|
|
NS_TALK => 'Diskusija',
|
2015-08-31 12:21:25 +00:00
|
|
|
NS_USER => 'Dalībnieks',
|
|
|
|
|
NS_USER_TALK => 'Dalībnieka_diskusija',
|
2006-07-26 07:15:39 +00:00
|
|
|
NS_PROJECT_TALK => '{{grammar:ģenitīvs|$1}}_diskusija',
|
2008-12-01 17:14:30 +00:00
|
|
|
NS_FILE => 'Attēls',
|
|
|
|
|
NS_FILE_TALK => 'Attēla_diskusija',
|
2006-07-26 07:15:39 +00:00
|
|
|
NS_MEDIAWIKI => 'MediaWiki',
|
|
|
|
|
NS_MEDIAWIKI_TALK => 'MediaWiki_diskusija',
|
|
|
|
|
NS_TEMPLATE => 'Veidne',
|
|
|
|
|
NS_TEMPLATE_TALK => 'Veidnes_diskusija',
|
|
|
|
|
NS_HELP => 'Palīdzība',
|
|
|
|
|
NS_HELP_TALK => 'Palīdzības_diskusija',
|
|
|
|
|
NS_CATEGORY => 'Kategorija',
|
|
|
|
|
NS_CATEGORY_TALK => 'Kategorijas_diskusija',
|
2016-02-17 09:09:32 +00:00
|
|
|
];
|
2015-08-31 12:21:25 +00:00
|
|
|
|
2016-02-17 09:09:32 +00:00
|
|
|
$namespaceAliases = [
|
2015-08-31 12:21:25 +00:00
|
|
|
'Lietotājs' => NS_USER,
|
|
|
|
|
'Lietotāja_diskusija' => NS_USER_TALK,
|
2016-02-17 09:09:32 +00:00
|
|
|
];
|
2015-08-31 12:21:25 +00:00
|
|
|
|
2016-02-17 09:09:32 +00:00
|
|
|
$namespaceGenderAliases = [
|
|
|
|
|
NS_USER => [ 'male' => 'Dalībnieks', 'female' => 'Dalībniece' ],
|
|
|
|
|
NS_USER_TALK => [ 'male' => 'Dalībnieka_diskusija', 'female' => 'Dalībnieces_diskusija' ]
|
|
|
|
|
];
|
2015-08-31 12:21:25 +00:00
|
|
|
|
2017-10-07 00:26:23 +00:00
|
|
|
$separatorTransformTable = [ ',' => "\u{00A0}", '.' => ',' ];
|
2006-07-26 07:15:39 +00:00
|
|
|
|
2015-04-27 18:23:58 +00:00
|
|
|
/**
|
|
|
|
|
* A list of date format preference keys, which can be selected in user
|
|
|
|
|
* preferences. New preference keys can be added, provided they are supported
|
|
|
|
|
* by the language class's timeanddate(). Only the 5 keys listed below are
|
|
|
|
|
* supported by the wikitext converter (parser/DateFormatter.php).
|
|
|
|
|
*
|
|
|
|
|
* The special key "default" is an alias for either dmy or mdy depending on
|
|
|
|
|
* $wgAmericanDates
|
|
|
|
|
*/
|
2016-02-17 09:09:32 +00:00
|
|
|
$datePreferences = [
|
2015-04-27 18:23:58 +00:00
|
|
|
'default',
|
|
|
|
|
'ydm',
|
|
|
|
|
'mdy',
|
|
|
|
|
'dmy',
|
|
|
|
|
'ymd',
|
|
|
|
|
'ISO 8601',
|
2016-02-17 09:09:32 +00:00
|
|
|
];
|
2015-04-27 18:23:58 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The date format to use for generated dates in the user interface.
|
|
|
|
|
* This may be one of the above date preferences, or the special value
|
|
|
|
|
* "dmy or mdy", which uses mdy if $wgAmericanDates is true, and dmy
|
|
|
|
|
* if $wgAmericanDates is false.
|
|
|
|
|
*/
|
|
|
|
|
$defaultDateFormat = 'ydm';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Associative array mapping old numeric date formats, which may still be
|
|
|
|
|
* stored in user preferences, to the new string formats.
|
|
|
|
|
*/
|
2016-02-17 09:09:32 +00:00
|
|
|
$datePreferenceMigrationMap = [
|
2015-04-27 18:23:58 +00:00
|
|
|
'default',
|
|
|
|
|
'mdy',
|
|
|
|
|
'dmy',
|
|
|
|
|
'ymd'
|
2016-02-17 09:09:32 +00:00
|
|
|
];
|
2015-04-27 18:23:58 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* These are formats for dates generated by MediaWiki (as opposed to the wikitext
|
|
|
|
|
* DateFormatter). Documentation for the format string can be found in
|
|
|
|
|
* Language.php, search for sprintfDate.
|
|
|
|
|
*
|
|
|
|
|
* This array is automatically inherited by all subclasses. Individual keys can be
|
|
|
|
|
* overridden.
|
|
|
|
|
*/
|
2016-02-17 09:09:32 +00:00
|
|
|
$dateFormats = [
|
2015-04-27 18:23:58 +00:00
|
|
|
'ydm time' => 'H.i',
|
|
|
|
|
'ydm date' => 'Y". gada" j. F',
|
|
|
|
|
'ydm monthonly' => 'Y". gada" F',
|
|
|
|
|
'ydm both' => 'Y". gada" j. F", plkst." H.i',
|
|
|
|
|
'ydm pretty' => 'j F',
|
|
|
|
|
|
|
|
|
|
'mdy time' => 'H:i',
|
|
|
|
|
'mdy date' => 'F j, Y',
|
|
|
|
|
'mdy monthonly' => 'F Y',
|
|
|
|
|
'mdy both' => 'H:i, F j, Y',
|
|
|
|
|
'mdy pretty' => 'F j',
|
|
|
|
|
|
|
|
|
|
'dmy time' => 'H:i',
|
|
|
|
|
'dmy date' => 'j F Y',
|
|
|
|
|
'dmy monthonly' => 'F Y',
|
|
|
|
|
'dmy both' => 'H:i, j F Y',
|
|
|
|
|
'dmy pretty' => 'j F',
|
|
|
|
|
|
|
|
|
|
'ymd time' => 'H:i',
|
|
|
|
|
'ymd date' => 'Y F j',
|
|
|
|
|
'ymd monthonly' => 'Y F',
|
|
|
|
|
'ymd both' => 'H:i, Y F j',
|
|
|
|
|
'ymd pretty' => 'F j',
|
|
|
|
|
|
|
|
|
|
'ISO 8601 time' => 'xnH:xni:xns',
|
|
|
|
|
'ISO 8601 date' => 'xnY-xnm-xnd',
|
|
|
|
|
'ISO 8601 monthonly' => 'xnY-xnm',
|
|
|
|
|
'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
|
|
|
|
|
'ISO 8601 pretty' => 'xnm-xnd'
|
2016-02-17 09:09:32 +00:00
|
|
|
];
|