Skip to content

Commit

Permalink
Enhance translations in export sidebar (directus#18686)
Browse files Browse the repository at this point in the history
* Enhance translations in export sidebar

* Create warm-pumas-provide.md
  • Loading branch information
paescuj authored May 22, 2023
1 parent bcda7d2 commit 6141092
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/warm-pumas-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@directus/app": patch
---

Enhanced translations in export sidebar
4 changes: 2 additions & 2 deletions app/src/lang/translations/en-US.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,9 @@ download_file: Download File
open_file_in_tab: Open file in new tab
start_export: Start Export
not_available_for_local_downloads: Not available for local downloads
exporting_all_items_in_collection: Exporting all {total} items within {collection}.
exporting_all_items_in_collection: Exporting all items ({total}) within {collection}.
exporting_limited_items_in_collection: Exporting {limit} out of {total} items within {collection}.
exporting_no_items_to_export: No items to export. Adjust the exporting configuration below.
exporting_no_items_to_export: No items to export. Adjust the exporting configuration.
exporting_download_hint: Once completed, this {format} file will automatically be downloaded to your device.
exporting_batch_hint: This export will be processed in batches, and once completed, the {format} file will be saved to the File Library.
exporting_batch_hint_forced:
Expand Down
6 changes: 3 additions & 3 deletions app/src/views/private/components/export-sidebar-detail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,15 @@

<p>
<template v-if="lockedToFiles">
{{ t('exporting_batch_hint_forced', { format }) }}
{{ t('exporting_batch_hint_forced', { format: t(format) }) }}
</template>

<template v-else-if="location === 'files'">
{{ t('exporting_batch_hint', { format }) }}
{{ t('exporting_batch_hint', { format: t(format) }) }}
</template>

<template v-else>
{{ t('exporting_download_hint', { format }) }}
{{ t('exporting_download_hint', { format: t(format) }) }}
</template>
</p>
</div>
Expand Down

0 comments on commit 6141092

Please sign in to comment.