diff --git a/.changeset/short-swans-fetch.md b/.changeset/short-swans-fetch.md new file mode 100644 index 00000000000..c76da03bdf5 --- /dev/null +++ b/.changeset/short-swans-fetch.md @@ -0,0 +1,6 @@ +--- +"@wso2is/console": patch +"@wso2is/i18n": patch +--- + +Add i18N to the new roles section diff --git a/modules/i18n/src/models/namespaces/common-ns.ts b/modules/i18n/src/models/namespaces/common-ns.ts index 9e784a7061f..29d0759b0c8 100644 --- a/modules/i18n/src/models/namespaces/common-ns.ts +++ b/modules/i18n/src/models/namespaces/common-ns.ts @@ -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 @@ -139,6 +139,7 @@ export interface CommonNS { services: string; sdks: string; search: string; + searching: string; security: string; settings: string; setup: string; @@ -178,5 +179,6 @@ export interface CommonNS { heading: string; description: string; primaryActionText: string; - } + }, + noResultsFound: string; } diff --git a/modules/i18n/src/models/namespaces/console-ns.ts b/modules/i18n/src/models/namespaces/console-ns.ts index b2350340de0..5221a681179 100644 --- a/modules/i18n/src/models/namespaces/console-ns.ts +++ b/modules/i18n/src/models/namespaces/console-ns.ts @@ -4779,6 +4779,13 @@ export interface ConsoleNS { }; }; roleName: FormAttributes; + roleAudience: FormAttributes; + assignedApplication: FormAttributes; + notes: { + orgNote: string, + appNote: string, + cannotCreateRole: string + } }; }; heading: string; diff --git a/modules/i18n/src/translations/de-DE/portals/common.ts b/modules/i18n/src/translations/de-DE/portals/common.ts index 4a40ffe173d..b2575f78970 100644 --- a/modules/i18n/src/translations/de-DE/portals/common.ts +++ b/modules/i18n/src/translations/de-DE/portals/common.ts @@ -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 @@ -125,6 +125,7 @@ export const common: CommonNS = { }, "new": "Neu", "next": "Nächster", + "noResultsFound": "Keine Ergebnisse gefunden", "okay": "Okay", "operatingSystem": "Betriebssystem", "operations": "Betrieb", @@ -154,6 +155,7 @@ export const common: CommonNS = { "save": "speichern", "sdks": "SDKs", "search": "Suche", + "searching": "Suche", "security": "SICHERHEIT", "services": "Dienstleistungen", "settings": "die Einstellungen", diff --git a/modules/i18n/src/translations/en-US/portals/common.ts b/modules/i18n/src/translations/en-US/portals/common.ts index e2fe2bf9878..9993846aeb4 100755 --- a/modules/i18n/src/translations/en-US/portals/common.ts +++ b/modules/i18n/src/translations/en-US/portals/common.ts @@ -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 @@ -125,6 +125,7 @@ export const common: CommonNS = { }, new: "New", next: "Next", + noResultsFound: "No results found", okay: "Okay", operatingSystem: "Operating system", operations: "Operations", @@ -154,6 +155,7 @@ export const common: CommonNS = { save: "Save", sdks: "SDKs", search: "Search", + searching: "Searching", security: "Security", services: "Services", settings: "Settings", diff --git a/modules/i18n/src/translations/en-US/portals/console.ts b/modules/i18n/src/translations/en-US/portals/console.ts index d61ffd428e6..d6371960ee8 100644 --- a/modules/i18n/src/translations/en-US/portals/console.ts +++ b/modules/i18n/src/translations/en-US/portals/console.ts @@ -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.", + 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 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" + } } } }, diff --git a/modules/i18n/src/translations/es-ES/portals/common.ts b/modules/i18n/src/translations/es-ES/portals/common.ts index 0759afbb4ef..362ce88e77f 100644 --- a/modules/i18n/src/translations/es-ES/portals/common.ts +++ b/modules/i18n/src/translations/es-ES/portals/common.ts @@ -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 @@ -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", @@ -154,6 +155,7 @@ export const common: CommonNS = { save: "Salvar", sdks: "SDK", search: "Buscar", + searching: "buscando", security: "Seguridad", services: "Servicios", settings: "AJUSTES", diff --git a/modules/i18n/src/translations/fr-FR/portals/common.ts b/modules/i18n/src/translations/fr-FR/portals/common.ts index 6a59ed5a6b7..e5ed0912007 100755 --- a/modules/i18n/src/translations/fr-FR/portals/common.ts +++ b/modules/i18n/src/translations/fr-FR/portals/common.ts @@ -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 @@ -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", @@ -155,6 +156,7 @@ export const common: CommonNS = { save: "Sauvegarder", sdks: "SDKs", search: "Rechercher", + searching: "Recherche", security: "Sécurité", services: "Services", settings: "Paramètres", diff --git a/modules/i18n/src/translations/fr-FR/portals/console.ts b/modules/i18n/src/translations/fr-FR/portals/console.ts index 0904126f0d3..686bf9cb65c 100755 --- a/modules/i18n/src/translations/fr-FR/portals/console.ts +++ b/modules/i18n/src/translations/fr-FR/portals/console.ts @@ -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é. ", + 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 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" + } } } }, diff --git a/modules/i18n/src/translations/pt-BR/portals/common.ts b/modules/i18n/src/translations/pt-BR/portals/common.ts index 71f829d6f8b..0501ef974da 100755 --- a/modules/i18n/src/translations/pt-BR/portals/common.ts +++ b/modules/i18n/src/translations/pt-BR/portals/common.ts @@ -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 @@ -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", @@ -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", diff --git a/modules/i18n/src/translations/si-LK/portals/common.ts b/modules/i18n/src/translations/si-LK/portals/common.ts index d73a19b0306..fb04e2dac8a 100755 --- a/modules/i18n/src/translations/si-LK/portals/common.ts +++ b/modules/i18n/src/translations/si-LK/portals/common.ts @@ -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 @@ -125,6 +125,7 @@ export const common: CommonNS = { }, new: "නවතම", next: "ඊළඟ ", + noResultsFound: "ප්‍රතිඵල හමු නොවීය", okay: "හරි", operatingSystem: "මෙහෙයුම් පද්ධතිය", operations: "මෙහෙයුම්", @@ -154,6 +155,7 @@ export const common: CommonNS = { save: "සුරකින්න", sdks: "SDKs", search: "සොයන්න", + searching: "සොයමින්", security: "ආරක්ෂාව", services: "සේවාවන්", settings: "සැකසුම්", diff --git a/modules/i18n/src/translations/si-LK/portals/console.ts b/modules/i18n/src/translations/si-LK/portals/console.ts index d22efffecea..ca07374f9a7 100755 --- a/modules/i18n/src/translations/si-LK/portals/console.ts +++ b/modules/i18n/src/translations/si-LK/portals/console.ts @@ -7509,6 +7509,28 @@ export const console: ConsoleNS = { invalid: "{{type}} නමක අඩංගු විය හැක්කේ අක්ෂර සංඛ්‍යා, -, සහ _ පමණි. " + "අක්ෂර 3 ත් 30 ත් අතර දිගකින් යුක්ත විය යුතුය." } + }, + roleAudience: { + hint: "පරිශීලක කණ්ඩායමේ ප්රේක්ෂකයින් සකසන්න.<1> භූමිකාවේ ප්රේක්ෂකයින් වෙනස් කළ නොහැකි බව සලකන්න. ", + label: "පරිශීලක කණ්ඩායමේ ප්රේක්ෂකයින් තෝරන්න", + values: { + organization: "සංවිධානාත්මක භූමිකාව", + application: "අයදුම්පත් භූමිකාව" + } + }, + notes: { + orgNote: "පරිශීලක කණ්ඩායමේ ප්රේක්ෂකයින් සංවිධානය කරන විට, ඔබට සංවිධානය කළ හැකි යෙදුම් සඳහා වූ භූමිකාව පමණක් සංවිධානය කළ හැක්කේ සංවිධානයට සමත් වූ භූමිකාවන් පමණක් උපකාරී වන යෙදුම් පමණි.", + appNote: "භූමිකාව ප්රේක්ෂකයින් වන අයදුම්පතක් වන විට, ඔබට අවශ්ය වන්නේ යෙදුම්-ලූල් චරිතයට පමණක් සහාය දක්වන යෙදුම් සඳහා පමණි.", + cannotCreateRole: "යෙදුම් විෂය පංච චරිතයක් ඔබට කළ නොහැක මන්ද ඒවාට අයදුම්පත් භාග්ය වූ කාර්යභාරය සඳහා දැනට යෙදුම් නොමැත.කරුණාකර <1> යෙදුමක් සාදන්න අයදුම්පත්-වෙන් කළ භූමිකාවන් ඉදිරියට ගෙන යාම සඳහා සහාය වේ." + }, + assignedApplication: { + hint: "භූමිකාව සඳහා අයදුම්පතක් ඉල්ලා සිටින්න. මෙම භූමිකාව සඳහා පවරා ඇති අයදුම්පත නිර්මාණය කිරීමෙන් පසු සංස්කරණය කළ නොහැකි බව සලකන්න.", + label: "පවරා ඇති අයදුම්පත", + placeholder: "භූමිකාව පැවරීම සඳහා අයදුම්පත තෝරන්න", + applicationSubTitle: { + application: "අයදුම්පත් සහිත භූමිකාවන් සහාය", + organization: "සංවිධාන භූමිකාවන් සහාය" + } } } }, diff --git a/modules/i18n/src/translations/ta-IN/portals/common.ts b/modules/i18n/src/translations/ta-IN/portals/common.ts index 8a91db4ac80..7d434255a32 100755 --- a/modules/i18n/src/translations/ta-IN/portals/common.ts +++ b/modules/i18n/src/translations/ta-IN/portals/common.ts @@ -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 @@ -126,6 +126,7 @@ export const common: CommonNS = { }, new: "புதிய", next: "அடுத்தது", + noResultsFound: "முடிவுகள் எதுவும் இல்லை", okay: "சரி", operatingSystem: "இயங்கு தளம்", operations: "செயற்பாடுகள்", @@ -155,6 +156,7 @@ export const common: CommonNS = { save: "சேமி", sdks: "SDKகள்", search: "தேடு", + searching: "தேடி", security: "பாதுகாப்பு", services: "சேவைகள்", settings: "அமைப்புகள்",