Skip to content

Commit

Permalink
fix: text updates KMCNG-2527
Browse files Browse the repository at this point in the history
  • Loading branch information
amirch1 committed Dec 10, 2023
1 parent efab97d commit 166b941
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@

<div class="kRow">
<span>{{'applications.settings.authentication.edit.metadata' | translate}}</span>
<span class="link" (click)="downloadMetadata('url')">{{'applications.settings.authentication.edit.metadata1' | translate}}</span>
<span>{{'applications.settings.authentication.edit.metadata2' | translate}}</span>
<span class="link" (click)="downloadMetadata('file')">{{'applications.settings.authentication.edit.metadata3' | translate}}</span>
<span>{{'applications.settings.authentication.edit.metadata2' | translate}}</span>
<span class="link" (click)="downloadMetadata('url')">{{'applications.settings.authentication.edit.metadata1' | translate}}</span>
</div>

<div class="kRow center">
Expand Down Expand Up @@ -174,7 +174,10 @@

<span class="kSubTitle">{{'applications.settings.authentication.edit.attributesStatement' | translate}}</span>
<div class="kRow">
<span class="gap">{{'applications.settings.authentication.edit.attributes_tt' | translate}}</span>
<div class="kFloater">
<span>{{'applications.settings.authentication.edit.attributes_tt' | translate}}</span>
<span class="text2">{{'applications.settings.authentication.edit.attributes_tt2' | translate}}</span>
</div>
</div>

<div class="kAttributeRow">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@
color: $kDandger;
padding-top: 8px;
}
.text2 {
margin-top: 12px;
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export class EditProfileComponent implements OnInit {
}

public downloadMetadata(action: string): void {
if (this.metadataLoading) return;
if (this.metadataLoading !== 'off') return;
const url = this._profilesService.getProfileMetadataUrl(this._profile.id);
if (action === 'url') { // open URL in a new tab
this._browserService.openLink(url);
Expand Down
15 changes: 8 additions & 7 deletions src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2714,17 +2714,17 @@
"titleEdit": "Edit profile",
"newProfile": "New profile",
"sps": "Service provider settings",
"metadata": "Click here to do download metadata as a",
"metadata": "Click here to download SP metadata via",
"metadata1": "URL",
"metadata2": "or",
"metadata3": "File",
"metadata3": "XML file",
"metadataUpdate": "updating...",
"ssoUrl": "Single sign on URL",
"ssoUrl_tt": "Assertion consumer service, tells the IdP where to redirect an authenticated user after sign-in. The SAML response is posted to this URL.",
"entity": "Entity ID",
"entity_tt": "The unique identifier of the service provider. This field has been automatically generated with a recommended value.",
"sign": "Sign SAML Request",
"sign_tt": "SAML Request Signature when enabled generates a signed authentication request. The request will be signed and the IdP can validate the request against the public key that was provided in the metadata (next field).",
"sign_tt": "When enabled, SAML Request Signature generates a signed authentication request. The request will be signed and the IdP can validate it against the public key that was provided in the metadata (next field).",
"signCert": "Signing certificate",
"encryption": "Encryption",
"encryption_tt": "Encrypt the SAML assertions with the public key provided below. Assertions can be decrypted with the private keys held by Kaltura.",
Expand All @@ -2740,7 +2740,8 @@
"metadataUrl": "Metadata URL",
"metadataUrl_tt": "Add the metadata URL to update the certificate automatically before the certificate expires.",
"attributesStatement": "Attribute statements",
"attributes_tt": "Type the name of the attribute as it would appear in the SAML assertion into the first text-box and map them to the Kaltura attribute statements by selecting a Kaltura attribute statement from the dropdown list:",
"attributes_tt": "Type in the attribute name, as it appears in the SAML assertion, into the provider name text-box. Map it to the Kaltura attribute statements by selecting a Kaltura attribute statement from the dropdown menu.",
"attributes_tt2": "For custom attributes, type in both the provider custom name, and Kaltura custom name.",
"attributes": {
"Core_User_FirstName": "First name",
"Core_User_LastName": "Last name",
Expand Down Expand Up @@ -2771,17 +2772,17 @@
"group": "Group attribute statements",
"group_tt": "Map the providers attributes to your Kaltura schema:",
"groupName": "Group attribute name",
"groupName_tt": "Name of the attribute that contains the user groups as it would appear in the SAML assertion.",
"groupName_tt": "Name of the attribute that contains the user groups as it appears in the SAML assertion.",
"addGroup": "Add group attribute",
"createGroups": "Create new groups",
"createGroups_tt": "Create groups in Kaltura that exist in the IdP and do not exist in Kaltura during the sync.",
"removeGroups": "Remove from existing groups",
"removeGroups_tt": "Remove users that were removed from the IdP group from the Kaltura group during the sync.",
"removeGroups_tt": "Users removed from the IdP group, will be removed from the Kaltura group during the sync.",
"groupMapping": "User group mapping",
"syncGroups": "Sync all user groups",
"syncGroups_tt": "Automatically sync all IdP user groups to Kaltura user groups. Group names in Kaltura will be identical to the ones in the SAML assertion.",
"additional": "Additional settings",
"format": "Identifier format response",
"format": "NameID format",
"format_tt": "NameID format as it will appear in the SAML request.",
"formatPh": "Select identifier format response",
"removeFormat": "Remove"
Expand Down

0 comments on commit 166b941

Please sign in to comment.