mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Added more translations
This commit is contained in:
parent
2ca97083a3
commit
55cddecb6c
6 changed files with 22 additions and 1 deletions
|
@ -32,7 +32,7 @@ export class AppComponent implements OnInit {
|
|||
|
||||
// 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/) ? browserLang : "en");
|
||||
this.translate.use(browserLang.match(/en|fr|da|de|es|it|nl/) ? browserLang : "en");
|
||||
}
|
||||
|
||||
public ngOnInit() {
|
||||
|
|
4
src/Ombi/wwwroot/translations/da.json
Normal file
4
src/Ombi/wwwroot/translations/da.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"Login": {
|
||||
}
|
||||
}
|
4
src/Ombi/wwwroot/translations/es.json
Normal file
4
src/Ombi/wwwroot/translations/es.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"Login": {
|
||||
}
|
||||
}
|
5
src/Ombi/wwwroot/translations/fr.json
Normal file
5
src/Ombi/wwwroot/translations/fr.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Login": {
|
||||
|
||||
}
|
||||
}
|
4
src/Ombi/wwwroot/translations/it.json
Normal file
4
src/Ombi/wwwroot/translations/it.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"Login": {
|
||||
}
|
||||
}
|
4
src/Ombi/wwwroot/translations/nl.json
Normal file
4
src/Ombi/wwwroot/translations/nl.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"Login": {
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue