Localisation updates from https://translatewiki.net.
[mediawiki.git] / resources / lib / jquery.i18n / src / languages / ga.js
blobe8d48a382a3195c2b57e1d2a0464fff6b50e5472
1 /**
2  * Irish (Gaeilge) language functions
3  */
5 ( function ( $ ) {
6         'use strict';
8         $.i18n.languages.ga = $.extend( {}, $.i18n.languages[ 'default' ], {
9                 convertGrammar: function ( word, form ) {
10                         if ( form === 'ainmlae' ) {
11                                 switch ( word ) {
12                                         case 'an Domhnach':
13                                                 word = 'Dé Domhnaigh';
14                                                 break;
15                                         case 'an Luan':
16                                                 word = 'Dé Luain';
17                                                 break;
18                                         case 'an Mháirt':
19                                                 word = 'Dé Mháirt';
20                                                 break;
21                                         case 'an Chéadaoin':
22                                                 word = 'Dé Chéadaoin';
23                                                 break;
24                                         case 'an Déardaoin':
25                                                 word = 'Déardaoin';
26                                                 break;
27                                         case 'an Aoine':
28                                                 word = 'Dé hAoine';
29                                                 break;
30                                         case 'an Satharn':
31                                                 word = 'Dé Sathairn';
32                                                 break;
33                                 }
34                         }
36                         return word;
37                 }
38         } );
39 }( jQuery ) );