1
0
Fork 0

Update italian translation, add scroll on volume slider for youtube/niconico.

This commit is contained in:
namedkitten 2020-05-03 18:06:06 +01:00
parent 488c87cce3
commit b59d613e50
2 changed files with 29 additions and 1 deletions

View file

@ -51,5 +51,21 @@ Slider {
color: getAppearanceValueForTheme(appearance.themeName, color: getAppearanceValueForTheme(appearance.themeName,
"volumeSliderBackground") "volumeSliderBackground")
} }
MouseArea {
acceptedButtons: Qt.NoButton
z: 10
anchors.fill: parent
propagateComposedEvents: true
onWheel: {
if (wheel.angleDelta.y<0){
volumeBar.value -= 5
}
else {
volumeBar.value += 5
}
}
}
} }
} }

View file

@ -232,7 +232,19 @@ var translations = {
TITLE: "Titolo", TITLE: "Titolo",
TOGGLE_ALWAYS_ON_TOP: "Mantieni in primo piano", TOGGLE_ALWAYS_ON_TOP: "Mantieni in primo piano",
DISABLE_TRACK: "Disabilita traccia", DISABLE_TRACK: "Disabilita traccia",
AUDIO_DEVICES: "Dispositivi audio" AUDIO_DEVICES: "Dispositivi audio",
PLAYLIST_MENU: "Menu Playlist",
THEME: "Tema",
SETTINGS: "Impostazioni",
LANGUAGE: "Lingua",
APPEARANCE: "Appearance", //gonna need more context for this
TITLE_ONLY_ON_FULLSCREEN: "Mostra il titolo solo in modalità a schermo intero", //kinda long but can't think of a shorter way
CLICK_TO_PAUSE: "Tap/Click per mettere in pausa",
DOUBLE_TAP_TO_SEEK: "Doppio Tap/Click per andare avanti",
DOUBLE_TAP_TO_SEEK_BY: "vai avanti di (secondi)",
FONT: "Font",
SUBTITLES_FONT_SIZE: "Dimensione Sottotitoli",
UI_FADE_TIME: "Fade Interfaccia (millisecondi)"
}, },
russian: { russian: {
OPEN_FILE: "Открыть...", OPEN_FILE: "Открыть...",