From: ejeges Date: Sat, 30 Aug 2014 10:30:53 +0000 (+0200) Subject: Bosnian translation of August X-Git-Tag: 2.8.4~19^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab11be7aae58fdde9cf3bd711c995cfc799a124d;p=thirdparty%2Fmoment.git Bosnian translation of August --- diff --git a/locale/bs.js b/locale/bs.js index 1a5f89ef0..2f371bae0 100644 --- a/locale/bs.js +++ b/locale/bs.js @@ -66,8 +66,8 @@ } return moment.defineLocale('bs', { - months : 'januar_februar_mart_april_maj_juni_juli_avgust_septembar_oktobar_novembar_decembar'.split('_'), - monthsShort : 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'), + months : 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'), + monthsShort : 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'), weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'), diff --git a/test/locale/bs.js b/test/locale/bs.js index 285ab68bd..7b13c9640 100644 --- a/test/locale/bs.js +++ b/test/locale/bs.js @@ -2,7 +2,7 @@ var moment = require('../../moment'); /************************************************** - Croatian + Bosnian *************************************************/ exports['locale:bs'] = { @@ -20,7 +20,7 @@ exports['locale:bs'] = { }, 'parse' : function (test) { - var tests = 'januar jan._februar feb._mart mar._april apr._maj maj._juni jun._juli jul._avgust avg._septembar sep._oktobar okt._novembar nov._decembar dec.'.split('_'), i; + var tests = 'januar jan._februar feb._mart mar._april apr._maj maj._juni jun._juli jul._august aug._septembar sep._oktobar okt._novembar nov._decembar dec.'.split('_'), i; function equalTest(input, mmm, i) { test.equal(moment(input, mmm).month(), i, input + ' should be month ' + (i + 1)); } @@ -111,7 +111,7 @@ exports['locale:bs'] = { }, 'format month' : function (test) { - var expected = 'januar jan._februar feb._mart mar._april apr._maj maj._juni jun._juli jul._avgust avg._septembar sep._oktobar okt._novembar nov._decembar dec.'.split('_'), i; + var expected = 'januar jan._februar feb._mart mar._april apr._maj maj._juni jun._juli jul._august aug._septembar sep._oktobar okt._novembar nov._decembar dec.'.split('_'), i; for (i = 0; i < expected.length; i++) { test.equal(moment([2011, i, 1]).format('MMMM MMM'), expected[i], expected[i]); }