Commit Graph

2899 Commits

Author SHA1 Message Date
kylegoetz 86e5c92a05
show "now" instead of "in 0s" timestamps (#2843)
* Add roundoff threshold for "now" (new string resource) output in getRelativeTimeSpanString

* added tests

* added string resource translation for `status_created_at_now` in DE, ES, JA

* fixed ktlint issues

* use resource file in test, linting passes

* 501ms and 999ms now show "now" instead of "0s"
2022-12-01 19:54:29 +01:00
Nik Clayton 330401c7d0
Disable tab swiping by preference in profile and search (#2889)
The "Enable swipe gesture to switch between tabs" preference was ignored
on the tabs on a profile page ("Posts", "With Replies", "Pinned", "Media"),
and search ("Posts", "Accounts", "Hashtags").

Fix this.

While I'm here, replace a string for the preference name in MainActivity.kt
with a constant.

Fixes https://github.com/tuskyapp/Tusky/issues/2874.
2022-12-01 19:51:13 +01:00
Konrad Pozniak 8c08fbddb6 fix merge conflict 2022-12-01 19:33:20 +01:00
Levi Bard 9362e59d9d
Add view for browsing and unfollowing followed hashtags (#2794)
* Add view for browsing and unfollowing followed hashtags.
Implements #2785

* Improve list interface

* Remove superfluous suspend modifier

* Migrate to paginated loading for followed tags view

* Update app/src/main/java/com/keylesspalace/tusky/components/followedtags/FollowedTagsViewModel.kt

Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>

* Fix unhandled exception when opening the followed tags view while offline

Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
2022-12-01 19:24:27 +01:00
Konrad Pozniak ea142bd9ff fix cs translation 2022-11-30 19:13:37 +01:00
JT 14c2717517 Translated using Weblate (Czech)
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: JT <weblate.s@kub.cz>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cs/
Translation: Tusky/Tusky
2022-11-30 19:07:42 +01:00
Newidyn 4f2e831ab9 Translated using Weblate (Welsh)
Currently translated at 86.7% (440 of 507 strings)

Co-authored-by: Newidyn <grugallt@protonmail.ch>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/
Translation: Tusky/Tusky
2022-11-30 19:07:01 +01:00
Dion Chang 04b9db0be9 Translated using Weblate (Chinese (Traditional))
Currently translated at 99.2% (503 of 507 strings)

Co-authored-by: Dion Chang <babogoos@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hant/
Translation: Tusky/Tusky
2022-11-30 19:06:51 +01:00
Hồ Nhất Duy 89ddcca947 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Hồ Nhất Duy <kantcer@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2022-11-30 19:06:42 +01:00
Taufik Hidayat f4c0522997 Translated using Weblate (Indonesian)
Currently translated at 48.9% (248 of 507 strings)

Co-authored-by: Taufik Hidayat <tfkhdyt@pm.me>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/id/
Translation: Tusky/Tusky
2022-11-30 19:03:57 +01:00
Jaroslav T b3686cdb64 Translated using Weblate (Czech)
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Jaroslav T <mrjaroslavik@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cs/
Translation: Tusky/Tusky
2022-11-30 19:03:34 +01:00
Sveinn í Felli bbef86dd43 Translated using Weblate (Icelandic)
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/
Translation: Tusky/Tusky
2022-11-30 19:01:39 +01:00
Pinguin 17b6d2d7d8 Translated using Weblate (German)
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Pinguin <pinguin@lagerfeuerhacker.de>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-11-30 19:01:23 +01:00
Andrés Blasco Arnáiz 56b64e449a Translated using Weblate (Spanish)
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Andrés Blasco Arnáiz <andresbarnaiz@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
Translation: Tusky/Tusky
2022-11-30 19:00:59 +01:00
Ihor Hordiichuk bf1a2118a2 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-11-30 19:00:47 +01:00
tmpod a8da05002a Translated using Weblate (Portuguese (Portugal))
Currently translated at 99.0% (502 of 507 strings)

Co-authored-by: tmpod <tom@tmpod.dev>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_PT/
Translation: Tusky/Tusky
2022-11-30 19:00:28 +01:00
Connyduck ebe167e2e9 Translated using Weblate (German)
Currently translated at 99.2% (503 of 507 strings)

Translated using Weblate (German)

Currently translated at 99.2% (503 of 507 strings)

Co-authored-by: Connyduck <weblate@connyduck.at>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-11-24 15:54:38 +00:00
Hannes Koivusipilä ea58463231 Translated using Weblate (Finnish)
Currently translated at 58.3% (296 of 507 strings)

Co-authored-by: Hannes Koivusipilä <hannesi@iki.fi>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fi/
Translation: Tusky/Tusky
2022-11-24 15:54:38 +00:00
XoseM f1c69fae79 Translated using Weblate (Galician)
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: XoseM <xosem@disroot.org>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/
Translation: Tusky/Tusky
2022-11-24 15:54:38 +00:00
Sotolf Flasskjegg 8cd77be9db Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.8% (506 of 507 strings)

Co-authored-by: Sotolf Flasskjegg <trym.karlsen@protonmail.ch>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-11-24 15:54:37 +00:00
ShellWen | 颉文 18b8a8cc1b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: ShellWen | 颉文 <gofly233@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-11-24 15:54:37 +00:00
Jan Lindblom 4d6b8c2f69 Translated using Weblate (Swedish)
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Jan Lindblom <janlindblom@fastmail.fm>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
Translation: Tusky/Tusky
2022-11-24 15:54:37 +00:00
ButterflyOfFire 817024fe31 Translated using Weblate (French)
Currently translated at 96.8% (491 of 507 strings)

Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
Translation: Tusky/Tusky
2022-11-24 15:54:37 +00:00
Jaroslav T b86ca20737 Translated using Weblate (Czech)
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Jaroslav T <mrjaroslavik@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cs/
Translation: Tusky/Tusky
2022-11-24 15:54:37 +00:00
Danial Behzadi 8b880b453a Translated using Weblate (Persian)
Currently translated at 100.0% (507 of 507 strings)

Translated using Weblate (Persian)

Currently translated at 99.6% (505 of 507 strings)

Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
Translation: Tusky/Tusky
2022-11-24 15:54:37 +00:00
Gordot Forrot d34498d715 Translated using Weblate (Spanish)
Currently translated at 90.7% (460 of 507 strings)

Co-authored-by: Gordot Forrot <grdofrro@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
Translation: Tusky/Tusky
2022-11-24 15:54:37 +00:00
Vegard Skjefstad 6c56fc271b Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Vegard Skjefstad <vegard@vegard.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
Translation: Tusky/Tusky
2022-11-24 15:54:37 +00:00
Hồ Nhất Duy 592a8ea9ff Translated using Weblate (Vietnamese)
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Hồ Nhất Duy <kantcer@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
Translation: Tusky/Tusky
2022-11-24 15:54:37 +00:00
Eric b6931d2ad8 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/
Translation: Tusky/Tusky
2022-11-24 15:54:37 +00:00
Gera, Zoltan 442bab218f Translated using Weblate (Hungarian)
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Gera, Zoltan <gerazo@manioka.hu>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/
Translation: Tusky/Tusky
2022-11-24 15:54:37 +00:00
Christian Schmidt d3d6515a0e Translated using Weblate (German)
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Christian Schmidt <mastodon@jcs-net.de>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-11-24 15:54:37 +00:00
GunChleoc 1de7f2cd2a Translated using Weblate (Gaelic)
Currently translated at 100.0% (507 of 507 strings)

Translated using Weblate (Gaelic)

Currently translated at 99.8% (506 of 507 strings)

Co-authored-by: GunChleoc <fios@foramnagaidhlig.net>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gd/
Translation: Tusky/Tusky
2022-11-24 15:54:37 +00:00
Ihor Hordiichuk 2013055c81 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (507 of 507 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (506 of 506 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/
Translation: Tusky/Tusky
2022-11-24 15:54:37 +00:00
Manuel 6a7192b014 Translated using Weblate (Italian)
Currently translated at 99.4% (503 of 506 strings)

Co-authored-by: Manuel <manueltassi91@gmail.com>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/
Translation: Tusky/Tusky
2022-11-24 15:54:37 +00:00
Vri 68eea22bd0 Translated using Weblate (German)
Currently translated at 100.0% (506 of 506 strings)

Co-authored-by: Vri <vrifox@vrifox.cc>
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
Translation: Tusky/Tusky
2022-11-24 15:54:36 +00:00
Konrad Pozniak 3212f0194f
fix thread view on tablets (#2925) 2022-11-24 15:46:11 +01:00
Levi Bard 0126ee9500
Language selection fixes (#2917)
* Fix duplicated language entries from system and app language sets.
Closes #2900

* Prefer modern language codes.
Closes #2903

* Synchronize per-account default posting language with server.
Closes #2902

* Allow users to post in languages android doesn't know about yet (e.g. toki pona)

* Always put the preselected language at the top of the list
2022-11-24 15:45:19 +01:00
Konrad Pozniak 4f81636bbe
correctly show "nothing here" in AccountMediaFragment (#2911)
* correctly show "nothing here" in AccountMediaFragment

* remove unused imports
2022-11-23 20:07:23 +01:00
Konrad Pozniak 8849c2d64b
add content description to add tab button (#2910) 2022-11-23 20:06:35 +01:00
Martin Marconcini 2161120eb2
Use the appcompat style for Toolbar. Fixes subtitle vertical cropping. (#2909)
* Use the appcompat style for Toolbar. Fixes subtitle vertical cropping.

* Reformat XML.

Co-authored-by: Martin Marconcini <martin.marconcini.rodriguez@nl.abnamro.com>
2022-11-23 20:05:29 +01:00
Konrad Pozniak ff4ddf90b6
fix crash when logging out while on conversations (#2895)
* fix crash when logging out while on conversations

* fix code formatting
2022-11-22 20:36:07 +01:00
Konrad Pozniak f6a5510841
respect spoiler/sensitive settings in conversations (#2891)
* respect spoiler/sensitive settings in conversations

* fix code formatting
2022-11-22 20:11:30 +01:00
Levi Bard 3fb103aa14
Prioritize users' default locales in language list (#2850)
* Prioritize users' default locales in language list.
Closes #2844

* Add the configured app languages before the configured system languages
2022-11-19 19:03:42 +01:00
Konrad Pozniak ce1b9a53be
fix buttons and usernames overlapping in follow requests (#2862) 2022-11-19 19:01:51 +01:00
Levi Bard 2676782327
Replace the default federated timeline tab with the direct messages tab. (#2866)
Closes #2552
2022-11-19 19:01:00 +01:00
Konrad Pozniak 61a1baf533
keep status state in thread view after refreshing (#2855)
* keep status state in thread view after refreshing

* add clarifying parentheses
2022-11-18 21:03:51 +01:00
Konrad Pozniak 667a728dd5
fix media permissions on Android 10+ (#2837) 2022-11-16 20:43:49 +01:00
Konrad Pozniak c96a81571c
support Android 13 per-app languages (#2829)
* support Android 13 per-app languages

* fix tests

* fix language ids in locales_config.xml

* fix language setting default in ComposeActivity
2022-11-16 19:45:18 +01:00
Konrad Pozniak 9f7cd2fa32
add content description to add reaction button (#2838) 2022-11-16 19:04:12 +01:00
kyori19 d1482324cc
Make URLSpans with trailing URL not marked up (#2813) 2022-11-16 18:28:00 +01:00