Skip to content

Commit

Permalink
refactor: cleanup button labels
Browse files Browse the repository at this point in the history
  • Loading branch information
mtdvlpr committed Nov 11, 2024
1 parent 281b661 commit 436f1d9
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/components/dialog/DialogRemoteVideo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
/>
</div>
<div class="col text-right">
<q-btn v-close-popup color="negative" flat>{{ $t('cancel') }}</q-btn>
<q-btn v-close-popup :label="$t('cancel')" color="negative" flat />
</div>
</div>
</div>
Expand Down
5 changes: 2 additions & 3 deletions src/components/media/DragAndDropper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,14 @@
</template>
<div class="row justify-end">
<q-btn
:label="$t('cancel')"
color="negative"
flat
@click="
jwpubDb = '';
open = false;
"
>
{{ $t('cancel') }}
</q-btn>
/>
</div>
</div>
</q-dialog>
Expand Down
9 changes: 6 additions & 3 deletions src/components/media/PublicTalkMediaPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,12 @@
</div>
</template>
<div class="row justify-end">
<q-btn color="negative" flat @click="dismissPopup">
{{ $t('cancel') }}
</q-btn>
<q-btn
:label="$t('cancel')"
color="negative"
flat
@click="dismissPopup"
/>
</div>
</div>
</q-dialog>
Expand Down
9 changes: 6 additions & 3 deletions src/components/media/SongPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,12 @@
/>
</div>
<div class="col text-right">
<q-btn color="negative" flat @click="dismissPopup">{{
$t('cancel')
}}</q-btn>
<q-btn
:label="$t('cancel')"
color="negative"
flat
@click="dismissPopup"
/>
</div>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/components/media/SubtitlesButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
unelevated
@click="subtitlesVisible = !subtitlesVisible"
>
<q-tooltip :delay="1000" :offset="[14, 22]">{{
$t('subtitles')
}}</q-tooltip>
<q-tooltip :delay="1000" :offset="[14, 22]">
{{ $t('subtitles') }}
</q-tooltip>
</q-btn>
</template>

Expand Down

0 comments on commit 436f1d9

Please sign in to comment.