Commit Graph

49 Commits

Author SHA1 Message Date
Alibek Omarov 85f23411ff l10n: upgrade translations from upstream 2020-06-15 16:09:36 +03:00
Alibek Omarov 394a6aae22 l10n: import translations from upstream 2020-05-22 20:03:30 +03:00
Alibek Omarov 5ac8bd6ecf translations: merge from upstream 2020-05-03 21:08:15 +03:00
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
Joan Montané b1bc214144 Translated using Weblate (Catalan)
Currently translated at 100.0% (408 of 408 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
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
Francesc Galí 5b5f893796 Translated using Weblate (Catalan)
Currently translated at 100.0% (407 of 407 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-12-14 23:39:35 +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
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
Anonymous 0c8407657e Translated using Weblate (Hungarian)
Currently translated at 100.0% (395 of 395 strings)

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

Translated using Weblate (Catalan)

Currently translated at 100.0% (395 of 395 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-09-26 17:46:17 +00:00
Quentí 1180661eeb Translated using Weblate (Occitan)
Currently translated at 100.0% (395 of 395 strings)

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

Translated using Weblate (Catalan)

Currently translated at 97.5% (385 of 395 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-08-27 18:27:57 +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
Francesc Galí f99b39a323 Translated using Weblate (Catalan)
Currently translated at 100.0% (383 of 383 strings)

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

Translated using Weblate (Catalan)

Currently translated at 98.7% (378 of 383 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-08-04 18:34:57 +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
Konrad Pozniak a956061cbf
cleanup unused resources (#1300) 2019-06-02 22:02:03 +02:00
Francesc Galí 856e9f3a5f Translated using Weblate (Catalan)
Currently translated at 100.0% (368 of 368 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-06-02 19:23:22 +00:00
charlag 3f613dc56f Minimal screen reader support for polls 2019-05-26 15:56:26 +02:00
Francesc Galí 637a020a6a Translated using Weblate (Catalan)
Currently translated at 100.0% (367 of 367 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-14 11:36:08 +00:00
Francesc Galí 1f852267c7 Translated using Weblate (Catalan)
Currently translated at 98.6% (361 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-08 19:42:31 +00:00
Francesc Galí 34d7b15538 Translated using Weblate (Catalan)
Currently translated at 98.1% (359 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-08 19:42:31 +00:00
Francesc Galí b52633215a Translated using Weblate (Catalan)
Currently translated at 69.9% (256 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-06 16:53:35 +00:00
Francesc Galí 9a065f0bc1 Translated using Weblate (Catalan)
Currently translated at 58.5% (214 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-06 08:15:49 +00:00
Francesc Galí f49a305cfc Translated using Weblate (Catalan)
Currently translated at 58.5% (214 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-06 07:59:09 +00:00
Francesc Galí 48f208d89b Translated using Weblate (Catalan)
Currently translated at 58.5% (214 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-06 07:55:22 +00:00
Conny Duck a5b2d8b813 fix strings 2019-05-05 21:25:11 +02:00
Anonymous b6eb7c2d65 Translated using Weblate (Catalan)
Currently translated at 51.9% (190 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-05 19:14:34 +00:00
Anonymous b55c1ed95e Translated using Weblate (Catalan)
Currently translated at 51.6% (189 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
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
Anonymous 9e0d8f69b4 Translated using Weblate (Catalan)
Currently translated at 49.3% (180 of 365 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ca/
2019-05-02 17:42:01 +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
Konrad Pozniak 463b008090
change project website url (#1128) 2019-03-18 15:47:02 +01:00
tsdgeos 30436872ab ca: Fix typo: multimètida -> multimèdia (#1050)
Fixes #1048
2019-02-17 14:20:06 +01:00
Mélanie Chauvel (ariasuni) 5230bd29a6 Fix a lot of easy-to-fix warnings (#957) 2018-12-12 20:28:05 +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
Conny Duck 90ef078dd0 update media limits for Mastodon 2.5 2018-09-10 10:00:06 +02:00
Conny Duck bfa1929365 remove unused strings 2018-06-25 14:55:45 +02:00
Konrad Pozniak 63f9d99390
Account activity redesign (#662)
* Refactor-all-the-things version of the fix for issue #573

* Migrate SpanUtils to kotlin because why not

* Minimal fix for issue #573

* Add tests for compose spanning

* Clean up code suggestions

* Make FakeSpannable.getSpans implementation less awkward

* Add secondary validation pass for urls

* Address code review feedback

* Fixup type filtering in FakeSpannable again

* Make all mentions in compose activity use the default link color

* new layout for AccountActivity

* fix the light theme

* convert AccountActivity to Kotlin

* introduce AccountViewModel

* Merge branch 'master' into account-activity-redesign

# Conflicts:
#	app/src/main/java/com/keylesspalace/tusky/AccountActivity.java

* add Bot badge to profile

* parse custom emojis in usernames

* add possibility to cancel follow request

* add third tab on profiles

* add account fields to profile

* add support for moved accounts

* set click listener on account moved view

* fix tests

* use 24dp as statusbar size

* add ability to hide reblogs from followed accounts

* add button to edit own account to AccountActivity

* set toolbar top margin programmatically

* fix crash

* add shadow behind statusbar

* introduce ViewExtensions to clean up code

* move code out of offsetChangedListener for perf reasons

* clean up stuff

* add error handling

* improve type safety

* fix ConstraintLayout warning

* remove unneeded ressources

* fix event dispatching

* fix crash in event handling

* set correct emoji on title

* improve some things

* wrap follower/foillowing/status views
2018-06-18 13:26:18 +02:00
Ivan Kupalov 7254a5d7d6 Add smaller and larger font options (fix #657) (#660)
* Add smaller and larger font options

* Fix test sizes, comment out translations
2018-06-07 22:19:39 +02:00
Konrad Pozniak 27eefbf65a
ComposeActivity improvements (#548)
* do not add media urls to status text

* add scrolling to content

* add arrow icon and animation to replying-to toggle

* remove unnecessary compose_button_colors.xml

* improve toot button

* improve bottom bar, add bottom sheet for compose options, dedicated cw button

* fix crash on Android < API 21

* move media picking from dialog to bottom sheet

* add small style tootbutton

* fix colors/button background for light theme

* add icons to media chose bottom sheet

* improve hide media button, delete unused styles

* fix crash on dev build when taking photo

* consolidate drawables

* consolidate strings and ids, add tooltips to buttons

* allow media only toots

* change error message to show max size of upload correctly

* fix button color

* add emoji

* code cleanup

* Merge branch 'master' into compose_activity_refactoring

# Conflicts:
#	app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java

* fix hidden snackbar

* improve hint text color

* add SendTootService

* fix timeline refreshing

* toot saving and error handling for sendtootservice

* restructure some code

* convert EditTextTyped to Kotlin

* fixed pick media button disabled color

* force sensitive media when content warning is shown

* add db cache for emojis & fix tests

* reorder buttons to match mastodon web

* add possibility to cancel sending of toot

* correctly delete sent toots

* refresh SavedTootActivity after toot was sent

* remove unused resources

* correct params for toot saving in SendTootService

* consolidate strings

* bugfix

* remove unused resources

* fix notifications on old android for SendTootService

* fix crash
2018-04-13 22:37:21 +02:00
Conny Duck 49e61bab83 fix strings 2018-03-05 15:02:26 +01:00
Konrad Pozniak 71954a277e
convert entity classes to Kotlin data classes (#526)
* convert entity classes to Kotlin data classes

* more data classes, code style
2018-03-03 13:24:03 +01:00
Conny Duck 1f9eb41a9a update Tusky urls 2018-02-25 14:51:06 +01:00
Conny Duck 9b6ca7ff42 remove unused resources 2018-02-03 23:43:06 +01:00
Konrad Pozniak 92ae463b38
Multi account feature (#490)
* basic implementation

* improve LoginActivity

* darken drawer background image

* add current avatar in ComposeActivity

* add account name to logout dialog

* multi account support for notifications

* multi account support for notifications

* bugfixes & cleanup

* fix bug where somethings notifications would open with the wrong user

* correctly set active account in SFragment

* small improvements
2018-02-03 22:45:14 +01:00
remi6397 11105f4aac Theming improvements (#502)
* Split theme definitions into day and night

* Add support for Night Mode in code

* Add theme chooser in preferences

* Fix translations

* Adjust IDs

* Adjust preferences for custom themes

* UI tweaks for custom theme support

* Added code for custom theme support 🍅

* Fixed resource display in Kotlin 🍅

* Restored styles

* Updated strings

* Fixed getIdentifier() to fit into setTheme()

* Removed redundant resources

* Reset default theme to "Dusky"

* Fixed night mode handler to maintain compatibility

* Refactor functions to use helper methods

* Added license block

* Added preview to theme selector

* Added color identifier getter helper method

* Fixed reference in AccountMediaFragment

* Cleanup

* Fixed navbar foreground not changing color

* Fix fallback theme switch(){}

* Enable location-based daylight trigger

* Cleanup

* Modified theming strategy to reduce clutter in preferences

* Updated translations for latest version

* Removed "Default" theme flavor from settings

* Updated Polish translations 🇵🇱

* Modified TwilightManager handling code to support Android M's UiModeManager features and moved it to its own function

* Updated Polish translations 🇵🇱

* Cleanup; Fixed hardcoded string

* Added missing escape in string

* Removed permission request dialog.

As we now use native UiModeManager APIs that don't need special permission for Android 6.0 and above, we no longer need to bother user with Android M+ specific location permission request dialog.

* Increased readability of ThemeUtil class

* Refactored ThemeUtils.setAppNightMode method

* Cleanup
2018-01-20 13:39:01 +01:00
Joan Montané 9602888ad3 Update Catalan strings (#480) 2017-12-05 21:59:58 +01:00
nailyk 0077388c65 Correct array translations (#470) 2017-11-29 07:26:17 +01:00
Joan Montané ce90862041 Add Catalan translation (#464)
* Create strings.xml

* Create array.xml
2017-11-22 22:00:55 +01:00