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: APP-413 Show project admin from offchain data on project page #2584

Merged
merged 4 commits into from
Jan 28, 2025
Merged
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
@@ -1,6 +1,5 @@
import { msg, Trans } from '@lingui/macro';
import { useLingui } from '@lingui/react';
import { Grid } from '@mui/material';

import Section from 'web-components/src/components/section';
import { Title } from 'web-components/src/components/typography';
@@ -48,8 +47,8 @@ export const ProjectDetailsStakeholders: React.FC<Props> = ({
title: _(msg`admin`),
tooltip: (
<Trans>
<b>Project admin:</b> The entity who can update a given project on the
blockchain.
<b>Project admin:</b> The entity responsible for technical management,
content editing, and managing participant access for contributions.
</Trans>
),
},
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { MouseEvent } from 'react';
import { i18n } from '@lingui/core';
import { MapiResponse } from '@mapbox/mapbox-sdk/lib/classes/mapi-response';
import { GeocodeResponse } from '@mapbox/mapbox-sdk/services/geocoding';
import { getResizedImageUrl } from 'utils/image/getResizedImageUrl';
@@ -35,9 +36,11 @@ import {
import { getSanityImgSrc } from 'lib/imgSrc';

import {
DEFAULT_NAME,
DEFAULT_PROFILE_COMPANY_AVATAR,
DEFAULT_PROFILE_USER_AVATAR,
} from 'pages/ProfileEdit/ProfileEdit.constants';
import { getDefaultAvatar } from 'pages/ProfileEdit/ProfileEdit.utils';
import { UISellOrderInfo } from 'pages/Projects/AllProjects/AllProjects.types';

import {
@@ -199,12 +202,12 @@ export function getAccount(
}

return {
name: account.name,
name: account.name || i18n._(DEFAULT_NAME),
description: account.description,
type: account.type,
image: image,
address: account.addr || '',
link: account?.websiteLink,
link: account?.websiteLink || `/profiles/${account.id}`,
};
}

@@ -295,3 +298,7 @@ export const formatTimelineDates = (item: PrefinanceTimelineItem) =>
`${formatDate(item.date, 'MMM YYYY')}${
item.endDate ? ` - ${formatDate(item.endDate, 'MMM YYYY')}` : ''
}`;

export const getAccountInfo = (account?: AccountFieldsFragment | null) => {
return { account, defaultAvatar: getDefaultAvatar(account) };
};
Original file line number Diff line number Diff line change
@@ -18,10 +18,13 @@ import {
import { getCsrfTokenQuery } from 'lib/queries/react-query/registry-server/getCsrfTokenQuery/getCsrfTokenQuery';
import { getAccountByAddrQuery } from 'lib/queries/react-query/registry-server/graphql/getAccountByAddrQuery/getAccountByAddrQuery';

import { useAccountInfo } from 'pages/ProfileEdit/hooks/useAccountInfo';
import { getDisplayAccountOrAddress } from 'components/organisms/DetailsSection/DetailsSection.utils';

import { getAccount, getDisplayAccount } from '../ProjectDetails.utils';
import {
getAccount,
getAccountInfo,
getDisplayAccount,
} from '../ProjectDetails.utils';

type Params = {
projectMetadata?: AnchoredProjectMetadataBaseLD;
@@ -67,6 +70,8 @@ export const useStakeholders = ({
offChainProject?.creditClassByCreditClassId?.accountByRegistryId,
);

const offChainAdmin = getAccount(offChainProject?.accountByAdminAccountId);

const adminAddr = onChainProject?.admin;
const { data: csrfData } = useQuery(getCsrfTokenQuery({}));
const { data: accountByAddr } = useQuery(
@@ -77,8 +82,8 @@ export const useStakeholders = ({
languageCode: selectedLanguage,
}),
);
const { account } = useAccountInfo({ accountByAddr });
const admin = getDisplayAccountOrAddress(adminAddr, account);
const { account } = getAccountInfo(accountByAddr?.accountByAddr);
const admin = getDisplayAccountOrAddress(adminAddr, account) || offChainAdmin;

const partners = offChainProject?.projectPartnersByProjectId?.nodes?.map(
partner => getAccount(partner?.accountByAccountId),
4 changes: 2 additions & 2 deletions web-marketplace/src/generated/graphql.tsx
Original file line number Diff line number Diff line change
@@ -7888,7 +7888,7 @@ export type ProjectFieldsFragment = (
& Pick<Project, 'id' | 'adminAccountId' | 'onChainId' | 'metadata' | 'approved' | 'published' | 'slug'>
& { accountByAdminAccountId?: Maybe<(
{ __typename?: 'Account' }
& Pick<Account, 'addr'>
& AccountFieldsFragment
)>, creditClassByCreditClassId?: Maybe<(
{ __typename?: 'CreditClass' }
& Pick<CreditClass, 'onChainId'>
@@ -8073,7 +8073,7 @@ export const ProjectFieldsFragmentDoc = gql`
id
adminAccountId
accountByAdminAccountId {
addr
...accountFields
}
onChainId
metadata
2 changes: 1 addition & 1 deletion web-marketplace/src/graphql/ProjectFragment.graphql
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ fragment projectFields on Project {
id
adminAccountId
accountByAdminAccountId {
addr
...accountFields
}
onChainId
metadata
60 changes: 32 additions & 28 deletions web-marketplace/src/lib/i18n/locales/en.po
Original file line number Diff line number Diff line change
@@ -150,7 +150,7 @@ msgstr ""
msgid "+ add another issuer'"
msgstr ""

#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:300
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:301
msgid "+ add certification"
msgstr ""

@@ -200,43 +200,47 @@ msgstr ""
msgid "<0>Credit class issuer:</0> the entity who can issue credit batches under the given credit class."
msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:104
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:103
msgid "<0>Custodian:</0> The entity, also the project landowner, who has historically managed the territory. It is now part of the project stakeholders and receives benefits from project success."
msgstr ""

#: src/components/atoms/DragAndDropLabel.tsx:6
msgid "<0>drag and drop</0><1>or</1>"
msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:93
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:92
msgid "<0>Monitor:</0> The entity who tracks and verifies the environmental impact and performance of the project to ensure compliance and transparency."
msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:115
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:114
msgid "<0>Partners:</0> can offer crucial financial support or monitor progress and ensure environmental standards are met."
msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:113
#~ msgid "<0>Partners</0> can offer crucial financial support or monitor progress and ensure environmental standards are met."
#~ msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:49
msgid "<0>Project admin:</0> The entity responsible for technical management, content editing, and managing participant access for contributions."
msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:50
#~ msgid "<0>Project admin:</0> the entity who can update a given project on the blockchain."
#~ msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:50
msgid "<0>Project admin:</0> The entity who can update a given project on the blockchain."
msgstr ""
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:49
#~ msgid "<0>Project admin:</0> The entity who can update a given project on the blockchain."
#~ msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:60
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:59
msgid "<0>Project developer:</0> The entity in charge of managing the project. The project developer can be the land owner, land steward, or a third party."
msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:60
#~ msgid "<0>Project developer:</0> the entity that is in charge of managing the project. The project developer can be the land owner, land steward, or a third party."
#~ msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:71
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:70
msgid "<0>Project operator:</0> The entity responsible for implementing and managing the project, ensuring it meets sustainability and regulatory standards."
msgstr ""

@@ -248,7 +252,7 @@ msgstr ""
#~ msgid "<0>Verifier:</0> The third party eneity responsible for providing a independent, impartial assessment of project plan and project reports (that is not the monitor)."
#~ msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:82
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:81
msgid "<0>Verifier:</0> The third party entity responsible for providing a independent, impartial assessment of project plan and project reports (that is not the monitor)."
msgstr ""

@@ -272,7 +276,7 @@ msgstr ""
msgid "5MB max. Supported file types include text, spreadsheets, images, and video files."
msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:39
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:38
#: src/pages/CreditClassDetails/CreditClassDetailsSimple/CreditClassDetailsSimple.Stakeholders.tsx:27
msgid "A <0>program</0> involves the eligibility rules, monitoring and certification, and registration systems for credit trading and ownership tracking."
msgstr ""
@@ -406,7 +410,7 @@ msgstr ""
msgid "additional certifications"
msgstr ""

#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:256
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:257
msgid "Additional Certifications"
msgstr ""

@@ -420,7 +424,7 @@ msgstr ""
msgid "Address copied!"
msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:48
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:47
#: src/pages/CreditClassDetails/CreditClassDetailsSimple/CreditClassDetailsSimple.Stakeholders.tsx:37
#: src/pages/Post/Post.constants.ts:8
msgid "admin"
@@ -633,7 +637,7 @@ msgstr ""
msgid "Attach arbitrary JSON-LD metadata to the credit batch below."
msgstr ""

#: src/components/molecules/MetadataJSONField.tsx:56
#: src/components/molecules/MetadataJSONField.tsx:35
msgid "Attach arbitrary JSON-LD metadata to the credit batch below. <0>Learn more»</0>"
msgstr ""

@@ -1573,7 +1577,7 @@ msgstr ""
msgid "Current admin address"
msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:102
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:101
msgid "custodian"
msgstr ""

@@ -1874,8 +1878,8 @@ msgstr ""
msgid "end date"
msgstr ""

#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:209
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:210
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:211
msgid "End Date"
msgstr ""

@@ -2522,7 +2526,7 @@ msgstr ""
msgid "metadata"
msgstr ""

#: src/components/molecules/MetadataJSONField.tsx:53
#: src/components/molecules/MetadataJSONField.tsx:32
#: src/components/organisms/CreditClassForms/CreditClassForm.tsx:105
#: src/components/organisms/CreditClassForms/CreditClassReview.tsx:40
#: src/pages/ProjectMetadata/ProjectMetadata.tsx:72
@@ -2566,7 +2570,7 @@ msgstr ""
msgid "Moderate"
msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:91
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:90
msgid "monitor"
msgstr ""

@@ -2795,7 +2799,7 @@ msgstr ""
msgid "Oops! Page not found."
msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:69
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:68
msgid "operator"
msgstr ""

@@ -2863,7 +2867,7 @@ msgstr ""
msgid "Pacific"
msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:113
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:112
msgid "partners"
msgstr ""

@@ -3161,7 +3165,7 @@ msgstr ""
msgid "Profile type"
msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:37
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:36
#: src/pages/CreditClassDetails/CreditClassDetailsSimple/CreditClassDetailsSimple.Stakeholders.tsx:24
msgid "program"
msgstr ""
@@ -3188,7 +3192,7 @@ msgstr ""
#: src/components/organisms/BridgedEcocreditsTable/BridgedEcocreditsTable.tsx:132
#: src/components/organisms/EcocreditsTable.tsx:82
#: src/components/organisms/RetirementCertificatesTable/RetirementCertificatesTable.headers.tsx:18
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:183
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:184
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/Review.tsx:79
#: src/pages/Certificate/Certificate.constants.ts:14
#: src/pages/Certificate/Certificate.utils.ts:37
@@ -3232,7 +3236,7 @@ msgstr ""
msgid "Project Design Document"
msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:58
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:57
msgid "project developer"
msgstr ""

@@ -3953,7 +3957,7 @@ msgstr ""
msgid "Sort by:"
msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:137
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:136
msgid "Stakeholders"
msgstr ""

@@ -3965,8 +3969,8 @@ msgstr ""
msgid "start date"
msgstr ""

#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:199
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:200
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:201
msgid "Start Date"
msgstr ""

@@ -4163,7 +4167,7 @@ msgstr ""
#~ msgid "The Custodian is the project landowner and has historically managed the territory. It is now part of the project stakeholders and receives benefits from project success."
#~ msgstr ""

#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:220
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:221
msgid "The dates should correspond to the batch monitoring period or vintage."
msgstr ""

@@ -4605,7 +4609,7 @@ msgstr ""
msgid "vcs retirement serial number"
msgstr ""

#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:228
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:229
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/Review.tsx:86
msgid "VCS retirement serial number"
msgstr ""
@@ -4622,7 +4626,7 @@ msgstr ""
msgid "verification reports"
msgstr ""

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:80
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:79
msgid "verifier"
msgstr ""

60 changes: 32 additions & 28 deletions web-marketplace/src/lib/i18n/locales/es.po
Original file line number Diff line number Diff line change
@@ -149,7 +149,7 @@ msgstr "+ añadir"
msgid "+ add another issuer'"
msgstr "+ añadir otro emisor'"

#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:300
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:301
msgid "+ add certification"
msgstr "+ añadir certificación"

@@ -199,51 +199,55 @@ msgstr "<0>Administrador de clase de crédito:</0> la entidad que puede actualiz
msgid "<0>Credit class issuer:</0> the entity who can issue credit batches under the given credit class."
msgstr "<0>Emisor de la clase de crédito:</0> entidad que puede emitir lotes de créditos bajo la clase de crédito dada."

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:104
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:103
msgid "<0>Custodian:</0> The entity, also the project landowner, who has historically managed the territory. It is now part of the project stakeholders and receives benefits from project success."
msgstr "<0>Custodio:</0> Entidad, también propietaria del proyecto, que históricamente ha gestionado el territorio. Actualmente forma parte de los interesados del proyecto y recibe los beneficios del éxito del mismo."

#: src/components/atoms/DragAndDropLabel.tsx:6
msgid "<0>drag and drop</0><1>or</1>"
msgstr "<0>arrastrar y soltar</0><1>o</1>"

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:93
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:92
msgid "<0>Monitor:</0> The entity who tracks and verifies the environmental impact and performance of the project to ensure compliance and transparency."
msgstr "<0>Monitor:</0> Entidad que da seguimiento y verifica el impacto ambiental y el desempeño del proyecto para garantizar el cumplimiento y la transparencia."

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:115
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:114
msgid "<0>Partners:</0> can offer crucial financial support or monitor progress and ensure environmental standards are met."
msgstr "<0>Socios:</0> pueden ofrecer apoyo financiero crucial o supervisar el progreso y garantizar que se cumplan los estándares ambientales."

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:109
#~ msgid "<0>Partners</0> can offer crucial financial support or monitor progress and ensure environmental standards are met."
#~ msgstr "Los <0>socios</0> pueden ofrecer un apoyo financiero crucial o supervisar el progreso y garantizar que se cumplan los estándares ambientales."

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:49
msgid "<0>Project admin:</0> The entity responsible for technical management, content editing, and managing participant access for contributions."
msgstr "<0>Administrador del proyecto:</0> La entidad responsable de la gestión técnica, la edición de contenidos y la gestión del acceso de los participantes para las contribuciones."

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:47
#~ msgid "<0>Project admin:</0> the entity who can update a given project on the blockchain."
#~ msgstr "<0>Administrador del proyecto:</0> la entidad que puede actualizar un proyecto determinado en la cadena de bloques."

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:50
msgid "<0>Project admin:</0> The entity who can update a given project on the blockchain."
msgstr "<0>Administrador del proyecto:</0> La entidad que puede actualizar un proyecto determinado en la cadena de bloques."
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:49
#~ msgid "<0>Project admin:</0> The entity who can update a given project on the blockchain."
#~ msgstr "<0>Administrador del proyecto:</0> La entidad que puede actualizar un proyecto determinado en la cadena de bloques."

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:60
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:59
msgid "<0>Project developer:</0> The entity in charge of managing the project. The project developer can be the land owner, land steward, or a third party."
msgstr "<0>Desarrollador del proyecto:</0> Entidad encargada de gestionar el proyecto. El desarrollador del proyecto puede ser el propietario del terreno, el administrador del terreno o un tercero."

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:57
#~ msgid "<0>Project developer:</0> the entity that is in charge of managing the project. The project developer can be the land owner, land steward, or a third party."
#~ msgstr "<0>Desarrollador del proyecto:</0> entidad que se encarga de gestionar el proyecto. El desarrollador del proyecto puede ser el propietario del terreno, el administrador del terreno o un tercero."

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:71
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:70
msgid "<0>Project operator:</0> The entity responsible for implementing and managing the project, ensuring it meets sustainability and regulatory standards."
msgstr "<0>Operador del proyecto:</0> Entidad responsable de implementar y gestionar el proyecto, garantizando que cumpla con los estándares regulatorios y de sostenibilidad."

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:78
#~ msgid "<0>Verifier:</0> A third party who provides a independent, impartial assessment of project plan and project reports (that is not the monitor)."
#~ msgstr "<0>Verificador:</0> Un tercero que proporciona una evaluación independiente e imparcial del plan del proyecto y de los informes del proyecto (que no es el monitor)."

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:82
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:81
msgid "<0>Verifier:</0> The third party entity responsible for providing a independent, impartial assessment of project plan and project reports (that is not the monitor)."
msgstr "<0>Verificador:</0> La entidad de terceros responsable de proporcionar una evaluación independiente e imparcial del plan del proyecto y de los informes del proyecto (que no es el monitor)."

@@ -267,7 +271,7 @@ msgstr "1 tonelada de CO2e"
msgid "5MB max. Supported file types include text, spreadsheets, images, and video files."
msgstr "Máximo de 5 MB. Los tipos de archivos admitidos incluyen texto, hojas de cálculo, imágenes y archivos de video."

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:39
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:38
#: src/pages/CreditClassDetails/CreditClassDetailsSimple/CreditClassDetailsSimple.Stakeholders.tsx:27
msgid "A <0>program</0> involves the eligibility rules, monitoring and certification, and registration systems for credit trading and ownership tracking."
msgstr "Un <0>programa</0> implica las reglas de elegibilidad, monitoreo y certificación, y sistemas de registro para el comercio de créditos y el seguimiento de la propiedad."
@@ -401,7 +405,7 @@ msgstr "URL de certificación adicional"
msgid "additional certifications"
msgstr "certificaciones adicionales"

#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:256
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:257
msgid "Additional Certifications"
msgstr "Certificaciones adicionales"

@@ -415,7 +419,7 @@ msgstr "Información adicional"
msgid "Address copied!"
msgstr "¡Dirección copiada!"

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:48
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:47
#: src/pages/CreditClassDetails/CreditClassDetailsSimple/CreditClassDetailsSimple.Stakeholders.tsx:37
#: src/pages/Post/Post.constants.ts:8
msgid "admin"
@@ -628,7 +632,7 @@ msgstr "Adjuntar una firma"
msgid "Attach arbitrary JSON-LD metadata to the credit batch below."
msgstr "Adjunte metadatos JSON-LD arbitrarios al lote de créditos a continuación."

#: src/components/molecules/MetadataJSONField.tsx:56
#: src/components/molecules/MetadataJSONField.tsx:35
msgid "Attach arbitrary JSON-LD metadata to the credit batch below. <0>Learn more»</0>"
msgstr "Adjunte metadatos JSON-LD arbitrarios al lote de créditos a continuación. <0>Más información»</0>"

@@ -1572,7 +1576,7 @@ msgstr "cuenta corriente"
msgid "Current admin address"
msgstr "Dirección de administración actual"

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:102
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:101
msgid "custodian"
msgstr "custodio"

@@ -1873,8 +1877,8 @@ msgstr "¡Correo electrónico reenviado! Por favor, revise su bandeja de entrada
msgid "end date"
msgstr "Fecha de finalización"

#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:209
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:210
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:211
msgid "End Date"
msgstr "Fecha de finalización"

@@ -2525,7 +2529,7 @@ msgstr "mensajes"
msgid "metadata"
msgstr "metadatos"

#: src/components/molecules/MetadataJSONField.tsx:53
#: src/components/molecules/MetadataJSONField.tsx:32
#: src/components/organisms/CreditClassForms/CreditClassForm.tsx:105
#: src/components/organisms/CreditClassForms/CreditClassReview.tsx:40
#: src/pages/ProjectMetadata/ProjectMetadata.tsx:72
@@ -2569,7 +2573,7 @@ msgstr "Mínimo 1 destinatario"
msgid "Moderate"
msgstr "Moderado"

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:91
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:90
msgid "monitor"
msgstr "monitor"

@@ -2802,7 +2806,7 @@ msgstr "Sólo las ubicaciones de los archivos quedarán ocultas a la vista del p
msgid "Oops! Page not found."
msgstr "¡Ups! Página no encontrada."

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:69
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:68
msgid "operator"
msgstr "operador"

@@ -2870,7 +2874,7 @@ msgstr "Descripción general"
msgid "Pacific"
msgstr "Pacífico"

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:113
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:112
msgid "partners"
msgstr "fogonadura"

@@ -3168,7 +3172,7 @@ msgstr "Perfil guardado"
msgid "Profile type"
msgstr "Tipo de perfil"

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:37
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:36
#: src/pages/CreditClassDetails/CreditClassDetailsSimple/CreditClassDetailsSimple.Stakeholders.tsx:24
msgid "program"
msgstr "programa"
@@ -3195,7 +3199,7 @@ msgstr "proyecto"
#: src/components/organisms/BridgedEcocreditsTable/BridgedEcocreditsTable.tsx:132
#: src/components/organisms/EcocreditsTable.tsx:82
#: src/components/organisms/RetirementCertificatesTable/RetirementCertificatesTable.headers.tsx:18
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:183
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:184
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/Review.tsx:79
#: src/pages/Certificate/Certificate.constants.ts:14
#: src/pages/Certificate/Certificate.utils.ts:37
@@ -3239,7 +3243,7 @@ msgstr "beneficio del proyecto"
msgid "Project Design Document"
msgstr "Documento de diseño del proyecto"

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:58
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:57
msgid "project developer"
msgstr "Desarrollador de proyectos"

@@ -3960,7 +3964,7 @@ msgstr "Lo sentimos, su transacción no fue exitosa."
msgid "Sort by:"
msgstr "Ordenar por:"

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:137
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:136
msgid "Stakeholders"
msgstr "Partes interesadas"

@@ -3972,8 +3976,8 @@ msgstr "Fecha de inicio y de fin"
msgid "start date"
msgstr "Fecha de inicio"

#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:199
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:200
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:201
msgid "Start Date"
msgstr "Fecha de inicio"

@@ -4173,7 +4177,7 @@ msgstr "El creador de esta cesta ha decidido que todos los créditos deben ser r
msgid "The current address is already linked to your account.\\nPlease first switch wallet addresses in the Keplr app to be able to add another address to your account."
msgstr "La dirección actual ya está vinculada a su cuenta. Primero cambie las direcciones de billetera en la aplicación Keplr para poder agregar otra dirección a su cuenta."

#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:220
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:221
msgid "The dates should correspond to the batch monitoring period or vintage."
msgstr "Las fechas deben corresponder al período de seguimiento del lote o añada."

@@ -4615,7 +4619,7 @@ msgstr "tipo de proyecto vcs"
msgid "vcs retirement serial number"
msgstr "Número de serie de retiro de VCS"

#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:228
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/CreditBasics.tsx:229
#: src/features/ecocredit/CreateBatchBySteps/CreateBatchMultiStepForm/Review.tsx:86
msgid "VCS retirement serial number"
msgstr "Número de serie de retiro de VCS"
@@ -4632,7 +4636,7 @@ msgstr "Informe de verificación"
msgid "verification reports"
msgstr "informes de verificación"

#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:80
#: src/components/templates/ProjectDetails/ProjectDetails.Stakeholders.tsx:79
msgid "verifier"
msgstr "verificador"

12 changes: 0 additions & 12 deletions web-marketplace/src/pages/ProfileEdit/hooks/useAccountInfo.tsx

This file was deleted.