diff --git a/openid-connect-server-webapp/src/main/webapp/resources/js/client.js b/openid-connect-server-webapp/src/main/webapp/resources/js/client.js index 03204c8f8..514dfba93 100644 --- a/openid-connect-server-webapp/src/main/webapp/resources/js/client.js +++ b/openid-connect-server-webapp/src/main/webapp/resources/js/client.js @@ -1030,7 +1030,7 @@ var ClientFormView = Backbone.View.extend({ }); var contactsView = new ListWidgetView({ - placeholder: 'new contact', + placeholder: $.t("client.client-form.contacts-placeholder"), collection: this.contactsCollection}); $("#contacts .controls", this.el).html(contactsView.render().el); this.listWidgetViews.push(contactsView); diff --git a/openid-connect-server-webapp/src/main/webapp/resources/js/locale/en/messages.json b/openid-connect-server-webapp/src/main/webapp/resources/js/locale/en/messages.json index 963726f67..77cb20398 100644 --- a/openid-connect-server-webapp/src/main/webapp/resources/js/locale/en/messages.json +++ b/openid-connect-server-webapp/src/main/webapp/resources/js/locale/en/messages.json @@ -14,6 +14,40 @@ } }, "client": { + "client-form": { + "access": "Access", + "client-description": "Description", + "client-description-help": "Human-readable text description", + "client-description-placeholder": "Type a description", + "client-id": "Client ID", + "client-id-help": "Unique identifier. If you leave this blank it will be automatically generated.", + "client-id-placeholder": "Type something", + "client-name": "Client name", + "client-name-help": "Human-readable application name", + "client-name-placeholder": "Type something", + "contacts": "Kontakter", + "contacts-placeholder": "new contact", + "credentials": "Credentials", + "crypto": "Crypto", + "edit": "Edit Client", + "home": "Home Page", + "home-help": "URL for the client's home page, will be displayed to the user", + "logo": "Logo", + "logo-help": "URL that points to a logo image, will be displayed on approval page", + "main": "Main", + "new": "New Client", + "other": "Other", + "policy": "Policy Statement", + "policy-help": "URL for the Policy Statement of this client, will be displayed to the user", + "redirect-uris": "Redirect URI(s)", + "registered": "Registered at", + "terms": "Terms of Service", + "terms-help": "URL for the Terms of Service of this client, will be displayed to the user", + "tokens": "Tokens", + "type": "Application Type", + "type-native": "Native", + "type-web": "Web" + }, "client-table": { "new": "New Client", "no-clients": "There are no registered clients on this server.", diff --git a/openid-connect-server-webapp/src/main/webapp/resources/js/locale/sv/messages.json b/openid-connect-server-webapp/src/main/webapp/resources/js/locale/sv/messages.json index dcd14ced0..7c64b335f 100644 --- a/openid-connect-server-webapp/src/main/webapp/resources/js/locale/sv/messages.json +++ b/openid-connect-server-webapp/src/main/webapp/resources/js/locale/sv/messages.json @@ -2,7 +2,7 @@ "admin": { "blacklist": "Svartlista", "blacklist-form": { - "blacklisted-uris": "Svarlistade URIer" + "blacklisted-uris": "Svarlistade länkar" }, "list-widget": { "empty": "Det finns inget innehåll i denna lista." @@ -14,6 +14,40 @@ } }, "client": { + "client-form": { + "access": "Behörigheter", + "client-description": "Beskrivning", + "client-description-help": "Läsbar och begriplig text som beskriver klienten", + "client-description-placeholder": "Mata in en beskrivning", + "client-id": "Klient-ID", + "client-id-help": "Unik identifierare. Om du lämnar detta fält tomt kommer ett nytt ID genereras automatiskt", + "client-id-placeholder": "Skriv någonting", + "client-name": "Klientnamn", + "client-name-help": "Läsbar och begripligt namn på klienten", + "client-name-placeholder": "Skriv någonting", + "contacts": "Kontakter", + "contacts-placeholder": "ny kontakt", + "credentials": "Hemligheter", + "crypto": "Krypto", + "edit": "Ändra klient", + "home": "Hemsida", + "home-help": "Länk till tjänstens hemsida. Den kommer att visas på bekräftelsesidan.", + "logo": "Logotyp", + "logo-help": "Länk till en logotyp. Den kommer att visas på bekräftelsesidan.", + "main": "Basinformation", + "new": "Ny klient", + "other": "Övrigt", + "policy": "Policy-information", + "policy-help": "Länk till en sida som beskriver tjänstens policy. Den visas på bekräftelsesidan.", + "redirect-uris": "Omdirigieringslänkar", + "registered": "Registrerad", + "terms": "Villkor för tjänsten", + "terms-help": "Länk till en sida som beskriver villkor för tjänsten. Den visas på bekräftelsesidan.", + "tokens": "Nycklar", + "type": "Typ av tjänst", + "type-native": "App", + "type-web": "Webb" + }, "client-table": { "new": "Ny klient", "no-clients": "Det finns inga klienter registrerade.", diff --git a/openid-connect-server-webapp/src/main/webapp/resources/template/client.html b/openid-connect-server-webapp/src/main/webapp/resources/template/client.html index c84a5c806..94ab1104e 100644 --- a/openid-connect-server-webapp/src/main/webapp/resources/template/client.html +++ b/openid-connect-server-webapp/src/main/webapp/resources/template/client.html @@ -167,73 +167,74 @@