Skip to content

Commit 96ce817

Browse files
committed
uptd
1 parent 4c00f46 commit 96ce817

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/infrastructure/LocalizationService.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { LocalizationRepository } from './LocalizationRepository.js';
33
export class LocalizationService {
44
constructor(
55
repository = new LocalizationRepository(),
6-
defaultLanguage = 'uk',
7-
supportedLanguages = ['uk', 'en']
6+
defaultLanguage = 'en',
7+
supportedLanguages = ['en', 'uk']
88
) {
99
this.repository = repository;
1010
this.defaultLanguage = defaultLanguage;

src/interface/controllers/SafeBlindZonesController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class SafeBlindZonesController {
1111
constructor(elements, localizationRepository = new LocalizationRepository()) {
1212
this.elements = elements;
1313
this.service = new SafeBlindZonesService();
14-
this.localization = new LocalizationService(localizationRepository, 'uk', ['uk', 'en']);
14+
this.localization = new LocalizationService(localizationRepository, 'en', ['en', 'uk']);
1515
this.view = new SafeBlindZonesView(elements);
1616
this.background = new PreviewBackground(elements.screen);
1717
this.exporter = new PreviewExporter(this.background, this.view.getBlockManager(), this.localization);

0 commit comments

Comments
 (0)