Skip to content

Commit 20c5eb9

Browse files
authored
Add gas estimate and add more explanation (#1063)
* fix-faq-background * Add second text on step1 * Add gas estimate * Add translation * Separete into Price and GasPrice * Do not show gas price estimate for renewal * Get rid of gas detail * Change to show gas price range and simpify the UI * Remove gasDescription * Remove the mention of the buffer
1 parent f6d2361 commit 20c5eb9

File tree

16 files changed

+202
-18
lines changed

16 files changed

+202
-18
lines changed

public/locales/cn.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,11 @@
159159
"text": "等待交易被打包"
160160
},
161161
"pricer": {
162+
"gasDescription": "Estimated Gas Price (Step 1 + Step 3). The gas price will flucuate.",
162163
"pricePerAmount": "当前选定时长的注册价格",
163164
"registrationPeriodLabel": "注册期",
165+
"registrationPriceLabel": "Registration price to pay",
166+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
164167
"totalPriceLabel": "支付总额",
165168
"yearUnit": "年份"
166169
},
@@ -189,6 +192,7 @@
189192
"step1": {
190193
"label": "第 1 步",
191194
"text": "需要在钱包中确认一笔交易,这是完成域名注册所需的两笔交易中的第一笔。",
195+
"text2": "If the second transaction is not processed within 24 hours of the first, you will need to start again from step 1.",
192196
"title": "请求注册"
193197
},
194198
"step2": {

public/locales/de.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,11 @@
163163
"text": "Tx ausstehend"
164164
},
165165
"pricer": {
166+
"gasDescription": "Estimated Gas Price (Step 1 + Step 3). The gas price will flucuate.",
166167
"pricePerAmount": "Price per amount of time selected",
167168
"registrationPeriodLabel": "Registration Period",
169+
"registrationPriceLabel": "Registration price to pay",
170+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
168171
"totalPriceLabel": "Gesamtpreis",
169172
"yearUnit": "Jahr"
170173
},
@@ -193,6 +196,7 @@
193196
"step1": {
194197
"label": "Schritt 1",
195198
"text": "Ihr Wallet wird sich öffnen und Sie werden gebeten, die erste von zwei für die Registrierung erforderlichen Transaktionen zu bestätigen.",
199+
"text2": "If the second transaction is not processed within 24 hours of the first, you will need to start again from step 1.",
196200
"title": "Anfrage zur Registrierung"
197201
},
198202
"step2": {

public/locales/en.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,11 @@
163163
"text": "Tx Pending"
164164
},
165165
"pricer": {
166+
"gasDescription": "Estimated Gas Price (Step 1 + Step 3). The gas price will flucuate.",
166167
"pricePerAmount": "Price per amount of time selected",
167168
"registrationPeriodLabel": "Registration Period",
169+
"registrationPriceLabel": "Registration price to pay",
170+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
168171
"totalPriceLabel": "Total price to pay",
169172
"yearUnit": "year"
170173
},
@@ -193,6 +196,7 @@
193196
"step1": {
194197
"label": "Step 1",
195198
"text": "Your wallet will open and you will be asked to confirm the first of two transactions required for registration.",
199+
"text2": "If the second transaction is not processed within 24 hours of the first, you will need to start again from step 1.",
196200
"title": "Request to register"
197201
},
198202
"step2": {

public/locales/es.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,11 @@
163163
"text": "Tx Pendiente"
164164
},
165165
"pricer": {
166+
"gasDescription": "Estimated Gas Price (Step 1 + Step 3). The gas price will flucuate.",
166167
"pricePerAmount": "Price per amount of time selected",
167168
"registrationPeriodLabel": "Periodo de registración",
169+
"registrationPriceLabel": "Registration price to pay",
170+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
168171
"totalPriceLabel": "Precio total a pagar",
169172
"yearUnit": "año"
170173
},
@@ -193,6 +196,7 @@
193196
"step1": {
194197
"label": "Paso 1",
195198
"text": "Tu cartera se abrirá y se te pedirá que confirmes la primera de las dos transacciones necesarias para el registro",
199+
"text2": "If the second transaction is not processed within 24 hours of the first, you will need to start again from step 1.",
196200
"title": "Solicitud de registro"
197201
},
198202
"step2": {

public/locales/fr.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,11 @@
163163
"text": "Transaction en attente"
164164
},
165165
"pricer": {
166+
"gasDescription": "Estimated Gas Price (Step 1 + Step 3). The gas price will flucuate.",
166167
"pricePerAmount": "Price per amount of time selected",
167168
"registrationPeriodLabel": "Période d'enregistrement",
169+
"registrationPriceLabel": "Registration price to pay",
170+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
168171
"totalPriceLabel": "Prix ​​total à payer",
169172
"yearUnit": "année"
170173
},
@@ -193,6 +196,7 @@
193196
"step1": {
194197
"label": "Étape 1",
195198
"text": "Votre portefeuille s'ouvrira et il vous sera demandé de confirmer la première des deux transactions requises pour l'inscription.",
199+
"text2": "If the second transaction is not processed within 24 hours of the first, you will need to start again from step 1.",
196200
"title": "Demande d'enregistrement"
197201
},
198202
"step2": {

public/locales/ja.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,11 @@
161161
"text": "保留中のTx"
162162
},
163163
"pricer": {
164+
"gasDescription": "Estimated Gas Price (Step 1 + Step 3). The gas price will flucuate.",
164165
"pricePerAmount": "Price per amount of time selected",
165166
"registrationPeriodLabel": "登録期間",
167+
"registrationPriceLabel": "Registration price to pay",
168+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
166169
"totalPriceLabel": "お支払合計額",
167170
"yearUnit": ""
168171
},
@@ -191,6 +194,7 @@
191194
"step1": {
192195
"label": "ステップ1",
193196
"text": "ウォレットが開き、登録に必要な2つのトランザクションのうち最初のトランザクションの確認を求められます。",
197+
"text2": "If the second transaction is not processed within 24 hours of the first, you will need to start again from step 1.",
194198
"title": "登録のリクエスト"
195199
},
196200
"step2": {

public/locales/ko.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,11 @@
161161
"text": "트랜잭션 보류"
162162
},
163163
"pricer": {
164+
"gasDescription": "Estimated Gas Price (Step 1 + Step 3). The gas price will flucuate.",
164165
"pricePerAmount": "Price per amount of time selected",
165166
"registrationPeriodLabel": "등록 기간",
167+
"registrationPriceLabel": "Registration price to pay",
168+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
166169
"totalPriceLabel": "결제할 총 금액",
167170
"yearUnit": ""
168171
},
@@ -191,6 +194,7 @@
191194
"step1": {
192195
"label": "단계 1",
193196
"text": "지갑 화면이 열리고 등록에 필요한 두 개의 트랜잭션 중 첫번째 트랜잭션에 대한 컨펌 요청이 있을 것입니다.",
197+
"text2": "If the second transaction is not processed within 24 hours of the first, you will need to start again from step 1.",
194198
"title": "등록 요청"
195199
},
196200
"step2": {

public/locales/pl.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,11 @@
165165
"text": "Oczekujący Tx"
166166
},
167167
"pricer": {
168+
"gasDescription": "Estimated Gas Price (Step 1 + Step 3). The gas price will flucuate.",
168169
"pricePerAmount": "Price per amount of time selected",
169170
"registrationPeriodLabel": "Czas rejestracji",
171+
"registrationPriceLabel": "Registration price to pay",
172+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
170173
"totalPriceLabel": "Łączna kwota do zapłaty",
171174
"yearUnit": "rok"
172175
},
@@ -195,6 +198,7 @@
195198
"step1": {
196199
"label": "Krok 1",
197200
"text": "Twój portfel zostanie otwarty i będziesz poproszony o potwierdzenie dwóch transakcji wymaganych do rejestracji",
201+
"text2": "If the second transaction is not processed within 24 hours of the first, you will need to start again from step 1.",
198202
"title": "Wniosek o rejestrację"
199203
},
200204
"step2": {

public/locales/ru.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,11 @@
165165
"text": "TX в ожидании"
166166
},
167167
"pricer": {
168+
"gasDescription": "Estimated Gas Price (Step 1 + Step 3). The gas price will flucuate.",
168169
"pricePerAmount": "Price per amount of time selected",
169170
"registrationPeriodLabel": "Срок регистрации",
171+
"registrationPriceLabel": "Registration price to pay",
172+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
170173
"totalPriceLabel": "Общие сумма к оплате",
171174
"yearUnit": "год"
172175
},
@@ -195,6 +198,7 @@
195198
"step1": {
196199
"label": "Шаг 1",
197200
"text": "Ваш кошелёк откроется и вас попросят подтвердить первые две транзакции, необходимые для регистрации.",
201+
"text2": "If the second transaction is not processed within 24 hours of the first, you will need to start again from step 1.",
198202
"title": "Запрос на регистрацию"
199203
},
200204
"step2": {

public/locales/vi.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,11 @@
161161
"text": "Đang xử lý giao dịch"
162162
},
163163
"pricer": {
164+
"gasDescription": "Estimated Gas Price (Step 1 + Step 3). The gas price will flucuate.",
164165
"pricePerAmount": "Price per amount of time selected",
165166
"registrationPeriodLabel": "Thời gian đăng ký",
167+
"registrationPriceLabel": "Registration price to pay",
168+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
166169
"totalPriceLabel": "Tổng giá thanh toán",
167170
"yearUnit": "Năm"
168171
},
@@ -191,6 +194,7 @@
191194
"step1": {
192195
"label": "Bước 1",
193196
"text": "Ví của bạn sẽ mở và bạn sẽ được yêu cầu xác nhận 2 giao dịch bắt buộc để đăng ký",
197+
"text2": "If the second transaction is not processed within 24 hours of the first, you will need to start again from step 1.",
194198
"title": "Yêu cầu đăng ký"
195199
},
196200
"step2": {

0 commit comments

Comments
 (0)