localization and small fixes
This commit is contained in:
parent
cb8218c3c1
commit
32132e225c
6 changed files with 99 additions and 54 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue