Skip to content

Commit 6a2a653

Browse files
committed
set translation indication
1 parent f060e99 commit 6a2a653

File tree

11 files changed

+16
-24
lines changed

11 files changed

+16
-24
lines changed

src/components/CompilationHeader.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@
109109
</template>
110110
<template v-else>
111111
<!-- Display in non-edit view -->
112-
<div class="level-item is-justify-content-flex-start">
112+
<div
113+
class="notranslate level-item is-justify-content-flex-start"
114+
>
113115
<span class="title is-3" data-cy="compilation-title">
114116
<!-- Use a placeholder to still use the height when not actual title is displayed -->
115117
<template v-if="compilation.Title">
@@ -118,7 +120,7 @@
118120
<template v-else>&nbsp;</template>
119121
</span>
120122
</div>
121-
<div class="level-item">
123+
<div class="notranslate level-item">
122124
<p class="is-size-7">
123125
<ArtistDisplay
124126
class="has-cropped-text"

src/components/CueButtonsBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div
3-
class="cue-buttons-bar buttons field has-addons is-fullwidth is-flex-wrap-nowrap"
3+
class="notranslate cue-buttons-bar buttons field has-addons is-fullwidth is-flex-wrap-nowrap"
44
>
55
<!-- A virtual cue button as prefix, when the first cue is not at the zero position -->
66
<!-- Note: Do not crop the (non-existing) text in virtual cue buttons

src/components/CueButtonsField.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="cue-buttons-field buttons has-gap is-fullwidth">
2+
<div class="notranslate cue-buttons-field buttons has-gap is-fullwidth">
33
<!-- A virtual cue button as prefix, when the first cue is not at the zero position -->
44
<CueButton
55
v-if="(prefixCue.Duration ?? 0 > 0) && showInitialZeroTimeCue"

src/components/displays/ArtistDisplay.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<span :class="{ 'mr-3': artist || album }">
2+
<span class="notranslate" :class="{ 'mr-3': artist || album }">
33
<span v-if="artist" class="is-single-line">
44
<span class="has-opacity-half">by&nbsp;</span>
55
<span class="is-italic">

src/components/displays/MeterDisplay.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<span v-if="meter">
2+
<span v-if="meter" class="notranslate">
33
<span v-if="meter?.BeatsPerMinute" class="is-single-line mr-3">
44
<span class="has-opacity-half">BPM:&nbsp;</span>
55
<span>{{ meter?.BeatsPerMinute }}</span>

src/components/displays/TagsDisplay.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<span
3-
class="tags"
3+
class="notranslate tags"
44
:class="{
55
'are-large': !small,
66
}"

src/components/editor/TagsSelector.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<TransitionGroup name="list" tag="div" class="buttons">
2+
<TransitionGroup name="list" tag="div" class="notranslate buttons">
33
<ToggleButton
44
v-for="tag in allTags"
55
:key="tag"

src/components/indicators/MediaSourceIndicator.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<!-- align like a bulma level, vertically centered -->
33
<p
4-
class="control is-flex is-align-items-center"
4+
class="notranslate control is-flex is-align-items-center"
55
:title="
66
unavailable
77
? `Track media '${mediaSource}' is unavailable. Please reload or replace it in the editor.`

src/components/track/MediaTrack.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@
321321
<!-- On mobile, the text is cropped at full width minus seek buttons, because of the level's automatic stacking,
322322
on lager viewports the text is cropped to not exceed the dynamic playhead slider -->
323323
<p
324-
class="is-size-7 has-cropped-text"
324+
class="notranslate is-size-7 has-cropped-text"
325325
:class="{
326326
'has-opacity-half': !canPlay,
327327
'has-text-success': playingCueIsSelected,
@@ -518,7 +518,7 @@
518518
<!-- On mobile, the text is cropped at full width minus seek buttons, because of the level's automatic stacking,
519519
on lager viewports the text is strictly cropped to 129px -->
520520
<p
521-
class="is-size-7 has-cropped-text"
521+
class="notranslate is-size-7 has-cropped-text"
522522
:class="{
523523
'has-text-success':
524524
playingCueIsSelected,

src/components/track/PdfTrack.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,15 @@
5959
<!-- NOTE: Toggling the disabled attribute does not work as intended -->
6060
<a
6161
v-if="Boolean(mediaUrl)"
62+
class="notranslate"
6263
:href="mediaUrl"
6364
target="_blank"
6465
>
6566
{{ track.Name }}
6667
</a>
6768
<a
6869
v-else
70+
class="notranslate"
6971
:href="mediaUrl"
7072
target="_blank"
7173
disabled

0 commit comments

Comments
 (0)