Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add i18N to the new roles section #4147

Merged
merged 2 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/short-swans-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@wso2is/console": patch
"@wso2is/i18n": patch
---

Add i18N to the new roles section
6 changes: 4 additions & 2 deletions modules/i18n/src/models/namespaces/common-ns.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved.
* Copyright (c) 2020-2023, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -139,6 +139,7 @@ export interface CommonNS {
services: string;
sdks: string;
search: string;
searching: string;
security: string;
settings: string;
setup: string;
Expand Down Expand Up @@ -178,5 +179,6 @@ export interface CommonNS {
heading: string;
description: string;
primaryActionText: string;
}
},
noResultsFound: string;
}
7 changes: 7 additions & 0 deletions modules/i18n/src/models/namespaces/console-ns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4779,6 +4779,13 @@ export interface ConsoleNS {
};
};
roleName: FormAttributes;
roleAudience: FormAttributes;
assignedApplication: FormAttributes;
notes: {
orgNote: string,
appNote: string,
cannotCreateRole: string
}
};
};
heading: string;
Expand Down
4 changes: 3 additions & 1 deletion modules/i18n/src/translations/de-DE/portals/common.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023, WSO2 LLC. (https://www.wso2.com). All Rights Reserved.
* Copyright (c) 2023, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -125,6 +125,7 @@ export const common: CommonNS = {
},
"new": "Neu",
"next": "Nächster",
"noResultsFound": "Keine Ergebnisse gefunden",
"okay": "Okay",
"operatingSystem": "Betriebssystem",
"operations": "Betrieb",
Expand Down Expand Up @@ -154,6 +155,7 @@ export const common: CommonNS = {
"save": "speichern",
"sdks": "SDKs",
"search": "Suche",
"searching": "Suche",
"security": "SICHERHEIT",
"services": "Dienstleistungen",
"settings": "die Einstellungen",
Expand Down
4 changes: 3 additions & 1 deletion modules/i18n/src/translations/en-US/portals/common.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved.
* Copyright (c) 2020-2023, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -125,6 +125,7 @@ export const common: CommonNS = {
},
new: "New",
next: "Next",
noResultsFound: "No results found",
okay: "Okay",
operatingSystem: "Operating system",
operations: "Operations",
Expand Down Expand Up @@ -154,6 +155,7 @@ export const common: CommonNS = {
save: "Save",
sdks: "SDKs",
search: "Search",
searching: "Searching",
security: "Security",
services: "Services",
settings: "Settings",
Expand Down
22 changes: 22 additions & 0 deletions modules/i18n/src/translations/en-US/portals/console.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9369,6 +9369,28 @@ export const console: ConsoleNS = {
invalid: "A {{type}} name can only contain alphanumeric characters, -, and _. "
+ "And must be of length between 3 to 30 characters."
}
},
roleAudience: {
hint: "Set the audience of the role. <1>Note that audience of the role cannot be changed.</1>",
label: "Select the role audience",
values: {
organization: "Organization-scoped role",
application: "Application-scoped role"
}
},
notes: {
orgNote: "When the role audience is organization-scoped, you can only assign the role to applications that support organization-scoped roles exclusively.",
appNote: "When the role audience is application-scoped, you can only assign the role to applications that support application-scoped roles exclusively.",
cannotCreateRole: "You cannot create an application-scoped role because there are currently no applications that support application-scoped role. Please <1>create an application</1> that supports application-scoped roles to proceed."
},
assignedApplication: {
hint: "Assign an application for the role. Note that assigned application for this role cannot be edited after the role is created.",
label: "Assigned application",
placeholder: "Select application to assign the role",
applicationSubTitle: {
application: "Support application-scoped roles",
organization: "Support organization-scoped roles"
}
}
}
},
Expand Down
4 changes: 3 additions & 1 deletion modules/i18n/src/translations/es-ES/portals/common.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2023, WSO2 LLC. (https://www.wso2.com). All Rights Reserved.
* Copyright (c) 2023, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -125,6 +125,7 @@ export const common: CommonNS = {
},
new: "Nuevo",
next: "próximo",
noResultsFound: "No se han encontrado resultados",
okay: "Okey",
operatingSystem: "Sistema operativo",
operations: "Operaciones",
Expand Down Expand Up @@ -154,6 +155,7 @@ export const common: CommonNS = {
save: "Salvar",
sdks: "SDK",
search: "Buscar",
searching: "buscando",
security: "Seguridad",
services: "Servicios",
settings: "AJUSTES",
Expand Down
4 changes: 3 additions & 1 deletion modules/i18n/src/translations/fr-FR/portals/common.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved.
* Copyright (c) 2020-2023, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -126,6 +126,7 @@ export const common: CommonNS = {
},
new: "Nouveau",
next: "Suivant",
noResultsFound: "Aucun résultat trouvé",
okay: "d'accord",
operatingSystem: "Système d'exploitation",
operations: "Opérations",
Expand Down Expand Up @@ -155,6 +156,7 @@ export const common: CommonNS = {
save: "Sauvegarder",
sdks: "SDKs",
search: "Rechercher",
searching: "Recherche",
security: "Sécurité",
services: "Services",
settings: "Paramètres",
Expand Down
22 changes: 22 additions & 0 deletions modules/i18n/src/translations/fr-FR/portals/console.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7659,6 +7659,28 @@ export const console: ConsoleNS = {
"alphanumériques, - et _. Et doit avoir une longueur comprise entre 3 " +
"et 30 caractères."
}
},
roleAudience: {
hint: "Définissez le public du rôle.<1> Notez que le public du rôle ne peut pas être modifié. </1>",
label: "Sélectionnez le rôle de rôle",
values: {
organization: "Rôle de l'organisation",
application: "Rôle appliqué"
}
},
notes: {
orgNote: "Lorsque le rôle que le public est encope, vous ne pouvez attribuer le rôle qu'aux applications qui soutiennent exclusivement les rôles qui soutiennent l'organisation.",
appNote: "Lorsque le rôle que le public est encope des applications, vous ne pouvez attribuer le rôle qu'aux applications qui prennent en charge exclusivement les rôles qui prennent des applications.",
cannotCreateRole: "Vous ne pouvez pas créer de rôle encopique appliqué car il n'y a actuellement aucune application qui prend en charge le rôle de lacopie appliquée.S'il vous plaît <1> Créer une application </1> qui prend en charge les rôles à application pour continuer."
},
assignedApplication: {
hint: "Attribuer une application pour le rôle. Notez que l'application attribuée pour ce rôle ne peut pas être modifiée après la création du rôle.",
label: "Application attribuée",
placeholder: "Sélectionnez l'application pour attribuer le rôle",
applicationSubTitle: {
application: "Prise en charge des rôles à application",
organization: "Rôles de soutien à l'organisation"
}
}
}
},
Expand Down
4 changes: 3 additions & 1 deletion modules/i18n/src/translations/pt-BR/portals/common.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved.
* Copyright (c) 2020-2023, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -125,6 +125,7 @@ export const common: CommonNS = {
},
new: "novo",
next: "Próximo",
noResultsFound: "Nenhum resultado encontrado",
okay: "OK",
operatingSystem: "Sistema operacional",
operations: "Operações",
Expand Down Expand Up @@ -154,6 +155,7 @@ export const common: CommonNS = {
save: "Salve",
sdks: "SDKs",
search: "Procurar",
searching: "Procurando",
security: "Segurança",
services: "Serviços",
settings: "Configurações",
Expand Down
4 changes: 3 additions & 1 deletion modules/i18n/src/translations/si-LK/portals/common.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved.
* Copyright (c) 2020-2023, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -125,6 +125,7 @@ export const common: CommonNS = {
},
new: "නවතම",
next: "ඊළඟ ",
noResultsFound: "ප්‍රතිඵල හමු නොවීය",
okay: "හරි",
operatingSystem: "මෙහෙයුම් පද්ධතිය",
operations: "මෙහෙයුම්",
Expand Down Expand Up @@ -154,6 +155,7 @@ export const common: CommonNS = {
save: "සුරකින්න",
sdks: "SDKs",
search: "සොයන්න",
searching: "සොයමින්",
security: "ආරක්ෂාව",
services: "සේවාවන්",
settings: "සැකසුම්",
Expand Down
22 changes: 22 additions & 0 deletions modules/i18n/src/translations/si-LK/portals/console.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7509,6 +7509,28 @@ export const console: ConsoleNS = {
invalid: "{{type}} නමක අඩංගු විය හැක්කේ අක්ෂර සංඛ්‍යා, -, සහ _ පමණි. "
+ "අක්ෂර 3 ත් 30 ත් අතර දිගකින් යුක්ත විය යුතුය."
}
},
roleAudience: {
hint: "පරිශීලක කණ්ඩායමේ ප්රේක්ෂකයින් සකසන්න.<1> භූමිකාවේ ප්රේක්ෂකයින් වෙනස් කළ නොහැකි බව සලකන්න. </1>",
label: "පරිශීලක කණ්ඩායමේ ප්රේක්ෂකයින් තෝරන්න",
values: {
organization: "සංවිධානාත්මක භූමිකාව",
application: "අයදුම්පත් භූමිකාව"
}
},
notes: {
orgNote: "පරිශීලක කණ්ඩායමේ ප්රේක්ෂකයින් සංවිධානය කරන විට, ඔබට සංවිධානය කළ හැකි යෙදුම් සඳහා වූ භූමිකාව පමණක් සංවිධානය කළ හැක්කේ සංවිධානයට සමත් වූ භූමිකාවන් පමණක් උපකාරී වන යෙදුම් පමණි.",
appNote: "භූමිකාව ප්රේක්ෂකයින් වන අයදුම්පතක් වන විට, ඔබට අවශ්ය වන්නේ යෙදුම්-ලූල් චරිතයට පමණක් සහාය දක්වන යෙදුම් සඳහා පමණි.",
cannotCreateRole: "යෙදුම් විෂය පංච චරිතයක් ඔබට කළ නොහැක මන්ද ඒවාට අයදුම්පත් භාග්ය වූ කාර්යභාරය සඳහා දැනට යෙදුම් නොමැත.කරුණාකර <1> යෙදුමක් සාදන්න </1> අයදුම්පත්-වෙන් කළ භූමිකාවන් ඉදිරියට ගෙන යාම සඳහා සහාය වේ."
},
assignedApplication: {
hint: "භූමිකාව සඳහා අයදුම්පතක් ඉල්ලා සිටින්න. මෙම භූමිකාව සඳහා පවරා ඇති අයදුම්පත නිර්මාණය කිරීමෙන් පසු සංස්කරණය කළ නොහැකි බව සලකන්න.",
label: "පවරා ඇති අයදුම්පත",
placeholder: "භූමිකාව පැවරීම සඳහා අයදුම්පත තෝරන්න",
applicationSubTitle: {
application: "අයදුම්පත් සහිත භූමිකාවන් සහාය",
organization: "සංවිධාන භූමිකාවන් සහාය"
}
}
}
},
Expand Down
4 changes: 3 additions & 1 deletion modules/i18n/src/translations/ta-IN/portals/common.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2020, WSO2 LLC. (https://www.wso2.com). All Rights Reserved.
* Copyright (c) 2020-2023, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -126,6 +126,7 @@ export const common: CommonNS = {
},
new: "புதிய",
next: "அடுத்தது",
noResultsFound: "முடிவுகள் எதுவும் இல்லை",
okay: "சரி",
operatingSystem: "இயங்கு தளம்",
operations: "செயற்பாடுகள்",
Expand Down Expand Up @@ -155,6 +156,7 @@ export const common: CommonNS = {
save: "சேமி",
sdks: "SDKகள்",
search: "தேடு",
searching: "தேடி",
security: "பாதுகாப்பு",
services: "சேவைகள்",
settings: "அமைப்புகள்",
Expand Down
Loading