Compare commits
20 commits
4471e543d2
...
6ec3d2931f
Author | SHA1 | Date | |
---|---|---|---|
|
6ec3d2931f | ||
|
053f5eae10 | ||
|
3ac98a4e17 | ||
|
4fc0ce70b5 | ||
|
06dcda1fd4 | ||
|
18957e5f9d | ||
|
24d4b9ffb1 | ||
|
d6444c22b2 | ||
|
20be5acfdc | ||
|
fd8dee466e | ||
|
72c4419a48 | ||
|
02573174fc | ||
|
1e88f3c9ba | ||
|
4ea558bfa5 | ||
|
ea513a5e42 | ||
|
070f3e1bd7 | ||
|
77f03f1f02 | ||
547b6b1e0b | |||
659cf4e8ca | |||
234a84ac04 |
6 changed files with 76 additions and 57 deletions
|
@ -812,7 +812,6 @@ ListItem {
|
||||||
Image {
|
Image {
|
||||||
id: emojiPicture
|
id: emojiPicture
|
||||||
source: Emoji.getEmojiPath(modelData)
|
source: Emoji.getEmojiPath(modelData)
|
||||||
|
|
||||||
width: status === Image.Ready ? Theme.fontSizeExtraLarge : 0
|
width: status === Image.Ready ? Theme.fontSizeExtraLarge : 0
|
||||||
height: Theme.fontSizeExtraLarge
|
height: Theme.fontSizeExtraLarge
|
||||||
}
|
}
|
||||||
|
|
|
@ -216,6 +216,37 @@ AccordionItem {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TextSwitch {
|
||||||
|
checked: appSettings.notificationSuppressContent && enabled
|
||||||
|
text: qsTr("Hide content in notifications")
|
||||||
|
enabled: parent.enabled
|
||||||
|
automaticCheck: false
|
||||||
|
onClicked: {
|
||||||
|
appSettings.notificationSuppressContent = !checked
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
TextSwitch {
|
||||||
|
checked: appSettings.notificationTurnsDisplayOn && enabled
|
||||||
|
text: qsTr("Notification turns on the display")
|
||||||
|
enabled: parent.enabled
|
||||||
|
automaticCheck: false
|
||||||
|
onClicked: {
|
||||||
|
appSettings.notificationTurnsDisplayOn = !checked
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
TextSwitch {
|
||||||
|
checked: appSettings.notificationSoundsEnabled && enabled
|
||||||
|
text: qsTr("Enable notification sounds")
|
||||||
|
description: qsTr("When sounds are enabled, Fernschreiber will use the current Sailfish OS notification sound for chats, which can be configured in the system settings.")
|
||||||
|
enabled: parent.enabled
|
||||||
|
automaticCheck: false
|
||||||
|
onClicked: {
|
||||||
|
appSettings.notificationSoundsEnabled = !checked
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,55 +0,0 @@
|
||||||
Name: harbour-fernschreiber
|
|
||||||
Summary: Fernschreiber is a Telegram client for Sailfish OS
|
|
||||||
Version: 0.17
|
|
||||||
Release: 12
|
|
||||||
# The contents of the Group field should be one of the groups listed here:
|
|
||||||
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
|
|
||||||
Group: Qt/Qt
|
|
||||||
URL: http://werkwolf.eu/
|
|
||||||
License: LICENSE
|
|
||||||
# This must be generated before uploading a package to a remote build service.
|
|
||||||
# Usually this line does not need to be modified.
|
|
||||||
Sources:
|
|
||||||
- '%{name}-%{version}.tar.bz2'
|
|
||||||
Description: |
|
|
||||||
Fernschreiber is a Telegram client for Sailfish OS
|
|
||||||
Configure: none
|
|
||||||
Builder: qmake5
|
|
||||||
|
|
||||||
# This section specifies build dependencies that are resolved using pkgconfig.
|
|
||||||
# This is the preferred way of specifying build dependencies for your package.
|
|
||||||
PkgConfigBR:
|
|
||||||
- sailfishapp >= 1.0.2
|
|
||||||
- Qt5Core
|
|
||||||
- Qt5Qml
|
|
||||||
- Qt5Quick
|
|
||||||
- Qt5DBus
|
|
||||||
- Qt5Sql
|
|
||||||
- Qt5Multimedia
|
|
||||||
- Qt5Positioning
|
|
||||||
- nemonotifications-qt5
|
|
||||||
- openssl
|
|
||||||
|
|
||||||
# NB: spectacle has a bug where it will remove custom "#<< macros" lines, so define them here:
|
|
||||||
Macros:
|
|
||||||
- '__provides_exclude_from;^%{_datadir}/.*$'
|
|
||||||
- '__requires_exclude;^libtdjson.*$'
|
|
||||||
|
|
||||||
# Build dependencies without a pkgconfig setup can be listed here
|
|
||||||
PkgBR:
|
|
||||||
- gperf
|
|
||||||
|
|
||||||
# Runtime dependencies which are not automatically detected
|
|
||||||
Requires:
|
|
||||||
- sailfishsilica-qt5 >= 0.10.9
|
|
||||||
- nemo-qml-plugin-contacts-qt5
|
|
||||||
|
|
||||||
# All installed files
|
|
||||||
Files:
|
|
||||||
- '%{_bindir}/%{name}'
|
|
||||||
- '%{_datadir}/%{name}'
|
|
||||||
- '%{_datadir}/applications/%{name}.desktop'
|
|
||||||
- '%{_datadir}/icons/hicolor/*/apps/%{name}.png'
|
|
||||||
|
|
||||||
# For more information about yaml and what's supported in Sailfish OS
|
|
||||||
# build system, please see https://wiki.merproject.org/wiki/Spectacle
|
|
|
@ -1618,6 +1618,26 @@
|
||||||
<source>When tapping a quoted message, open it in chat instead of showing it in an overlay.</source>
|
<source>When tapping a quoted message, open it in chat instead of showing it in an overlay.</source>
|
||||||
<translation>Al Pulsar mensaje citado, abrirá en Charla en lugar de mostrarlo en una superposición.</translation>
|
<translation>Al Pulsar mensaje citado, abrirá en Charla en lugar de mostrarlo en una superposición.</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Always append message preview to notifications</source>
|
||||||
|
<translation>Agregar vista previa mensaje a notificaciones</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>In addition to showing the number of unread messages, the latest message will also be appended to notifications.</source>
|
||||||
|
<translation>Mostrará cantidad mensajes no leídos, el último mensaje se agregará a notificaciones.</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Highlight unread messages</source>
|
||||||
|
<translation>Resaltar mensajes no leídos</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Highlight Conversations with unread messages</source>
|
||||||
|
<translation>Resaltar conversaciones a mensajes no leídos</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Hide content in notifications</source>
|
||||||
|
<translation>Ocultar contenido a notificaciones</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>SettingsPage</name>
|
<name>SettingsPage</name>
|
||||||
|
|
|
@ -1618,6 +1618,18 @@
|
||||||
<source>When tapping a quoted message, open it in chat instead of showing it in an overlay.</source>
|
<source>When tapping a quoted message, open it in chat instead of showing it in an overlay.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Highlight unread messages</source>
|
||||||
|
<translation>Mettre en valeur les messages non-lus</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Highlight Conversations with unread messages</source>
|
||||||
|
<translation>Mettre en valeur les conversations avec des messages non-lus</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Hide content in notifications</source>
|
||||||
|
<translation>Masquer le contenu dans les notifications</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>SettingsPage</name>
|
<name>SettingsPage</name>
|
||||||
|
|
|
@ -1649,6 +1649,18 @@
|
||||||
<source>When tapping a quoted message, open it in chat instead of showing it in an overlay.</source>
|
<source>When tapping a quoted message, open it in chat instead of showing it in an overlay.</source>
|
||||||
<translation>По нажатию на цитируемое сообщение, переходить к нему в чате вместо отображения во всплывающем окне.</translation>
|
<translation>По нажатию на цитируемое сообщение, переходить к нему в чате вместо отображения во всплывающем окне.</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Highlight unread messages</source>
|
||||||
|
<translation>Выделять непрочитанные сообщения</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Highlight Conversations with unread messages</source>
|
||||||
|
<translation>Помечать чаты и каналы с непрочитанными сообщениями другим шрифтом и цветом.</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Hide content in notifications</source>
|
||||||
|
<translation>Не показывать содержимое сообщений в уведомлениях</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>SettingsPage</name>
|
<name>SettingsPage</name>
|
||||||
|
|
Loading…
Reference in a new issue