Skip to content

Commit 6c44709

Browse files
committed
Polkie language selector
1 parent abd8df6 commit 6c44709

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

client/src/app/content/settings/settings.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,6 @@ <h2>{{ "SETTINGS.Language" | translate }}</h2>
6565
<select [(ngModel)]="savedLanguage" (change)="onLanguageChanged()" class="form-select" aria-label="Language selector">
6666
<option value="en">English</option>
6767
<option value="es">Español</option>
68+
<option value="pl">Polski</option>
6869
</select>
6970
</div>

client/src/app/core/language.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const HttpLoaderFactory = (http: HttpClient): TranslateHttpLoader => {
2020
exports: []
2121
})
2222
export class LanguageModule {
23-
readonly VALID_LANGUAGES = ["en", "es"];
23+
readonly VALID_LANGUAGES = ["en", "es", "pl"];
2424

2525
constructor(private languageService: LanguageService) {
2626
this.setup();

0 commit comments

Comments
 (0)