Merge "Special:Upload should not crash on failing previews"
[mediawiki.git] / resources / lib / jquery.i18n / src / languages / ga.js
blob1aceab75bdc70ab558e2e1ca8c4b08b62513b38a
1 /**
2 * Irish (Gaeilge) language functions
3 */
4 ( function ( $ ) {
5 'use strict';
7 $.i18n.languages.ga = $.extend( {}, $.i18n.languages['default'], {
8 convertGrammar: function ( word, form ) {
9 if ( form === 'ainmlae' ) {
10 switch ( word ) {
11 case 'an Domhnach':
12 word = 'Dé Domhnaigh';
13 break;
14 case 'an Luan':
15 word = 'Dé Luain';
16 break;
17 case 'an Mháirt':
18 word = 'Dé Mháirt';
19 break;
20 case 'an Chéadaoin':
21 word = 'Dé Chéadaoin';
22 break;
23 case 'an Déardaoin':
24 word = 'Déardaoin';
25 break;
26 case 'an Aoine':
27 word = 'Dé hAoine';
28 break;
29 case 'an Satharn':
30 word = 'Dé Sathairn';
31 break;
35 return word;
37 } );
38 }( jQuery ) );