Skip to content

Commit

Permalink
fix(soffit): localize keys
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD authored and njfamirm committed Feb 6, 2023
1 parent c9c5d2b commit bebfa9f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
5 changes: 2 additions & 3 deletions uniquely/soffit-pwa/src/l18r/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
"cancel": "Cancel",
"lottery_form_title": "Participate in the lottery",
"supply_chain_form_title": "Supply Chain Form",
"information_saved": "Your information has been successfully saved.",
"form_submitted": "Your information has been successfully saved.",
"activity_area": "Activity area",

"activity_type": "activity type",
"activity_type": "Activity type",
"tile_player": "Tile player",
"tile_installer": "Tile installer",
"seller_shopkeeper": "Seller and shopkeeper",
Expand Down
4 changes: 1 addition & 3 deletions uniquely/soffit-pwa/src/l18r/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"data": {
"invalid_form_data": "اطلاعات فرم صحیح نمی‌باشد.",
"check_network_connection": "لطفا از اتصال خود به اینترنت اطمینان حاصل فرمایید و دوباره ارسال کنید.",

"lottery_code": "کد قرعه‌کشی",
"full_name": "نام و نام‌خانوادگی",
"phone_number": "شماره تلفن",
Expand All @@ -17,9 +16,8 @@
"lottery_form_description": "فرم شرکت در قرعه‌کشی ماهانه سافیت",
"supply_chain_form_title": "زنجیره تامین",
"supply_chain_form_description": "فرم ثبت نام در زنجیره تامین محصولات ساختمانی",
"information_saved": "اطلاعات شما با موفقیت ذخیره شد.",
"form_submitted": "اطلاعات شما با موفقیت ذخیره شد.",
"activity_area": "حوزه فعالیت",

"activity_type": "نوع فعالیت",
"tile_player": "پخش کننده تایل",
"tile_installer": "نصاب تایل",
Expand Down
2 changes: 1 addition & 1 deletion uniquely/soffit-pwa/src/lottery-box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class AlwatrLotteryBox extends LocalizeMixin(AlwatrSmartElement) {
></alwatr-lottery-form>`;
}
else if (this.submitted) {
return html`<span class="success">${message('information_saved')}</span>`;
return html`<span class="success">${message('form_submitted')}</span>`;
}
else {
return html`${message('lottery_form_description')}`;
Expand Down
2 changes: 1 addition & 1 deletion uniquely/soffit-pwa/src/supply-chain-box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class AlwatrSupplyChainBox extends AlwatrLotteryBox {
}

else if (this.submitted) {
return html`<span class="success">${message('information_saved')}</span>`;
return html`<span class="success">${message('form_submitted')}</span>`;
}

else {
Expand Down

0 comments on commit bebfa9f

Please sign in to comment.