Skip to content

Commit

Permalink
pkp/pkp-lib#6528 rename locale keys
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec committed Dec 12, 2024
1 parent 2a00e26 commit d23ca91
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
12 changes: 6 additions & 6 deletions public/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ window.pkp = {
'acceptInvitation.verifyOrcid': 'Verify ORCID iD',
'admin.jobs.failed.action.redispatch': 'Try Again',
'admin.jobs.failed.action.redispatch.all': 'Requeue All Failed Jobs',
'admin.submissions.incomplete.bulkDelete.body':
'##admin.submissions.incomplete.bulkDelete.body##',
'admin.submissions.incomplete.bulkDelete.column.description':
'##admin.submissions.incomplete.bulkDelete.column.description##',
'admin.submissions.incomplete.bulkDelete.confirm':
'##admin.submissions.incomplete.bulkDelete.confirm##',
'dashboard.submissions.incomplete.bulkDelete.body':
'##dashboard.submissions.incomplete.bulkDelete.body##',
'dashboard.submissions.incomplete.bulkDelete.column.description':
'##dashboard.submissions.incomplete.bulkDelete.column.description##',
'dashboard.submissions.incomplete.bulkDelete.confirm':
'##dashboard.submissions.incomplete.bulkDelete.confirm##',
'admin.version': 'Version',
'article.article': 'Article',
'article.metadata': 'Metadata',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/dashboard/components/DashboardBulkActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const actions = computed(() => {
if (dashboardStore.bulkDeleteIsAvailableForUser) {
_actions.push({
label: t('admin.submissions.incomplete.bulkDelete.button'),
label: t('dashboard.submissions.incomplete.bulkDelete.button'),
name: 'bulkDeleteSelectionEnable',
isWarnable: true,
icon: 'Cancel',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:is-warnable="true"
@click="() => store.bulkDeleteActionDelete()"
>
{{ t('admin.submissions.incomplete.bulkDelete.button') }}
{{ t('dashboard.submissions.incomplete.bulkDelete.button') }}
</PkpButton>
</template>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
<TableHeader>
<TableColumn v-if="dashboardStore.bulkDeleteSelectionEnabled">
<span class="sr-only">
{{ t('admin.submissions.incomplete.bulkDelete.column.description') }}
{{
t('dashboard.submissions.incomplete.bulkDelete.column.description')
}}
</span>
</TableColumn>
<TableColumn
Expand Down
4 changes: 2 additions & 2 deletions src/pages/dashboard/composables/useDashboardBulkDelete.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ export function useDashboardBulkDelete({
function bulkDeleteActionDelete() {
const {openDialog} = useModal();
openDialog({
title: t('admin.submissions.incomplete.bulkDelete.confirm'),
message: t('admin.submissions.incomplete.bulkDelete.body'),
title: t('dashboard.submissions.incomplete.bulkDelete.confirm'),
message: t('dashboard.submissions.incomplete.bulkDelete.body'),
actions: [
{
label: t('common.confirm'),
Expand Down

0 comments on commit d23ca91

Please sign in to comment.