Skip to content

Commit

Permalink
Changed blocked domain message (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
javiesses authored and ilanolkies committed Dec 12, 2019
1 parent 92f5848 commit 463351d
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/app/tabs/registrar/components/RegistrarComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class RegistrarComponent extends Component {
);
}
} else if (blocked) {
elementToRender = <h4>{strings.domain_not_available}</h4>;
elementToRender = <h4>{strings.blocked_domain}</h4>;
} else {
const domainDisplay = `${domain}.rsk`;

Expand Down Expand Up @@ -104,7 +104,7 @@ RegistrarComponent.propTypes = {
strings: propTypes.shape({
start_registration_for: propTypes.string.isRequired,
rental_period: propTypes.string.isRequired,
domain_not_available: propTypes.string.isRequired,
blocked_domain: propTypes.string.isRequired,
admin_your_domain_title: propTypes.string.isRequired,
owned: propTypes.string.isRequired,
search_another_domain: propTypes.string.isRequired,
Expand Down
3 changes: 2 additions & 1 deletion src/app/tabs/search/components/DomainStateComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function getDisplayState(domain, domainStateLoading, owned, blocked, owner, requ
}

if (blocked) {
return strings.domain_not_available;
return strings.blocked_domain;
}

return (
Expand Down Expand Up @@ -189,6 +189,7 @@ DomainStateComponent.propTypes = {
process_step_3: propTypes.string.isRequired,
learn_more: propTypes.string.isRequired,
rskTld: propTypes.string.isRequired,
blocked_domain: propTypes.string.isRequired,
}).isRequired,
domain: propTypes.string.isRequired,
owned: propTypes.bool,
Expand Down
3 changes: 2 additions & 1 deletion src/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,5 +197,6 @@
"notifications_registrar_committed": "your domain has been requested to be registered",
"notifications_registrar_revealed": "your domain has been registered",
"login_explanation": "now you can login with your just registered domain",
"rskTld": ".rsk"
"rskTld": ".rsk",
"blocked_domain": "domains with less than 5 characters are blocked. stay tuned, we are going to release them soon"
}
3 changes: 2 additions & 1 deletion src/languages/es_uy.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,6 @@
"notifications_registrar_committed": "se ha solicitado el registro de su dominio",
"notifications_registrar_revealed": "su dominio ha sido registrado",
"login_explanation": "ahora puede iniciar sesión con su dominio recién registrado",
"rskTld": ".rsk"
"rskTld": ".rsk",
"blocked_domain": "los dominios con menos de 5 caracteres están bloqueados. no se vayan, los liberaremos pronto"
}
3 changes: 2 additions & 1 deletion src/languages/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,6 @@
"notifications_registrar_committed": "お客様のドメインを登録する必要があります",
"notifications_registrar_revealed": "お客様のドメインが登録されました",
"login_explanation": "お客様は登録したばかりのドメインに今すぐログインできます",
"rskTld": ".rsk"
"rskTld": ".rsk",
"blocked_domain": "5文字以下のドメインはブロックされます。チャンネルはそのままで、私たちはそれらをすぐにリリースします"
}
3 changes: 2 additions & 1 deletion src/languages/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,6 @@
"notifications_registrar_committed": "여러분의 도메인 등록이 요청되었습니다",
"notifications_registrar_revealed": "여러분의 도메인이 등록되었습니다",
"login_explanation": "방금 등록된 도메인으로 이제 로그인할 수 있습니다",
"rskTld": ".rsk"
"rskTld": ".rsk",
"blocked_domain": "5자 이하인 도메인은 차단됩니다. 곧 발표 예정이니 기대해 주세요"
}
3 changes: 2 additions & 1 deletion src/languages/pt_br.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,6 @@
"notifications_registrar_committed": "o registro de seu domínio foi solicitado",
"notifications_registrar_revealed": "seu domínio foi registrado",
"login_explanation": "agora você pode fazer login com o domínio que acaba de registrar",
"rskTld": ".rsk"
"rskTld": ".rsk",
"blocked_domain": "domínios com menos de 5 caracteres estão bloqueados. fique atento, vamos liberá-los em breve"
}
3 changes: 2 additions & 1 deletion src/languages/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,6 @@
"notifications_registrar_committed": "вы запросили домен для регистрации",
"notifications_registrar_revealed": "ваш домен зарегистрирован",
"login_explanation": "теперь вы можете войти в систему с только что зарегистрированным доменом",
"rskTld": ".rsk"
"rskTld": ".rsk",
"blocked_domain": "домены, содержащие менее 5 символов, блокируются. следите за обновлениями, мы скоро их выпустим"
}
3 changes: 2 additions & 1 deletion src/languages/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,6 @@
"notifications_registrar_committed": "您的域名已被要求注册",
"notifications_registrar_revealed": "您的域名已注册",
"login_explanation": "现在您可使用您刚注册的域登录",
"rskTld": ".rsk"
"rskTld": ".rsk",
"blocked_domain": "少于 5 个字符的域名被拦截了。请继续关注,我们将尽快发布"
}

0 comments on commit 463351d

Please sign in to comment.