Skip to content

Commit

Permalink
feat: remove translation alignment logic since we no more use it
Browse files Browse the repository at this point in the history
  • Loading branch information
FrFerry committed Nov 17, 2022
1 parent 690df13 commit d7a1e8b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 141 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,6 @@
:user-id="selectedUserId"
/>
</p>
<!-- ALIGNMENT TRANSLATION -->
<p
v-if="transcriptionAlignmentMode"
class="control "
>
<save-translation-alignment-button />
</p>
<p
v-if="showAlignmentButton"
class="control "
>
<transcription-alignment-button />
</p>
<p
v-if="transcriptionAlignmentMode"
class="control"
>
<message>
Le nombre de segments doit être identique entre la transcription et la traduction
</message>
</p>
</div>
</div>
</template>
Expand All @@ -65,26 +44,20 @@ import { mapState, mapGetters } from 'vuex'
import DeleteTranslationButton from '../actions/DeleteTranslationButton.vue'
import ValidateTranslationButton from '../actions/ValidateTranslationButton.vue'
import TranscriptionAlignmentButton from '../actions/TranscriptionAlignmentButton.vue'
import SaveTranslationButton from '../actions/SaveTranslationButton.vue'
import SaveTranslationAlignmentButton from '../actions/SaveTranslationAlignmentButton.vue'
import Message from '@/components/Message.vue'
import CloneTranslationButton from '../actions/CloneTranslationButton.vue'
export default {
name: 'TranslationActionBar',
components: {
ValidateTranslationButton,
DeleteTranslationButton,
TranscriptionAlignmentButton,
SaveTranslationButton,
SaveTranslationAlignmentButton,
CloneTranslationButton,
Message
CloneTranslationButton
},
computed: {
...mapState('document', ['document']),
...mapState('workflow', ['selectedUserId', 'transcriptionAlignmentMode']),
...mapState('workflow', ['selectedUserId']),
...mapState('user', ['currentUser']),
...mapGetters('user', ['isAuthenticated', 'currentUserIsAdmin', 'currentUserIsTeacher', 'currentUserIsStudent']),
...mapGetters('workflow', [
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit d7a1e8b

Please sign in to comment.