Skip to content

Commit

Permalink
Polski I
Browse files Browse the repository at this point in the history
  • Loading branch information
jortilles committed Jul 26, 2023
1 parent 3863f3e commit 786525e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions eda/eda_app/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export class AppComponent implements OnInit {
const url = window.location.href;
let lan_ca = new RegExp('\/ca\/', 'i');
let lan_es = new RegExp('\/es\/', 'i');
let lan_pl = new RegExp('\/pl\/', 'i');

if (lan_ca.test(url)) {
this.config.setTranslation(
Expand Down Expand Up @@ -98,7 +99,22 @@ export class AppComponent implements OnInit {
}
)
}
else if (lan_pl.test(url)) {
this.config.setTranslation(
{
dayNames: ["Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", "Niedziela"],
dayNamesShort: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sob"],
dayNamesMin: ["Su","Mo", "Ma", "Mi", "Czw", "Vi", "Sa"],
monthNames: ["styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień" ],
monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ],
today: "Dzisiaj",
clear: "wyczyść",
weekHeader: "Tydzień"


}
)
}
else {

this.config.setTranslation(
Expand Down

0 comments on commit 786525e

Please sign in to comment.