From e021b500fa5c997d358600cc585c0805aa077a49 Mon Sep 17 00:00:00 2001 From: Bibash Shrestha Date: Mon, 22 Apr 2024 16:24:51 +0545 Subject: [PATCH] feat: Wording switch Client Credentials #2614 --- .../ssi/oidc4vc_settngs/view/oidc4vc_settings_menu.dart | 2 +- ...tials_widget.dart => confidential_client_widget.dart} | 6 +++--- .../drawer/ssi/oidc4vc_settngs/widget/widget.dart | 2 +- lib/l10n/arb/app_ca.arb | 1 - lib/l10n/arb/app_en.arb | 6 +++--- lib/l10n/arb/app_es.arb | 1 - lib/l10n/arb/app_fr.arb | 1 - lib/l10n/untranslated.json | 9 ++++++--- 8 files changed, 14 insertions(+), 14 deletions(-) rename lib/dashboard/drawer/ssi/oidc4vc_settngs/widget/{client_credentials_widget.dart => confidential_client_widget.dart} (98%) diff --git a/lib/dashboard/drawer/ssi/oidc4vc_settngs/view/oidc4vc_settings_menu.dart b/lib/dashboard/drawer/ssi/oidc4vc_settngs/view/oidc4vc_settings_menu.dart index 2e185ddc9..f0b5a6433 100644 --- a/lib/dashboard/drawer/ssi/oidc4vc_settngs/view/oidc4vc_settings_menu.dart +++ b/lib/dashboard/drawer/ssi/oidc4vc_settngs/view/oidc4vc_settings_menu.dart @@ -44,7 +44,7 @@ class Oidc4vcSettingMenuView extends StatelessWidget { const ScopeParameterWidget(), const ClientAuthenticationWidget(), const ClientTypeWidget(), - const ClientCredentialsWidget(), + const ConfidentialClientWidget(), const VCFormatWidget(), const ProofTypeWidget(), const ProofHeaderWidget(), diff --git a/lib/dashboard/drawer/ssi/oidc4vc_settngs/widget/client_credentials_widget.dart b/lib/dashboard/drawer/ssi/oidc4vc_settngs/widget/confidential_client_widget.dart similarity index 98% rename from lib/dashboard/drawer/ssi/oidc4vc_settngs/widget/client_credentials_widget.dart rename to lib/dashboard/drawer/ssi/oidc4vc_settngs/widget/confidential_client_widget.dart index 9337b794b..11430ac91 100644 --- a/lib/dashboard/drawer/ssi/oidc4vc_settngs/widget/client_credentials_widget.dart +++ b/lib/dashboard/drawer/ssi/oidc4vc_settngs/widget/confidential_client_widget.dart @@ -5,8 +5,8 @@ import 'package:altme/theme/theme.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; -class ClientCredentialsWidget extends StatelessWidget { - const ClientCredentialsWidget({super.key}); +class ConfidentialClientWidget extends StatelessWidget { + const ConfidentialClientWidget({super.key}); @override Widget build(BuildContext context) { @@ -27,7 +27,7 @@ class ClientCredentialsWidget extends StatelessWidget { ); return OptionContainer( - title: l10n.clientCredentials, + title: l10n.confidentialClient, body: Padding( padding: const EdgeInsets.symmetric(horizontal: 10), child: Column( diff --git a/lib/dashboard/drawer/ssi/oidc4vc_settngs/widget/widget.dart b/lib/dashboard/drawer/ssi/oidc4vc_settngs/widget/widget.dart index 8fba43ada..fd70d3be3 100644 --- a/lib/dashboard/drawer/ssi/oidc4vc_settngs/widget/widget.dart +++ b/lib/dashboard/drawer/ssi/oidc4vc_settngs/widget/widget.dart @@ -1,6 +1,6 @@ export 'client_authentication_widget.dart'; -export 'client_credentials_widget.dart'; export 'client_type_widget.dart'; +export 'confidential_client_widget.dart'; export 'cryptograhic_holder_binding.dart'; export 'did_key_type_widget.dart'; export 'draft_type_widget.dart'; diff --git a/lib/l10n/arb/app_ca.arb b/lib/l10n/arb/app_ca.arb index e8f461d50..cd3922970 100644 --- a/lib/l10n/arb/app_ca.arb +++ b/lib/l10n/arb/app_ca.arb @@ -1020,7 +1020,6 @@ "profileName": "Nom del perfil", "companyName": "Nom de l’empresa", "configFileIdentifier": "Identificador de l’arxiu de config", - "clientCredentials": "Credencials del client", "updateYourWalletConfigNow": "Actualitzar ara config de cartera", "updateConfigurationNow": "Actualitza la configuració ara", "pleaseEnterYourEmailAndPasswordToUpdateYourOrganizationWalletConfiguration": "Indica el correu electrònic i la contrasenya per actualitzar la configuració de la cartera de la teva organització.", diff --git a/lib/l10n/arb/app_en.arb b/lib/l10n/arb/app_en.arb index 4f756bd70..2363d1f27 100644 --- a/lib/l10n/arb/app_en.arb +++ b/lib/l10n/arb/app_en.arb @@ -1010,8 +1010,7 @@ "organizationProfile": "Organization Profile", "profileName": "Profile Name", "companyName": "Company Name", - "configFileIdentifier": "Config file identifier", - "clientCredentials": "Client Credentials", + "configFileIdentifier": "Config file identifier", "updateYourWalletConfigNow": "Update your wallet config now", "updateConfigurationNow": "Update configuration now", "pleaseEnterYourEmailAndPasswordToUpdateYourOrganizationWalletConfiguration": "Please enter your email and password to update your organization wallet configuration", @@ -1056,5 +1055,6 @@ "statusList": "Status list", "statusListIndex": "Status list index", "theWalletIsSuspended": "The wallet is suspended.", - "clientTypeTitle": "Wallet Client_id Scheme" + "clientTypeTitle": "Wallet Client_id Scheme", + "confidentialClient": "Confidential Client" } diff --git a/lib/l10n/arb/app_es.arb b/lib/l10n/arb/app_es.arb index a0118b01c..b6a45d984 100644 --- a/lib/l10n/arb/app_es.arb +++ b/lib/l10n/arb/app_es.arb @@ -1020,7 +1020,6 @@ "profileName": "Nombre de perfil", "companyName": "Nombre de la empresa", "configFileIdentifier": "Identificador de archivo de configuración", - "clientCredentials": "Credenciales de cliente", "updateYourWalletConfigNow": "Actualizar la configuración de cartera ahora", "updateConfigurationNow": "Actualizar la configuración ahora", "pleaseEnterYourEmailAndPasswordToUpdateYourOrganizationWalletConfiguration": "Escriba su email y contraseña para actualizar la configuración de cartera de su organización", diff --git a/lib/l10n/arb/app_fr.arb b/lib/l10n/arb/app_fr.arb index ccaff04e5..6af25f4cf 100644 --- a/lib/l10n/arb/app_fr.arb +++ b/lib/l10n/arb/app_fr.arb @@ -1021,7 +1021,6 @@ "profileName": "Nom du profil", "companyName": "Nom de l'entreprise", "configFileIdentifier": "Identifiant du fichier de configuration", - "clientCredentials": "Informations d'Identification du Client", "updateYourWalletConfigNow": "Mettez à jour votre configuration maintenant", "updateConfigurationNow": "Mettre à jour la configuration maintenant", "pleaseEnterYourEmailAndPasswordToUpdateYourOrganizationWalletConfiguration": "Veuillez entrer votre email et votre mot de passe pour mettre à jour votre portefeuille", diff --git a/lib/l10n/untranslated.json b/lib/l10n/untranslated.json index 7ee4890e8..d451092c5 100644 --- a/lib/l10n/untranslated.json +++ b/lib/l10n/untranslated.json @@ -24,7 +24,8 @@ "statusList", "statusListIndex", "theWalletIsSuspended", - "clientTypeTitle" + "clientTypeTitle", + "confidentialClient" ], "es": [ @@ -52,7 +53,8 @@ "statusList", "statusListIndex", "theWalletIsSuspended", - "clientTypeTitle" + "clientTypeTitle", + "confidentialClient" ], "fr": [ @@ -70,6 +72,7 @@ "statusList", "statusListIndex", "theWalletIsSuspended", - "clientTypeTitle" + "clientTypeTitle", + "confidentialClient" ] }