Skip to content

Commit

Permalink
[locale] typos in Irish locale for months (#5127)
Browse files Browse the repository at this point in the history
Fixed some typos in the Irish locale regarding months.
  • Loading branch information
askpt authored and marwahaha committed Jun 10, 2019
1 parent 92a58a5 commit 4827327
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/locale/ga.js
Expand Up @@ -36,7 +36,7 @@ export default moment.defineLocale('ga', {
sameDay: '[Inniu ag] LT',
nextDay: '[Amárach ag] LT',
nextWeek: 'dddd [ag] LT',
lastDay: '[Inné aig] LT',
lastDay: '[Inné ag] LT',
lastWeek: 'dddd [seo caite] [ag] LT',
sameElse: 'L'
},
Expand All @@ -52,7 +52,7 @@ export default moment.defineLocale('ga', {
d: 'lá',
dd: '%d lá',
M: 'mí',
MM: '%d ',
MM: '%d míonna',
y: 'bliain',
yy: '%d bliain'
},
Expand Down
10 changes: 5 additions & 5 deletions src/test/locale/ga.js
Expand Up @@ -138,11 +138,11 @@ test('from', function (assert) {
assert.equal(start.from(moment([2007, 1, 28]).add({d: 26}), true), 'mí', '26 days = a month');
assert.equal(start.from(moment([2007, 1, 28]).add({d: 30}), true), 'mí', '30 days = a month');
assert.equal(start.from(moment([2007, 1, 28]).add({d: 43}), true), 'mí', '43 days = a month');
assert.equal(start.from(moment([2007, 1, 28]).add({d: 46}), true), '2 ', '46 days = 2 months');
assert.equal(start.from(moment([2007, 1, 28]).add({d: 74}), true), '2 ', '75 days = 2 months');
assert.equal(start.from(moment([2007, 1, 28]).add({d: 76}), true), '3 ', '76 days = 3 months');
assert.equal(start.from(moment([2007, 1, 28]).add({d: 46}), true), '2 míonna', '46 days = 2 months');
assert.equal(start.from(moment([2007, 1, 28]).add({d: 74}), true), '2 míonna', '75 days = 2 months');
assert.equal(start.from(moment([2007, 1, 28]).add({d: 76}), true), '3 míonna', '76 days = 3 months');
assert.equal(start.from(moment([2007, 1, 28]).add({M: 1}), true), 'mí', '1 month = a month');
assert.equal(start.from(moment([2007, 1, 28]).add({M: 5}), true), '5 ', '5 months = 5 months');
assert.equal(start.from(moment([2007, 1, 28]).add({M: 5}), true), '5 míonna', '5 months = 5 months');
assert.equal(start.from(moment([2007, 1, 28]).add({d: 345}), true), 'bliain', '345 days = a year');
assert.equal(start.from(moment([2007, 1, 28]).add({d: 548}), true), '2 bliain', '548 days = 2 years');
assert.equal(start.from(moment([2007, 1, 28]).add({y: 1}), true), 'bliain', '1 year = a year');
Expand Down Expand Up @@ -171,7 +171,7 @@ test('calendar day', function (assert) {
assert.equal(moment(a).add({h: 1}).calendar(), 'Inniu ag 13:00', 'Now plus 1 hour');
assert.equal(moment(a).add({d: 1}).calendar(), 'Amárach ag 12:00', 'tomorrow at the same time');
assert.equal(moment(a).subtract({h: 1}).calendar(), 'Inniu ag 11:00', 'Now minus 1 hour');
assert.equal(moment(a).subtract({d: 1}).calendar(), 'Inné aig 12:00', 'yesterday at the same time');
assert.equal(moment(a).subtract({d: 1}).calendar(), 'Inné ag 12:00', 'yesterday at the same time');
});

test('calendar next week', function (assert) {
Expand Down

0 comments on commit 4827327

Please sign in to comment.