Commit graph

164 commits

Author SHA1 Message Date
Konrad Pozniak
5ef5f91c6d
New Crowdin translations (#1101)
* New translations strings.xml (German)

* New translations strings.xml (German)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Hungarian)

* New translations strings.xml (French)

* New translations strings.xml (Italian)
2019-03-05 19:32:19 +01:00
Konrad Pozniak
2ec17bbb1b
New translations strings.xml (French) (#1054) 2019-02-17 18:35:10 +01:00
Conny Duck
0beeeb0f70 fix inconsistent post_privacy_names strings in translations 2018-12-17 20:54:09 +01:00
Mélanie Chauvel (ariasuni)
5230bd29a6 Fix a lot of easy-to-fix warnings (#957) 2018-12-12 20:28:05 +01:00
ButterflyOfFire
ecd954de0d Update french translation (#924)
Update french translation.
2018-11-19 10:53:15 +01:00
Conny Duck
81bbac9aa7 remove erroneous strings to prevent crashes 2018-11-16 13:57:35 +01:00
Kévin Commaille
7a06ebffad Update and fix french translation (#914) 2018-11-12 21:42:21 +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
ButterflyOfFire
fd782ff172 Improve french translation 2018-10-31 17:04:49 +01:00
Paul
80f485c367 Improve french translation (#887) 2018-10-14 12:58:48 +02:00
Conny Duck
90ef078dd0 update media limits for Mastodon 2.5 2018-09-10 10:00:06 +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
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
Conny Duck
bfa1929365 remove unused strings 2018-06-25 14:55:45 +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
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
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
nailyk
1c711eca22 Translates: FR: Remove unused strings (#632)
* Some strings are gone. Lets remove them.
2018-05-06 20:42:50 +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
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
nailyk
a81f691689 Translates: FR: Do not use plural for follows_you (#537) 2018-03-02 20:53:01 +01:00
Conny Duck
1f9eb41a9a update Tusky urls 2018-02-25 14:51:06 +01:00
nailyk
da54ab5890 Update FR translations (#533)
* Translation: FR: Correct media upload sentences

Signed-off-by: nailyk-fr <jenkins@nailyk.fr>

* Translation: FR: Make follow request sentence innumerable

Signed-off-by: nailyk-fr <jenkins@nailyk.fr>
2018-02-21 22:45:22 +01:00
nailyk
c502e001d7 Translates: FR: Improve translations (#524)
* Add new translate related to multi account,
 * Adjust some translates notification related.

Signed-off-by: nailyk-fr <nailyk_git@nailyk.fr>
2018-02-10 21:13:54 +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
671957da5a title and menu to open toot in browser for ViewThreadActivity 2017-10-28 21:59:33 +02:00
nailyk
3f07e8a9b7 Update FR translate (#408)
* Strings: FR: Update translation

 * Follow is not a good term, replace it by something more relevant.

* Strings: FR: Add missing translates

 * Code string 'saved' is translated 'Drafts' in English.
   Use 'saved' based words in FR however.
2017-10-24 13:09:22 +02:00
Konrad Pozniak
5176fc104d Merge branch 'master' into master 2017-10-16 23:31:39 +02:00
flyingrub
4fb9ee99f6 Add a menu entry to copy the link of a toot
fixes #390
2017-09-25 20:15:04 +02:00
flyingrub
402f696c10 Add feedback when downloading image
fixes #388
2017-09-24 20:57:06 +02:00
Vavassor
6e67db7631 Release 1.1.4-beta.5 2017-07-15 03:56:22 -04:00
Vavassor
3a4ef00dab Release 1.1.4-beta.4 2017-06-25 17:14:39 -04:00
Pangoraw
881a1380b5 Improve french translation. 2017-05-14 11:40:00 +00:00
Paul
17f347cab5 Add loading on login activity while fetching tokens 2017-05-08 11:24:30 +00:00
Vavassor
986e012dcf fixes merge conflicts 2017-05-03 15:16:45 -04:00
nore715
5fb5efe6e9 Update strings.xml
Fix a few grammatical issues to comply with existing rules :
- space before "!" in fr str for "error_compose_character_limit" as in fr str for "footer_empty"
- second part of negation added in fr str for "error_media_upload_opening", "error_media_upload_sending", "error_failed_app_registration" (ne ... pas) as in fr str for "error_empty" and others
- added a period in fr str for "dialog_whats_an_instance"
2017-05-01 12:10:19 +02:00
Poulpette
689c29dbaf Improve French translation
Some typos have been fixed and terminology changes have been suggested.
Also the gender-inclusive marks have been removed: independently
of our personal opinions regarding which sociological features
a written language should or shouldn’t take into account,
the fact remains that interpunct, hyphen, slash and apostrophe
are not admitted characters to highlight the feminine gender
due to the reading issues that would come out of those
graphical modifications. Moreover, those marks do not take into account
accessibility problems either (screen readers, etc.).
Therefore French grammatical rules should logically prevail.
2017-04-30 01:01:27 +02:00
Elarcis
6723bd82fe (untested) Fixed grammatical errors in the french translation
I don't have the necessary SDK for Android apps, however I was able to fix some awful grammatical errors in the french locales. Nuff said.
2017-04-24 19:07:23 +02:00
Caleb Maclennan
61d79ff28e
Correct French spelling per @SkyzohKey's comment in PR review 2017-04-22 15:33:07 +03:00
BOSCH, Cedric
e150e14c1c
Traduction vers le français 2017-04-22 15:33:06 +03:00
Caleb Maclennan
2d913a1cef
Copy new untranslated strings from EN → FR and re-order to match 2017-04-21 11:01:18 +03:00
Vavassor
db021b948b resolve merge conflicts 2017-04-21 01:25:07 -04:00
Michel
bc43f87703 Update strings.xml
Just updated some entries.
But I didn't find translation keys for:
- 'Expand this status'
- 'Report %s'
Do they exist?
Best regards,
cyweo
2017-04-18 21:43:04 +02:00
daycode
2b584249e3 French translation for the visibility panel 2017-04-18 14:27:47 +02:00
Vavassor
69641fcdeb Merge branch 'patch-1' of https://github.com/goofy-bz/Tusky into goofy-bz-patch-1
Conflicts:
	app/src/main/res/values-fr/strings.xml
2017-04-16 19:27:33 -04:00
Vavassor
6527dcc9a5 Merge pull request #154 from Dryusdan/patch-3
Correct mistake and add new translation
2017-04-16 18:57:08 -04:00
goofy-bz
96c4369753 Update strings.xml
various typo fix + changing escaping apostrophes for French typographic apostrophes which are xml compliant.
2017-04-14 22:20:38 +02:00
Dryusdan
424968ff4f Mistake (again...) 2017-04-14 10:59:59 +02:00
Dryusdan
bb9bc42a58 mistake 2017-04-14 10:31:21 +02:00
Dryusdan
8a6aa19f41 Update traduction and use some #153 sentences 2017-04-14 10:22:08 +02:00
Dryusdan
3aa10233e0 Correct mistake and add new translation 2017-04-14 10:06:47 +02:00
BOSCH, Cedric
b1a2761eae Traduction fr
Ajout de "Boost"
2017-04-14 07:33:51 +02:00
BOSCH, Cedric
a5c31b2477 Traduction
Traduction vers le français
2017-04-13 15:13:50 +02:00
ntngrtltr
a15cc0d031 fix unescaped apostrophe 2017-04-06 17:33:06 +02:00
Vavassor
cafe9edfd4 Merge pull request #63 from Dryusdan/patch-2
Forgot one english sentence
2017-04-06 03:12:12 -04:00
Vavassor
a9970ee875 Simplify the error messages and remove unused strings. 2017-04-06 03:09:49 -04:00
Dryusdan
861f8b2cef Forgot one english sentence 2017-04-06 08:37:08 +02:00
Dryusdan
8d378ad29a Make french translation
Reference of #60 issues
2017-04-06 00:22:18 +02:00