Skip to content

Commit

Permalink
Merge branch 'master' into feat/update-storage-component-styles
Browse files Browse the repository at this point in the history
Signed-off-by: Fernando Zavalia <24811313+fzavalia@users.noreply.github.com>
  • Loading branch information
fzavalia committed Oct 9, 2023
2 parents 6549fe3 + d3ff9cd commit 3e419ba
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ export default function DeployToWorld({
<div className={styles.worldDetails}>
<SelectField value={nameType} disabled={isLoading || loading} options={nameTypeOptions} onChange={handleNameTypeSelected} />
<SelectField
label={t('deployment_modal.deploy_world.world_label')}
placeholder={t('deployment_modal.deploy_world.world_placeholder')}
label={t('deployment_modal.deploy_world.world_label' + (nameType === NameType.DCL ? '' : '_ens'))}
placeholder={t('deployment_modal.deploy_world.world_placeholder' + (nameType === NameType.DCL ? '' : '_ens'))}
value={world}
disabled={isLoading || loading}
options={worldOptions}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ describe('when rendering the name tabs component', () => {

beforeEach(() => {
useCurrentlySelectedTabResult.tab = TabType.DCL
dclTabText = 'Decentraland names'
ensTabText = 'ENS names'
dclTabText = 'Decentraland NAMEs'
ensTabText = 'ENS Domains'

mockMobile.mockImplementation(({ children }) => children as ReactNode)
mockNotMobile.mockImplementation(() => null)
Expand Down
18 changes: 10 additions & 8 deletions src/modules/translation/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -460,19 +460,21 @@
},
"deploy_world": {
"title": "Publish to World",
"description": "Select the Decentraland NAME or ENS Name that will define the URL",
"description": "Select the Decentraland NAME or ENS Domain that will define the URL",
"action": "Publish",
"world_label": "World (NAME)",
"world_placeholder": "Select a NAME",
"world_label_ens": "World (ENS Domain)",
"world_placeholder_ens": "Select an ENS Domain",
"back": "Go back to publish scene",
"close": "Close publish modal",
"claim_name": "Claim a new NAME",
"claim_name_ens": "Claim an ENS name",
"claim_name_ens": "Claim an ENS Domain",
"empty_state_title": "You don't have any available World",
"empty_state_description": "<b>Get a free World when you own a NAME</b>.<br></br>Each NAME will give you access to one world. You can have as many as you want.",
"empty_state_description": "<b>Get a free World when you own a NAME</b>.<br></br>Each NAME will give you access to one World. You can have as many as you want.",
"name_type": {
"dcl": "NAME",
"ens": "ENS Names"
"ens": "ENS Domain"
},
"success": {
"title": "Your scene is published!",
Expand Down Expand Up @@ -613,12 +615,12 @@
"description": "Each NAME grants you access to one World, <b>your own 3D space in the metaverse</b> where you can shape the space however you like and invite up to 100 people to visit.",
"cta": "Claim Name",
"title_ens": "Get a free World when you own a ENS Domain",
"description_ens": "With an ENS domain, you can create a unique world with 25 MB of dedicated storage. It's a great way to start your journey in Decentraland.",
"description_ens": "With an ENS Domain, you can create a unique World with 25 MB of dedicated storage. It's a great way to start your journey in Decentraland.",
"cta_ens": "Claim ENS Domain"
},
"name_tabs": {
"dcl_names": "Decentraland names",
"ens_names": "ENS names"
"dcl_names": "Decentraland NAMEs",
"ens_names": "ENS Domains"
},
"worlds_storage": {
"used": "Space Used",
Expand All @@ -627,7 +629,7 @@
},
"worlds_warning_message": {
"to_be_blocked": "You are using more storage than you are allowed. Unpublish some scenes to free some space or increase you maximum storage before <b>{toBeBlockedAt}</b> to avoid losing access to your scenes.",
"blocked": "Access to your scenes has been blocked since <b>{blockedAt}</b> because you don't have enough storage to maintain your currently published worlds. Unpublish some scenes to free some space or increase your maximum storage to regain access."
"blocked": "Access to your scenes has been blocked since <b>{blockedAt}</b> because you don't have enough storage to maintain your currently published Worlds. Unpublish some scenes to free some space or increase your maximum storage to regain access."
}
},
"error_page": {
Expand Down
38 changes: 20 additions & 18 deletions src/modules/translation/languages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -461,20 +461,22 @@
"uploading": "Subiendo..."
},
"deploy_world": {
"title": "Publicar en tu mundo",
"description": "Seleccione un nombre Decentraland o un nombre ENS que definirá la URL",
"title": "Publicar en tu Mundo",
"description": "Seleccione un NAME de Decentraland o un Dominio ENS que definirá la URL",
"action": "Publicar",
"world_label": "Nombre (mundo)",
"world_placeholder": "Seleccione un nombre",
"world_label": "Mundo (NAME)",
"world_placeholder": "Seleccione un NAME",
"world_label_ens": "Mundo (ENS Domain)",
"world_placeholder_ens": "Seleccione un Dominio ENS",
"back": "Volver a elegir donde publicar",
"close": "Cerrar modal publicación",
"claim_name": "Obtener un nombre",
"claim_name_ens": "Obtener un nombre ENS",
"empty_state_title": "No tiene ningún mundo disponible",
"empty_state_description": "<b>Obtenga un mundo gratis cuando tenga un nombre</b>.<br></br>Cada nombre le otorga acceso a un mundo. Puedes tener tantos como quieras.",
"claim_name": "Obtener un NAME",
"claim_name_ens": "Obtener un Dominio ENS",
"empty_state_title": "No tiene ningún Mundo disponible",
"empty_state_description": "<b>Obtenga un Mundo gratis cuando tenga un NAME</b>.<br></br>Cada NAME le otorga acceso a un mundo. Puedes tener tantos como quieras.",
"name_type": {
"dcl": "Nombre",
"ens": "Nombres de ENS"
"dcl": "NAME",
"ens": "Dominio ENS"
},
"success": {
"title": "Tu escena ha sido publicada!",
Expand Down Expand Up @@ -611,25 +613,25 @@
"size": "Peso Mb"
},
"empty_list": {
"title": "Obtenga un mundo gratis cuando tenga un nombre",
"description": "Cada nombre le otorga acceso a un Mundo, <b>su espacio 3D personal en el metaverso</b> donde le puede dar forma como quiera e invitar hasta 100 personas a visitar su espacio.",
"cta": "Reclamar un nuevo Nombre",
"title": "Obtenga un mundo gratis cuando tenga un NAME",
"description": "Cada NAME le otorga acceso a un Mundo, <b>su espacio 3D personal en el metaverso</b> donde le puede dar forma como quiera e invitar hasta 100 personas a visitar su espacio.",
"cta": "Reclamar un nuevo NAME",
"title_ens": "Obtén un Mundo gratis cuando eres dueño de un Dominio ENS",
"description_ens": "Con un dominio ENS, puedes crear un mundo único con 25 MB de almacenamiento dedicado. Es una excelente manera de comenzar tu viaje en Decentraland.",
"description_ens": "Con un Dominio ENS, puedes crear un mundo único con 25 MB de almacenamiento dedicado. Es una excelente manera de comenzar tu viaje en Decentraland.",
"cta_ens": "Reclamar Dominio ENS"
},
"name_tabs": {
"dcl_names": "Nombres de Decentraland",
"ens_names": "Nombre de ENS"
"dcl_names": "NAMEs de Decentraland",
"ens_names": "Dominios ENS"
},
"worlds_storage": {
"used": "Espacio utilizado",
"description": "El almacenamiento total se calcula en base a las tenencias de MANA, LAND y NAME.",
"link": "Ver Detalles"
},
"worlds_warning_message": {
"to_be_blocked": "Está utilizando más almacenamiento del permitido. Cancele la publicación de algunas escenas para liberar espacio o aumentar su almacenamiento máximo antes de <b>{toBeBlockedAt}</b> para evitar perder el acceso a sus escenas.",
"blocked": "El acceso a tus escenas ha sido bloqueado desde <b>{blockedAt}</b> porque no tienes suficiente almacenamiento para mantener tus mundos publicados actualmente. Cancele la publicación de algunas escenas para liberar espacio o aumente su almacenamiento máximo para recuperar el acceso."
"to_be_blocked": "Estás utilizando más almacenamiento del permitido. Despublica algunas escenas para liberar espacio o aumenta tu almacenamiento máximo antes del <b>{toBeBlockedAt}</b> para evitar perder el acceso a tus escenas.",
"blocked": "El acceso a tus escenas ha sido bloqueado desde <b>{blockedAt}</b> porque no tienes suficiente almacenamiento para mantener tus Mundos publicados actualmente. Despublica algunas escenas para liberar espacio o aumenta tu almacenamiento máximo para recuperar el acceso."
}
},
"error_page": {
Expand Down
32 changes: 17 additions & 15 deletions src/modules/translation/languages/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -455,20 +455,22 @@
"uploading": "上传中..."
},
"deploy_world": {
"title": "发布到梦境空间",
"description": "选择将定义 URL 的去中心化名称或 ENS 名称",
"title": "发布至世界",
"description": "选择将定义 URL 的 Decentraland NAME 或 ENS 域名",
"action": "发布",
"world_label": "世界(名称)",
"world_placeholder": "选择一个名称",
"back": "回到发布场景",
"close": "关闭发布模式",
"claim_name": "索赔名称",
"claim_name_ens": "获取 ENS 名称",
"empty_state_title": "您没有任何可用的梦境空间。",
"empty_state_description": "<b>当您拥有一个名字时,获得一个免费的梦境空间</b>.<br></br>每个名称都会让您进入一个世界。您可以拥有想要的数量。",
"world_label": "世界(NAME)",
"world_placeholder": "选择一个 NAME",
"world_label_ens": "世界 (ENS 域名)",
"world_placeholder_ens": "选择一个 ENS 域名",
"back": "返回以发布场景",
"close": "关闭发布模态",
"claim_name": "声明一个新的 NAME",
"claim_name_ens": "声明一个 ENS 域名",
"empty_state_title": "您没有任何可用的世界",
"empty_state_description": "<b>拥有 NAME 时可免费获得一个世界</b>。<br></br>每个 NAME 都会让你访问一个世界。你可以拥有任意多个。",
"name_type": {
"dcl": "",
"ens": "ENS 编号"
"dcl": "NAME",
"ens": "ENS 域名"
},
"success": {
"title": "您的场景已出版!",
Expand Down Expand Up @@ -622,16 +624,16 @@
},
"name_tabs": {
"dcl_names": "Decentraland 名称",
"ens_names": "ENS 名称"
"ens_names": "ENS 域名"
},
"worlds_storage": {
"used": "已使用空间",
"description": "总存储空间是根据 MANA、LAND 和 NAME 的持有量计算的。",
"link": "查看详情"
},
"worlds_warning_message": {
"to_be_blocked": "您使用的存储空间超出了允许的范围。 在<b>{toBeBlockedAt}</b>之前取消发布某些场景以释放空间或增加最大存储空间,以避免失去对场景的访问权限",
"blocked": "自 <b>{blockedAt}</b> 起,对您的场景的访问已被阻止,因为您没有足够的存储空间来维护当前发布的世界。 取消发布某些场景以释放空间或增加最大存储空间以重新获得访问权限"
"to_be_blocked": "您使用的存储空间超过了允许的量。取消发布一些场景以释放一些空间,或在 <b>{toBeBlockedAt}</b> 之前增加您的最大存储空间,以避免失去对您场景的访问权限",
"blocked": "由于您没有足够的存储空间来维护您当前发布的世界,自 <b>{blockedAt}</b> 起,您的场景访问权限已被阻止。取消发布一些场景以释放一些空间,或增加您的最大存储空间以重新获得访问权限"
}
},
"estate_editor": {
Expand Down

0 comments on commit 3e419ba

Please sign in to comment.