Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(com-pwa): 404 page text #1201

Merged
merged 1 commit into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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