Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove duplicate compliance info #2571

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,28 +72,6 @@ const ComplianceInfo = ({
bodySize="lg"
/>
<MetaDetail label={_(msg`biome`)} value={biomeType} bodySize="lg" />
<MetaDetail label={_(msg`region`)} value={region} bodySize="lg" />
<MetaDetail
label={_(msg`department`)}
value={department}
bodySize="lg"
/>
<MetaDetail
label={_(msg`environmental authority`)}
value={environmentalAuthority}
bodySize="lg"
/>
<MetaDetail
label={_(msg`watershed`)}
value={watershed}
bodySize="lg"
/>
<MetaDetail
label={_(msg`sub-watershed`)}
value={subWatershed}
bodySize="lg"
/>
<MetaDetail label={_(msg`biome`)} value={biomeType} bodySize="lg" />
</Grid>
</>
</InfoTemplate>
Expand Down
18 changes: 6 additions & 12 deletions web-marketplace/src/lib/i18n/locales/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,6 @@ msgstr ""

#: src/components/molecules/ProjectPageMetadata/ProjectPageMetadata.tsx:159
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:74
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:96
msgid "biome"
msgstr ""

Expand Down Expand Up @@ -1392,7 +1391,7 @@ msgstr ""
msgid "credits available"
msgstr ""

#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:101
#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:106
msgid "Credits Available"
msgstr ""

Expand Down Expand Up @@ -1444,7 +1443,7 @@ msgstr ""
msgid "Credits issuance is calculated based on a weighted scale between 20 and 50 years."
msgstr ""

#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:82
#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:83
msgid "Credits issued"
msgstr ""

Expand All @@ -1456,17 +1455,17 @@ msgstr ""
msgid "Credits purchased with crypto can be purchased in either a retired or tradable state."
msgstr ""

#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:81
#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:82
msgid "Credits Registered"
msgstr ""

#: src/components/molecules/BatchTotalsGrid.tsx:46
#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:123
#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:128
msgid "Credits Retired"
msgstr ""

#: src/components/molecules/BatchTotalsGrid.tsx:39
#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:101
#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:106
msgid "Credits Tradable"
msgstr ""

Expand Down Expand Up @@ -1558,7 +1557,6 @@ msgstr ""

#: src/components/molecules/ProjectPageMetadata/ProjectPageMetadata.tsx:152
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:55
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:77
msgid "department"
msgstr ""

Expand Down Expand Up @@ -1835,7 +1833,6 @@ msgstr ""

#: src/components/molecules/ProjectPageMetadata/ProjectPageMetadata.tsx:154
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:60
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:82
msgid "environmental authority"
msgstr ""

Expand Down Expand Up @@ -3113,7 +3110,7 @@ msgstr ""
msgid "PROJECT"
msgstr ""

#: src/components/organisms/ProjectTopSection/ProjectTopSection.tsx:176
#: src/components/organisms/ProjectTopSection/ProjectTopSection.tsx:175
msgid "Project {onChainProjectId}"
msgstr ""

Expand Down Expand Up @@ -3383,7 +3380,6 @@ msgstr ""

#: src/components/molecules/ProjectPageMetadata/ProjectPageMetadata.tsx:151
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:53
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:75
msgid "region"
msgstr ""

Expand Down Expand Up @@ -3920,7 +3916,6 @@ msgstr ""

#: src/components/molecules/ProjectPageMetadata/ProjectPageMetadata.tsx:158
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:70
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:92
msgid "sub-watershed"
msgstr ""

Expand Down Expand Up @@ -4650,7 +4645,6 @@ msgstr ""

#: src/components/molecules/ProjectPageMetadata/ProjectPageMetadata.tsx:157
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:65
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:87
msgid "watershed"
msgstr ""

Expand Down
21 changes: 9 additions & 12 deletions web-marketplace/src/lib/i18n/locales/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ msgstr ""
#: src/components/organisms/CreditActivityTable/CreditActivityTable.tsx:65
#: src/components/organisms/Documentation/Documentation.constants.ts:11
#: src/pages/CreditClassDetails/CreditClassDetailsWithContent/CreditClassDetailsWithContent.constants.ts:35
msgid ""
msgstr ""

#: src/lib/constants/shared.constants.tsx:96
msgid "- see less"
msgstr "- ver menos"
Expand Down Expand Up @@ -718,7 +721,6 @@ msgstr "FECHA DE INICIO DEL LOTE"

#: src/components/molecules/ProjectPageMetadata/ProjectPageMetadata.tsx:159
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:74
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:96
msgid "biome"
msgstr "bioma"

Expand Down Expand Up @@ -1407,7 +1409,7 @@ msgstr "Los créditos se mantienen en depósito en garantía cuando se crea una
msgid "credits available"
msgstr "créditos disponibles"

#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:101
#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:106
msgid "Credits Available"
msgstr "Créditos disponibles"

Expand Down Expand Up @@ -1459,7 +1461,7 @@ msgstr "Entrada de créditos"
msgid "Credits issuance is calculated based on a weighted scale between 20 and 50 years."
msgstr "La emisión de créditos se calcula con base en una escala ponderada entre 20 y 50 años."

#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:82
#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:83
msgid "Credits issued"
msgstr "Créditos emitidos"

Expand All @@ -1471,17 +1473,17 @@ msgstr "créditos comprados"
msgid "Credits purchased with crypto can be purchased in either a retired or tradable state."
msgstr "Los créditos comprados con criptomonedas se pueden comprar en estado retirado o negociable."

#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:81
#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:82
msgid "Credits Registered"
msgstr "Créditos registrados"

#: src/components/molecules/BatchTotalsGrid.tsx:46
#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:123
#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:128
msgid "Credits Retired"
msgstr "Créditos Retirados"

#: src/components/molecules/BatchTotalsGrid.tsx:39
#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:101
#: src/components/molecules/ProjectBatchTotals/ProjectBatchTotals.tsx:106
msgid "Credits Tradable"
msgstr "Créditos negociables"

Expand Down Expand Up @@ -1573,7 +1575,6 @@ msgstr "Las fechas de entrega pueden variar ampliamente ya que este proyecto aú

#: src/components/molecules/ProjectPageMetadata/ProjectPageMetadata.tsx:152
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:55
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:77
msgid "department"
msgstr "departamento"

Expand Down Expand Up @@ -1850,7 +1851,6 @@ msgstr "Ingrese la dirección de billetera aquí si esta entidad tiene una direc

#: src/components/molecules/ProjectPageMetadata/ProjectPageMetadata.tsx:154
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:60
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:82
msgid "environmental authority"
msgstr "autoridad ambiental"

Expand Down Expand Up @@ -3140,7 +3140,7 @@ msgstr "Proyecto"
msgid "PROJECT"
msgstr "PROYECTO"

#: src/components/organisms/ProjectTopSection/ProjectTopSection.tsx:176
#: src/components/organisms/ProjectTopSection/ProjectTopSection.tsx:175
msgid "Project {onChainProjectId}"
msgstr "Proyecto {onChainProjectId}"

Expand Down Expand Up @@ -3414,7 +3414,6 @@ msgstr "Dirección de la billetera REGEN"

#: src/components/molecules/ProjectPageMetadata/ProjectPageMetadata.tsx:151
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:53
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:75
msgid "region"
msgstr "región"

Expand Down Expand Up @@ -3955,7 +3954,6 @@ msgstr "Historia en video o foto"

#: src/components/molecules/ProjectPageMetadata/ProjectPageMetadata.tsx:158
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:70
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:92
msgid "sub-watershed"
msgstr "subcuenca"

Expand Down Expand Up @@ -4712,7 +4710,6 @@ msgstr "ver video"

#: src/components/molecules/ProjectPageMetadata/ProjectPageMetadata.tsx:157
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:65
#: src/components/templates/ProjectDetails/TerrasosCreditsInfo/TerrasosCreditsInfo.ComplianceInfo.tsx:87
msgid "watershed"
msgstr "cuenca"

Expand Down
Loading