Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Ombi/commit/69cb8a17aba2f77a0cfc225b41879bdab2a32b9b
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
11 additions and
3 deletions
@ -134,6 +134,12 @@
< li [ ngClass ] = " { ' active ' : ' no ' = = = translate . currentLang } " >
< a ( click ) = " translate . use ( ' no ' ) " [ translate ] = " ' NavigationBar . Language . Norwegian ' " > < / a >
< / li >
< li [ ngClass ] = " { ' active ' : ' pt-br ' = = = translate . currentLang } " >
< a ( click ) = " translate . use ( ' no ' ) " [ translate ] = " ' NavigationBar . Language . BrazillianPortuguese ' " > < / a >
< / li >
< li [ ngClass ] = " { ' active ' : ' po ' = = = translate . currentLang } " >
< a ( click ) = " translate . use ( ' no ' ) " [ translate ] = " ' NavigationBar . Language . Polish ' " > < / a >
< / li >
< / ul >
< / li >
< / ul >
@ -40,13 +40,13 @@ export class AppComponent implements OnInit {
__webpack_public_path__ = base + "/dist/" ;
}
this . translate . addLangs ( [ "en" , "de" , "fr" , "da" , "es" , "it" , "nl" , "sv" , "no" ]) ;
this . translate . addLangs ( [ "en" , "de" , "fr" , "da" , "es" , "it" , "nl" , "sv" , "no" , "po" , "pt-br" ]) ;
// this language will be used as a fallback when a translation isn't found in the current language
this . translate . setDefaultLang ( "en" ) ;
// See if we can match the supported langs with the current browser lang
const browserLang : string = translate . getBrowserLang ( ) ;
this . translate . use ( browserLang . match ( /en|fr|da|de|es|it|nl|sv|no /) ? browserLang : "en" ) ;
this . translate . use ( browserLang . match ( /en|fr|da|de|es|it|nl|sv|no |po|pt-br /) ? browserLang : "en" ) ;
}
public ngOnInit() {
@ -65,7 +65,9 @@
"Italian" : "Italian" ,
"Danish" : "Danish" ,
"Dutch" : "Dutch" ,
"Norwegian" : "Norwegian"
"Norwegian" : "Norwegian" ,
"BrazillianPortuguese" : "Brazillian Portuguese" ,
"Polish" : "Polish"
} ,
"OpenMobileApp" : "Open Mobile App" ,
"RecentlyAdded" : "Recently Added"