Commit graph

37 commits

Author SHA1 Message Date
Vegard Skjefstad
21f59d003d Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (408 of 408 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2020-01-02 17:51:03 +00:00
Ivan Kupalov
8770fbe986 ComposeActivity refactor (#1541)
* Convert ComposeActivity to Kotlin

* More ComposeActivity cleanups

* Move ComposeActivity to it's own package

* Remove ComposeActivity.IntentBuilder

* Re-do part of the media downsizing/uploading

* Add sending of status to ViewModel, draft media descriptions

* Allow uploading video, update description after uploading

* Enable camera, enable upload cancelling

* Cleanup of ComposeActivity

* Extract CaptionDialog, extract ComposeActivity methods

* Fix handling of redrafted media

* Add initial state and media uploading out of Activity

* Change ComposeOptions.mentionedUsernames to be Set rather than List

We probably don't want repeated usernames when we are writing a post
and Set provides such guarantee for free plus it tells it to the
callers. The only disadvantage is lack of order but it shouldn't be a
problem.

* Add combineOptionalLiveData. Add docs.

It it useful for nullable LiveData's. I think we cannot differentiate
between value not being set and value being null so I just added the
variant without null check.

* Add poll support to Compose.

* cleanup code

* move more classes into compose package

* cleanup code

* fix button behavior

* add error handling for media upload

* add caching for instance data again

* merge develop

* fix scheduled toots

* delete unused string

* cleanup ComposeActivity

* fix restoring media from drafts

* make media upload code a little bit clearer

* cleanup autocomplete search code

* avoid duplicate object creation in SavedTootActivity

* perf: avoid unnecessary work when initializing ComposeActivity

* add license header to new files

* use small toot button on bigger displays

* fix ComposeActivityTest

* fix bad merge

* use Singles.zip instead of Single.zip
2019-12-19 19:09:40 +01:00
Vegard Skjefstad
fb2c028c1b Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (407 of 407 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-12-14 23:39:35 +00:00
Vegard Skjefstad
0fcf6b19bd Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (405 of 405 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-11-26 04:42:18 +00:00
Danial Behzadi
ecb4494278 set title_tag as non-translatable (#1551)
* set title_tag as non-translatable

* add title_tag to donottranslate.xml and remove from strings.xml
2019-11-08 17:46:40 +01:00
Vegard Skjefstad
0247e6a74e Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (402 of 402 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-11-08 16:45:07 +00:00
Vegard Skjefstad
1132025879 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (401 of 401 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-10-20 17:41:12 +00:00
Levi Bard
a308b4c139 Don't interpret html inside poll options. (#1527)
* Don't interpret html inside poll options.
Closes #1362

* Update translations

* Mark poll_percent_format as untranslatable
2019-10-11 17:35:22 +02:00
Vegard Skjefstad
565c59c9d2 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (401 of 401 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-10-10 16:43:56 +00:00
Vegard Skjefstad
d5a509d1f9 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (395 of 395 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-08-27 18:27:58 +00:00
Vegard Skjefstad
b43ee8965b Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (395 of 395 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-08-23 23:32:46 +00:00
Konrad Pozniak
51c6852492
Create polls (#1452)
* add AddPollDialog

* add support for pleroma poll options

* add PollPreviewView

* add Poll support to drafts

* add license header, cleanup

* rename drawable files to correct size

* fix tests

* fix bug with Poll having wrong duration after delete&redraft

* add input validation

* grey out poll button when its disabled

* code cleanup & small improvements
2019-08-22 20:30:08 +02:00
Konrad Pozniak
d13a341a35
enable reporting users without statuses (#1445) 2019-08-17 09:08:58 +02:00
Vegard Skjefstad
ede921a8a1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (383 of 383 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-08-04 18:34:57 +00:00
Vegard Skjefstad
5101c6b840 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (382 of 382 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-07-20 17:37:14 +00:00
Conny Duck
d631305e20 fix number not shown in bold for fav/boost count in some languages 2019-07-11 19:41:09 +02:00
Anonymous
5b4a3a01ae Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (380 of 380 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-06-25 19:19:07 +00:00
Konrad Pozniak
707f3e605c
fix build warnings (#1331) 2019-06-24 22:15:31 +02:00
Vegard Skjefstad
f33f4a1b2c Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (378 of 378 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-06-17 11:43:15 +00:00
Vegard Skjefstad
67dba7c2f4 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.9% (374 of 378 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-06-17 11:43:15 +00:00
Vegard Skjefstad
cb4d18e035 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (371 of 371 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-06-10 17:40:12 +00:00
Konrad Pozniak
a956061cbf
cleanup unused resources (#1300) 2019-06-02 22:02:03 +02:00
Vegard Skjefstad
4d1ab4c93c Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (368 of 368 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-06-02 19:23:22 +00:00
Konrad Pozniak
9a90594fae
Merge pull request #1288 from tuskyapp/poll-description
Minimal screen reader support for polls
2019-05-30 21:53:56 +02:00
Vegard Skjefstad
241a26eaec Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (368 of 368 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-05-29 18:26:37 +00:00
charlag
3f613dc56f Minimal screen reader support for polls 2019-05-26 15:56:26 +02:00
Vegard Skjefstad
ef9ecb9422 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (367 of 367 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-05-11 15:35:11 +00:00
Vegard Skjefstad
dc6175ac72 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (366 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-05-08 19:42:31 +00:00
Konrad Pozniak
d7c32258ae
fix timespan plurals (#1240)
* fix timespan plurals

* rename poll timestamp strings and helper method
2019-05-06 09:59:06 +02:00
Vegard Skjefstad
e6d52a66db Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (366 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-05-03 18:42:16 +00:00
Konrad Pozniak
e735e4843e
Poll notifications (#1229)
* show poll notifications in the app

* show poll notifications in the app

* allow filtering poll notifications in the poll fragment

* show poll notifications in system notifications
2019-05-02 19:44:35 +02:00
Vegard Skjefstad
93eb372d11 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (365 of 365 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-05-02 16:35:48 +00:00
Konrad Pozniak
53696f752a
Fix translations (#1223)
* flatten string arrays

* delete empty ko translations

* delete crowdin comments

* fix warning in czech translation

* delete untranslated strings
2019-04-29 20:17:50 +02:00
Vegard Skjefstad
a967f42820 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (349 of 349 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-04-26 08:27:03 +00:00
Vegard Skjefstad
d5e460acb2 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (349 of 349 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-04-23 10:26:57 +00:00
Vegard Skjefstad
0ce0f3687d Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (338 of 338 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/nb_NO/
2019-04-22 08:11:06 +00:00
Konrad Pozniak
49ede9183d add Norwegian & Slovenian to the app language settings 2019-04-21 15:07:03 +02:00