mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-10-30 07:53:33 +08:00
Compare commits
5 Commits
nightly/20
...
nightly/20
| Author | SHA1 | Date | |
|---|---|---|---|
| 73aeb02ebd | |||
| 9d91317089 | |||
| 474bc5f6a4 | |||
| f5b64e955b | |||
| b88627d125 |
2
daemon
2
daemon
Submodule daemon updated: c5c3afae9a...59a8e41ca8
@ -1,5 +1,5 @@
|
||||
ARG RISK=edge
|
||||
ARG UBUNTU=focal
|
||||
ARG UBUNTU=jammy
|
||||
|
||||
FROM ubuntu:$UBUNTU as builder
|
||||
ARG RISK
|
||||
|
||||
@ -168,7 +168,7 @@ package-repositories:
|
||||
components: [main]
|
||||
suites: [jami]
|
||||
key-id: A295D773307D25A33AE72F2F64CD5FA175348F84
|
||||
url: https://dl.jami.net/nightly/ubuntu_20.04/
|
||||
url: https://dl.jami.net/nightly/ubuntu_22.04/
|
||||
|
||||
parts:
|
||||
desktop-launch:
|
||||
@ -304,6 +304,7 @@ parts:
|
||||
- libswscale-dev
|
||||
- libva-dev
|
||||
- libvdpau-dev
|
||||
- libpipewire-0.3-dev
|
||||
- libargon2-0-dev # opendht
|
||||
- libexpat1-dev
|
||||
- libjsoncpp-dev
|
||||
@ -326,7 +327,7 @@ parts:
|
||||
- libegl1
|
||||
- libgbm1
|
||||
- libgudev-1.0-0
|
||||
- libjsoncpp1
|
||||
- libjsoncpp25
|
||||
- libllvm12
|
||||
- libminizip1
|
||||
- libnm0
|
||||
|
||||
@ -43,8 +43,14 @@ LocalVideo {
|
||||
|
||||
visibilityCondition: (CurrentCall.isSharing || !CurrentCall.isVideoMuted) &&
|
||||
!CurrentCall.isConference
|
||||
|
||||
// Keep the area of the preview a proportion of the screen size plus a
|
||||
// modifier to allow the user to scale it.
|
||||
readonly property real containerArea: container.width * container.height
|
||||
property real scalingFactor: 1
|
||||
width: Math.sqrt(containerArea / 16) * scalingFactor
|
||||
height: width * invAspectRatio
|
||||
width: Math.max(container.width / 5, JamiTheme.minimumPreviewWidth)
|
||||
|
||||
flip: CurrentCall.flipSelf && !CurrentCall.isSharing
|
||||
blurRadius: hidden ? 25 : 0
|
||||
|
||||
@ -62,6 +68,20 @@ LocalVideo {
|
||||
// Animate the hiddenSize with a Behavior.
|
||||
Behavior on sideMargin { NumberAnimation { duration: 250; easing.type: Easing.OutExpo }}
|
||||
readonly property bool onLeft: state.indexOf("left") !== -1
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
enabled: !localPreview.hidden
|
||||
onWheel: function(event) {
|
||||
const delta = event.angleDelta.y / 120 * 0.1;
|
||||
if (event.modifiers & Qt.ControlModifier) {
|
||||
parent.opacity = JamiQmlUtils.clamp(parent.opacity + delta, 0.25, 1);
|
||||
} else {
|
||||
localPreview.scalingFactor = JamiQmlUtils.clamp(localPreview.scalingFactor + delta, 0.5, 4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
PushButton {
|
||||
id: hidePreviewButton
|
||||
objectName: "hidePreviewButton"
|
||||
|
||||
@ -307,37 +307,37 @@ Jami will now quit.</source>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="90"/>
|
||||
<source>Push-to-talk</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Voki-toki</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="91"/>
|
||||
<source>Enable push-to-talk</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Omogućite voki-toki</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="92"/>
|
||||
<source>Keyboard shortcut</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Prečica na tastaturi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="93"/>
|
||||
<source>Change keyboard shortcut</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Promenite prečicu na tastaturi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="96"/>
|
||||
<source>Change shortcut</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Promenite prečicu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="97"/>
|
||||
<source>Press the key to be assigned to push-to-talk shortcut</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Pritisnite taster da budete dodeljeni voki-toki prečici</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="98"/>
|
||||
<source>Assign</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Dodeli</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="101"/>
|
||||
@ -597,7 +597,7 @@ Jami will now quit.</source>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="176"/>
|
||||
<source>Extensions</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Proširenja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="186"/>
|
||||
@ -850,7 +850,7 @@ The profile can be changed at all times from the account's settings.</sourc
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="480"/>
|
||||
<source>Use native window frame (requires restart)</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Koristite izvorni okvir prozora (zahteva ponovno pokretanje)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="484"/>
|
||||
@ -885,12 +885,12 @@ The profile can be changed at all times from the account's settings.</sourc
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="529"/>
|
||||
<source>Content access error</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Greška u pristupu sadržaju</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="530"/>
|
||||
<source>Content not found</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Sadržaj nije pronađen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="593"/>
|
||||
@ -900,22 +900,22 @@ The profile can be changed at all times from the account's settings.</sourc
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="594"/>
|
||||
<source>This account is password encrypted, enter the password to generate a PIN code.</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Ovaj nalog je šifrovan lozinkom, unesite lozinku da biste generisali PIN kod.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="596"/>
|
||||
<source>PIN expired</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>PIN je istekao</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="597"/>
|
||||
<source>On another device</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Na drugom uređaju</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="598"/>
|
||||
<source>Install and launch Jami, select "Import from another device" and scan the QR code.</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Instalirajte i pokrenite Jami, izaberite „Uvezi sa drugog uređaja“ i skenirajte QR kod.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="599"/>
|
||||
@ -925,12 +925,12 @@ The profile can be changed at all times from the account's settings.</sourc
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="600"/>
|
||||
<source>In Jami, scan QR code or manually enter the PIN.</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>U Jamiju, skenirajte QR kod ili ručno unesite PIN.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="601"/>
|
||||
<source>The PIN code is valid for: </source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>PIN kod važi za:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="604"/>
|
||||
@ -4407,7 +4407,7 @@ connects to synchronize the conversation.</source>
|
||||
<message>
|
||||
<location filename="../src/app/utilsadapter.cpp" line="345"/>
|
||||
<source>%1 Mbps</source>
|
||||
<translation>%1 Мбпс</translation>
|
||||
<translation>%1 Mbps</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/utilsadapter.cpp" line="345"/>
|
||||
@ -4425,22 +4425,22 @@ connects to synchronize the conversation.</source>
|
||||
<message>
|
||||
<location filename="../src/libclient/contactmodel.cpp" line="498"/>
|
||||
<source>Searching…</source>
|
||||
<translation>Трагајући...</translation>
|
||||
<translation>Traženje…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/libclient/contactmodel.cpp" line="1030"/>
|
||||
<source>Invalid ID</source>
|
||||
<translation>Неважни идентификациони документ</translation>
|
||||
<translation>Nevažeći ID</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/libclient/contactmodel.cpp" line="1033"/>
|
||||
<source>Username not found</source>
|
||||
<translation>Име корисника није пронађено</translation>
|
||||
<translation>Korisničko ime nije pronađeno</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/libclient/contactmodel.cpp" line="1036"/>
|
||||
<source>Couldn't lookup…</source>
|
||||
<translation>Не могу да тражим...</translation>
|
||||
<translation>Nije moguće potražiti…</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
@ -4448,7 +4448,7 @@ connects to synchronize the conversation.</source>
|
||||
<message>
|
||||
<location filename="../src/libclient/contactmodel.cpp" line="461"/>
|
||||
<source>Bad URI scheme</source>
|
||||
<translation>Лоша схема УРИ-а</translation>
|
||||
<translation>Loša URI šema</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@ -308,37 +308,37 @@ Jami will now quit.</source>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="90"/>
|
||||
<source>Push-to-talk</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Voki-toki</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="91"/>
|
||||
<source>Enable push-to-talk</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Omogućite voki-toki</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="92"/>
|
||||
<source>Keyboard shortcut</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Prečica na tastaturi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="93"/>
|
||||
<source>Change keyboard shortcut</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Promenite prečicu na tastaturi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="96"/>
|
||||
<source>Change shortcut</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Promenite prečicu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="97"/>
|
||||
<source>Press the key to be assigned to push-to-talk shortcut</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Pritisnite taster da budete dodeljeni voki-toki prečici</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="98"/>
|
||||
<source>Assign</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Dodeli</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="101"/>
|
||||
@ -598,7 +598,7 @@ Jami will now quit.</source>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="176"/>
|
||||
<source>Extensions</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Proširenja</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="186"/>
|
||||
@ -850,7 +850,7 @@ The profile can be changed at all times from the account's settings.</sourc
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="480"/>
|
||||
<source>Use native window frame (requires restart)</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Koristite izvorni okvir prozora (zahteva ponovno pokretanje)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="484"/>
|
||||
@ -885,12 +885,12 @@ The profile can be changed at all times from the account's settings.</sourc
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="529"/>
|
||||
<source>Content access error</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Greška u pristupu sadržaju</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="530"/>
|
||||
<source>Content not found</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Sadržaj nije pronađen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="593"/>
|
||||
@ -900,22 +900,22 @@ The profile can be changed at all times from the account's settings.</sourc
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="594"/>
|
||||
<source>This account is password encrypted, enter the password to generate a PIN code.</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Ovaj nalog je šifrovan lozinkom, unesite lozinku da biste generisali PIN kod.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="596"/>
|
||||
<source>PIN expired</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>PIN je istekao</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="597"/>
|
||||
<source>On another device</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Na drugom uređaju</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="598"/>
|
||||
<source>Install and launch Jami, select "Import from another device" and scan the QR code.</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>Instalirajte i pokrenite Jami, izaberite „Uvezi sa drugog uređaja“ i skenirajte QR kod.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="599"/>
|
||||
@ -925,12 +925,12 @@ The profile can be changed at all times from the account's settings.</sourc
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="600"/>
|
||||
<source>In Jami, scan QR code or manually enter the PIN.</source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>U Jamiju, skenirajte QR kod ili ručno unesite PIN.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="601"/>
|
||||
<source>The PIN code is valid for: </source>
|
||||
<translation type="unfinished"/>
|
||||
<translation>PIN kod važi za:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/app/net/jami/Constants/JamiStrings.qml" line="604"/>
|
||||
|
||||
Reference in New Issue
Block a user