change language to relocate

This commit is contained in:
Martin Cech
2024-04-22 09:58:02 -07:00
parent 03111fad43
commit b8c39a57df
2 changed files with 5 additions and 5 deletions
@@ -17,7 +17,7 @@ const emit = defineEmits<{
}>();
const fromWhat = "This dataset location is";
const toWhat = "This dataset will be moved to";
const toWhat = "This dataset will be relocated to";
</script>
<template>
@@ -32,7 +32,7 @@ const toWhat = "This dataset will be moved to";
:object-store="fromObjectStore"
@click="emit('closeModal')" />
</b-button-group>
<p class="move-to">Select new storage location for the dataset:</p>
<p class="relocate-to">Select new storage location for the dataset:</p>
<b-button-group vertical size="lg" class="select-button-group">
<ObjectStoreSelectButton
v-for="objectStore in targetObjectStores"
@@ -62,7 +62,7 @@ const toWhat = "This dataset will be moved to";
margin: auto;
width: 400px;
}
.move-to {
.relocate-to {
margin-top: 2em;
}
</style>
@@ -89,13 +89,13 @@ async function relocate(objectStoreId: string) {
<template>
<span class="storage-relocate-link">
<SelectModal v-if="currentObjectStore" v-model="showModal" title="Move Dataset">
<SelectModal v-if="currentObjectStore" v-model="showModal" title="Relocate Dataset">
<RelocateDialog
:from-object-store="currentObjectStore"
:target-object-stores="validTargets"
@relocate="relocate"
@closeModal="closeModal" />
</SelectModal>
<BButton v-if="relocatable" @click="showModal = true">Move Dataset</BButton>
<BButton v-if="relocatable" @click="showModal = true">Relocate Dataset</BButton>
</span>
</template>