Commit Graph

665 Commits

Author SHA1 Message Date
Isak Holmström 7134423a05 [SV] Translation: Removed nsfw and replaced it with "sensitive content" (#836)
* Updated with new strings, added new translations for mute

* Changed from nsfw to sensitive content
2018-09-05 21:29:39 +02:00
qwazix d49502f798 Make page margin to truly black for tablets. (#834) 2018-09-04 18:35:17 +02:00
Konrad Pozniak 28c1c90a98
fix account list loading and clean up a lot of code (#823)
* fix account list loading and clean up a lot of code

* remove ACCESS_COARSE_LOCATION for API levels 23+

* small improvements
2018-08-31 21:52:09 +02:00
Conny Duck ca881af7c5 add missing libraries to libraries screen 2018-08-31 20:40:56 +02:00
Conny Duck 90c6eb1f3c improve wording of "always show sensitive media" setting title 2018-08-29 19:16:41 +02:00
ButterflyOfFire 1f75ef7b2b Fixing typo in arabic. (#802) 2018-08-25 00:01:58 +02:00
Basix 4d16514851 Added Korean Translation (#783)
* Added Korean Translation

* Edited translation errors discovered by @Kjwon15

https://github.com/tuskyapp/Tusky/pull/782#pullrequestreview-147631374

* Removed a slash at line 43

https://github.com/tuskyapp/Tusky/pull/783#discussion_r211258208
2018-08-20 21:28:20 +02:00
Óliver García Albertos a6ded17e06 values-es: Update translations (#785) 2018-08-20 21:27:27 +02:00
Evgeny Petrov 7369a82b26 [Ru] string hotfix (#775)
Changed the wrong form of "black" theme string
2018-08-19 12:17:09 +02:00
Quentí dbbc1e406f Update Occitan translation (#776) 2018-08-19 12:16:56 +02:00
Marcin Mikołajczak 632be33af8 Update Polish translation (#768)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-08-17 21:00:03 +02:00
kyori e83dd16942 Do not use absolute time by default. 2018-08-17 10:19:50 +09:00
Anna e só 5d7c2df434 Updated pt-rBR translation (#765) 2018-08-16 20:38:27 +02:00
jeroenpraat fd378f2e31 Updating Dutch strings for v3 (#761) 2018-08-16 20:37:59 +02:00
Isak Holmström d0b40dba6d Updated with new strings, added new translations for mute (#760) 2018-08-16 20:37:44 +02:00
ButterflyOfFire 8eef3991ec Updated ar (Arabic) translation (#758)
* add more aggressive proguard config

* even more optimizations

* Updated ar (Arabic) translation

Commit made via Stringlate
2018-08-16 20:37:23 +02:00
Evgeny Petrov e973a68160 [RU] Language update 20180815 (#759)
* Updated Russian language

* Updated RU language according to 970551adee

* [RU] Language update
2018-08-16 20:34:50 +02:00
kyori ca3a5791e3 Show absolute time 2018-08-16 22:51:23 +09:00
Conny Duck 4b4e58302f fix splashscreen navigationbar color on Android 27+ 2018-08-15 22:17:26 +02:00
Conny Duck 8b04361771 update translations 2018-08-15 21:23:54 +02:00
Konrad Pozniak 8930d277e6
add new elephant friends (#757)
* add new elephant friends

* add art license

* fix typo
2018-08-15 20:51:35 +02:00
Konrad Pozniak f022944e90
add possibility to change profile fields, refactor (#751)
* refactor EditProfileActivity, add profile fields

* preserve transparency when cropping profile images

* dont validate profile fields on client side

* revert unintentional change in card_frame_dark.xml

* improve activity_edit_profile layout for tablets

* Revert "improve activity_edit_profile layout for tablets"

This reverts commit 20ff3d167c39b15566e017108b33fe58690a8482.

* improve activity_edit_profile layout for tablets

* fix bug in EditProfileActivity, add snackbar

* improve EditProfileActivity code

* use events instead of shared prefs to communicate profile update
2018-08-15 20:47:09 +02:00
nailyk 4f50bb5566 Translates: FR: Add missing translation (#744)
* Add missing `title_statuses_with_replies` french translation.

Signed-off-by: nailyk-fr <jenkins@nailyk.fr>
2018-08-08 22:31:43 +02:00
Conny Duck eee48e48d1 make small avatars in notifications rounded again 2018-08-07 21:44:25 +02:00
Conny Duck e8b1787f9c improve Arabic translation (thx to @BoF@mstdn.fr) 2018-07-31 21:30:24 +02:00
Konrad Pozniak 2b246fc379 fix "load more" placeholder changing height after being clicked 2018-07-30 16:28:43 +02:00
Ivan Kupalov 133808891d Add RoundedImageView for avatars (#739)
* Add RoundedImageView for avatars

* RoundedImageView: Remove unused things, fix touchable area
2018-07-30 15:36:22 +02:00
qwazix 562beacfc1 Add black theme (#726)
* Add black theme

On amoled screens a completely black theme helps save battery,
besides looking awesome!

* Fix first set of merge request issues except the dialog.

* Black theme inherits from dark and only the different values
  are declared
* Make nav bar translucent (for some reason content does not
  go behind it in main activity. Need to investigate)
* Remove nav bar line
* Fix toolbar color

* Fix dialog issue with black theme.

Revert translucent navigation.

* Translations updated, as well as possible from online sources.

* Make login screen respect black theme
2018-07-30 15:31:35 +02:00
Ivan Kupalov 6fcb3cb495 Add image descriptions indicator (#697)
* Add image descriptions indicator. Closes #683

* Add bg for description indicator, change symbol

* Use icon for image description indicator
2018-07-30 15:20:53 +02:00
Isak Holmström 80bf2f361c Improved swedish translation (#735)
* Update strings.xml

* Updated strings.xml

Added the missing string-arrays and fixed some better language.
2018-07-28 16:30:43 +02:00
Sylke Vicious ab3e68cd48 Update Italian strings.xml (#733)
added missing strings manually
2018-07-28 12:01:16 +02:00
jeroenpraat 21ce92f8da Dutch strings: one extra update (#725) 2018-07-24 19:04:00 +02:00
Konrad Pozniak 61f3f6c928
Improve media resizing (#722)
* improve MediaUtils.getImageThumbnail so it does not load the whole bitmap into memory

* load thumbnails in device specific sizes
2018-07-23 21:55:09 +02:00
Conny Duck 67f4479e86 fix some lint warnings, use kotlin view imports in ModalTimeLineActivity 2018-07-23 15:18:33 +02:00
Sylke Vicious 5538c8c5e7 Updated it (Italian) translation (#721)
* increase cache size & dont cache full size media

* Updated it (Italian) translation

Commit made via Stringlate

* remove unnecessary backslash
2018-07-22 13:53:21 +02:00
Isak Holmström 80fae95f41 Update swedish translation (#720) 2018-07-22 13:48:52 +02:00
Conny Duck 4d3a6a6226 fix Dutch string (thx to jeroenpraat) 2018-07-17 22:11:47 +02:00
Conny Duck ee812e3130 improve Dutch strings (thx to jeroenpraat) 2018-07-16 21:05:07 +02:00
Conny Duck f50cac4b0c fix AccountActivity tabs not stretching on tablets 2018-07-12 22:21:51 +02:00
Conny Duck 145e30870d fix Dutch string (thx to jeroenpraat) 2018-07-10 19:56:16 +02:00
Conny Duck 7739af2109 update Dutch strings (thx to jeroenpraat) 2018-07-09 11:11:48 +02:00
Conny Duck 699049f930 apply font size setting to image alt text 2018-07-09 09:03:24 +02:00
Conny Duck 884f889737 updated Dutch strings (thx to jeroenpraat) 2018-07-08 18:26:09 +02:00
Conny Duck a65ee0a7bb fix extra backslash in swedish translation 2018-07-07 09:28:25 +02:00
Conny Duck 0c1893ff6e update german translation 2018-07-05 21:18:57 +02:00
Conny Duck 28940169c6 enable custom emoji fonts for all api levels again 2018-07-05 21:14:32 +02:00
Anna e só 3a0f86ebde 🌎: Improved Brazilian Portuguese translations (#701)
* Added exported .xml from Stringlate

* Added missing strings for theme and privacy

* Added more missing strings

* Added strings for pull notification intervals

* Fixed "hora" to "horas"
2018-07-02 14:22:22 +02:00
Conny Duck b02a8f2c7e improve german translation 2018-07-02 14:07:16 +02:00
Conny Duck c10cc59a8a enable custom emojis in follow notifications 2018-07-01 15:57:26 +02:00
Konrad Pozniak 030a201da6
disable emoji fonts on Android 5 (#698) 2018-07-01 10:18:00 +02:00
Anna e só c7c2b5feb9 update Brazilian Portuguese translation (#696) 2018-06-28 22:22:20 +02:00
Evgeny Petrov 8509aab303 Updated Russian language (#691)
* Updated Russian language

* Updated RU language according to 970551adee
2018-06-27 18:39:33 +02:00
Marcin Mikołajczak 2887fa0cd8 i18n: Update Polish translation (#692)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-06-27 18:38:19 +02:00
Conny Duck 970551adee fix the emoji selection dialog 2018-06-25 16:23:43 +02:00
Conny Duck 9bda0c6c5d update german translation 2018-06-25 15:20:54 +02:00
Conny Duck bfa1929365 remove unused strings 2018-06-25 14:55:45 +02:00
Conny Duck 50b0d1fb8d cleanup code 2018-06-25 14:49:00 +02:00
Konrad Pozniak 3c569c6ac9
add License activity (#689)
* convert AboutActivity to Kotlin, use BottomSheetActivity for account resolving

* improve AboutActivity

* new License activity

* fix filemojicompat url
2018-06-25 13:02:34 +02:00
Conny Duck 6e43d3fbe8 remove extra translation to fix build 2018-06-18 13:58:14 +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
Paul 87f007086f Complete french translation (#668) 2018-06-09 21:01:48 +02:00
Quentí 689d743559 Latest update for Occitan (#678) 2018-06-09 21:01:32 +02:00
Isak Alexander c58608de43 add swedish translation (#674)
* Create string.xml

* Rename string.xml to strings.xml

* Update strings.xml

* 100% done

Swedish translation 100% done.

* Corrected first line with correct path.
2018-06-07 22:30:27 +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
Conny Duck e63efdde5d fix layout rotation 2018-06-07 22:11:03 +02:00
Conny Duck 6f34b9adab fix crash on tablets 2018-06-07 22:05:01 +02:00
Paul 30856a2f82 Enable boosting of own private toots, closes #664 (#666) 2018-05-28 21:29:06 +02:00
Ivan Kupalov 3756a1fd20
Add EventHub, add fav, reblog events, improve timelines (#562)
* Add AppStore, add fav, reblog events

* Add events, add handling to Timeline

* Add event handling to Notifications

* Mostly finish events

* Fix unsubscribing

* Cleanup timeline

* Fix newStatusEvent in thread, fix deleteEvent

* Insert new toots only in specific timelines

* Add missing else

* Rename AppStore to EventHub

* Fix tests

* Use DiffUtils for timeline

* Fix empty timeline bug. Improve loading placeholder

* Fix AsyncListDiff, loading indicator, "load more"

* Timeline fixes & improvements.

Fix infinite loading. Remove spinner correctly.
Don't refresh timeline without need.
2018-05-27 11:22:12 +03:00
Quentí e79b47552e [i18n] Update for Occitan (#652)
* First commit update for Occitan

* Update strings.xml

* Update strings.xml
2018-05-21 21:48:38 +02:00
Konrad Pozniak d4572a9d0e
some Optimizations for tablets (#647)
* show ComposeActivity as Dialog on tablets

* limit timeline width on large devices

* limit width on large devices for thread view and search

* increase media preview size on large devices
2018-05-16 19:14:53 +02:00
Ivan Kupalov 23d84dfa66 Show image descriptions in gallery (#630)
* Add circleci

* Commit to maybe fix ci

* Suppress false positives in lint

* Disable linting for tests in ci

* Add image descriptions to gallery

* Fix test

* [CI] Attempt to fix OOM error

* [CI] Attempt to fix OOM error, 2

* Add option to open status from media

* fix theme issue

* increase linespacing on media description
2018-05-10 20:13:25 +02:00
Constantin A 1108652823 EmojiCompat support (#600)
* Add EmojiCompat

* EmojiCompat doesn' replace all emojis anymore

* This app should be now capable of loading a EmojiCompat-font located in a file somewhere inside the device's storage

* Should now replace all emojis

* Add EmojiCompat support to EditTextTyped

* Provide EmojiCompat fonts

* The app won't crash anymore when no emoji font is available.
Emoji font should now be located at [Private external app directory]/files/EmojiCompat.ttf

* Removed BundledEmojiCompat dependency

Since this EmojiCompat-implementation does not rely on BundledEmojiCompat, there's no reason to have it enabled.

* Update EditTextTyped.kt

Since connection isn't assigned to (I tried doing so), it can be declared final/val again.

* Update README.md

* Add some non-working emoji preferences

* Add a short font list for testing

* Finished implementation

* Add Twemoji to font list

* Update documentation, more comments

* Delete AssetEmojiCompat which is obsolete now

* Update the font list

* Update the font list

* Fix font list & add Exception handling for malformed JSON files (hopefully)

* More fixes. It should work now...

* Removed AssetEmojiCompat (again)

* Add most of the changes

* Improved the EmojiCompat dialog's style

* The font list is now based on a static layout without external files

* Re-add the real font URL for Twemoji

* Emoji-font captions are now translatable

* Removed one unused String (loading)

* Removed emoji fonts from this repo

* Applied changes from the PR change requests

* The correct emoji font will be selected after cancelling a change

* Add details on the EmojiCompat fonts available (not shown yet)

* Add licensing information on Twemoji and Blobmoji

* Reworked some strings

* Moved FileEmojiCompat to its own library

* Update FileEmojiCompat to the latest version (1.0.3)

* EmojiCompat bug should be fixed

* Better handling of failed downloads

* Removed one TODO

Signed-off-by: Constantin A <10349490+C1710@users.noreply.github.com>

* Update emoji attribution strings

Signed-off-by: Constantin A <10349490+C1710@users.noreply.github.com>

* Fixed some misspelled strings

Signed-off-by: Constantin A <10349490+C1710@users.noreply.github.com>
2018-05-10 11:16:56 +02:00
Konrad Pozniak 26fb180d1a update german translation (#638)
* update german translation

* fix capitalization
2018-05-08 11:42:28 +03:00
Evgeny Petrov 57e8a61cf0 [RU] New strings for 1.8 (#634)
I'm not sure whether we should use word "статусы" (statuses) or "посты" (posts). Or how to mix them in the right way
Anyway, here are the new strings.
2018-05-07 21:57:05 +03:00
Konrad Pozniak a2bfef3101
move bottom sheet from fragments to activities (#628)
* move bottom sheet from fragments to activities

* move BottomSheetLogic to dedicated abstract Activity

* change tests

* improve code
2018-05-06 22:05:54 +02:00
nailyk 1c711eca22 Translates: FR: Remove unused strings (#632)
* Some strings are gone. Lets remove them.
2018-05-06 20:42:50 +02:00
remi6397 e8c79cce65 Notification tweaks: Grouping and Quick Reply button (#587)
* Added notification grouping and Quick Reply button

* Legal stuff

* Coding style

* Check whether account still exists when sending a quick reply

* Add "compose" button

* Polish translation

* Improve strings

* Code style

* Cancel notification when user hits "compose" button

* Notification counter

* Make sure to open ComposeActivity for notification recipient account

* Add ability to request account switch when starting an activity
2018-05-06 11:07:10 +02:00
Quim Gil aa48acdbec Missing "custom" equivalent in translation (#626)
Original English string is about "custom emojis" and therefore a better translation is "emojis personalizados". Note that "emoji" is a neologism accepted and understood in Spanish (see e.g. Spanish Wikipedia).
2018-05-03 22:19:50 +02:00
Konrad Pozniak 5cfe6f8fa5
make search find statuses (#613) 2018-04-30 11:30:10 +02:00
nailyk c72619b838 Translates: FR: Update strings (#616)
* Update needed strings.
 * Thanks to @treyssatvincent for the update in #560 !

Signed-off-by: nailyk-fr <nailyk_git@nailyk.fr>
2018-04-30 10:36:54 +02:00
Conny Duck d4425c619a improve item_status_detailed layout for all font sizes 2018-04-29 09:06:26 +02:00
Konrad Pozniak 89f93eab85
Fix SparkButtons (#608)
* fix the SparkButtons

* dont notify adapter after boost/fav
2018-04-28 22:59:46 +02:00
Ivan Kupalov f3c6abdd4d Add expand/collapse button for threads (#609) 2018-04-28 16:17:01 +02:00
Levi Bard 76eae44324 View links to statuses inside Tusky (#568)
* View links to statuses inside Tusky

* Only attempt to open links that look like mastodon statuses

* Add support for pleroma statuses

* Move "smells like mastodon" url check to click handler

* Add bottom sheet to notify users of post query status

* Improve architecture for managing search status

* Push everything into SFragment

* Add external lookup for non-locally-resolved account links

* Clean up copypasta from LinkHelper.setClickableText

* Apply PR feedback

* Migrate bottom sheet wrappers to CoordinatorLayout
2018-04-25 20:04:55 +02:00
Conny Duck 3f71c5495f Release 37 2018-04-23 19:28:11 +02:00
Konrad Pozniak 20033f844a fix emoji & toot size limit caching 2018-04-23 09:26:03 +02:00
Konrad Pozniak d17ff3eb0f fix problems with selectable text in detailed status 2018-04-22 16:34:02 +02:00
Quentí 7dcd5aa21e new Occitan translation (#597)
* [OC] first version of the translation

I'll make more changes soon, so it matches the same wording as in the Mastodon UI.

* Update strings.xml

* Update strings.xml

* Update strings.xml

* Update strings.xml
2018-04-22 12:56:12 +02:00
littlebelgianwriter 797132a643 New Dutch Translation (#593)
* New Dutch Translation

* Update strings.xml

* fix unescaped character
2018-04-22 09:57:36 +02:00
Óliver García Albertos d99a18dc56 strings: Add spanish translations (#590)
* strings: Add spanish translations

I kept more or less the same length as the original english translations so everything should fit, although I'm unable to test them at the moment.
For every string I wasn't sure how to translate I checked it against the web interface equivalent from mastodon.social
For every alert or information provided by the app I used a polite verb form, while keeping casual ones for interactions between users.

* strings: Add missing spanish translation
2018-04-20 17:26:47 +02:00
remi6397 1fdb624b4b Define "free software" (#591) 2018-04-20 17:21:52 +02:00
Conny Duck 7f5f0e8dd8 show error message when instance has no custom emojis 2018-04-17 22:39:55 +02:00
Konrad Pozniak 63ab0ef839
Fix crash in EditProfileActivity on Android 8 (#585)
* fix bug where sometimes mentions where duplicated when replying

* fix for crash on Android 8
2018-04-17 19:25:56 +02:00
remi6397 6ba5017341 Improved consistency of Polish translation. (#578) 2018-04-15 09:38:59 +02:00
aka-rin cf5b810cc5 Update zh-XX Translations (#575)
* i18n: update zh-cn translations.

* i18n: update zh-sg translations.

* i18n: update zh-HK translations.

* i18n: update zh-MO translations.

* i18n: update zh-TW translations.
2018-04-14 16:55:05 +02:00
ButterflyOfFire 6fd27e20ec update arabic translation (#576)
* Add files via upload

* Updating arabic translation

* fix build error
2018-04-14 16:54:31 +02:00
Evgeny Petrov 80e8d8b014 Russian language updated (#574)
* Russian language updated

Please note that I made the translation with [Stringlate](https://github.com/LonamiWebs/Stringlate) so there might be some issues with formatting. Please let me know if any.

* Fixed quotes in <a href> tags
2018-04-14 14:34:01 +02:00
Conny Duck d5e535fe1c update German translation 2018-04-14 14:33:45 +02:00
Marcin Mikołajczak 8b93b4379e i18n: Update Polish translation (#572)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-04-14 08:57:58 +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