Skip to content

Commit 787f8bc

Browse files
committed
Fixes #675
1 parent 664f87e commit 787f8bc

4 files changed

Lines changed: 15 additions & 3 deletions

File tree

dashboard-gui/src/javascripts/locale/en.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,6 +1269,10 @@ I18n.translations.en = {
12691269
authn_context_level: 'MFA Setting',
12701270
defaultAuthnContextLevel: 'Do not force MFA at my IdP for this application',
12711271
multipleauthn: 'Multi-factor on ADFS or Azure AD',
1272+
linked_institution: 'eduID linked institution',
1273+
validate_names: 'eduID validated name',
1274+
validate_names_external: 'eduID validated name by an external (non institutional) source',
1275+
affiliation_student: 'eduID require student affiliation',
12721276
mfa: 'Generic multi-factor (REFEDS MFA)',
12731277
transparent_authn_context: "Transparent Authn context",
12741278
mobileonefactorcontract: "Mobile one factor",

dashboard-gui/src/javascripts/locale/nl.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1274,13 +1274,17 @@ I18n.translations.nl = {
12741274
authn_context_level: 'MFA Setting',
12751275
defaultAuthnContextLevel: 'Dwing geen tweede factor af bij mijn IdP voor deze applicatie',
12761276
multipleauthn: 'Multi-factor op ADFS of Azure AD',
1277+
linked_institution: 'eduID linked institution',
1278+
validate_names: 'eduID validated name',
1279+
validate_names_external: 'eduID validated name by an external (non institutional) source',
1280+
affiliation_student: 'eduID require student affiliation',
12771281
mfa: 'Generieke multi-factor (REFEDS MFA)',
12781282
transparent_authn_context: "Transparent Authn context",
12791283
mobileonefactorcontract: "Mobile one factor",
12801284
multipleauthn_short: 'MFA Microsoft',
1285+
mfa_short: 'MFA Generiek',
12811286
mobileonefactorunregistered: 'Mobile one unregistered',
12821287
password: 'Wachtwoord',
1283-
mfa_short: 'MFA Generiek',
12841288
not_allowed: "Je kan de MFA voor deze applicatie niet aanpassen. Neem contact op met <a href=\"mailto:support@surfconext.nl\">support@surfconext.nl</a> als je een andere MFA wenst voor deze applicatie.."
12851289
},
12861290

dashboard-gui/src/javascripts/locale/pt.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1284,13 +1284,17 @@ I18n.translations.pt = {
12841284
authn_context_level: 'MFA Setting',
12851285
defaultAuthnContextLevel: 'Do not force MFA at my IdP for this service',
12861286
multipleauthn: 'Multi-factor on ADFS or Azure AD',
1287+
linked_institution: 'eduID linked institution',
1288+
validate_names: 'eduID validated name',
1289+
validate_names_external: 'eduID validated name by an external (non institutional) source',
1290+
affiliation_student: 'eduID require student affiliation',
12871291
mfa: 'Generic multi-factor (REFEDS MFA)',
12881292
transparent_authn_context: "Transparent Authn context",
12891293
mobileonefactorcontract: "Mobile one factor",
12901294
multipleauthn_short: 'MFA Microsoft',
1295+
mfa_short: 'MFA Generic',
12911296
mobileonefactorunregistered: 'Mobile one unregistered',
12921297
password: 'Wachtwoord',
1293-
mfa_short: 'MFA Generic',
12941298
not_allowed: "You can not change the MFA for this service. Please contact <a href=\"mailto:support@surfconext.nl\">support@surfconext.nl</a> if you want to change the MFA for this service."
12951299
},
12961300
}

dashboard-gui/src/javascripts/pages/mfa.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default function MFA({app}) {
2727

2828
const getAuthContextValue = authContextLevel => {
2929
const splitted = authContextLevel.split(/[\/|:]/)
30-
const value = splitted[splitted.length - 1].toLowerCase();
30+
const value = splitted[splitted.length - 1].toLowerCase().replaceAll("-","_");
3131
return I18n.t(`mfa_panel.${value}`)
3232
}
3333

0 commit comments

Comments
 (0)