Merge "Import: Handle uploads with sha1 starting with 0 properly"
[mediawiki.git] / resources / src / mediawiki.language / languages / ga.js
bloba4c911a339972763ad8c3cf4566ac2508b885e0f
1 /*!
2  * Irish (Gaeilge) language functions
3  */
5 mediaWiki.language.convertGrammar = function ( word, form ) {
6         /*jshint onecase:true */
7         var grammarForms = mediaWiki.language.getData( 'ga', 'grammarForms' );
8         if ( grammarForms && grammarForms[ form ] ) {
9                 return grammarForms[ form ][ word ];
10         }
11         switch ( form ) {
12                 case 'ainmlae':
13                         switch ( word ) {
14                                 case 'an Domhnach':
15                                         word = 'Dé Domhnaigh';
16                                         break;
17                                 case 'an Luan':
18                                         word = 'Dé Luain';
19                                         break;
20                                 case 'an Mháirt':
21                                         word = 'Dé Mháirt';
22                                         break;
23                                 case 'an Chéadaoin':
24                                         word = 'Dé Chéadaoin';
25                                         break;
26                                 case 'an Déardaoin':
27                                         word = 'Déardaoin';
28                                         break;
29                                 case 'an Aoine':
30                                         word = 'Dé hAoine';
31                                         break;
32                                 case 'an Satharn':
33                                         word = 'Dé Sathairn';
34                                         break;
35                         }
36         }
37         return word;