Commit Graph

26 Commits

Author SHA1 Message Date
nailyk-weblate 663099e0b1 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/
2020-01-13 14:54:26 +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
Danial Behzadi 57aec54841 Translated using Weblate (Persian)
Currently translated at 100.0% (401 of 401 strings)

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

Translated using Weblate (Persian)

Currently translated at 100.0% (401 of 401 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
2019-11-16 06:42:00 +00:00
Anonymous cfcb5d1aa1 Translated using Weblate (Persian)
Currently translated at 100.0% (401 of 401 strings)

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

Translated using Weblate (Tamil)

Currently translated at 61.8% (248 of 401 strings)

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

Translated using Weblate (Slovenian)

Currently translated at 100.0% (401 of 401 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 14.0% (56 of 401 strings)

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

Translated using Weblate (French)

Currently translated at 100.0% (401 of 401 strings)

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

Translated using Weblate (Bengali (India))

Currently translated at 100.0% (401 of 401 strings)

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

Translated using Weblate (Malayalam)

Currently translated at 13.5% (54 of 401 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ml/
2019-11-16 06:42:00 +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
Danial Behzadi 507bf92676 Translated using Weblate (Persian)
Currently translated at 100.0% (401 of 401 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
2019-11-08 16:45:08 +00:00
Mostafa Ahangarha 74ad0d2e2d Translated using Weblate (Persian)
Currently translated at 100.0% (401 of 401 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
2019-11-08 16:45:07 +00:00
Danial Behzadi 52ac26a797 Translated using Weblate (Persian)
Currently translated at 100.0% (401 of 401 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
2019-11-03 13:18:13 +01:00
Danial Behzadi 3061ca5a55 Translated using Weblate (Persian)
Currently translated at 100.0% (401 of 401 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
2019-10-20 17:41:12 +00:00
Mostafa Ahangarha 5e29c06fd4 Translated using Weblate (Persian)
Currently translated at 98.2% (388 of 395 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/
2019-10-01 06:08:27 +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
Konrad Pozniak a956061cbf
cleanup unused resources (#1300) 2019-06-02 22:02:03 +02: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
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
Konrad Pozniak 1fdcfbda76
New Crowdin translations (#1135)
* New translations strings.xml (Arabic)

* New translations strings.xml (Italian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Tamil)

* New translations strings.xml (Swedish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Polish)

* New translations strings.xml (Persian)

* New translations strings.xml (Occitan)

* New translations strings.xml (Japanese)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Basque)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Dutch)

* New translations strings.xml (Czech)

* New translations strings.xml (Chinese Traditional, Singapore)

* New translations strings.xml (Chinese Traditional, Macau)

* New translations strings.xml (Chinese Traditional, Hong Kong)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Welsh)

* New translations strings.xml (Arabic)

* New translations strings.xml (Italian)

* New translations strings.xml (Turkish)

* New translations strings.xml (Tamil)

* New translations strings.xml (Swedish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Polish)

* New translations strings.xml (Persian)

* New translations strings.xml (Occitan)

* New translations strings.xml (Japanese)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Basque)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Dutch)

* New translations strings.xml (Czech)

* New translations strings.xml (Chinese Traditional, Singapore)

* New translations strings.xml (Chinese Traditional, Macau)

* New translations strings.xml (Chinese Traditional, Hong Kong)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Welsh)

* New translations strings.xml (Arabic)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Polish)

* New translations strings.xml (Persian)

* New translations strings.xml (Occitan)

* New translations strings.xml (Japanese)

* New translations strings.xml (Italian)

* New translations strings.xml (Basque)

* New translations strings.xml (Hungarian)

* New translations strings.xml (French)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Dutch)

* New translations strings.xml (Czech)

* New translations strings.xml (Chinese Traditional, Singapore)

* New translations strings.xml (Chinese Traditional, Macau)

* New translations strings.xml (Chinese Traditional, Hong Kong)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Spanish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Tamil)

* New translations strings.xml (Turkish)

* New translations strings.xml (Welsh)
2019-03-20 20:03:11 +01:00
Konrad Pozniak 463b008090
change project website url (#1128) 2019-03-18 15:47:02 +01:00
Konrad Pozniak c266638bd1
New Crowdin translations (#1106)
* New translations strings.xml (Italian)

* New translations strings.xml (Czech)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Dutch)

* New translations strings.xml (Italian)

* New translations strings.xml (Tamil)

* New translations strings.xml (Russian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Polish)

* New translations strings.xml (Persian)

* New translations strings.xml (Occitan)

* New translations strings.xml (Hungarian)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (Chinese Traditional, Singapore)

* New translations strings.xml (Chinese Traditional, Macau)

* New translations strings.xml (Chinese Traditional, Hong Kong)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Arabic)

* New translations strings.xml (Japanese)

* New translations strings.xml (Turkish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Dutch)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Italian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)
2019-03-08 21:12:07 +01:00
Konrad Pozniak 0a6709296d
crowdin sync (#1097)
* New translations strings.xml (Russian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Polish)

* New translations strings.xml (Persian)

* New translations strings.xml (Occitan)

* New translations strings.xml (Korean)

* New translations strings.xml (Italian)

* New translations strings.xml (Chinese Traditional, Singapore)

* New translations strings.xml (Chinese Traditional, Macau)

* New translations strings.xml (Chinese Traditional, Hong Kong)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Arabic)

* New translations strings.xml (Tamil)
2019-03-04 17:41:27 +01:00
Mostafa Ahangarha 4864bb79d9 Improved Persian translation (#965)
I have made these two thing:

- Made several modification to make the existing translation improved
- Added missing stings
2018-12-25 20:07:20 +01:00
Mélanie Chauvel (ariasuni) 5230bd29a6 Fix a lot of easy-to-fix warnings (#957) 2018-12-12 20:28:05 +01:00
Conny Duck 81bbac9aa7 remove erroneous strings to prevent crashes 2018-11-16 13:57:35 +01:00
Konrad Pozniak 348c20c792
New settings (#891)
* change drawer items

* rename SettingsActivity

* introduce AccountSettings activity

* improve account settings, move notification settings

* sync settings with server

* rename settings back to preferences

* add functionality for settings

* move mediaPreviewEnabled preference to AccountPreferences

* replace shared prefs with accountmanager

* move PreferencesFragment to support library

* split preferences fragment into smaller fragments,
merge AccountPreferencesActivity into PreferencesFragment

* adjust icon size, add icons to general preferences

* change mediaPreviewEnabled and alwaysShowSensitiveMedia pref position

* add database migration

* remove pullNotificationCheckInterval option

* fix  preference in TimelineFragment

* Update Chinese translations. (#915)

* Update zh-CN translations.

* Update zh-SG translations.

* Update zh-TW translations.

* Update zh-MO translations.

* Update zh-HK translations.

* Fix errors in zh-CN translations.

* Fix errors in zh-SG translations.

* Fix errors in zh-TW translations.

* Fix errors in zh-MO translations.

* Fix errors in zh-HK translations.
2018-11-12 21:09:39 +01:00
Levi Bard 690e612f8b Media description improvements (#898)
* Enforce 420-character limit on media descriptions in the UI

* Persist media descriptions with drafts

* Defer media description update until after upload finishes

* Make description field 2 lines for better visibility of hint text

* Reuse Gson instance

* Force retranslation of modified string "hint_describe_for_visually_impaired"

* Add bounds check when reading serialized media descriptions
2018-11-11 19:25:45 +01:00
freetux 6cad8feea2 fix persian translation (#876)
* Create strings.xml

* Rename strings.xml to stringss.xml

* add persian language

* Delete stringss.xml

* fix lines

* fix lines

* fix line 213

* Update strings.xml

* Update strings.xml

* some minor fixes 

after check nightly version fixed .
2018-10-05 21:07:55 +02:00
freetux 7ec8f06589 Add persian language (#870)
* Create strings.xml

* Rename strings.xml to stringss.xml

* add persian language

* Delete stringss.xml

* fix lines

* fix lines

* fix line 213

* Update strings.xml

* Update strings.xml
2018-10-04 23:15:48 +02:00