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: hide 'no preview' text; update strings #1552

Merged
merged 3 commits into from
Feb 22, 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
4 changes: 2 additions & 2 deletions src/localization/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -559,9 +559,9 @@
"share_file_dialog_share_access_type_ALL": "Anyone with link",
"share_file_dialog_share_access_type_MEMBERS": "Members",
"share_file_dialog_share_access_suffix": "can view and download this file",
"share_file_dialog_share_access_all_warning": "Anyone with the link can access this file.",
"share_file_dialog_share_access_all_warning": "Anyone on the internet with the link can access this file",
"share_file_dialog_share_access_not_allowed": "Only group managers and file owners can change this setting.",
"share_file_dialog_share_access_updated": "Access updated.",
"share_file_dialog_share_access_updated": "Access updated",
"share_file_dialog_share_access_done": "Done",
"invalid_extension": "The file extension ({{file.resourceType}}) does not match the file’s contents",
"invalid_extension_zip": "The file {{file.name}}{{file.resourceType}} is a not a valid zip.",
Expand Down
4 changes: 2 additions & 2 deletions src/localization/locales/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -602,9 +602,9 @@
"share_file_dialog_share_access_type_ALL": "Cualquier persona con el enlace",
"share_file_dialog_share_access_type_MEMBERS": "Miembros",
"share_file_dialog_share_access_suffix": "pueden ver y descargar este archivo",
"share_file_dialog_share_access_all_warning": "Cualquiera que tenga el enlace puede acceder a este archivo.",
"share_file_dialog_share_access_all_warning": "Cualquier persona en el internet con el enlace puede acceder a este archivo",
"share_file_dialog_share_access_not_allowed": "Sólo los administradores de grupos y propietarios de archivos pueden cambiar esta configuración.",
"share_file_dialog_share_access_updated": "Acceso actualizado.",
"share_file_dialog_share_access_updated": "Acceso actualizado",
"share_file_dialog_share_access_done": "Hecho",
"invalid_extension": "La extensión del archivo ({{file.resourceType}}) no coincide con el contenido del archivo",
"invalid_extension_zip": "El archivo {{file.name}}{{file.resourceType}} no es un zip válido.",
Expand Down
3 changes: 0 additions & 3 deletions src/sharedData/components/SharedResourceDownload.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@ const SharedResourceDownload = () => {
sx={{ p: 4, mt: 6 }}
>
<Typography variant="h1">{`${sharedResource.dataEntry?.name}.${sharedResource.dataEntry?.resourceType}`}</Typography>
<Typography>
{t('sharedData.shared_resource_download_no_preview')}
</Typography>
<Button variant="contained" onClick={downloadFile}>
{t('sharedData.shared_resource_download_button')}
</Button>
Expand Down
Loading