Skip to content

Commit 233724e

Browse files
authored
Merge pull request #1076 from ensdomains/dev
Deploy to live
2 parents 0d0caac + 251c625 commit 233724e

File tree

20 files changed

+100
-60
lines changed

20 files changed

+100
-60
lines changed

cypress/integration/nameDetail.spec.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,19 @@ describe('Name detail view', () => {
358358
])
359359
})
360360

361+
it('cannot change deprecated ipns contenthash', () => {
362+
const url = `${NAME_ROOT}/abittooawesome4.eth`
363+
cy.visit(url)
364+
const DEPRECATED_CONTENT_HASH = 'ipns://app.uniswap.org'
365+
cy.queryByText(DEPRECATED_CONTENT_HASH, { timeout: 10000 }).should('exist')
366+
367+
cy.getByTestId('name-details', { timeout: 10000 }).within(container => {
368+
cy.getByText('Add/Edit Record').click({ force: true })
369+
cy.wait(2000)
370+
cy.queryByTestId('content-record-input-invalid')
371+
})
372+
})
373+
361374
it('can delete records', () => {
362375
cy.visit(`${NAME_ROOT}/notsoawesome.eth`)
363376
cy.getByTestId('name-details').within(container => {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
"@toruslabs/torus-embed": "^1.8.6",
1414
"@walletconnect/web3-provider": "^1.3.1",
1515
"@ensdomains/address-encoder": "^0.2.6",
16-
"@ensdomains/mock": "^2.0.34",
16+
"@ensdomains/mock": "^2.0.36",
1717
"@ensdomains/react-ens-address": "^0.0.27",
18-
"@ensdomains/ui": "^3.0.58",
18+
"@ensdomains/ui": "^3.0.62",
1919
"apollo-cache-inmemory": "^1.2.9",
2020
"apollo-client": "^2.4.5",
2121
"apollo-link": "^1.2.2",

public/locales/cn.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
"warning": "警告"
6767
},
6868
"certificate": {
69-
"button": "Request SSL certificate",
70-
"warning": "SSL certificate for {{ name }}.link is not created yet"
69+
"button": "请求 SSL 证书",
70+
"warning": "{{ name }}.link 的 SSL 证书还没有创建"
7171
},
7272
"childDomainItem": {
7373
"notmigrated": "暂未迁移"
@@ -127,7 +127,7 @@
127127
"title": "如何使用 ENS"
128128
},
129129
"whatisens": {
130-
"body": "以太坊名称服务(Ethereum Name Service)是一个基于以太坊区块链的分布式、开放和可扩展的命名系统。ENS 域名让人们不用再复制或输入冗长的区块链地址。通俗地说,ENS 就是区块链中的域名系统。",
130+
"body": "以太坊名称服务(Ethereum Name Service)是一个基于以太坊区块链的分布式、开放和可扩展的域名系统。ENS 域名让人们不用再复制或输入冗长的区块链地址。通俗地说,ENS 就是区块链中的域名系统。",
131131
"title": "ENS 是什么"
132132
}
133133
},
@@ -159,11 +159,11 @@
159159
"text": "等待交易被打包"
160160
},
161161
"pricer": {
162-
"gasDescription": "Estimated Gas Price (Step 1 + Step 3). The gas price will flucuate.",
162+
"gasDescription": "预估的 Gas 价格(第 1 步 + 第 3 步)。Gas 价格存在波动。",
163163
"pricePerAmount": "当前选定时长的注册价格",
164164
"registrationPeriodLabel": "注册期",
165-
"registrationPriceLabel": "Registration price to pay",
166-
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
165+
"registrationPriceLabel": "注册费用",
166+
"totalDescription": "预估的总费用(注册费 + Gas)。The gas price is based at {{gasPriceToGweiFast}} Gwei",
167167
"totalPriceLabel": "支付总额",
168168
"yearUnit": "年份"
169169
},
@@ -173,7 +173,7 @@
173173
"manage": "管理域名",
174174
"register": "注册",
175175
"request": "请求注册",
176-
"warning": "点击“注册”进入第三步"
176+
"warning": "点击“注册”进入第 3 步"
177177
},
178178
"favourite": "* 您可以收藏喜欢的域名,以便于浏览器关闭以后重新查看这个域名。",
179179
"notifications": {
@@ -192,7 +192,7 @@
192192
"step1": {
193193
"label": "第 1 步",
194194
"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.",
195+
"text2": "如果第 1 步完成之后的 24 小时内没有进行第 2 步,则需要从第 1 步重新开始。",
196196
"title": "请求注册"
197197
},
198198
"step2": {
@@ -206,7 +206,7 @@
206206
"title": "完成注册"
207207
},
208208
"titles": [
209-
"注册一个域名需要三个步骤",
209+
"注册一个域名需要 3 个步骤",
210210
"您很快就可以完成域名注册",
211211
"您已经完成域名注册,现在可以管理域名了!"
212212
]
@@ -316,9 +316,9 @@
316316
"closeEdit": "关闭 添加/编辑 记录",
317317
"messages": {
318318
"explanation": "反向解析将地址转换为域名。它能让 dapp 在其界面上显示 “{{name}}”,而不是 “{{account}}” 这个冗长的地址。如果您想为另一个账户设置反向解析,请先在 dapp 浏览器中切换帐户。",
319-
"explanation2": "You can only select names you set this Ethereum Address as.",
319+
"explanation2": "您只能选择已经解析至这个以太坊地址的域名。",
320320
"notSet": "反向记录:未设置",
321-
"selectPlaceholder": "Select your ENS name",
321+
"selectPlaceholder": "选择您的 ENS 域名",
322322
"setTo": "反向记录:解析至 ",
323323
"setToDifferent": "反向记录:已解析至另一个域名:"
324324
},

public/locales/de.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
"pricePerAmount": "Price per amount of time selected",
168168
"registrationPeriodLabel": "Registration Period",
169169
"registrationPriceLabel": "Registration price to pay",
170-
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
170+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiFast}} Gwei",
171171
"totalPriceLabel": "Gesamtpreis",
172172
"yearUnit": "Jahr"
173173
},

public/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
"pricePerAmount": "Price per amount of time selected",
168168
"registrationPeriodLabel": "Registration Period",
169169
"registrationPriceLabel": "Registration price to pay",
170-
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
170+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiFast}} Gwei",
171171
"totalPriceLabel": "Total price to pay",
172172
"yearUnit": "year"
173173
},

public/locales/es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
"pricePerAmount": "Price per amount of time selected",
168168
"registrationPeriodLabel": "Periodo de registración",
169169
"registrationPriceLabel": "Registration price to pay",
170-
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
170+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiFast}} Gwei",
171171
"totalPriceLabel": "Precio total a pagar",
172172
"yearUnit": "año"
173173
},

public/locales/fr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
"pricePerAmount": "Price per amount of time selected",
168168
"registrationPeriodLabel": "Période d'enregistrement",
169169
"registrationPriceLabel": "Registration price to pay",
170-
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
170+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiFast}} Gwei",
171171
"totalPriceLabel": "Prix ​​total à payer",
172172
"yearUnit": "année"
173173
},

public/locales/ja.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
"pricePerAmount": "Price per amount of time selected",
166166
"registrationPeriodLabel": "登録期間",
167167
"registrationPriceLabel": "Registration price to pay",
168-
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
168+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiFast}} Gwei",
169169
"totalPriceLabel": "お支払合計額",
170170
"yearUnit": ""
171171
},

public/locales/ko.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
"pricePerAmount": "Price per amount of time selected",
166166
"registrationPeriodLabel": "등록 기간",
167167
"registrationPriceLabel": "Registration price to pay",
168-
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
168+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiFast}} Gwei",
169169
"totalPriceLabel": "결제할 총 금액",
170170
"yearUnit": ""
171171
},

public/locales/pl.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
"pricePerAmount": "Price per amount of time selected",
170170
"registrationPeriodLabel": "Czas rejestracji",
171171
"registrationPriceLabel": "Registration price to pay",
172-
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiSlow}}-{{gasPriceToGweiFast}} Gwei.",
172+
"totalDescription": "Estimated Total (Price + Gas). The gas price is based at {{gasPriceToGweiFast}} Gwei",
173173
"totalPriceLabel": "Łączna kwota do zapłaty",
174174
"yearUnit": "rok"
175175
},

0 commit comments

Comments
 (0)