diff options
| author | Henry Jameson <me@hjkos.com> | 2018-11-20 20:58:20 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-11-20 20:58:20 +0300 |
| commit | 32132e225c749e506285370a2a065bb71920ce59 (patch) | |
| tree | f94a41615be9495cc038f9ebe5979aadf6c250b9 /src/components/opacity_input/opacity_input.vue | |
| parent | cb8218c3c1b567d6e2eac570a5a12cf37951239f (diff) | |
localization and small fixes
Diffstat (limited to 'src/components/opacity_input/opacity_input.vue')
| -rw-r--r-- | src/components/opacity_input/opacity_input.vue | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/components/opacity_input/opacity_input.vue b/src/components/opacity_input/opacity_input.vue index 91c4f5e9..e0567ec7 100644 --- a/src/components/opacity_input/opacity_input.vue +++ b/src/components/opacity_input/opacity_input.vue @@ -1,16 +1,15 @@ <template> -<div class="opacity-control" :class="{ disabled: !present || disabled }"> +<div class="opacity-control style-control" :class="{ disabled: !present || disabled }"> <label :for="name" class="label"> - {{$t('settings.opacity')}} + {{$t('settings.style.common.opacity')}} </label> <input - v-if="typeof fallback !== 'undefined'" - class="opt" - :id="name + '-o'" - type="checkbox" - :checked="present" - @input="$emit('input', !present ? fallback : undefined)" - > + v-if="typeof fallback !== 'undefined'" + class="opt" + :id="name + '-o'" + type="checkbox" + :checked="present" + @input="$emit('input', !present ? fallback : undefined)"> <label v-if="typeof fallback !== 'undefined'" class="opt-l" :for="name + '-o'"></label> <input :id="name" |
