localisations and stuff

This commit is contained in:
Henry Jameson 2018-04-08 02:52:15 +03:00
parent b23bd076c3
commit 2e95193559
2 changed files with 24 additions and 0 deletions

View File

@ -52,6 +52,7 @@
</div> </div>
</div> </div>
<div class="radius-container"> <div class="radius-container">
<p>{{$t('settings.radii_help')}}</p>
<div class="radius-item"> <div class="radius-item">
<label for="btnradius" class="theme-radius-lb">{{$t('settings.btnRadius')}}</label> <label for="btnradius" class="theme-radius-lb">{{$t('settings.btnRadius')}}</label>
<input id="btnradius" class="theme-radius-rn" type="range" v-model="btnRadiusLocal"> <input id="btnradius" class="theme-radius-rn" type="range" v-model="btnRadiusLocal">
@ -121,8 +122,20 @@
margin-right: 1em; margin-right: 1em;
} }
.radius-container,
.color-container { .color-container {
display: flex; display: flex;
p {
margin-top: 2em;
margin-bottom: .5em;
}
}
.radius-container {
flex-direction: column;
}
.color-container {
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-between; justify-content: space-between;
} }

View File

@ -239,10 +239,21 @@ const en = {
theme: 'Theme', theme: 'Theme',
presets: 'Presets', presets: 'Presets',
theme_help: 'Use hex color codes (#rrggbb) to customize your color theme.', theme_help: 'Use hex color codes (#rrggbb) to customize your color theme.',
radii_help: 'Set up interface edge rounding (in pixels)',
background: 'Background', background: 'Background',
foreground: 'Foreground', foreground: 'Foreground',
text: 'Text', text: 'Text',
links: 'Links', links: 'Links',
cBlue: 'Blue (Reply, follow)',
cRed: 'Red (Cancel)',
cOrange: 'Orange (Favorite)',
cGreen: 'Green (Retweet)',
btnRadius: 'Buttons',
panelRadius: 'Panels',
avatarRadius: 'Avatars',
avatarAltRadius: 'Avatars (Notifications)',
tooltipRadius: 'Tooltips/alerts',
attachmentRadius: 'Attachments',
filtering: 'Filtering', filtering: 'Filtering',
filtering_explanation: 'All statuses containing these words will be muted, one per line', filtering_explanation: 'All statuses containing these words will be muted, one per line',
attachments: 'Attachments', attachments: 'Attachments',