Commit Graph

289 Commits

Author SHA1 Message Date
Martchus 230532d15e Do the directory/folder replacement also in German translation 2023-09-18 22:34:30 +02:00
Martchus 0f2409b145 Rename placeholder text in Plasmoid as well to use folders instead of dirs 2023-09-18 22:18:02 +02:00
John Veness c2a0eee029 Change Directory to Folder in user-facing strings 2023-09-17 19:33:31 +01:00
Martchus abf1dd0748 Rename `SyncthingDeviceModel::IsOwnDevice` in accordance with recent UI changes 2023-09-16 23:09:48 +02:00
Martchus 081def0a9e Update translations 2023-09-04 20:35:57 +02:00
Martchus e4bbe852bd Avoid CMake deprecation warning by bumping version 2023-07-23 21:05:22 +02:00
Martchus 4a109eefb8 Add Plasmoid files not used in current build to excluded files
So these files are still considered for tidying and translations
2023-07-14 02:42:04 +02:00
Martchus e29ed19de4 Improve comments in Plasmoid build script 2023-07-14 02:13:27 +02:00
Martchus c3ea747d46 Fix installation of Plasmoid package 2023-07-13 01:49:11 +02:00
Martchus 912dca1564 Port Plasmoid to Plasma 6
* Split QML part into distinct versions for Plasma 5 and 6 as there are too
  many differences and `#ifdef` is not possible
* Change API usage according to
  https://develop.kde.org/docs/plasma/widget/porting_kf6
* Port "contextualActions" to API documented on
  https://invent.kde.org/frameworks/plasma-framework/-/blob/master/src/plasma/applet.h
* Document testing
* Add FIXMEs/notes for remaining problems; there are likely many more,
  though
2023-07-13 01:01:02 +02:00
Martchus 5b5b2811da Update translations 2023-07-03 00:56:45 +02:00
Martchus 4effd6045b Dynamically retranslate some aspects of the UI
There are still many places missing but this is a first step.
2023-07-03 00:56:19 +02:00
Martchus 10aafceb68 Update translations 2023-06-30 12:47:30 +02:00
Martchus 13730ab933 Ignore "Forbidden" errors shortly after Syncthing start
Not sure why I'm getting

```
Fehler beim Abfragen der Syncthing-Konfiguration: Error transferring http://127.0.0.1:8384/rest/system/config - server replied: Forbidden
URL der Anfrage: http://127.0.0.1:8384/rest/system/config
```

one one of my setups but this kind of error can likely be ignored shortly
after the start similar to other types of errors.
2023-06-30 12:43:06 +02:00
Martchus c6b03ae0aa Show "Connecting …" status via "Connect/Resume/Pause" button
This makes it more obvious that Syncthing Tray is currently connecting to
Syncthing (instead of just hiding the button completely).
2023-06-20 23:21:21 +02:00
Martchus e9135d735a Update translations 2023-04-29 21:08:29 +02:00
Martchus 0c733837ce Fix showing directory errors in plasmoid 2023-04-26 20:30:23 +02:00
Martchus 58b8a4e540 Allow showing Syncthing UI in Chromium-based browser in "app mode"
See https://github.com/Martchus/syncthingtray/issues/178
2023-03-27 20:28:52 +02:00
Martchus 5a45a46450 Make `addPlasmoidSpecificNote()` static 2023-03-26 21:08:42 +02:00
Martchus b5d81eefc6 Avoid remaining symlinks for testfiles 2023-02-27 22:14:35 +01:00
Martchus 5bf8a4e25a Update translations 2023-02-17 19:23:01 +01:00
Martchus 10c656cc5e Show error when settings cannot be restored or saved
* State the error type and location of the relevant file
* Help debugging problems related to settings
2023-02-17 19:20:10 +01:00
Martchus cab2ddc974 Avoid hardcoding Plasma version in Plasmoid code 2023-02-07 21:02:57 +01:00
Martchus e9eeb76578 Fix displaying QR-code in wizard when built-in launcher is used
In this case the connection from the setup detection is not the correct
one. The connection used to apply the settings should generally be used for
querying the QR-code.
2023-01-09 16:01:37 +01:00
Martchus a30f3d4062 Fix typo in German translation 2022-11-14 18:41:31 +01:00
Martchus 8fe0c9ab75 Update translations 2022-11-10 21:52:37 +01:00
Martchus 31038135ad Show wizard on the first launch also for the plasmoid 2022-11-10 20:50:31 +01:00
Martchus 6594a667af Update translations 2022-10-22 12:40:57 +02:00
Martchus 056a8049f7 Update info about Plasmoid-sizing for Plasma 5.26 2022-10-17 23:19:28 +02:00
Martchus f0ebd75ce0 Add missing German translations 2022-10-17 23:05:30 +02:00
Martchus f8a1c35735 Fix typo in German translation 2022-10-17 21:40:14 +02:00
Martchus b0e6c6d574 Add release info in Plasmoid AppStream template 2022-10-13 19:34:49 +02:00
Martchus 39464d0613 Use same indentation in Plasmomid AppStream template as in regular template 2022-10-13 19:34:24 +02:00
Martchus 66b33fd7d2 Add special AppStream template for Plasmoid
It needs to be an add-on extending the Plasma shell. As this is a special
case it makes sense to add a special template overriding the one from
c++utilities.
2022-10-13 00:06:04 +02:00
Martchus cd53a623f1 Prevent AppStream validation message `asv-content-rating-missing`
See https://github.com/Martchus/syncthingtray/issues/158
2022-10-11 21:01:06 +02:00
Martchus 157aec85ea Let appstream screenshot URL point to raw images 2022-10-08 23:53:25 +02:00
Martchus 836f51d6f6 Update translations 2022-10-08 23:43:08 +02:00
Martchus 5fd07ee1c0 Allow opening wizard from Plasmoid 2022-10-08 23:42:29 +02:00
Martchus a0297f67ba Add setting to keep track whether it is the Plasmoid 2022-10-08 22:20:06 +02:00
Martchus d4720f464f Add appstream metadata body for Plasmoid 2022-10-08 22:11:06 +02:00
Martchus 4e19c98471 Add appstream file for Plasmoid 2022-10-08 21:56:46 +02:00
Martchus d82bc710fd Allow using system icons instead of ForkAwesome icons
* Allow using icons from freedesktop.org icon theme for most ForkAwesome
  icons if available
* Let's not use it for the nested list of details in the models for now
* See https://github.com/Martchus/syncthingtray/issues/121
2022-10-07 00:20:50 +02:00
Martchus ead679203f Set margin of search button correctly (to not affect focus scope) 2022-09-06 10:54:04 +02:00
Martchus badfd94a38 Fix right margin of Plasmoid's search button 2022-09-05 23:01:04 +02:00
Martchus dd6b79360a Update translations 2022-09-05 22:56:19 +02:00
Martchus 99a7bd1a01 Hide tab texts in Plasmoid by default to avoid problematic overflow behavior 2022-09-05 22:54:28 +02:00
Martchus 1a71d8b534 Update translations 2022-09-05 22:18:56 +02:00
Martchus 8ea158aa23 Fix auto-detection of dark color theme in Plasmoid
* Remove `0 &&` in condition for making `QPalette` from Plasma theme
* Set `WindowText`/`Window` of `QPalette` in legacy case so
  `isPaletteDark()` works
* Set the icon manager's palette from the beginning (and not only if the
  Plasma theme changes)
2022-09-05 22:18:41 +02:00
Martchus e1ac6fb29b Update translations 2022-09-03 21:36:57 +02:00
Martchus 36e9e98424 plasmoid: Assign margins in consistency with official Plasmoids
For instance, the NetworkManager Plasmoid uses these margins for its
ListView. It looks probably better than without margins (after removing
paddings with scroll page).
2022-09-01 22:32:17 +02:00