Skip to content

Commit

Permalink
Merge pull request #128 from rakekniven/patch-2
Browse files Browse the repository at this point in the history
chore(i18n): Adapted case of words and changed triple to ellipsis
  • Loading branch information
eldertek authored Jan 20, 2025
2 parents 6194850 + 9195d72 commit 7bc8184
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions src/components/BulkDeletionSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div v-if="!previewResults" class="bulk-deletion__content">
<div class="summary-section">
<NcEmptyContent
:title="t('duplicatefinder', 'Bulk Delete Duplicates')"
:title="t('duplicatefinder', 'Bulk delete duplicates')"
:description="t('duplicatefinder', 'Preview and delete multiple duplicates at once while preserving files in protected folders.')"
:icon="'icon-delete'">
<template #action>
Expand All @@ -12,7 +12,7 @@
<template #icon>
<NcLoadingIcon v-if="isLoading" />
</template>
{{ t('duplicatefinder', 'Start Preview') }}
{{ t('duplicatefinder', 'Start preview') }}
</NcButton>
</div>
</template>
Expand All @@ -27,25 +27,25 @@
'Total files to delete: {count}, Space that will be freed: {size}',
{ count: totalFilesToDelete, size: formatBytes(totalSpaceFreed) }) }}</p>
<div v-if="isLoading" class="loading-info">
{{ t('duplicatefinder', 'Loading page {current} of {total}...',
{{ t('duplicatefinder', 'Loading page {current} of {total}',
{ current: currentPage, total: previewResults.pagination.totalPages }) }}
</div>
<div class="summary-actions">
<NcButton type="tertiary" @click="toggleSelectAll">
{{ isAllSelected ? t('duplicatefinder', 'Unselect All') : t('duplicatefinder', 'Select All') }}
{{ isAllSelected ? t('duplicatefinder', 'Unselect all') : t('duplicatefinder', 'Select all') }}
</NcButton>
<NcButton type="error" @click="confirmBulkDelete"
:disabled="isLoading || !hasSelectedFiles">
<template #icon>
<NcLoadingIcon v-if="isLoading" />
</template>
{{ t('duplicatefinder', 'Delete Selected Files') }}
{{ t('duplicatefinder', 'Delete selected files') }}
</NcButton>
</div>
</template>
<template v-else>
<NcEmptyContent
:title="t('duplicatefinder', 'No Duplicates Found')"
:title="t('duplicatefinder', 'No duplicates found')"
:description="t('duplicatefinder', 'No duplicate files were found that can be deleted. This could be because there are no duplicates, or all duplicates are in protected folders.')"
:icon="'icon-info'">
<template #action>
Expand All @@ -69,7 +69,7 @@
type="checkbox"
name="group-select">
<span class="group-title">
{{ t('duplicatefinder', 'Duplicate Group') }}
{{ t('duplicatefinder', 'Duplicate group') }}
<span class="group-stats">
({{ t('duplicatefinder', '{selected} of {total} files selected',
{
Expand Down Expand Up @@ -451,4 +451,4 @@ export default {
font-size: 0.9em;
margin: 10px 0;
}
</style>
</style>
4 changes: 2 additions & 2 deletions src/components/SearchBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default {
case 'regex':
return t('duplicatefinder', 'Search with regex (e.g., ^IMG_\\d{4}\\.jpg$)')
default:
return t('duplicatefinder', 'Search duplicates...')
return t('duplicatefinder', 'Search duplicates')
}
}
},
Expand Down Expand Up @@ -185,4 +185,4 @@ export default {
background-color: var(--color-primary-element-light);
color: var(--color-primary-text);
}
</style>
</style>

0 comments on commit 7bc8184

Please sign in to comment.