Compare commits
No commits in common. "6ec3d2931f1f3918a405c910c69c29f6e559dd16" and "4471e543d239d47ef96e5ca8fd5f6c908813522a" have entirely different histories.
6ec3d2931f
...
4471e543d2
6 changed files with 57 additions and 76 deletions
|
@ -812,6 +812,7 @@ ListItem {
|
|||
Image {
|
||||
id: emojiPicture
|
||||
source: Emoji.getEmojiPath(modelData)
|
||||
|
||||
width: status === Image.Ready ? Theme.fontSizeExtraLarge : 0
|
||||
height: Theme.fontSizeExtraLarge
|
||||
}
|
||||
|
|
|
@ -205,38 +205,6 @@ AccordionItem {
|
|||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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")
|
||||
|
@ -250,3 +218,4 @@ AccordionItem {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
55
rpm/harbour-fernschreiber.yaml
Normal file
55
rpm/harbour-fernschreiber.yaml
Normal file
|
@ -0,0 +1,55 @@
|
|||
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,26 +1618,6 @@
|
|||
<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>
|
||||
</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>
|
||||
<name>SettingsPage</name>
|
||||
|
|
|
@ -1618,18 +1618,6 @@
|
|||
<source>When tapping a quoted message, open it in chat instead of showing it in an overlay.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</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>
|
||||
<name>SettingsPage</name>
|
||||
|
|
|
@ -1649,18 +1649,6 @@
|
|||
<source>When tapping a quoted message, open it in chat instead of showing it in an overlay.</source>
|
||||
<translation>По нажатию на цитируемое сообщение, переходить к нему в чате вместо отображения во всплывающем окне.</translation>
|
||||
</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>
|
||||
<name>SettingsPage</name>
|
||||
|
|
Loading…
Reference in a new issue