small thing to display instance-provided default
This commit is contained in:
parent
419744080f
commit
a61ad0544a
3 changed files with 9 additions and 1 deletions
|
@ -25,6 +25,7 @@ const settings = {
|
|||
collapseMessageWithSubjectLocal: typeof user.collapseMessageWithSubject === 'undefined'
|
||||
? instance.collapseMessageWithSubject
|
||||
: user.collapseMessageWithSubject,
|
||||
collapseMessageWithSubjectDefault: this.$t('settings.values.' + instance.collapseMessageWithSubject),
|
||||
stopGifs: user.stopGifs,
|
||||
loopSilentAvailable:
|
||||
// Firefox
|
||||
|
|
|
@ -29,7 +29,9 @@
|
|||
<ul class="setting-list">
|
||||
<li>
|
||||
<input type="checkbox" id="collapseMessageWithSubject" v-model="collapseMessageWithSubjectLocal">
|
||||
<label for="collapseMessageWithSubject">{{$t('settings.collapse_subject')}}</label>
|
||||
<label for="collapseMessageWithSubject">
|
||||
{{$t('settings.collapse_subject')}} {{$t('settings.instance_default', { value: collapseMessageWithSubjectDefault })}}
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<input type="checkbox" id="streaming" v-model="streamingLocal">
|
||||
|
|
|
@ -298,6 +298,11 @@ const en = {
|
|||
profile_background: 'Profile Background',
|
||||
set_new_profile_background: 'Set new profile background',
|
||||
settings: 'Settings',
|
||||
instance_default: '(default: {value})',
|
||||
values: {
|
||||
true: 'yes',
|
||||
false: 'no'
|
||||
},
|
||||
theme: 'Theme',
|
||||
presets: 'Presets',
|
||||
export_theme: 'Save preset',
|
||||
|
|
Loading…
Reference in a new issue