Commit graph

5,781 commits

Author SHA1 Message Date
Conny Duck
6cfda66fcb
prepare release 129 2025-01-16 17:25:08 +01:00
Konrad Pozniak
dd0848dac8
show actual hashtags in title of hashtag tab (#4868)
Instead of just "Hashtags".

Actually, this was a bug. The code to generate the correct title is
already here, but it wasn't called. 🤷

closes https://github.com/tuskyapp/Tusky/issues/4867
2025-01-16 17:15:16 +01:00
Konrad Pozniak
a24c4718af
fix dialog background colors (#4864)
In https://github.com/tuskyapp/Tusky/pull/4851 I changed the theme of
`AccountsInListFragment`, which accidentally turned its background white
for the dark theme.

Additionally this fixes the color for the preference dialogs, which I
think have been incorrect since the Material3 redesign.

I also wondered if we should make dialogs darker for the black theme,
but looks like there is not much interest in that
https://chaos.social/deck/@ConnyDuck/113802937491059461
(Currently they are just the same as the dark theme)
2025-01-16 17:15:02 +01:00
Konrad Pozniak
5aaf885536
fix ANR when loading more on a slow connection (#4865)
There were network calls inside a database transaction. That basically
locked the database for the duration of the network call, causing the
app to freeze if the call took to long.
2025-01-16 17:14:46 +01:00
Konrad Pozniak
c630c47744
prepare release 128 (#4836) 2025-01-06 09:58:58 +01:00
Konrad Pozniak
2f91967802
don't show bot badge for all accounts when searching in AccountsInListFragment (#4853) 2025-01-06 09:58:49 +01:00
Konrad Pozniak
592a8e26cf
Translations update from Weblate (automated) (#4843)
Translations update from [Weblate](https://weblate.tusky.app) for
[Tusky/Tusky](https://weblate.tusky.app/projects/tusky/tusky/).



Current translation status:

![Weblate translation
status](https://weblate.tusky.app/widget/tusky/tusky/horizontal-auto.svg)

---------

Co-authored-by: Florian Kohler <weblatetuskyapp@floh.kohler.is>
Co-authored-by: openess <openess@openess.se>
Co-authored-by: Eric <alchemillatruth@users.noreply.weblate.tusky.app>
Co-authored-by: Starbeamrainbowlabs <sbrl+tuskywl@starbeamrainbowlabs.com>
Co-authored-by: Etienne Schneider <et.schneider@free.fr>
2025-01-05 11:43:11 +01:00
Konrad Pozniak
b52a5cdb48
fix AccountsInListFragment not showing any accounts (#4851)
The problem is that the MaterialAlertDialog uses a layout with
"wrap_content" around the custom view. Even though the dialog was
stretched to the whole window size, the content was never shown.
The fix reverts to the default dialog and styles it as if it was a
MaterialAlertDialog, which works and also looks better on smaller
screens.

fixes #4850
2025-01-05 11:34:06 +01:00
Konrad Pozniak
fc57d570a6
set singleLineTitle=false for all preferences via theme (#4852)
We want multi line titles so they are readable on small screens or with
large font sizes, and setting the attribute on every single preference
individually is annoying (and we forgot one).


https://pawb.fun/@keeri/113772067202381363
2025-01-05 11:33:57 +01:00
Etienne Schneider
171e509cec Translated using Weblate (French)
Currently translated at 94.9% (643 of 677 strings)

Co-authored-by: Etienne Schneider <et.schneider@free.fr>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2025-01-05 10:14:52 +00:00
Starbeamrainbowlabs
bffa2f9b98 Translated using Weblate (English (United Kingdom))
Currently translated at 15.0% (102 of 677 strings)

Co-authored-by: Starbeamrainbowlabs <sbrl+tuskywl@starbeamrainbowlabs.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/en_GB/
Translation: Tusky/Tusky
2025-01-05 10:14:51 +00:00
Eric
fd0e2f1196 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (677 of 677 strings)

Co-authored-by: Eric <alchemillatruth@users.noreply.weblate.tusky.app>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2025-01-05 10:14:51 +00:00
openess
d417382be8 Translated using Weblate (Swedish)
Currently translated at 94.9% (643 of 677 strings)

Co-authored-by: openess <openess@openess.se>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
Translation: Tusky/Tusky
2025-01-05 10:14:51 +00:00
Florian Kohler
d321397f7b Translated using Weblate (German)
Currently translated at 100.0% (677 of 677 strings)

Co-authored-by: Florian Kohler <weblatetuskyapp@floh.kohler.is>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2025-01-05 10:14:51 +00:00
Konrad Pozniak
6c908ee9d1
increase width of tab indicator (#4849)
There have been multiple complaints by users that the new Material 3 tab
indicator is too small.

Setting `app:tabIndicatorFullWidth="true"` alone looks weird imho, so I
additionally added some padding.

cc @mcclure 

Before / After


![before](https://github.com/user-attachments/assets/2234aed0-c558-4318-8cd5-fdb39af436a2)
![after](https://github.com/user-attachments/assets/1d806ad1-139c-41ed-9939-bc45f66d95c0)
2025-01-04 20:13:13 +01:00
Levi Bard
7bc40b4b03
Fix comparison of nonnormalized latin tags (#4845)
Mastodon "normalizes" tag text for latin characters when storing tag
names, so the hashtag object it sends for `#Über` has the name `uber`.
With the new trailing hashtag bar, this was causing nonascii hashtags
from the post content to be duplicated with their normalized versions,
e.g. `#Über #uber`.

This change ensures that we're always comparing normalized tag names.
2025-01-04 19:13:52 +01:00
Konrad Pozniak
67800634a2
guard against invalid position in StatusNotificationViewHolder (#4844)
We do this in other ViewHolders as well

Seen in this crash report on Google Play:

```
Exception java.lang.IndexOutOfBoundsException: Index: -1, Size: 0
  at androidx.paging.PageStore.checkIndex (PageStore.kt:56)
  at androidx.paging.PageStore.get (PageStore.kt:66)
  at androidx.paging.PagingDataPresenter.peek (PagingDataPresenter.java:290)
  at androidx.paging.AsyncPagingDataDiffer.peek (AsyncPagingDataDiffer.java:476)
  at androidx.paging.PagingDataAdapter.peek (PagingDataAdapter.kt:312)
  at com.keylesspalace.tusky.components.notifications.NotificationsFragment.onViewThread (NotificationsFragment.kt:409)
  at com.keylesspalace.tusky.components.notifications.StatusNotificationViewHolder.bind$lambda$0 (StatusNotificationViewHolder.java:104)
  at android.view.View.performClick (View.java:7684)
  at android.view.View.performClickInternal (View.java:7661)
  at android.view.View.-$$Nest$mperformClickInternal (Unknown Source)
  at android.view.View$PerformClick.run (View.java:30344)
  at android.os.Handler.handleCallback (Handler.java:1000)
  at android.os.Handler.dispatchMessage (Handler.java:104)
  at android.os.Looper.loopOnce (Looper.java:242)
  at android.os.Looper.loop (Looper.java:362)
  at android.app.ActivityThread.main (ActivityThread.java:8393)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:552)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:992)
```
2025-01-04 18:44:34 +01:00
Konrad Pozniak
751609d6a7
Translations update from Weblate (automated) (#4840)
Translations update from [Weblate](https://weblate.tusky.app) for
[Tusky/Tusky](https://weblate.tusky.app/projects/tusky/tusky/).



Current translation status:

![Weblate translation
status](https://weblate.tusky.app/widget/tusky/tusky/horizontal-auto.svg)
2025-01-01 10:22:48 +01:00
Jakob
a79b132d6f Translated using Weblate (Polish)
Currently translated at 77.5% (525 of 677 strings)

Co-authored-by: Jakob <therealmoep@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
Translation: Tusky/Tusky
2025-01-01 07:50:39 +00:00
openess
6897758250 Translated using Weblate (Swedish)
Currently translated at 94.8% (642 of 677 strings)

Co-authored-by: openess <openess@openess.se>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
Translation: Tusky/Tusky
2025-01-01 07:50:39 +00:00
Arturo Serrano
214bd10b26 Translated using Weblate (Spanish)
Currently translated at 93.2% (631 of 677 strings)

Translated using Weblate (Spanish)

Currently translated at 92.9% (629 of 677 strings)

Co-authored-by: Arturo Serrano <carturo222@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
Translation: Tusky/Tusky
2025-01-01 07:50:39 +00:00
Julio J
dac4a9052a Translated using Weblate (Spanish)
Currently translated at 92.9% (629 of 677 strings)

Co-authored-by: Julio J <the.j3j5@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
Translation: Tusky/Tusky
2025-01-01 07:50:39 +00:00
Reynald Borer
8592d9efcf Translated using Weblate (French)
Currently translated at 94.9% (643 of 677 strings)

Co-authored-by: Reynald Borer <reynald.borer@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2025-01-01 07:50:38 +00:00
Starbeamrainbowlabs
876416406b Translated using Weblate (English (United Kingdom))
Currently translated at 14.9% (101 of 677 strings)

Co-authored-by: Starbeamrainbowlabs <sbrl+tuskywl@starbeamrainbowlabs.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/en_GB/
Translation: Tusky/Tusky
2025-01-01 07:50:38 +00:00
Jake Averill
2974ab117a Translated using Weblate (English (United Kingdom))
Currently translated at 14.9% (101 of 677 strings)

Co-authored-by: Jake Averill <jake@ja91.uk>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/en_GB/
Translation: Tusky/Tusky
2025-01-01 07:50:38 +00:00
Jan Hurař
84ca8d8e2e Translated using Weblate (Czech)
Currently translated at 98.5% (667 of 677 strings)

Translated using Weblate (Czech)

Currently translated at 92.6% (627 of 677 strings)

Co-authored-by: Jan Hurař <jhutar@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cs/
Translation: Tusky/Tusky
2025-01-01 07:50:38 +00:00
vurpo
6e87897b63 Translated using Weblate (Finnish)
Currently translated at 63.0% (427 of 677 strings)

Co-authored-by: vurpo <vurpo@vurpo.fi>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fi/
Translation: Tusky/Tusky
2025-01-01 07:50:38 +00:00
Sveinn í Felli
6cd3f0e12d Translated using Weblate (Icelandic)
Currently translated at 95.1% (644 of 677 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
Translation: Tusky/Tusky
2025-01-01 07:50:38 +00:00
Clarissa Carim
6203943cc3 Translated using Weblate (Luxembourgish)
Currently translated at 10.1% (69 of 677 strings)

Translated using Weblate (Luxembourgish)

Currently translated at 2.0% (14 of 677 strings)

Co-authored-by: Clarissa Carim <clarissawam@yahoo.co.uk>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/lb/
Translation: Tusky/Tusky
2025-01-01 07:50:38 +00:00
Joël Adami
237e20bf4a Translated using Weblate (Luxembourgish)
Currently translated at 2.0% (14 of 677 strings)

Co-authored-by: Joël Adami <weblate.tusky.app@joeladami.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/lb/
Translation: Tusky/Tusky
2025-01-01 07:50:37 +00:00
Quentí
f0df2439c6 Translated using Weblate (Occitan)
Currently translated at 97.6% (661 of 677 strings)

Co-authored-by: Quentí <quentinantonin@free.fr>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/oc/
Translation: Tusky/Tusky
2025-01-01 07:50:37 +00:00
José M
74231eea85 Translated using Weblate (Galician)
Currently translated at 100.0% (677 of 677 strings)

Co-authored-by: José M <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2025-01-01 07:50:37 +00:00
Konrad Pozniak
560411c5d0
hide trailing hashtags when post is collapsed (#4839)
closes https://github.com/tuskyapp/Tusky/issues/4838
2024-12-31 09:55:30 +01:00
Konrad Pozniak
f501840411
Translations update from Weblate (automated) (#4837)
Translations update from [Weblate](https://weblate.tusky.app) for
[Tusky/Tusky](https://weblate.tusky.app/projects/tusky/tusky/).



Current translation status:

![Weblate translation
status](https://weblate.tusky.app/widget/tusky/tusky/horizontal-auto.svg)

---------

Co-authored-by: fin-w <fin-w@tutanota.com>
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Co-authored-by: Hồ Nhất Duy <mastoduy@gmail.com>
Co-authored-by: Eric <alchemillatruth@users.noreply.weblate.tusky.app>
Co-authored-by: Manuel <mannivuwiki@gmail.com>
2024-12-30 09:32:48 +01:00
Manuel
b64d2753ed Translated using Weblate (Italian)
Currently translated at 100.0% (677 of 677 strings)

Co-authored-by: Manuel <mannivuwiki@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2024-12-29 19:07:24 +00:00
Eric
1adbee880e Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (677 of 677 strings)

Co-authored-by: Eric <alchemillatruth@users.noreply.weblate.tusky.app>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2024-12-29 19:07:24 +00:00
Hồ Nhất Duy
10a7e3613e Translated using Weblate (Vietnamese)
Currently translated at 100.0% (677 of 677 strings)

Co-authored-by: Hồ Nhất Duy <mastoduy@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2024-12-29 19:07:24 +00:00
fin-w
58b7c21206 Translated using Weblate (Welsh)
Currently translated at 100.0% (677 of 677 strings)

Co-authored-by: fin-w <fin-w@tutanota.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/
Translation: Tusky/Tusky
2024-12-29 19:07:23 +00:00
Danial Behzadi
e2f2ccb913 Translated using Weblate (Persian)
Currently translated at 100.0% (677 of 677 strings)

Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
Translation: Tusky/Tusky
2024-12-29 19:07:23 +00:00
Anonymous
6dab0c045e Translated using Weblate (Chinese (zh_SG))
Currently translated at 44.4% (301 of 677 strings)

Translated using Weblate (Japanese)

Currently translated at 88.7% (601 of 677 strings)

Translated using Weblate (Occitan)

Currently translated at 93.9% (636 of 677 strings)

Translated using Weblate (Sanskrit)

Currently translated at 70.3% (476 of 677 strings)

Translated using Weblate (Vietnamese)

Currently translated at 99.5% (674 of 677 strings)

Translated using Weblate (Czech)

Currently translated at 67.5% (457 of 677 strings)

Translated using Weblate (Basque)

Currently translated at 73.5% (498 of 677 strings)

Translated using Weblate (Persian)

Currently translated at 99.4% (673 of 677 strings)

Translated using Weblate (Galician)

Currently translated at 99.2% (672 of 677 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 67.0% (454 of 677 strings)

Translated using Weblate (Swedish)

Currently translated at 91.5% (620 of 677 strings)

Translated using Weblate (Bulgarian)

Currently translated at 78.7% (533 of 677 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 79.0% (535 of 677 strings)

Translated using Weblate (Italian)

Currently translated at 99.2% (672 of 677 strings)

Translated using Weblate (Esperanto)

Currently translated at 66.4% (450 of 677 strings)

Translated using Weblate (Korean)

Currently translated at 49.7% (337 of 677 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 86.2% (584 of 677 strings)

Translated using Weblate (Thai)

Currently translated at 57.6% (390 of 677 strings)

Translated using Weblate (Catalan)

Currently translated at 79.6% (539 of 677 strings)

Translated using Weblate (Slovenian)

Currently translated at 53.0% (359 of 677 strings)

Translated using Weblate (Belarusian)

Currently translated at 84.0% (569 of 677 strings)

Translated using Weblate (Portuguese (Portugal))

Currently translated at 90.3% (612 of 677 strings)

Translated using Weblate (Irish)

Currently translated at 57.0% (386 of 677 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 99.2% (672 of 677 strings)

Translated using Weblate (Ukrainian)

Currently translated at 95.2% (645 of 677 strings)

Translated using Weblate (Latvian)

Currently translated at 81.9% (555 of 677 strings)

Translated using Weblate (Gaelic)

Currently translated at 95.2% (645 of 677 strings)

Translated using Weblate (Kurdish (Central))

Currently translated at 54.9% (372 of 677 strings)

Translated using Weblate (Polish)

Currently translated at 77.2% (523 of 677 strings)

Translated using Weblate (German)

Currently translated at 98.9% (670 of 677 strings)

Translated using Weblate (Bengali (India))

Currently translated at 54.3% (368 of 677 strings)

Translated using Weblate (Russian)

Currently translated at 98.9% (670 of 677 strings)

Translated using Weblate (Icelandic)

Currently translated at 91.5% (620 of 677 strings)

Translated using Weblate (Bengali (Bangladesh))

Currently translated at 57.9% (392 of 677 strings)

Translated using Weblate (Chinese (Traditional, Hong Kong))

Currently translated at 56.5% (383 of 677 strings)

Translated using Weblate (Dutch)

Currently translated at 98.0% (664 of 677 strings)

Translated using Weblate (Arabic)

Currently translated at 84.4% (572 of 677 strings)

Translated using Weblate (Spanish)

Currently translated at 84.4% (572 of 677 strings)

Translated using Weblate (French)

Currently translated at 92.1% (624 of 677 strings)

Translated using Weblate (Welsh)

Currently translated at 99.4% (673 of 677 strings)

Translated using Weblate (Tamil)

Currently translated at 32.7% (222 of 677 strings)

Translated using Weblate (Turkish)

Currently translated at 94.5% (640 of 677 strings)

Translated using Weblate (Hungarian)

Currently translated at 95.2% (645 of 677 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ar/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/be/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/bg/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/bn_BD/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/bn_IN/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ckb/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cs/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/eo/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/eu/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ga/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ja/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ko/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/lv/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/oc/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_BR/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_PT/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ru/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sa/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sl/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ta/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/th/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/tr/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hant/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hant_HK/
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_SG/
Translation: Tusky/Tusky
2024-12-29 19:07:23 +00:00
fin-w
934d710766 Translated using Weblate (Welsh)
Currently translated at 100.0% (677 of 677 strings)

Translated using Weblate (Welsh)

Currently translated at 100.0% (677 of 677 strings)

Co-authored-by: fin-w <fin-w@tutanota.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/
Translation: Tusky/Tusky
2024-12-29 19:07:23 +00:00
fin-w
81bba30312
Tidy translation strings for better Weblate translation (#4833)
The way that translations are shown on the Weblate interface is
sometimes incorrect compared to how the string resources are processed
by Android, I think because of how Weblate reads newlines and spaces. I
guess it's Weblate's fault, but since that's what we use, I'm hoping
this MR fixes the discrepancy, or at least minimises it.

I've opted to collapse multi-line strings onto one line (i.e.
`help_empty_home`), unless there's a list or something (i.e.
`wellbeing_mode_notice`) in which case (for XML source readability)
minimal newlines are used which hopefully makes the Weblate issue
uniform and minor, if it appears at all.

Here's an example of a good string in the strings.xml:
```
    <string name="action_post_failed_detail">Your post failed to upload and has been saved to drafts.\n\nEither the server could not be contacted, or it rejected the post.</string>
```
How it appears in Weblate (note that there no extra spaces anywhere):

![delwedd](https://github.com/user-attachments/assets/aa73d44b-a43b-4135-975e-f9ef5a921c7c)

Here are the problems:
### Example 1
String in strings.xml:
```
    <string name="dialog_whats_an_instance">The address or domain of any instance can be entered
        here, such as mastodon.social, icosahedron.website, social.tchncs.de, and
        <a href="https://instances.social">more!</a>
        \n\nIf you don\'t yet have an account, you can enter the name of the instance you\'d like to
        join and create an account there.\n\nAn instance is a single place where your account is
        hosted, but you can easily communicate with and follow folks on other instances as though
        you were on the same site.
        \n\nMore info can be found at <a href="https://joinmastodon.org">joinmastodon.org</a>.
    </string>
```
How it appears in Weblate (note the spaces between words where there is
a newline char in the strings.xml, and the trailing spaces at the very
end of the string because the XML tag is on the next line):

![Screenshot_20241226_231804](https://github.com/user-attachments/assets/e98fcef5-1569-406c-806c-0783a145a2e2)

### Example 2
String in strings.xml:
```
    <string name="wellbeing_mode_notice">Some information that might affect your mental wellbeing will be hidden. This includes:\n\n
        - Favorite/Boost/Follow notifications\n
        - Favorite/Boost count on posts\n
        - Follower/Post stats on profiles\n\n
        Push-notifications will not be affected, but you can review your notification preferences manually.
    </string>
```
How it appears in Weblate (note the incorrect space in front of the last
line of the source and target languages):

![Screenshot_20241226_225652](https://github.com/user-attachments/assets/23e7c6d6-5268-4737-bfec-a89b5126f164)

### Example 3
String in strings.xml:
```
    <string name="help_empty_lists">This is your <b>lists view</b>. You can define a number of private lists and add accounts to that.
        \n\n
        NOTE that you can only add accounts you follow to your lists.
        \n\n
        These lists can be used as a tab in Account preferences [iconics gmd_account_circle] [iconics gmd_navigate_next] Tabs.
    </string>
```
How it appears in Weblate (for some reason the target language string
keeps having more and more spaces added to it, I can't delete them, they
keeping being added back again, perhaps it's because of only having \n
newline text on a line?):

![Screenshot_20241226_232533](https://github.com/user-attachments/assets/19399b3a-b51b-4a27-a74c-52ea4bf68cbd)

There are other issues as well, and I don't know what causes them. They
should be fixed somehow, but that might be (automatic?) formatting or
something at your end that I can't help with. You can see some of them
fairly recently by browsing
https://weblate.tusky.app/changes/browse/tusky/tusky/cy/ - entries where
it says "String updated in the repository" and the edit is just
whitespace changes. Here's an example where extra whitespace keeps
getting added to the target language:

String in strings.xml:
```
    <string name="error_missing_edits">Your server knows that this post was edited, but does not have a copy of the edits, so they can\'t be shown to you.\n\nThis is <a href="https://github.com/mastodon/mastodon/issues/25398">Mastodon issue #25398</a>.</string>
```

How it appears in Weblate (the incorrect spaces keep getting added back
in the target language):

![Screenshot_20241226_231507](https://github.com/user-attachments/assets/24540587-728e-4b04-a27d-1421891d8a5b)
2024-12-28 19:51:11 +01:00
Konrad Pozniak
b1cad1b477
Translations update from Weblate (automated) (#4829)
Translations update from [Weblate](https://weblate.tusky.app) for
[Tusky/Tusky](https://weblate.tusky.app/projects/tusky/tusky/).



Current translation status:

![Weblate translation
status](https://weblate.tusky.app/widget/tusky/tusky/horizontal-auto.svg)
2024-12-28 19:46:23 +01:00
Konrad Pozniak
f9fbf5de0c
improve CaptionDialog for small screens (#4831)
(or giant soft keyboards)

https://mastodon.social/@bewitchedmind/113703199056088283

Before / After

<img
src="https://github.com/user-attachments/assets/04d9f9b8-1041-4b1e-bff4-3665865a6016"
width="300"/>
<img
src="https://github.com/user-attachments/assets/f88bb67e-ecb0-460a-b22b-58cff5a4b754"
width="300"/>


This makes it also look a bit weird on large screens, but I found no
easy way to limit the size. Its now basically back to where it was in
Tusky 26.

closes https://github.com/tuskyapp/Tusky/issues/4832
2024-12-27 09:05:04 +01:00
fin-w
3a4d13c8df Translated using Weblate (Welsh)
Currently translated at 100.0% (677 of 677 strings)

Co-authored-by: fin-w <fin-w@tutanota.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/
Translation: Tusky/Tusky
2024-12-26 02:24:34 +00:00
Hồ Nhất Duy
e5a8b9b357 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (677 of 677 strings)

Co-authored-by: Hồ Nhất Duy <mastoduy@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2024-12-26 02:24:34 +00:00
XoseM
1b1629888c Translated using Weblate (Galician)
Currently translated at 100.0% (677 of 677 strings)

Translated using Weblate (Galician)

Currently translated at 100.0% (677 of 677 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2024-12-26 02:24:34 +00:00
Manuel
9d4504e7ef Translated using Weblate (Italian)
Currently translated at 100.0% (677 of 677 strings)

Co-authored-by: Manuel <mannivuwiki@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2024-12-26 02:24:34 +00:00
Eric
931cdb1600 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (677 of 677 strings)

Co-authored-by: Eric <alchemillatruth@users.noreply.weblate.tusky.app>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2024-12-26 02:24:34 +00:00
renovate[bot]
9d853bdae9
Migrate renovate config (#4830)
The Renovate config in this repository needs migrating. Typically this
is because one or more configuration options you are using have been
renamed.

You don't need to merge this PR right away, because Renovate will
continue to migrate these fields internally each time it runs. But later
some of these fields may be fully deprecated and the migrations removed.
So it's a good idea to merge this migration PR soon.





🔕 **Ignore**: Close this PR and you won't be reminded about config
migration again, but one day your current config may no longer be valid.

 Got questions? Does something look wrong to you? Please don't hesitate
to [request help
here](https://redirect.github.com/renovatebot/renovate/discussions).


---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/tuskyapp/Tusky).

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-23 21:29:52 +01:00