Skip to content

Commit

Permalink
Change translations (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon authored Jul 3, 2024
1 parent fedde1b commit b758a56
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/Layout/ShowRawButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const ShowRawButton = ({ obj, ...props }: { obj: object } & Omit<ButtonProps, 'o
return (
<>
<Button {...buttonProps} {...props}>
<Trans i18nKey={'raw_content'}>Raw content</Trans>
<Trans i18nKey={'raw'}>Raw</Trans>
</Button>
<Box mt={2} {...disclosureProps}>
<RawContentBox obj={obj} />
Expand Down
2 changes: 1 addition & 1 deletion src/components/Process/Detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const Detail = () => {
<Trans i18nKey={'process.tab_envelopes'}>Envelopes</Trans>
</Tab>
<Tab>
<Trans i18nKey={'process.tab_raw'}>Raw</Trans>
<Trans i18nKey={'raw'}>Raw</Trans>
</Tab>
</TabList>

Expand Down
3 changes: 1 addition & 2 deletions src/i18n/locales/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@
"show_with_results": "Mostrar només processos amb resultats",
"tab_description": "Descripció",
"tab_envelopes": "Sobres",
"tab_raw": "Brut",
"tab_results": "Resultats"
},
"processes": {
Expand All @@ -125,7 +124,7 @@
"revealed": "Revelat",
"total_questions": "Total de preguntes"
},
"raw_content": "Contingut brut",
"raw": "Dades",
"stats": {
"average_block_time": "Temps mitjà per bloc",
"block_height": "Alçada del bloc",
Expand Down
3 changes: 1 addition & 2 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@
"show_with_results": "Show only processes with results",
"tab_description": "Description",
"tab_envelopes": "Envelopes",
"tab_raw": "Raw",
"tab_results": "Results"
},
"processes": {
Expand All @@ -125,7 +124,7 @@
"revealed": "Revealed",
"total_questions": "Total questions"
},
"raw_content": "Raw content",
"raw": "Raw",
"stats": {
"average_block_time": "Average block time",
"block_height": "Block height",
Expand Down
3 changes: 1 addition & 2 deletions src/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@
"show_with_results": "Mostrar solo procesos con resultados",
"tab_description": "Descripción",
"tab_envelopes": "Sobres",
"tab_raw": "Bruto",
"tab_results": "Resultados"
},
"processes": {
Expand All @@ -125,7 +124,7 @@
"revealed": "Revelados",
"total_questions": "Total de preguntas"
},
"raw_content": "Contenido bruto",
"raw": "Datos",
"stats": {
"average_block_time": "Tiempo promedio por bloque",
"block_height": "Altura del bloque",
Expand Down

2 comments on commit b758a56

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.