Skip to content

Commit

Permalink
fix(com-pwa): 404 page text
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm committed May 30, 2023
1 parent b5b07e1 commit 9bc2f23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions uniquely/com-pwa/src/content/l18e-fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"cancel": "لغو",
"invalid_phone_number": "شماره تلفن صحیح نمی‌باشد.",

"page_404_not_found": "پیدا نشد!",
"page_404_under_develope": "دردست ساخت",
"page_404_under_develope_description": "برنامه نویسان سخت مشغول کارند...\nاندکی صبر سحر نزدیک است...\nدرضمن اگر رو من بزنی یک سفارش الکی ثبت می‌شود\nپس لطفا نزن!",
"page_404_not_found_headline": "یافت نشد",
"page_404_not_found": "صفحه مورد نظر یافت نشد!",
"page_404_not_found_description": "می‌توانید از منوی صفحه اصلی مجدداً برای پیدا کردن صفحه مورد نظر اقدام کنید.",

"fetch_failed_headline": "خطا!",
"fetch_failed_description": "خطا در اتصال به اینترنت! لطفا مجدد تلاش کنید.",
Expand Down
8 changes: 4 additions & 4 deletions uniquely/com-pwa/src/ui/page/404.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class AlwatrPage404 extends UnresolvedMixin(LocalizeMixin(SignalMixin(Alw
super.connectedCallback();
topAppBarContextProvider.setValue({
type: 'small',
headline: message('page_404_not_found'),
headlineKey: 'page_404_not_found_headline',
startIcon: {icon: 'arrow-back-outline', flipRtl: true, clickSignalId: 'back_to_home_click_event'},
tinted: 2,
});
Expand All @@ -50,10 +50,10 @@ export class AlwatrPage404 extends UnresolvedMixin(LocalizeMixin(SignalMixin(Alw
const box: IconBoxContent = {
stated: true,
elevated: 1,
icon: 'construct-outline',
icon: 'alert-circle-outline',
flipRtl: true,
headline: message('page_404_under_develope'),
description: message('page_404_under_develope_description'),
headline: message('page_404_not_found'),
description: message('page_404_not_found_description'),
preLine: true,
};

Expand Down

0 comments on commit 9bc2f23

Please sign in to comment.