Skip to content

Commit

Permalink
Merge pull request wso2#4528 from bhagyasakalanka/sms-provider-wording
Browse files Browse the repository at this point in the history
Change wording in sms and email providers
  • Loading branch information
bhagyasakalanka authored Nov 8, 2023
2 parents a3db118 + 1b74de3 commit 1f11739
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 32 deletions.
7 changes: 7 additions & 0 deletions .changeset/large-bees-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@wso2is/console": patch
"@wso2is/myaccount": patch
"@wso2is/i18n": patch
---

Change wording in SMS/ Email provider.
18 changes: 9 additions & 9 deletions apps/console/src/extensions/i18n/resources/en-US/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1982,13 +1982,13 @@ export const extensions: Extensions = {
},
emailProviders: {
configureEmailProvider: "Configure Email Provider",
heading: "Email Provider",
heading: "Custom Email Provider",
subHeading: "Configure a custom SMTP server to send emails to your users with your own email address.",
description: "Configure the following settings according to your SMTP server.",
description: "Configure the email provider settings according to your SMTP server.",
info: "You can customize the email content using <1>Email Templates</1>.",
updateButton: "Update",
sendTestMailButton: "Send Test Email",
goBack: "Go back to Notification Channels",
goBack: "Go back to Channels",
confirmationModal: {
assertionHint: "Please confirm your action.",
content: "If you delete this configuration, the emails will be sent from the Asgardeo Email Address. " +
Expand Down Expand Up @@ -2082,18 +2082,18 @@ export const extensions: Extensions = {
}
},
notificationChannel: {
heading: "Notification Channels",
title: "Notification Channels",
description: "Configure the notification channels for your organization."
heading: "SMS / Email Providers",
title: "SMS / Email Providers",
description: "Configure the SMS and Email providers for your organization."
},
smsProviders: {
heading: "SMS Provider",
heading: "Custom SMS Provider",
subHeading: "Configure a custom SMS provider to send SMS to your users.",
description: "Configure the following settings according to your SMS provider.",
description: "Configure the SMS provider settings according to your SMS provider.",
info: "You can customize the SMS content using <1>SMS Templates</1>.",
updateButton: "Update",
sendTestSMSButton: "Send Test SMS",
goBack: "Go back to Notification Channels",
goBack: "Go back to Channels",
confirmationModal: {
assertionHint: "Please confirm your action.",
content: "If you delete this configuration, you will not receive SMS." +
Expand Down
18 changes: 9 additions & 9 deletions apps/console/src/extensions/i18n/resources/fr-FR/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2015,13 +2015,13 @@ export const extensions: Extensions = {
},
emailProviders: {
configureEmailProvider: "Configurer le fournisseur de messagerie",
heading: "Fournisseur de messagerie",
heading: "Fournisseur de messagerie personnalisé",
subHeading: "Configurez des serveurs SMTP personnalisés pour envoyer des e-mails avec votre propre adresse e-mail.",
description: "Configurez les paramètres suivants en fonction de votre serveur SMTP.",
description: "Configurez les paramètres du fournisseur de messagerie en fonction de votre serveur SMTP.",
info: "Vous pouvez personnaliser le contenu des e-mails à l'aide de <1>Modèles d'e-mails</1>.",
updateButton: "Mise à jour",
sendTestMailButton: "Envoyer un e-mail test",
goBack: "Revenir aux canaux de notification",
goBack: "Revenir aux chaînes",
confirmationModal: {
assertionHint: "Veuillez confirmer votre action.",
content: "Si vous supprimez cette configuration, les e-mails seront envoyés à partir de l'adresse e-mail Asgardeo. " +
Expand Down Expand Up @@ -2116,18 +2116,18 @@ export const extensions: Extensions = {
}
},
notificationChannel: {
heading: "Canal de notification",
title: "Canal de notification",
description: "Configurez les canaux de notification pour envoyer des notifications à vos utilisateurs."
heading: "Fournisseurs SMS/e-mail",
title: "Fournisseurs SMS/e-mail",
description: "Configurez les fournisseurs SMS et Email pour votre organisation."
},
smsProviders: {
heading: "Fournisseur SMS",
heading: "Fournisseur de SMS personnalisé",
subHeading: "Configurez un fournisseur SMS personnalisé pour envoyer des SMS à vos utilisateurs.",
description: "Configurez les paramètres suivants en fonction de votre fournisseur SMS.",
description: "Configurez les paramètres du fournisseur SMS en fonction de votre fournisseur SMS.",
info: "Vous pouvez personnaliser le contenu du SMS à l'aide des <1>Modèles de SMS</1>.",
updateButton: "Mise à jour",
sendTestSMSButton: "Envoyer un SMS test",
goBack: "Revenir aux canaux de notification",
goBack: "Revenir aux chaînes",
confirmationModal: {
assertionHint: "Veuillez confirmer votre action.",
content: "Si vous supprimez cette configuration, vous ne recevrez pas de SMS." +
Expand Down
18 changes: 9 additions & 9 deletions apps/console/src/extensions/i18n/resources/si-LK/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1957,13 +1957,13 @@ export const extensions: Extensions = {
},
emailProviders: {
configureEmailProvider: "පණිවුඩකරණ සැපයුම්කරු වින්යාස කරන්න",
heading: "ඊමේල් සපයන්නා",
heading: "අභිරුචි ඊමේල් සපයන්නා",
subHeading: "ඔබගේම ඊමේල් ලිපිනය සමඟ තැපැල් යැවීමට අභිරුචි SMTP සේවාදායකයන් වින්‍යාස කරන්න.",
description: "ඔබගේ SMTP සේවාදායකයට අනුව පහත සැකසුම් වින්‍යාස කරන්න.",
description: "ඔබගේ SMTP සේවාදායකයට අනුව විද්‍යුත් තැපැල් සැපයුම්කරු සැකසුම් වින්‍යාස කරන්න.",
info: "ඔබට <1>ඊමේල් සැකිලි</1> භාවිතයෙන් ඊමේල් අන්තර්ගතය අභිරුචිකරණය කළ හැක.",
updateButton: "යාවත්කාලීන කරන්න",
sendTestMailButton: "පරීක්ෂණ විද්‍යුත් තැපෑල යවන්න",
goBack: "දැනුම්දීම් නාලිකා වෙත ආපසු යන්න",
goBack: "නාලිකා වෙත ආපසු යන්න",
confirmationModal: {
assertionHint: "කරුණාකර ඔබගේ ක්‍රියාව තහවුරු කරන්න.",
content: "ඔබ මෙම වින්‍යාසය මකා දැමුවහොත්, ඊමේල් Asgardeo විද්‍යුත් තැපැල් ලිපිනයෙන් යවනු ලැබේ. කරුණාකර ප්‍රවේශමෙන් ඉදිරියට යන්න.",
Expand Down Expand Up @@ -2055,18 +2055,18 @@ export const extensions: Extensions = {
}
},
notificationChannel: {
heading: "නිවේදන නාලිකා",
title: "නිවේදන නාලිකා",
description: "ඔබේ සංවිධානය සඳහා දැනුම්දීම් නාලිකා වින්‍යාස කරන්න."
heading: "SMS / ඊමේල් සපයන්නන්",
title: "SMS / ඊමේල් සපයන්නන්",
description: "ඔබේ සංවිධානය සඳහා SMS සහ විද්‍යුත් තැපැල් සපයන්නන් වින්‍යාස කරන්න."
},
smsProviders: {
heading: "SMS සපයන්නා",
heading: "අභිරුචි කෙටි පණිවුඩ සපයන්නා",
subHeading: "ඔබගේ පරිශීලකයින්ට SMS යැවීමට අභිරුචි SMS සපයන්නෙකු වින්‍යාස කරන්න.",
description: "ඔබගේ SMS සපයන්නාට අනුව පහත සැකසුම් වින්‍යාස කරන්න.",
description: "ඔබගේ SMS සපයන්නාට අනුව SMS සපයන්නාගේ සැකසුම් වින්‍යාස කරන්න.",
info: "ඔබට <1>SMS සැකිලි</1> භාවිතයෙන් SMS අන්තර්ගතය අභිරුචිකරණය කළ හැක.",
updateButton: "යාවත්කාලීන කරන්න",
sendTestSMSButton: "පරීක්ෂණ SMS යවන්න",
goBack: "දැනුම්දීම් නාලිකා වෙත ආපසු යන්න",
goBack: "නාලිකා වෙත ආපසු යන්න",
confirmationModal: {
assertionHint: "කරුණාකර ඔබගේ ක්‍රියාව තහවුරු කරන්න.",
content: "ඔබ මෙම වින්‍යාසය මකා දැමුවහොත්, ඔබට SMS නොලැබෙනු ඇත. කරුණාකර ප්‍රවේශමෙන් ඉදිරියට යන්න.",
Expand Down
4 changes: 2 additions & 2 deletions apps/console/src/features/core/configs/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -467,9 +467,9 @@ export const getAppViewRoutes = (useExtendedRoutes: boolean = false): RouteInter
exact: true,
icon: { icon: <EnvelopeGearIcon fill="black" className="icon" /> },
id: "notification-channels",
name: "Notification Channels",
name: "Channels",
order: 15,
path: `${ AppConstants.getDeveloperViewBasePath() }/notification-channels`,
path: `${ AppConstants.getDeveloperViewBasePath() }/channels`,
protected: true,
showOnSidePanel: true
},
Expand Down
2 changes: 1 addition & 1 deletion apps/console/src/features/core/utils/route-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ export class RouteUtils {
parent: branding,
selected: history.location.pathname === AppConstants.getPaths().get("EMAIL_PROVIDER") ||
history.location.pathname === AppConstants.getPaths().get("SMS_PROVIDER") ||
history.location.pathname === `${ AppConstants.getDeveloperViewBasePath() }/notification-channels`
history.location.pathname === `${ AppConstants.getDeveloperViewBasePath() }/channels`
},
{
category: settings,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ const EmailProvidersPage: FunctionComponent<EmailProvidersPageInterface> = (
};

const handleBackButtonClick = () => {
history.push(`${ AppConstants.getDeveloperViewBasePath() }/notification-channels`);
history.push(`${ AppConstants.getDeveloperViewBasePath() }/channels`);
};

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ const SMSProviders: FunctionComponent<SMSProviderPageInterface> = (
};

const handleBackButtonClick = () => {
history.push(`${ AppConstants.getDeveloperViewBasePath() }/notification-channels`);
history.push(`${ AppConstants.getDeveloperViewBasePath() }/channels`);
};

return (
Expand Down

0 comments on commit 1f11739

Please sign in to comment.