Skip to content

Commit

Permalink
fix of last commit
Browse files Browse the repository at this point in the history
last commit had locale='de_DE' hard coded
  • Loading branch information
dwblmo committed Jul 20, 2023
1 parent b7d5b04 commit d783add
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 10 deletions.
19 changes: 9 additions & 10 deletions lmo/init.php
Expand Up @@ -64,16 +64,6 @@
//Configuration
require(PATH_TO_LMO."/lmo-cfgload.php");

//Dateformat
$fmt = new IntlDateFormatter(
'de-DE',
IntlDateFormatter::FULL, /*Datum */
IntlDateFormatter::SHORT, /*Uhrzeit */
$cfgarray['timezone'],
IntlDateFormatter::GREGORIAN,
$cfgarray['defdateformat']
);

//Language
if(isset($_GET["lmouserlang"])){
$_SESSION["lmouserlang"]=$_GET["lmouserlang"];
Expand All @@ -90,6 +80,15 @@


require(PATH_TO_LMO."/lmo-langload.php");
//Dateformat
$fmt = new IntlDateFormatter(
$text['704'],
IntlDateFormatter::FULL, /*Datum */
IntlDateFormatter::SHORT, /*Uhrzeit */
$cfgarray['timezone'],
IntlDateFormatter::GREGORIAN,
$cfgarray['defdateformat']
);

//Functions
require_once(PATH_TO_LMO."/lmo-functions.php");
Expand Down
1 change: 1 addition & 0 deletions lmo/lang/lang-Cestina.txt
Expand Up @@ -585,6 +585,7 @@
701=Sobota
702=srp.
703=srpen
704=cs_CS
1000=serie
1001=Câștigat
1002=Neînvins
Expand Down
1 change: 1 addition & 0 deletions lmo/lang/lang-Deutsch.txt
Expand Up @@ -586,6 +586,7 @@
701=Samstag
702=Aug.
703=August
704=de-DE
1000=Serien
1001=Gewonnen
1002=Ungeschlagen
Expand Down
1 change: 1 addition & 0 deletions lmo/lang/lang-English.txt
Expand Up @@ -585,6 +585,7 @@
701=Saturday
702=Aug.
703=August
704=en-US
1000=Series
1001=won
1002=not lost
Expand Down
1 change: 1 addition & 0 deletions lmo/lang/lang-Espanol.txt
Expand Up @@ -585,6 +585,7 @@
701=Sábado
702=Ago.
703=Agosto
704=es_ES
1000=serie
1001=ganado
1002=Invicto
Expand Down
1 change: 1 addition & 0 deletions lmo/lang/lang-Francais.txt
Expand Up @@ -585,6 +585,7 @@
701=Samedi
702=Ao.
703=Août
704=fr_FR
1000=series
1001=victoire
1002=invaincu
Expand Down
1 change: 1 addition & 0 deletions lmo/lang/lang-Italiano.txt
Expand Up @@ -588,6 +588,7 @@
701=Sabado
702=Ago.
703=Agosto
704=it_IT
1000=serie
1001=Vinto
1002=Imbattuto
Expand Down
1 change: 1 addition & 0 deletions lmo/lang/lang-Magyar.txt
Expand Up @@ -585,6 +585,7 @@
701=szombat
702=aug.
703=augusztus
704=hu_HU
1000=sorozat
1001=Nyert
1002=Veretlen
Expand Down
1 change: 1 addition & 0 deletions lmo/lang/lang-Nederlands.txt
Expand Up @@ -585,6 +585,7 @@
701=Zaterdag
702=Aug.
703=augustus
704=nl_NL
1000=reeks
1001=Won
1002=Ongeslagen
Expand Down
1 change: 1 addition & 0 deletions lmo/lang/lang-Norsk.txt
Expand Up @@ -585,6 +585,7 @@
701=lørdag
702=aug.
703=august
704=no_NO
1000=serie
1001=Vunnet
1002=Ubeseiret
Expand Down
1 change: 1 addition & 0 deletions lmo/lang/lang-Portugues.txt
Expand Up @@ -585,6 +585,7 @@
701=Sábado
702=Ago.
703=Agosto
704=pt_PT
1000=série
1001=Ganhou
1002=Invicto
Expand Down
1 change: 1 addition & 0 deletions lmo/lang/lang-Romanian.txt
Expand Up @@ -585,6 +585,7 @@
701=sâmbătă
702=Aug.
703=August
704=ro_RO
1000=serie
1001=Câștigat
1002=Neînvins
Expand Down
1 change: 1 addition & 0 deletions lmo/lang/lang-Slovenskega.txt
Expand Up @@ -585,6 +585,7 @@
701=sobota
702=avg.
703=avgusta
704=sl_SL
1000=serija
1001=Zmagal
1002=Neporažen
Expand Down

0 comments on commit d783add

Please sign in to comment.