diff --git a/src/Ombi/ClientApp/app/app.component.html b/src/Ombi/ClientApp/app/app.component.html index c2c88fa30..921f68b81 100644 --- a/src/Ombi/ClientApp/app/app.component.html +++ b/src/Ombi/ClientApp/app/app.component.html @@ -11,52 +11,107 @@
- {{customizationSettings.applicationName}} - Ombi + + {{customizationSettings.applicationName}} + + + Ombi +
- + +
-
- - - + \ No newline at end of file diff --git a/src/Ombi/ClientApp/app/app.component.ts b/src/Ombi/ClientApp/app/app.component.ts index df054f7d3..28435041b 100644 --- a/src/Ombi/ClientApp/app/app.component.ts +++ b/src/Ombi/ClientApp/app/app.component.ts @@ -25,8 +25,8 @@ export class AppComponent implements OnInit { private readonly router: Router, private readonly settingsService: SettingsService, private readonly jobService: JobService, - private readonly translate: TranslateService) { - this.translate.addLangs(["en", "de"]); + public readonly translate: TranslateService) { + this.translate.addLangs(["en", "de", "fr","da","es","it","nl"]); // this language will be used as a fallback when a translation isn't found in the current language this.translate.setDefaultLang("en"); diff --git a/src/Ombi/ClientApp/app/landingpage/landingpage.component.html b/src/Ombi/ClientApp/app/landingpage/landingpage.component.html index 4372394c3..b40b0ff4d 100644 --- a/src/Ombi/ClientApp/app/landingpage/landingpage.component.html +++ b/src/Ombi/ClientApp/app/landingpage/landingpage.component.html @@ -20,28 +20,28 @@
-

Currently Online

- The media server is currently online -

Check this page for continous site updates.

+

{{ 'LandingPage.OnlineHeading' | translate }}

+ +

-

Partially Online

- The media server is partially online. -

There are {{mediaServerStatus.serversUnavailable}} servers offline out of {{mediaServerStatus.totalServers}}.

-

There is {{mediaServerStatus.serversUnavailable}} server offline out of {{mediaServerStatus.totalServers}}.

-

Check this page for continous site updates.

+

{{ 'LandingPage.PartiallyOnlineHeading' | translate }}

+ +

+

There is {{mediaServerStatus.serversUnavailable}} server offline out of {{mediaServerStatus.totalServers}}.

+

-

Currently Offline

- The media server is currently offline -

Check this page for continous site updates.

+

{{ 'LandingPage.OfflineHeading' | translate }}

+ +

- +
diff --git a/src/Ombi/ClientApp/app/login/resetpassword.component.html b/src/Ombi/ClientApp/app/login/resetpassword.component.html index 939a4b559..9963d36a1 100644 --- a/src/Ombi/ClientApp/app/login/resetpassword.component.html +++ b/src/Ombi/ClientApp/app/login/resetpassword.component.html @@ -11,8 +11,8 @@ include the remember me checkbox

- - + +
diff --git a/src/Ombi/wwwroot/translations/en.json b/src/Ombi/wwwroot/translations/en.json index d789af942..81e47616a 100644 --- a/src/Ombi/wwwroot/translations/en.json +++ b/src/Ombi/wwwroot/translations/en.json @@ -1,9 +1,51 @@ { - "Login": { - "SignInButton": "Sign in", - "UsernamePlaceholder":"Username", - "PasswordPlaceholder":"Password", - "RememberMe":"Remember Me", - "ForgottenPassword":"Forgot your password?" - } -} \ No newline at end of file + "Login": { + "SignInButton": "Sign in", + "UsernamePlaceholder": "Username", + "PasswordPlaceholder": "Password", + "RememberMe": "Remember Me", + "ForgottenPassword": "Forgot your password?" + }, + "Common":{ + "ContinueButton":"Continue" + }, + "PasswordReset": { + "EmailAddressPlaceholder": "Email Address", + "ResetPasswordButton": "Reset Password" + }, + "LandingPage": { + "OnlineHeading":"Currently Online", + "OnlineParagraph":"The media server is currently online", + + "PartiallyOnlineHeading":"Partially Online", + "PartiallyOnlineParagraph":"The media server is partially online.", + "MultipleServersUnavailable":"There are {{serversUnavailable}} servers offline out of {{totalServers}}.", + "SingleServerUnavailable":"There is {{serversUnavailable}} server offline out of {{totalServers}}.", + + "OfflineHeading":"Currently Offline", + "OfflineParagraph":"The media server is currently offline.", + + "CheckPageForUpdates":"Check this page for continous site updates." + }, + "NavigationBar":{ + "Search":"Search", + "Requests":"Requests", + "UserManagement":"User Management", + "Donate":"Donate!", + "DonateTooltip":"This is how I convince my wife to let me spend my spare time developing Ombi ;)", + "UpdateAvailableTooltip":"Update Available!", + "Settings":"Settings", + "Welcome":"Welcome {{username}}", + "UpdateDetails":"Update Details", + "Logout":"Logout", + "Language":{ + "English":"English", + "French":"French", + "Spanish":"Spanish", + "German":"German", + "Italian":"Italian", + "Danish":"Danish", + "Dutch":"Dutch" + } + } +}