MediaWiki
1.34.4
LanguageGa.php
Go to the documentation of this file.
1
<?php
29
class
LanguageGa
extends
Language
{
30
39
function
convertGrammar
( $word, $case ) {
40
global
$wgGrammarForms
;
41
if
( isset(
$wgGrammarForms
[
'ga'
][$case][$word] ) ) {
42
return
$wgGrammarForms
[
'ga'
][$case][$word];
43
}
44
45
switch
( $case ) {
46
case
'ainmlae'
:
47
switch
( $word ) {
48
case
'an Domhnach'
:
49
$word =
'Dé Domhnaigh'
;
50
break
;
51
case
'an Luan'
:
52
$word =
'Dé Luain'
;
53
break
;
54
case
'an Mháirt'
:
55
$word =
'Dé Mháirt'
;
56
break
;
57
case
'an Chéadaoin'
:
58
$word =
'Dé Chéadaoin'
;
59
break
;
60
case
'an Déardaoin'
:
61
$word =
'Déardaoin'
;
62
break
;
63
case
'an Aoine'
:
64
$word =
'Dé hAoine'
;
65
break
;
66
case
'an Satharn'
:
67
$word =
'Dé Sathairn'
;
68
break
;
69
}
70
}
71
return
$word;
72
}
73
74
}
LanguageGa
Irish (Gaeilge)
Definition:
LanguageGa.php:29
$wgGrammarForms
$wgGrammarForms
Some languages need different word forms, usually for different cases.
Definition:
DefaultSettings.php:2986
LanguageGa\convertGrammar
convertGrammar( $word, $case)
Convert day names Invoked with {{GRAMMAR:transformation|word}}.
Definition:
LanguageGa.php:39
Language
Internationalisation code.
Definition:
Language.php:37
languages
classes
LanguageGa.php
Generated on Thu Sep 24 2020 22:30:30 for MediaWiki by
1.8.18