@@ -18,11 +18,9 @@ final class SirenTests: XCTestCase {
18
18
// MARK: - API
19
19
20
20
extension SirenTests {
21
-
22
21
func testAPIDefaultsToUnitedStatesAppStore( ) {
23
22
XCTAssertEqual ( siren. apiManager. country, AppStoreCountry . unitedStates)
24
23
}
25
-
26
24
}
27
25
28
26
// MARK: - Updates
@@ -353,19 +351,19 @@ extension SirenTests {
353
351
// Update
354
352
XCTAssertEqual ( Bundle . localizedString ( forKey: " Update " , andForceLocalization: language) , " Update " )
355
353
}
356
-
354
+
357
355
func testGreekLocalization( ) {
358
356
let language : Localization . Language = . greek
359
357
360
358
// Update Available
361
359
XCTAssertEqual ( Bundle . localizedString ( forKey: " Update Available " , andForceLocalization: language) , " Διαθέσιμη Ενημέρωση " )
362
-
360
+
363
361
// Next time
364
362
XCTAssertEqual ( Bundle . localizedString ( forKey: " Next time " , andForceLocalization: language) , " Άλλη φορά " )
365
-
363
+
366
364
// Skip this version
367
365
XCTAssertEqual ( Bundle . localizedString ( forKey: " Skip this version " , andForceLocalization: language) , " Αγνόησε αυτήν την έκδοση " )
368
-
366
+
369
367
// Update
370
368
XCTAssertEqual ( Bundle . localizedString ( forKey: " Update " , andForceLocalization: language) , " Αναβάθμιση " )
371
369
}
@@ -535,49 +533,49 @@ extension SirenTests {
535
533
536
534
// Update Available
537
535
XCTAssertEqual ( Bundle . localizedString ( forKey: " Update Available " , andForceLocalization: language) , " بروزرسانی در دسترس " )
538
-
536
+
539
537
// Next time
540
538
XCTAssertEqual ( Bundle . localizedString ( forKey: " Next time " , andForceLocalization: language) , " دفعه بعد " )
541
-
539
+
542
540
// Skip this version
543
541
XCTAssertEqual ( Bundle . localizedString ( forKey: " Skip this version " , andForceLocalization: language) , " رد این نسخه " )
544
-
542
+
545
543
// Update
546
544
XCTAssertEqual ( Bundle . localizedString ( forKey: " Update " , andForceLocalization: language) , " بروزرسانی " )
547
545
}
548
-
546
+
549
547
func testPersianAfghanistanLocalization( ) {
550
548
let language : Localization . Language = . persianAfghanistan
551
-
549
+
552
550
// Update Available
553
551
XCTAssertEqual ( Bundle . localizedString ( forKey: " Update Available " , andForceLocalization: language) , " بروزرسانی در دسترس " )
554
-
552
+
555
553
// Next time
556
554
XCTAssertEqual ( Bundle . localizedString ( forKey: " Next time " , andForceLocalization: language) , " دگر بار " )
557
-
555
+
558
556
// Skip this version
559
557
XCTAssertEqual ( Bundle . localizedString ( forKey: " Skip this version " , andForceLocalization: language) , " رد این نسخه " )
560
-
558
+
561
559
// Update
562
560
XCTAssertEqual ( Bundle . localizedString ( forKey: " Update " , andForceLocalization: language) , " بروزرسانی " )
563
561
}
564
-
562
+
565
563
func testPersianIranLocalization( ) {
566
564
let language : Localization . Language = . persianIran
567
565
568
566
// Update Available
569
567
XCTAssertEqual ( Bundle . localizedString ( forKey: " Update Available " , andForceLocalization: language) , " بروزرسانی در دسترس " )
570
-
568
+
571
569
// Next time
572
570
XCTAssertEqual ( Bundle . localizedString ( forKey: " Next time " , andForceLocalization: language) , " دفعه بعد " )
573
-
571
+
574
572
// Skip this version
575
573
XCTAssertEqual ( Bundle . localizedString ( forKey: " Skip this version " , andForceLocalization: language) , " رد این نسخه " )
576
-
574
+
577
575
// Update
578
576
XCTAssertEqual ( Bundle . localizedString ( forKey: " Update " , andForceLocalization: language) , " بروزرسانی " )
579
577
}
580
-
578
+
581
579
func testPolishLocalization( ) {
582
580
let language : Localization . Language = . polish
583
581
@@ -775,17 +773,17 @@ extension SirenTests {
775
773
776
774
// Update Available
777
775
XCTAssertEqual ( Bundle . localizedString ( forKey: " Update Available " , andForceLocalization: language) , " Доступне Оновлення " )
778
-
776
+
779
777
// Next time
780
778
XCTAssertEqual ( Bundle . localizedString ( forKey: " Next time " , andForceLocalization: language) , " Наступного разу " )
781
-
779
+
782
780
// Skip this version
783
781
XCTAssertEqual ( Bundle . localizedString ( forKey: " Skip this version " , andForceLocalization: language) , " Пропустити версію " )
784
-
782
+
785
783
// Update
786
784
XCTAssertEqual ( Bundle . localizedString ( forKey: " Update " , andForceLocalization: language) , " Оновити " )
787
785
}
788
-
786
+
789
787
func testUrduLocalization( ) {
790
788
let language : Localization . Language = . urdu
791
789
@@ -801,7 +799,7 @@ extension SirenTests {
801
799
// Update
802
800
XCTAssertEqual ( Bundle . localizedString ( forKey: " Update " , andForceLocalization: language) , " اپڈیٹ کریں " )
803
801
}
804
-
802
+
805
803
func testVietnameseLocalization( ) {
806
804
let language : Localization . Language = . vietnamese
807
805
@@ -817,5 +815,5 @@ extension SirenTests {
817
815
// Update
818
816
XCTAssertEqual ( Bundle . localizedString ( forKey: " Update " , andForceLocalization: language) , " Cập nhật " )
819
817
}
820
-
818
+
821
819
}
0 commit comments