Commit graph

109 commits

Author SHA1 Message Date
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
Jan Boddez
433406820a Translated using Weblate (Dutch)
Currently translated at 100.0% (380 of 380 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
2019-06-27 19:17:51 +00:00
jeroenpraat
2a53cc5446 Translated using Weblate (Dutch)
Currently translated at 100.0% (380 of 380 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
2019-06-25 19:19:07 +00:00
jeroenpraat
3235be68dd Translated using Weblate (Dutch)
Currently translated at 100.0% (378 of 378 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
2019-06-25 19:19:07 +00:00
Anonymous
d41f2c46a2 Translated using Weblate (Dutch)
Currently translated at 95.2% (360 of 378 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
2019-06-22 19:55:08 +00:00
Konrad Pozniak
a956061cbf
cleanup unused resources (#1300) 2019-06-02 22:02:03 +02:00
charlag
3f613dc56f Minimal screen reader support for polls 2019-05-26 15:56:26 +02: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
Conny Duck
a5b2d8b813 fix strings 2019-05-05 21:25:11 +02:00
jeroenpraat
b415629ff8 Translated using Weblate (Dutch)
Currently translated at 100.0% (366 of 366 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
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
jeroenpraat
190e019675 Translated using Weblate (Dutch)
Currently translated at 100.0% (365 of 365 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
2019-05-02 16:35:48 +00:00
Anonymous
900d0a8930 Translated using Weblate (Dutch)
Currently translated at 100.0% (365 of 365 strings)

Translation: Tusky/Tusky
Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/
2019-05-02 16:35:47 +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
Weblate
f9350462d1 Update from Weblate (#1162)
* Translated using Weblate (German)

Currently translated at 96.0% (312 of 325 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (325 of 325 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/nl/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (325 of 325 strings)

Translation: Tusky/Tusky
Translate-URL: http://weblate.tusky.app/projects/tusky/tusky/sv/
2019-03-29 18:27:23 +01:00
Conny Duck
f39da46a21 fix string related warnings 2019-03-24 19:37:00 +01: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
db67096e12
New Crowdin translations (#1117)
* New translations strings.xml (German)

* New translations strings.xml (Dutch)

* New translations strings.xml (Czech)

* New translations strings.xml (Czech)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (Swedish)

* New translations strings.xml (French)

* New translations strings.xml (German)

* 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 (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (French)

* New translations strings.xml (Esperanto)

* New translations strings.xml (Esperanto)

* New translations strings.xml (French)

* 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 (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 (Portuguese, Brazilian)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Japanese)

* New translations strings.xml (Italian)
2019-03-11 17:23:13 +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
7f99f936d1
New translations strings.xml (Dutch) (#1063)
* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)
2019-02-19 23:01:20 +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
Conny Duck
90ef078dd0 update media limits for Mastodon 2.5 2018-09-10 10:00:06 +02:00
jeroenpraat
fd378f2e31 Updating Dutch strings for v3 (#761) 2018-08-16 20:37:59 +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
jeroenpraat
21ce92f8da Dutch strings: one extra update (#725) 2018-07-24 19:04:00 +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
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
884f889737 updated Dutch strings (thx to jeroenpraat) 2018-07-08 18:26:09 +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
Conny Duck
3f71c5495f Release 37 2018-04-23 19:28:11 +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
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
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
Conny Duck
08d01e6046 improve german translation, strings 2017-11-30 20:58:56 +01:00
Conny Duck
1351c8b885 move string arrays into string.xml files so they do not get forgotten by translators 2017-11-27 19:47:31 +01:00
Conny Duck
671957da5a title and menu to open toot in browser for ViewThreadActivity 2017-10-28 21:59:33 +02:00
Jeroen
8e92a32c01 Update of Dutch strings (#416) 2017-10-26 18:00:17 +02:00
Conny Duck
256a11aa07 Release 27 2017-10-25 11:13:33 +02:00
Jeroen
35e5a9788a Adding this to Dutch strings too 2017-07-14 19:03:46 +02:00
Jeroen
37f2529fa2 Updating Dutch strings for 1.4 2017-07-14 18:59:00 +02:00
Vavassor
3a4ef00dab Release 1.1.4-beta.4 2017-06-25 17:14:39 -04:00
jeroenpraat
4445251562 Very small fix Dutch strings 2017-04-27 16:48:16 +02:00
Vavassor
ff56a6ca62 Merge branch 'normalize-strings' of https://github.com/alerque/Tusky into alerque-normalize-strings
Conflicts:
	app/src/main/res/values-ja/strings.xml
2017-04-23 17:42:34 -04:00
Vavassor
74d1870a95 fixes typo in merged fix 2017-04-23 17:37:59 -04:00
jeroenpraat
d7f6525386 Small fix: Improved instances example 2017-04-22 15:41:23 +02:00
Caleb Maclennan
bc085f292f
Copy new untranslated strings from EN → NL 2017-04-22 15:30:12 +03:00
Vavassor
681c70d056 Changes the icon for the visibility menu in the composer to match the current visibility. Also, fixes build errors with the dutch translation file. 2017-04-21 01:50:59 -04:00
jeroenpraat
d2232b2327 a bit nuance 2017-04-20 23:35:26 +02:00
jeroenpraat
a1408d0e87 Dutch translation strings 2017-04-20 23:22:39 +02:00