Various fixes for localization of the Account Console (#21676)

This commit is contained in:
Jon Koops 2023-07-13 18:23:44 +02:00 committed by GitHub
parent bf19c4b07e
commit 8045570401
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 182 additions and 203 deletions

View file

@ -20,18 +20,14 @@
"close": "إغلاق",
"credentialCreatedAt": "<0>أنشئ في</0> {{date}}.",
"currentSession": "الجلسة الحالية",
"delete": "حذف",
"deleteAccount": "تأكيد حذف الحساب",
"deleteAccountWarning": "هذا أمر لا رجوع فيه. سيتم إتلاف جميع بياناتك بشكل دائم، ولا يمكن استرجاعها.",
"deny": "رفض",
"description": "الوصف",
"device-activity": "نشاط الأجهزة",
"deviceActivity": "نشاط الأجهزة",
"directMembership": "عضوية مباشرة",
"doCancel": "إلغاء",
"doDelete": "حذف",
"doDeny": "رفض",
"done": "إنهاء",
"doSave": "حفظ",
"doSignOut": "تسجيل خروج",
"edit": "تعديل",
"editTheResource": "مشاركة المورد - {{0}}",
"email": "بريد إلكتروني",
@ -61,7 +57,6 @@
"firstName": "الاسم الأول",
"fullName": "{{givenName}} {{familyName}}",
"groupDescriptionLabel": "اعرض المجموعات التي أنت مرتبط بها",
"groupLabel": "المجموعات",
"groups": "المجموعات",
"hasAccessTo": "لديه صلاحية وصول إلى",
"infoMessage": "بالنقر على زر 'إزالة إذن الوصول'، سيتم إزالة الأذونات الممنوحة لهذا التطبيق. لن يستخدم هذا التطبيق معلوماتك بعد الآن.",
@ -73,7 +68,6 @@
"link": "ربط الحساب",
"linkedAccounts": "الحسابات المرتبطة",
"linkedAccountsIntroMessage": "قم بإدارة تسجيل الدخول لحسابات الطرف الثالث.",
"linkedAccountsTitle": "الحسابات المرتبطة",
"linkedEmpty": "لا يوجد مزود مرتبط",
"linkedLoginProviders": "مزودو تسجيل الدخول المرتبطين",
"linkError": "لم يكن بالاستطاعة ربط الحساب بسبب الخطأ: {{error}}",
@ -99,13 +93,11 @@
"personalInfoDescription": "قم بإدارة البيانات الأساسية الخاصة بك",
"privacyPolicy": "سياسة الخصوصية",
"refreshPage": "تحديث الصفحة",
"removeButton": "إزالة إذن الوصول",
"removeAccess": "إزالة إذن الوصول",
"removeConsentError": "لم يكن بالاستطاعة إزالة الاتفاقية بسبب الخطأ: {{error}}",
"removeConsentSuccess": "تم إزالة الاتفاقية بنجاح",
"removeCred": "إزالة {{0}}",
"removeCredAriaLabel": "إزالة اعتماد",
"removeModalMessage": "سيؤدي هذا إلى إزالة إذن الوصول الممنوح حاليًا لـ {{0}}. ستحتاج إلى منح إذن الوصول مرة أخرى إذا كنت تريد استخدام هذا التطبيق.",
"removeModalTitle": "إزالة إذن الوصول",
"requestor": "صاحب الطلب",
"required": "إلزامي",
"resourceAlreadyShared": "تم مشاركة المورد مع هذا المستخدم مسبقًا.",
@ -115,6 +107,7 @@
"resourceSharedWith_one": "تم مشاركة المورد مع <0>{{username}}</0>",
"resourceSharedWith_other": "تم مشاركة المورد مع <0>{{username}}</0> و <1>{{other}}</1> آخرين",
"resourceSharedWith_zero": "لم يتم مشاركة هذا المورد.",
"save": "حفظ",
"selectALocale": "اختر لغة",
"selectOne": "حدد خيارًا",
"setUpNew": "إعداد {{0}}",
@ -130,7 +123,7 @@
"signedOutSession": "تم تسجيل خروج {{0}}/{{1}}",
"signingIn": "عملية تسجيل الدخول",
"signingInDescription": "إعداد طرق تسجيل الدخول.",
"signOut": "تسجيل الخروج",
"signOut": "تسجيل خروج",
"signOutAllDevices": "تسجيل الخروج من جميع الأجهزة",
"signOutAllDevicesWarning": "سيؤدي هذا الإجراء إلى تسجيل الخروج من جميع الأجهزة التي سجلت الدخول إلى حسابك، بما في ذلك الجهاز الحالي الذي تستخدمه.",
"signOutWarning": "تسجيل الخروج من الجلسة؟",

View file

@ -1,6 +1,6 @@
{
"accept": "Accept",
"accessGrantedOn": "Access granted on",
"accessGrantedOn": "Access granted on: ",
"accountSecurity": "Account security",
"accountUpdatedError": "Could not update account due to validation errors",
"accountUpdatedMessage": "Your account has been updated.",
@ -8,7 +8,7 @@
"application": "Application",
"applicationDetails": "Application details",
"applications": "Applications",
"applicationsIntroMessage": "Track and manage your app permission to access your account",
"applicationsIntroMessage": "View applications your account has access to",
"applicationType": "Application type",
"avatar": "Avatar",
"backTo": "Back to {{app}}",
@ -20,20 +20,16 @@
"close": "Close",
"credentialCreatedAt": "<0>Created</0> {{date}}.",
"currentSession": "Current session",
"delete": "Delete",
"deleteAccount": "Delete account",
"deleteAccountWarning": "This is irreversible. All your data will be permanently destroyed, and irretrievable.",
"deny": "Deny",
"description": "Description",
"device-activity": "Device activity",
"deviceActivity": "Device activity",
"directMembership": "Direct membership",
"doCancel": "Cancel",
"doDelete": "Delete",
"doDeny": "Deny",
"done": "Done",
"doSave": "Save",
"doSignOut": "Sign out",
"edit": "Edit",
"editTheResource": "Share the resource - {{0}}",
"editTheResource": "Edit the resource - {{0}}",
"email": "Email",
"error-empty": "Please specify value of '{{0}}'.",
"error-invalid-blank": "Please specify value of '{{0}}'.",
@ -57,11 +53,10 @@
"errorRemovedMessage": "Could not remove {{userLabel}} due to: {{error}}",
"errorSignOutMessage": "Could not be signed out: {{error}}",
"expires": "Expires",
"filterByName": "Filter By Name ...",
"filterByName": "Filter by name...",
"firstName": "First name",
"fullName": "{{givenName}} {{familyName}}",
"groupDescriptionLabel": "View groups that you are associated with",
"groupLabel": "Groups",
"groups": "Groups",
"hasAccessTo": "Has access to",
"infoMessage": "By clicking Remove Access, you will remove granted permissions of this application. This application will no longer use your information.",
@ -73,7 +68,6 @@
"link": "Link account",
"linkedAccounts": "Linked accounts",
"linkedAccountsIntroMessage": "Manage logins through third-party accounts.",
"linkedAccountsTitle": "Linked accounts",
"linkedEmpty": "No linked providers",
"linkedLoginProviders": "Linked login providers",
"linkError": "Could not link due to: {{error}}",
@ -99,13 +93,11 @@
"personalInfoDescription": "Manage your basic information",
"privacyPolicy": "Privacy policy",
"refreshPage": "Refresh the page",
"removeButton": "Remove access",
"removeAccess": "Remove access",
"removeConsentError": "Could not remove consent due to: {{error}}",
"removeConsentSuccess": "Successfully removed consent",
"removeCred": "Remove {{0}}",
"removeCredAriaLabel": "Remove credential",
"removeModalMessage": "This will remove the currently granted access permission for {{0}}. You will need to grant access again if you want to use this app.",
"removeModalTitle": "Remove access",
"removeModalMessage": "Hiermee wordt de momenteel verleende toegangsrechten voor {{0}} verwijderd. U moet opnieuw toegang verlenen als u deze app wilt gebruiken.",
"requestor": "Requestor",
"required": "Required",
"resourceAlreadyShared": "Resource is already shared with this user.",
@ -115,6 +107,7 @@
"resourceSharedWith_one": "Resource is shared with <0>{{username}}</0>",
"resourceSharedWith_other": "Resource is shared with <0>{{username}}</0> and <1>{{other}}</1> other users",
"resourceSharedWith_zero": "This resource is not shared.",
"save": "Save",
"selectALocale": "Select a locale",
"selectOne": "Select an option",
"setUpNew": "Set up {{0}}",

View file

@ -19,15 +19,11 @@
"close": "بستن",
"credentialCreatedAt": "<0>ایجاد شد</0> {{date}}.",
"currentSession": "نشست فعلی",
"deny": "رد کردن",
"description": "توضیحات",
"device-activity": "فعالیت دستگاه",
"deviceActivity": "فعالیت دستگاه",
"directMembership": "عضویت مستقیم",
"doCancel": "لغو",
"doDeny": "رد کردن",
"done": "انجام شد",
"doSave": "ذخیره",
"doSignOut": "خروج",
"edit": "ویرایش",
"editTheResource": "منبع را به اشتراک بگذارید - {{0}}",
"email": "ایمیل",
@ -57,7 +53,6 @@
"firstName": "نام",
"fullName": "{{givenName}} {{familyName}}",
"groupDescriptionLabel": "مشاهده گروه هایی که با آنها مرتبط هستید",
"groupLabel": "گروه‌ها",
"groups": "گروه‌ها",
"hasAccessTo": "دسترسی دارد به",
"infoMessage": "با کلیک بر روی حذف دسترسی، مجوزهای اعطایی این برنامه را حذف خواهید کرد. این برنامه دیگر از اطلاعات شما استفاده نخواهد کرد.",
@ -69,7 +64,6 @@
"link": "لینک‌کردن حساب",
"linkedAccounts": "حساب‌های لینک‌شده",
"linkedAccountsIntroMessage": "لاگین‌ها را با حساب‌های شخص ثالث مدیریت کنید.",
"linkedAccountsTitle": "حساب‌های لینک‌شده",
"linkedEmpty": "بدون ارائه‌دهنده‌ی لینک شده",
"linkedLoginProviders": "ارائه‌دهنده‌های لاگین لینک‌‌شده",
"linkError": "لینک‌سازی ناموفق یود: {{error}}",
@ -95,13 +89,11 @@
"personalInfoDescription": "اطلاعت پایه خود را مدیریت کنید",
"privacyPolicy": "سیاست حریم شخصی",
"refreshPage": "بارگذاری مجدد صفحه",
"removeButton": "پاک کردن دسترسی",
"removeAccess": "حدف دسترسی",
"removeConsentError": "به دلیل: {{error}} رضایت حذف نشد",
"removeConsentSuccess": "رضایت با موفقیت حذف شد",
"removeCred": "پاک کردن {{0}}",
"removeCredAriaLabel": "پاک کردن اعتبارنامه",
"removeModalMessage": "با این کار مجوز دسترسی اعطا شده در حال حاضر برای {{0}} حذف خواهد شد. اگر می خواهید از این برنامه استفاده کنید، باید دوباره مجوز دسترسی بدهید.",
"removeModalTitle": "حدف دسترسی",
"requestor": "درخواست‌کننده",
"required": "الزامی",
"resourceAlreadyShared": "منبع قبلا با این کاربر به اشتراک گذاشته شده است",
@ -111,6 +103,7 @@
"resourceSharedWith_one": "منبع با <0>{{username}}</0> به اشتراک گذاشته شده است",
"resourceSharedWith_other": "منبع با <0>{{username}}</0> و <1>{{other}}</1> کاربران دیگر به اشتراک گذاشته شده است",
"resourceSharedWith_zero": "این منبع به اشتراک گذاشته نشده است.",
"save": "ذخیره",
"selectOne": "یک گزینه را انتخاب کنید",
"setUpNew": "راه اندازی {{0}}",
"share": "اشتراک‌گذاری",

View file

@ -47,7 +47,7 @@ export const AccountRow = ({ account, isLinked = false }: AccountRowProps) => {
<DataListItem
id={`${account.providerAlias}-idp`}
key={account.providerName}
aria-labelledby={t("linkedAccountsTitle")}
aria-label={t("linkedAccounts")}
>
<DataListItemRow key={account.providerName}>
<DataListItemCells

View file

@ -104,7 +104,7 @@ const DeviceActivity = () => {
return (
<Page
title={t("device-activity")}
title={t("deviceActivity")}
description={t("signedInDevicesExplanation")}
>
<Split hasGutter className="pf-u-mb-lg">
@ -122,7 +122,7 @@ const DeviceActivity = () => {
onClick={() => refresh()}
icon={<SyncAltIcon />}
>
Refresh
{t("refreshPage")}
</Button>
</Tooltip>
@ -173,8 +173,8 @@ const DeviceActivity = () => {
>
{!session.current && (
<ContinueCancelModal
buttonTitle={t("doSignOut")}
modalTitle={t("doSignOut")}
buttonTitle={t("signOut")}
modalTitle={t("signOut")}
buttonVariant="secondary"
modalMessage={t("signOutWarning")}
onContinue={() => signOutSession(session, device)}

View file

@ -29,7 +29,7 @@ const LinkedAccounts = () => {
return (
<Page
title={t("linkedAccountsTitle")}
title={t("linkedAccounts")}
description={t("linkedAccountsIntroMessage")}
>
<Stack hasGutter>

View file

@ -224,7 +224,7 @@ const Applications = () => {
)}
<DescriptionListGroup>
<DescriptionListTerm>
{t("accessGrantedOn") + ": "}
{t("accessGrantedOn")}
</DescriptionListTerm>
<DescriptionListDescription>
{new Intl.DateTimeFormat("en", {
@ -245,9 +245,9 @@ const Applications = () => {
<hr />
<GridItem>
<ContinueCancelModal
buttonTitle="removeButton"
buttonTitle="removeAccess"
buttonVariant="secondary"
modalTitle="removeModalTitle"
modalTitle="removeAccess"
modalMessage={t("removeModalMessage", [
application.clientId,
])}

View file

@ -51,8 +51,8 @@ const Groups = () => {
};
return (
<Page title={t("groupLabel")} description={t("groupDescriptionLabel")}>
<DataList id="groups-list" aria-label={t("groupLabel")} isCompact>
<Page title={t("groups")} description={t("groupDescriptionLabel")}>
<DataList id="groups-list" aria-label={t("groups")} isCompact>
<DataListItem id="groups-list-header" aria-labelledby="Columns names">
<DataListItemRow>
<DataListItemCells

View file

@ -89,7 +89,7 @@ const PersonalInfo = () => {
id="save-btn"
variant="primary"
>
{t("doSave")}
{t("save")}
</Button>
<Button
data-testid="cancel"
@ -97,7 +97,7 @@ const PersonalInfo = () => {
variant="link"
onClick={() => reset()}
>
{t("doCancel")}
{t("cancel")}
</Button>
</ActionGroup>
{environment.features.deleteAccountAllowed && (
@ -117,7 +117,7 @@ const PersonalInfo = () => {
}
className="delete-button"
>
{t("doDelete")}
{t("delete")}
</Button>
}
>

View file

@ -119,7 +119,7 @@ export const PermissionRequest = ({
className="pf-u-ml-sm"
variant="danger"
>
{t("doDeny")}
{t("deny")}
</Button>
</Td>
</Tr>