Commit graph

2138 commits

Author SHA1 Message Date
Ivan Kupalov
ed2918da2e
Description improvements (#1846)
* Increase character limit for media descriptions to 1500

It was increased in Mastodon 3.0.0 which was released in October 2019.

* Improve image description view

Since media descriptions can be longer now, we need to adjust the UI.
It is a common problem that description takes up the whole screen, it's
hard for readers and also discourages people from adding descriptions.

This commit uses bottom sheet to hide most of the description. Since we
know how much screen space it will cover, we can use darker background
which makes reading text easier.

* Adjust description handle

* Fix unable to dismiss image caption
2020-08-01 21:48:51 +02:00
Ivan Kupalov
be8fc9f15a
Fix crash in the image viewer (#1871)
This is imperfect as it probably reduces quality of the image but it
fixes the crash for now.
2020-08-01 13:26:59 +02:00
Konrad Pozniak
467c33aacb
upgrade SwipeRefreshLayout to 1.1.0 (#1866) 2020-07-28 10:38:28 +02:00
Vegard Skjefstad
bb78295306 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (431 of 431 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2020-07-27 10:09:19 +00:00
retiolus
4574f12375 Translated using Weblate (French)
Currently translated at 100.0% (431 of 431 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/

Translated using Weblate (Catalan)

Currently translated at 100.0% (431 of 431 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2020-07-27 10:09:19 +00:00
Akarshan Biswas
7730ac12f6 Translated using Weblate (Bengali (India))
Currently translated at 93.2% (398 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/bn_IN/
2020-07-27 10:09:19 +00:00
jazmichaelking
324a40a96c Translated using Weblate (Welsh)
Currently translated at 62.2% (266 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/
2020-07-27 10:09:18 +00:00
Ho Nhat Duy
5b1c1497d4 Translated using Weblate (Vietnamese)
Currently translated at 97.6% (421 of 431 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/

Translated using Weblate (Vietnamese)

Currently translated at 69.1% (298 of 431 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/

Translated using Weblate (Vietnamese)

Currently translated at 64.6% (276 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/

Translated using Weblate (Vietnamese)

Currently translated at 62.2% (266 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/

Translated using Weblate (Vietnamese)

Currently translated at 61.5% (263 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/

Translated using Weblate (Vietnamese)

Currently translated at 55.7% (238 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/

Translated using Weblate (Vietnamese)

Currently translated at 45.9% (196 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/

Translated using Weblate (Vietnamese)

Currently translated at 14.0% (60 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/
2020-07-27 10:09:18 +00:00
Connyduck
b68d967e98 Added translation using Weblate (Vietnamese) 2020-07-27 10:09:18 +00:00
Chaitanya
a9cba385cf Translated using Weblate (Hindi)
Currently translated at 57.1% (244 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hi/

Translated using Weblate (Hindi)

Currently translated at 51.2% (219 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hi/

Translated using Weblate (Hindi)

Currently translated at 45.6% (195 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hi/

Translated using Weblate (Hindi)

Currently translated at 11.0% (47 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hi/
2020-07-27 10:09:18 +00:00
Anonymous
8c8a725138 Translated using Weblate (Berber)
Currently translated at 1.1% (5 of 431 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ber/

Translated using Weblate (Italian)

Currently translated at 93.7% (404 of 431 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/

Translated using Weblate (Italian)

Currently translated at 93.7% (404 of 431 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/

Translated using Weblate (Polish)

Currently translated at 97.4% (416 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/

Translated using Weblate (Chinese (Traditional))

Currently translated at 84.5% (361 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hant/

Translated using Weblate (Chinese (Simplified))

Currently translated at 95.0% (406 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/

Translated using Weblate (Polish)

Currently translated at 97.4% (416 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (427 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/

Translated using Weblate (Japanese)

Currently translated at 84.3% (360 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ja/

Translated using Weblate (Hungarian)

Currently translated at 95.5% (408 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/

Translated using Weblate (Spanish)

Currently translated at 100.0% (427 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/

Translated using Weblate (Kabyle)

Currently translated at 58.5% (250 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/

Translated using Weblate (Polish)

Currently translated at 97.4% (416 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/

Translated using Weblate (Japanese)

Currently translated at 84.3% (360 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ja/

Translated using Weblate (Italian)

Currently translated at 94.6% (404 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/

Translated using Weblate (Persian)

Currently translated at 98.8% (422 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/

Translated using Weblate (Kabyle)

Currently translated at 58.5% (250 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/

Translated using Weblate (Hindi)

Currently translated at 57.1% (244 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hi/

Translated using Weblate (German)

Currently translated at 99.5% (425 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/

Translated using Weblate (Chinese (Simplified, Singapore))

Currently translated at 80.5% (344 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans_SG/

Translated using Weblate (Hindi)

Currently translated at 57.1% (244 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hi/

Translated using Weblate (Turkish)

Currently translated at 92.0% (393 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/tr/

Translated using Weblate (Tamil)

Currently translated at 58.7% (251 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ta/

Translated using Weblate (German)

Currently translated at 99.2% (424 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/

Translated using Weblate (Welsh)

Currently translated at 61.8% (264 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cy/

Translated using Weblate (Malayalam)

Currently translated at 22.4% (96 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ml/

Translated using Weblate (Malayalam)

Currently translated at 16.3% (70 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ml/
2020-07-27 10:09:18 +00:00
ButterflyOfFire
55a0c6d478 Translated using Weblate (Berber)
Currently translated at 0.9% (4 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ber/

Added translation using Weblate (Berber)

Added translation using Weblate (Gaelic)

Translated using Weblate (Kabyle)

Currently translated at 58.5% (250 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/
2020-07-27 10:09:17 +00:00
PananP
10106ea7b2 Translated using Weblate (Thai)
Currently translated at 100.0% (427 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/th/
2020-07-27 10:09:17 +00:00
Ivan Kupalov
f37a589dce
Roll back image viewer but retain swiping fix (#1863)
This fixes crashes with images which were too wide (aspect ratio wise).
2020-07-27 10:42:39 +02:00
Mélanie Chauvel
b3b4794a2b
Implement optional notifications muting for account muting (#1856) 2020-07-27 10:28:59 +02:00
Konrad Pozniak
5a4fc41f76
Merge pull request #1860 from tuskyapp/thai_in_app_selector
add Thai to the in-app language selector
2020-07-27 10:17:24 +02:00
Jeanne L
5e6798f525 Translated using Weblate (Italian)
Currently translated at 94.6% (404 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/

Translated using Weblate (German)

Currently translated at 99.5% (425 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/

Translated using Weblate (English (United Kingdom))

Currently translated at 3.9% (17 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/en_GB/

Translated using Weblate (French)

Currently translated at 99.7% (426 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/
2020-07-21 15:26:26 +00:00
Juanjo Salvador
ce6a5a4e03 Translated using Weblate (Spanish)
Currently translated at 100.0% (427 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/es/
2020-07-21 15:26:25 +00:00
Isak Holmström
1de5066352 Translated using Weblate (Swedish)
Currently translated at 100.0% (427 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
2020-07-21 15:26:25 +00:00
hg
a815a9fdfb Translated using Weblate (Swedish)
Currently translated at 100.0% (427 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
2020-07-21 15:26:25 +00:00
Isak Holmström
6ef5bc5881 Translated using Weblate (Swedish)
Currently translated at 100.0% (427 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/sv/
2020-07-21 15:26:25 +00:00
ButterflyOfFire
731f309b8b Translated using Weblate (Kabyle)
Currently translated at 57.8% (247 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/

Translated using Weblate (Kabyle)

Currently translated at 57.8% (247 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/

Translated using Weblate (French)

Currently translated at 99.0% (423 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/

Translated using Weblate (Arabic)

Currently translated at 100.0% (427 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ar/
2020-07-21 15:26:25 +00:00
knuxify
772c23cfab Translated using Weblate (Polish)
Currently translated at 97.4% (416 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pl/
2020-07-21 15:26:24 +00:00
Vegard Skjefstad
6d097509e1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (427 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2020-07-21 15:26:24 +00:00
PananP
30b2341c35 Translated using Weblate (Thai)
Currently translated at 100.0% (427 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/th/

Translated using Weblate (Thai)

Currently translated at 100.0% (426 of 426 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/th/
2020-07-21 15:26:24 +00:00
tolstoevsky
7e31dccd7b Translated using Weblate (Russian)
Currently translated at 100.0% (427 of 427 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (426 of 426 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ru/
2020-07-21 15:26:24 +00:00
Daniele Lira Mereb
7f40fd22ba Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (426 of 426 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_BR/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (426 of 426 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_BR/
2020-07-21 15:26:24 +00:00
Konrad Pozniak
9f5277b3bc add Thai to the in-app language selector 2020-07-20 11:37:30 +02:00
Konrad Pozniak
7f0093bd58
remove scrolling from notification options bar (#1858) 2020-07-20 11:25:36 +02:00
Mélanie Chauvel
4205f5493e
Make account views clickable instead of avatar only (#1855)
Affects:
- New follower request and New follower notifications
- Accounts in Blocked users and Muted users pages
2020-07-07 20:35:31 +02:00
Konrad Pozniak
dfd30ec52a
correctly update the menu when muting domains (#1848) 2020-06-23 19:59:49 +02:00
Ivan Kupalov
58a1046348
Improve image viewer (#1843)
This commit does 3 things:
1. Replaces PhotoView (which is abandonware) with modern TouchImageView
2. Fixes an issue with panning images. Gesture was not intercepted
properly and pager was taking control instead of image being moved.
3. Adds feedback to dismissing of images with vertical gesture.
2020-06-22 21:26:37 +02:00
Daniele Lira Mereb
a391bcc7f8 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (426 of 426 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_BR/
2020-06-21 17:52:31 +00:00
Vegard Skjefstad
20a56c859c Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (426 of 426 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2020-06-21 17:52:31 +00:00
ButterflyOfFire
53ea094a12 Translated using Weblate (Arabic)
Currently translated at 100.0% (423 of 423 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ar/
2020-06-21 17:52:31 +00:00
Konrad Pozniak
56f4f8a38d
fix MainActivity title when coming from a notification (#1844) 2020-06-21 19:52:27 +02:00
Konrad Pozniak
b5bf78a19e
upgrade gradle wrapper, materialdrawer and AndroidX fragment (#1837) 2020-06-21 18:27:07 +02:00
Konrad Pozniak
5246ab7d72
speedup blurhash decoding by using a intermediate int array (#1835) 2020-06-21 18:26:06 +02:00
Konrad Pozniak
836b7f3f76
don't create a CW when sharing text to Tusky (#1836) 2020-06-21 18:25:17 +02:00
Konrad Pozniak
74bd493878
add possibility to move the main navigation to the bottom (#1808)
* add possibility to move the main navigation to the bottom

* add top toolbar with drawer toggle, title and search button
2020-06-18 11:04:53 +02:00
tolstoevsky
23b4597d4a Translated using Weblate (Russian)
Currently translated at 100.0% (422 of 422 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ru/
2020-06-15 07:22:06 +00:00
Connyduck
01cefdfaf6 Translated using Weblate (German)
Currently translated at 97.3% (411 of 422 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/
2020-06-15 07:22:05 +00:00
mwkward
54f4d6bc34 Translated using Weblate (Korean)
Currently translated at 92.4% (390 of 422 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ko/
2020-06-15 07:22:05 +00:00
nailyk-weblate
3427676a42 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/
2020-06-15 07:22:05 +00:00
ButterflyOfFire
7a99c8a83c Translated using Weblate (French)
Currently translated at 99.7% (421 of 422 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fr/

Translated using Weblate (Kabyle)

Currently translated at 58.2% (246 of 422 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/
2020-06-15 07:22:04 +00:00
Vegard Skjefstad
a3c84c441a Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (422 of 422 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (422 of 422 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2020-06-15 07:22:04 +00:00
Daniele Lira Mereb
ad4180af2e Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (422 of 422 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/pt_BR/
2020-06-15 07:22:04 +00:00
Ivan Kupalov
ecb94beb3c
Fix settings default values for preferences (#1828)
At some point settings DSL was refactored to first add a preference and
then run the builder. We shouldn't add a preference to the hierarchy
without setting a key for the preference first because preference gets
it's default value in `onAttachedToHierarchy()` and if the key is not
set then no default value will be set either.

This commit changes the order to execute builder (and set the key)
first and and preference to the point later.
2020-06-14 19:58:05 +02:00
Levi Bard
4219871095
Fix preview cards for uncollapsible statuses (#1826) 2020-06-09 19:00:23 +02:00
Ivan Kupalov
c64df0fd1d
Settings refactor (#1615)
* Refactor main preferences to use DSL

* Refactor account preferences to use DSL

* Use DSL in rest of the preference screens

* Preferences cleanup

* Fix preference dependencies
2020-06-08 09:21:12 +02:00