]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
[locale] az: fix a word (#5675)
authorAmiraslan Bakhshili <aslanbaxisli.ba@gmail.com>
Sun, 13 Sep 2020 10:09:25 +0000 (13:09 +0300)
committerGitHub <noreply@github.com>
Sun, 13 Sep 2020 10:09:25 +0000 (03:09 -0700)
src/locale/az.js
src/test/locale/az.js

index 94191622a474e8c000d506800ea049a820e5e316..80a67829aac874efe3935ea2b12e0d3844458f51 100644 (file)
@@ -55,7 +55,7 @@ export default moment.defineLocale('az', {
     relativeTime: {
         future: '%s sonra',
         past: '%s əvvəl',
-        s: 'birneçə saniyə',
+        s: 'bir neçə saniyə',
         ss: '%d saniyə',
         m: 'bir dəqiqə',
         mm: '%d dəqiqə',
index 2a23a691bbefde12c2c75d023f69100872f886d6..336f434a8d2d82e53a863f2eaf042f41b897c08a 100644 (file)
@@ -162,7 +162,7 @@ test('from', function (assert) {
     var start = moment([2007, 1, 28]);
     assert.equal(
         start.from(moment([2007, 1, 28]).add({ s: 44 }), true),
-        'birneçə saniyə',
+        'bir neçə saniyə',
         '44 seconds = a few seconds'
     );
     assert.equal(
@@ -298,14 +298,14 @@ test('from', function (assert) {
 });
 
 test('suffix', function (assert) {
-    assert.equal(moment(30000).from(0), 'birneçə saniyə sonra', 'prefix');
-    assert.equal(moment(0).from(30000), 'birneçə saniyə əvvəl', 'suffix');
+    assert.equal(moment(30000).from(0), 'bir neçə saniyə sonra', 'prefix');
+    assert.equal(moment(0).from(30000), 'bir neçə saniyə əvvəl', 'suffix');
 });
 
 test('now from now', function (assert) {
     assert.equal(
         moment().fromNow(),
-        'birneçə saniyə əvvəl',
+        'bir neçə saniyə əvvəl',
         'now from now should display as in the past'
     );
 });
@@ -313,7 +313,7 @@ test('now from now', function (assert) {
 test('fromNow', function (assert) {
     assert.equal(
         moment().add({ s: 30 }).fromNow(),
-        'birneçə saniyə sonra',
+        'bir neçə saniyə sonra',
         'in a few seconds'
     );
     assert.equal(moment().add({ d: 5 }).fromNow(), '5 gün sonra', 'in 5 days');