Commit graph

707 commits

Author SHA1 Message Date
Thomas Ricouard 47cf849f21 Add scope bar for search in explore screen 2023-07-18 08:52:10 +02:00
Thomas Ricouard 4168c64d20 Add a setting to turn off auto detect language when posting close #1461 2023-07-17 20:39:53 +02:00
Yusuke Arakawa ed5b3d7e0f
Update Localizable.strings (#1501)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-07-14 10:58:57 +02:00
Andrzej Rózga 10caea9d1a
Polish localization update (#1482) 2023-07-09 15:36:25 +02:00
Espen Bye cf930faf41
Updated Norwegian localization (#1484)
* Translate strings to Norwegian

* More translations
2023-07-09 15:36:19 +02:00
Xabi 3c75c40c77
Update EU Localizable.strings (#1478)
Added:
- status.error.posting.title
2023-07-06 09:56:10 +02:00
Jerry da54c933f9
Add localization for Error while posting message (#1472)
* Fix Error while posting message not localized

* Update Localizable.strings files

* Update Traditional Chinese localization
2023-07-05 09:03:28 +02:00
Jerry 7a51c03a9b
Update Simplified Chinese localization (#1473)
Add missing translations

"status.editor.photo-library" = "照片图库";
"status.editor.camera-picker" = "拍照";
"status.editor.browse-file" = "选取文件";
2023-07-05 09:03:11 +02:00
Ico Davids 49a481f6e2
Sharing settings strings (#1477) 2023-07-05 09:03:02 +02:00
Jerry e33dcdf372
Update Simplified Chinese localization (#1453)
* Update Simplified Chinese localization

Translations for Sharing settings

* Update Simplified Chinese localization

Fix translations in Display settings
2023-07-03 07:41:22 +02:00
Andrzej Rózga 8c97c9e1be
Polish localization update (#1447) 2023-06-29 08:54:12 +02:00
Xabi 0fa3fe9e6e
Update EU Localizable.strings (#1448)
Added:
- settings.content.sharing
- settings.content.sharing.share-button-behavior
- settings.content.sharing.share-behavior.link-only
- settings.content.sharing.share-behavior.link-and-text
2023-06-29 08:54:04 +02:00
Jerry 399e807f60
Update Simplified Chinese localization (#1449)
* Update Simplified Chinese localization

* Update Simplified Chinese localization
2023-06-29 08:53:55 +02:00
Xabi 7687a47efa
Update EU plurals (#1451) 2023-06-29 08:53:43 +02:00
Cthulhux 42a07e3bdb
de: Update Localizable.strings (#1443)
translated the Sharing settings
2023-06-27 09:11:15 +02:00
Cthulhux 5cba62dc89
de: Update Localizable.stringsdict (#1444)
For some yet unknown reason, "follower" is "translated" as "Follower" in the standard German UI. So IceCubes will also get that...
2023-06-27 09:11:04 +02:00
Chanhwi Joo 0a47c546d8
Add Korean translations and a missing key for the es locale (#1445)
* Add Korean translations for the share button behavior options

* Add a Korean translation for the new follower label

* Add a missing key for es locale
2023-06-27 09:10:56 +02:00
Thomas Durand 69ab13297f
More compact account list rows (#1442) 2023-06-26 15:54:56 +02:00
Nathan Reed ffe9e7a714
Add setting to control share button default behavior (#1421)
* Add setting to control share button default behavior

This adds a setting to control the behavior of the share button on the status row actions view.
Currently, it always shares the link to the post as well as the post text.
In iOS 16.4, Apple added iMessage unfurling for Mastodon URLs.
When sharing posts from Ice Cubes via iMessage, this leads to the recipient seeing two copies of the post: one from the unfurled link and one from Ice Cubes including the post text.
Users will now have the option to exclude the post text from their sharing.
This is easier than tapping the 3-dots button on the post (which is kind of small) and then expanding the Share menu in the context menu, which is the other way to access this functionality at the
moment.

The default value for the new option will be "Link and Text", which is the current behavior - so we won't change the behavior on existing users.

* Add new strings to other language localizations
2023-06-26 11:45:14 +02:00
sh95014 eb2222cc11
Update zh_Hant localization (#1427)
* checkpoint

* checkpoint

* plurals and a couple of minor fixes

* Update Localizable.strings

* Update Localizable.strings

* Update zh-Hant localizations

* improve translation of "by" in "filtered by"

* update zh-Hant localization
2023-06-26 11:44:54 +02:00
Raphael Monteiro 9e01e6b0f6
Improve Brazilian Portuguese (pt-BR) localization (#1420) 2023-06-05 13:16:16 +02:00
sh95014 5659961036
Update zh-Hant localization (#1381)
* checkpoint

* checkpoint

* plurals and a couple of minor fixes

* Update Localizable.strings

* Update Localizable.strings

* Update zh-Hant localizations
2023-04-15 12:27:54 +02:00
Peter-Josef Meisch fd074f4ca3
Fix broken localization file (#1380) 2023-04-15 12:27:42 +02:00
Yusuke Arakawa ec854cad9e
Update Localizable.strings (#1368) 2023-04-12 18:58:13 +02:00
Xabi 3f3129afc1
Update EU localisation (#1367)
New:
- accessibility.status.media-viewer-action.label
2023-04-12 18:58:06 +02:00
Yusuke Arakawa 67d5c9648f
Update Localizable.strings (#1363) 2023-04-07 18:14:11 +02:00
Vitaly Kovalyshyn 6d6d2c5d08
update ukrainian Localization (#1365)
* update ukrainian Localization

* Fixed incorrect translation
2023-04-07 18:13:54 +02:00
Roberto Pastor 852bc3c1af
Updated spanish translation (#1362)
Co-authored-by: Roberto Pastor <roberto.pastor@cabify.com>
2023-04-06 10:57:00 +02:00
Chanhwi Joo 95469bcc9a
Update Korean localization (#1360) 2023-04-06 10:56:53 +02:00
Andrzej Rózga 57634652df
Polish localization update (#1358) 2023-04-06 10:56:46 +02:00
Ico Davids b9a66552ec
Updated NL localization (#1356)
- 'take photo' in status editor
- translations for untranslated accessibility strings
2023-04-06 10:56:39 +02:00
Cthulhux 4619e73e56
updated de.. (#1357)
* de: updated translation

Fixed 1 typo, translated a couple of remaining strings

* Update Localizable.strings

+1 string
2023-04-06 10:56:30 +02:00
Jerry dc0f72c742
Update Simplified Chinese localization (#1351)
* Update Simplified Chinese localization

Simplified Chinese localization for Accessibility

* Update Simplified Chinese translation

"accessibility.status.media-viewer-action.label" = "打开媒体查看器"
2023-04-06 10:56:23 +02:00
Chris Kolbu 7391c12644
Accessibility fix for Timeline StatusRowView and Status detail (#1355)
* Add StatusRowView accessibility action to open media attachment viewer

Previously, there would be no way to open QuickLook from the timeline.

Now, we add a custom accessibility action to do this.

* Work around initial accessibility focus bug in StatusDetailView

Previously, (due to identity issues?) the focus would be set on the header view. However, moving to the next element in the focus order. would skip over a random number of elements, depending on the context of the detail view.

Now, we manually set the focus once, allowing the focus order to work as intended.

* Respect filters in Timeline combined accessibility label

* Add explicit action to show filtered warnings from `filterView`

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-04-04 08:12:25 +02:00
Ico Davids 4351cec117
Translated accessibility strings for toggles (#1350) 2023-04-04 08:04:07 +02:00
Xabi 0c7adca0cf
Update EU localisation (#1353)
New:
- status.editor.camera-picker
- filter.expired
- filter.expiry-%@
- accessibility.general.toggle.on
- accessibility.general.toggle.off
- accessibility.status.poll.option-prefix-%lld-of-%lld
- accessibility.status.poll.active.label
- accessibility.status.poll.finished.label
- accessibility.status.poll.selected.label
- accessibility.media.supported-type.image.label
- accessibility.media.supported-type.gifv.label
- accessibility.media.supported-type.video.label
- accessibility.media.supported-type.audio.label
- accessibility.status.contains-media.label-%@
- accessibility.status.application.label

Improved:
- account.favorited-by
- account.follow-requests.pending-requests
- account.follow-requests.instructions
- notifications.label.favorite.push

'account.follow-requests.instructions' has been changed to: "*The users above*…" instead of "*Those users*…"
2023-04-04 08:03:58 +02:00
Thomas Ricouard 477dd520b9 Editor: Add Take Photo option close #1339 2023-04-03 13:54:16 +02:00
Chris Kolbu f728ea652e
Accessibility bug fixes (#1348)
* Fix bug affecting accessibillityRepresentation of type Toggle

Previously, the action on the button would not get executed. This is a SwiftUI bug, as views passed into `accessibilityRepresentation` should not have any behaviour.

Now, we set an equivalent `accessibilityValue` on|off to emulate the same functionality.

* Remove conditional ViewModifier in favour of inlined modifier

Since this view is part of the `StatusRowView` it’s better to err on the side of less branching with ModifiedContent<>

* Avoid combining StatusRowMediaPreviewView accessibility children

By combining the elements, the end result was that the intended action (opening QuickLook) was swallowed in favour of displaying the alt text alert of images.
2023-04-03 11:14:44 +02:00
Yusuke Arakawa 00ee8c2373
Update Localizable.strings (#1346) 2023-04-01 15:47:00 +02:00
Yusuke Arakawa 6af794dc72
Update Localizable.strings (#1343) 2023-03-31 15:34:37 +02:00
Andrzej Rózga 501af24cf5
Polish localization update (#1328) 2023-03-30 08:04:28 +02:00
Jerry 1f5960b257
Update Simplified Chinese localization (#1330)
* Line Spacing Chinese localization

* Filter Settings Chinese localization

* Accessibility Chinese localization
2023-03-30 08:04:19 +02:00
Yusuke Arakawa 6c304df78f
Update Localizable.strings (#1333) 2023-03-30 08:04:12 +02:00
Chanhwi Joo c390a2ee10
Update Korean localization (#1335)
* Remove unnecessary comments

* Translate VoiceOver strings

* Read poll options better
2023-03-30 08:04:04 +02:00
J-rg 92a30b7575
Update German localization (#1288) 2023-03-29 09:48:48 +02:00
Jair Henrique 14d86d9b98
Improve pt_BR translations (#1325) 2023-03-28 18:49:39 +02:00
Ico Davids e1e32fdb97
Updated NL localization (#1326)
* Line Spacing

* Post Edit Summary

* Various filter and accessibility strings

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-28 18:49:31 +02:00
Chris Kolbu 9e347c75b9
Timeline & Timeline detail accessibility uplift (#1323)
* Improve accessibility of StatusPollView

Previously, this view did not provide the proper context to indicate that it represented a poll.

Now, we’ve added
- A container that will stay “Active poll” or “Poll results” when the cursor first hits one of the options;
- A prefix to say “Option X of Y” before each option;
- A Selected trait on the selected option(s), if present
- Consolidating and adding an `.updatesFrequently` trait to the footer view with the countdown.

* Add poll description in StatusRowView combinedAccessibilityLabel

This largely duplicates the logic in `StatusPollView`.

* Improve accessibility of media attachments

Previously, the media attachments without alt text would not show up in the consolidated `StatusRowView`, nor would they be meaningfully explained on the status detail screen.

Now, they are presented with their attachment type.

* Change accessibilityRepresentation of AppAcountsSelectorView

* Change Notifications tab title view accessibility representation to Menu

Previously it would present as a button

* Hide layout `Rectangle`s from accessibility

* Consolidate `StatusRowDetailView` accessibility representation

* Improve readability of Poll accessibility label

* Ensure poll options don’t present as interactive when the poll is finished

* Improve accessibility of StatusRowCardView

Previously, it would present as four separate elements, including an image without a description, all interactive, none with an interactive trait.

Now, it presents as a single element with the `.link` trait

* Improve accessibility of StatusRowHeaderView

Previously, it had no traits and no actions except inherited ones.

Now it presents as a button, triggering its primary action.

It also has custom actions corresponding to its context menu

* Avoid applying the StatusRowView custom actions to every view when contained

* Provide context for the application name

* Add pauses to StatusRowView combinedAccessibilityLabel

* Hide `TimelineView.scrollToTopView` from accessibility

* Set appropriate font style on Notification header

After the change the Text needed a `.headline` style to match the prior appearance.

* Fix bug in accessibilityRepresentation of TimelineView nav bar title

Previously, it would not display the proper label for .remoteLocal filter options.

* Ensure that pop-up button nav bar titles are interactive

* Ensure TextView responds to Environment.sizeCategory

This resolves #1309

* Fix button

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-28 18:48:58 +02:00
sh95014 59af600945
zh-Hant localization updates (#1324)
* checkpoint

* checkpoint

* plurals and a couple of minor fixes

* Update Localizable.strings

* Update Localizable.strings
2023-03-28 09:00:02 +02:00
Andrzej Rózga d759bf9ece
Polish localization update (#1322) 2023-03-28 08:59:49 +02:00
Jair Henrique 409437841d
Improve pt_BR translations (#1320) 2023-03-28 08:59:41 +02:00
Chanhwi Joo 9d23e05d49
Add 2 missing localization strings (#1319)
* Add 2 missing localization strings

* Add a Korean translation for the line spacing setting
2023-03-28 08:59:31 +02:00
Xabi c498ab9b2d
Update EU localisation (#1315)
Added:
- settings.display.font.line-spacing-%@
- status.summary.edit-history

Improved:
- settings.display.navigation-title
- settings.general.display
- settings.general.translate
- settings.translation.navigation-title
2023-03-28 08:59:22 +02:00
Yusuke Arakawa 942dfa1de7
Update Localizable.strings (#1317) 2023-03-28 08:59:13 +02:00
Cthulhux 9e0c77a48f
Update Localizable.strings (#1314) 2023-03-28 08:59:03 +02:00
Thomas Ricouard 92e15fdcc9 Settings: Add line spacing option which apply to only posts content for now 2023-03-26 18:51:15 +02:00
Jerry d35de0013c
Update Simplified Chinese localization (#1307) 2023-03-26 14:19:42 +02:00
Andrzej Rózga a0fa559d60
Polish localization update (#1305) 2023-03-26 10:17:49 +02:00
Cthulhux 69e3f798bb
Update Localizable.strings (#1306) 2023-03-26 10:17:43 +02:00
Cthulhux 2d5f096887
Update Localizable.strings (#1298) 2023-03-25 17:16:44 +01:00
Xabi 6ecc56f39a
Update Basque localisation (#1300) 2023-03-25 17:16:36 +01:00
Chanhwi Joo 50ce63e800
Update Korean localization (#1301) 2023-03-25 17:16:29 +01:00
Chanhwi Joo 3d63ea4642
Make "Edit History" navigation title localizable (#1302) 2023-03-25 17:16:22 +01:00
Yusuke Arakawa 3c26b7fceb
Update Localizable.strings (#1303) 2023-03-25 17:16:13 +01:00
Chris Kolbu b2f594f174
Accessibility tweaks + Notifications and Messages tab uplift (#1292)
* Improve StatusRowView accessibility actions

Previously, there was no way to interact with links and hashtags.

Now, these are added to the Actions rotor

* Hide `topPaddingView`s from accessibility

* Fix accessible header rendering in non-filterable TimelineViews

Previously, all navigation title views were assumed to be popup buttons.

Now, we only change the representation for timelines that are filterable.

* Combine tagHeaderView text elements

Previously, these were two separate items

* Prefer shorter Quote action label

* Improve accessibility of StatusEmbeddedView

Previously, this element would be three different ones, and include all the actions on the `StatusRowView` proper. Now, it presents as one element with no actions.

* Add haptics to StatusRowView accessibility actions

* Improve accessibility of ConversationsListRow

This commit adds:
- A combined representation of the component views
- “Unread” as the first part of the label (if this is the case)
- All relevant actions as custom actions
- Reply as magic tap

* Remove StatusRowView accessibilityActions if viewModel.showActions is false

* Hide media attachments from accessibility if the view is not focused

* Combine NotificationRowView accessibility elements; add user actions

Previously, there was no real way to interact with these notifications.

Now, the notifications that show the actions row have the appropriate StatusRowView-derived actions, and new followers notifications have more actions that let you see each user’s profile.

* Prefer @Environment’s `accessibilityEnabled` over `isVoiceOverRunning`

This way we can cater for Voice Control, Full Keyboard Access and Switch Control as well.

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-24 07:52:29 +01:00
Yusuke Arakawa 9746eb7674
Update Localizable.strings (#1295) 2023-03-23 17:32:06 +01:00
Roberto Pastor 776a51734f
Updated spanish translation (#1294) 2023-03-23 17:31:48 +01:00
Jerry 0ec94c6cc4
Update Simplified Chinese localization (#1293) 2023-03-23 17:31:40 +01:00
Xabi e32749851e
Update Basque plurals (#1286) 2023-03-21 06:25:10 +01:00
Xabi a562c22aee
Update Basque localisation (#1285) 2023-03-21 06:25:03 +01:00
Ico Davids c14bd26e3a
Accessibility strings (#1284) 2023-03-21 06:24:54 +01:00
Roberto Pastor 6f0e466954
Updated spanish translation (#1283) 2023-03-21 06:24:50 +01:00
Cthulhux cc8d63e656
Update Localizable.strings (#1282) 2023-03-21 06:24:43 +01:00
Cthulhux af245da273
de: translated the whole lot of new strings (#1279)
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-20 06:36:31 +01:00
Andrzej Rózga e066ef8dc9
Polish localization update (#1280)
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-20 06:35:47 +01:00
Yusuke Arakawa 8f09841f96
Update Localizable.strings (#1281)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-20 06:35:14 +01:00
Chris Kolbu eab69ce9fa
Timeline tab accessibility uplift (#1277)
* Refine Profile tab VoiceOver order to prioritise user information

Previously, VoiceOver user would have to traverse through header image, “follows you”, and the profile image before getting to the display name of the user.

Now, this element is the first element after the navigation bar.

* Add accessibility label to Timeline Compose post button

Previously, this button was using the SF symbol fallback label.

Now, it has a localized equivalent in addition to two other options: “New”, and “Create”

* Change accessible representation of Timeline nav bar menu

Previously, this would present as a static text.

Now, it has the header trait. In addition, by changing the representation, VoiceOver will read it out as “Home, Pop-up button, Header”, indicating that it opens a menu.

* Add accessibilityHint to Timeline tab Accounts selector

* Add accessibilityLabel and hint to PendingStatusesObserver

Previously, this button would have a label equal to the count of unread posts. Now, it states “X new posts” with the hint “Scrolls the timeline”
2023-03-20 06:33:42 +01:00
Chris Kolbu 9a6b2129b2
Profile tab accessibility uplift (#1274)
* Combine `joinedAtView` into one accessibility element

Previously, the calendar image was visible with a nonsensical label.

We use the `.combine` operator here to maintain the proper string formatting of the date.

* Improve the accessibility of the AccountDetailHeaderView

Previously, this image had no description and no indication that it had an associated interaction. Now, we wrap it in a button that performs the tap gesture action, and remove the element altogether if there is no avatar image set.

This commit also handles the checkmark for supporter users

* Tweak accessibility of Profile CustomInfoLabels

This commit:
- Reverses the order of title and value
- Sets the value as an `accessibilityValue`
- Adds a hint indicating what the button does, as they perform slightly different actions

* Make Profile tab header image into a Button

This element has an action associated with it (quicklook), so it makes more sense to have it as a button, and hide it if the user does not have an image set.

Without the action it would have been considered decorative and should be hidden.

* Change accessibilityLabel of Profile tab nav bar item to ‘Options’

“More” is considered overly generic.

This commit also adds two additional user input label options

* Add accessibility labels for the Profile tab `Picker`

Previously, these labels were the default accessibility label provided by the SF symbol, that almost, but not quite, made sense

* Remove StatusRowView swipe actions if VoiceOver is running

These swipe actions are automagically added to the accessibility element’s custom actions, in addition to the ones already there, which means that there is a significant (and confusing) amount of doubling up going on.

* Fix typo in StatusRowView.accessibilityActions

* Add accessibilityLabels to all StatusRowActionsView actions

* Provide explicit combined accessibility label for unfocused StatusRowView

Previously, this was a synthesized label, which read the elements in their traversal order, and didn’t provide any context for which of the three numbers corresponded to replies, boosts or favourites.

Now, we create an explicit combined label when the post isn’t being viewed by itself.

* Improve accessibility of StatusRow(Reblog|Reply)View

They are now combined elements and don’t vend the icon as its own element.

* Add missing punctuation to accessibility hints

* Remove interaction from Profile tab @username and profile note elements

These elements open the profile photo url, which is already provided explicitly through the profile photo

* Prefer spoiler warning for StatusRowView accessibility label

…but place the full, unredacted content in an `AccessibilityCustomContent` field for easy access.

Additionally, if VoiceOver is running, an action to expand the warning is also available.

* Represent `FollowButton` elements as Toggles to accessibility

Since these buttons have two states (though arguable in the case of following, but handled here by not changing the representation if a request is pending), it makes sense to handle them as toggles, so they will be read as “Following, On, <Trait>”

* Remove errant comment

* Add “Verified” accessibilityValue to profile fields

* Fix bug StatusRowView default action bug affecting VoiceOver users

Previously, the default (‘Activate’) action for VoiceOver users would be to share a link to the toot, rather than navigate to its detail. It’s hard to say exactly what caused this, but the root was the inclusion of the `contextMenu` in the `accessibilityActions`.

Now, double-tapping on a a non-focused `StatusRowView` will take you to the toot detail.

* Add header trait to Profile tab display name and familiar followers

These stand out as being header-like in presentation and represent the beginning of specific parts of the screen.

* Add conditional accessibility modifier to Profile tab user-defined fields that opens the correct link

* Add accessibility container that contextualises the user-defined fields

When VoiceOver users first enter a user-defined field, the container label will be read out before the element’s spoken description.

* Improve StatusRowView combined accessibility label

It will now start with:

“X boosted Y”, “X replied to @Y”, or “X…” depending on the context of the toot.

* Change familiar follows thumbnail to a Button; add display name as accessibility label

Previously, this button had no context, and would just be a series of images with nothing to allow users to disambiguate them.

* Revert changes from ZStack with tap gesture to Button

Using a Button for this purpose caused high weirdness in tap zones. Basically everything down to the familiar followers triggered both image buttons.

* Add image alt text to StatusRowView and StatusRowMediaPreviewView

Previously, there was no way for the intended audience for the alt text to find said text. There is a tap gesture on each image in the focused status row, but this is not advertised to the user.

Now, the first image’s alt text is read as part of the non-focused, combined representation, and each image has its own alt text attributed in the focused representation.

* Add Profile tab accessibility labels to indicate private/bot/muted/blocked accounts

Previously, the icon did not have any accessible representation (an empty text string).

* Add header trait to Profile “pinned post”

* Use the Account.Field.name for the user input label

* Replace spaces with commas in StatusRowView.combinedAccessibilityLabel
2023-03-19 16:27:18 +01:00
Jerry a08587643d
Update Simplified Chinese localization (#1265) 2023-03-19 06:45:40 +01:00
Andrzej Rózga 09dc56fcd3
Polish localization update (#1271) 2023-03-18 14:08:54 +01:00
Cthulhux 7d8516474c
de: translated AI strings (#1261) 2023-03-18 06:02:20 +01:00
Xabi 68f1a3e47d
Update Basque localisation (#1262) 2023-03-18 06:02:14 +01:00
Yusuke Arakawa 072c980157
Update Localizable.strings (#1263) 2023-03-18 06:02:06 +01:00
Chris Kolbu 4d588e4a18
Compose Post Screen Accessibility Tweaks (#1259)
* Add localized label for the AI prompt status accessory view

Previously, this icon would have an accessibility label matching its SF symbol key, ‘faxmachine’.

* Darken status editor character count foreground color

By changing it to .secondary, it gets to an APCA contrast of 61, which is a _just_ passing Bronze score for that text size.

It’s still quite short of WCAG 2.1 AA at 3.3:1 (recommended is 4.5:1)

* Change remaining character count color to red when < 0

* Refine remaining character count accessibility

In this commit, we
- Change its trait to `.updatesFrequently`
- Set a localized `accessibilityLabel`
- Set its `accessibilityValue` to the remaining character count
- Disable user interaction (which is presumably set automatically by virtue of being enclosed in a `Menu`)

* Set accessibilitySortPriority on Status editor ScrollView

Previously, the traversal order placed the elements inside the `ScrollView` last. Now, they follow on from the navigation bar contents in the expected order.

* Hide the AvatarView from status creation accessibility

When there is only one account available, there is no functionality associated with this element, so it is considered decorative-only, and should be hidden

* Set TextView placeholder’s `accessibilityValue` to placeholder text when empty

This behaviour matches `UITextField`

* Hide TextView custom `placeholderView` from accessibility

Previously, TextView would vend two accessibility elements when the placeholder was visible. This causes needless confusion for users.

Now, the TextView matches the accessible behaviour of text inputs elsewhere.

* Improve accessibility of post `privacyMenu`

Previously, it would be presented as `Everyone, Button`. Now, we move the visibility to its `value` and use `Visibility` for its label, in conjunction with a hint that states it `Changes post audience`.

* Add `.button` trait and accessible label to emojis in `customEmojisSheet`

Previously, these would all present as `image` with no description, making it very hard to discern what kind of emoji you were adding.

* Change drafts sheet item type to `Button`

A button with an action has a more accessible representation than a `Text` with a tap gesture.
2023-03-17 06:39:31 +01:00
Ico Davids 5ef39e7a09
Add navigation title to the Translation Settings view (#1257) 2023-03-17 06:06:09 +01:00
Yusuke Arakawa ae51ea0c1c
Update Japanese Localizable.strings (#1255)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-03-16 07:08:29 +01:00
Chanhwi Joo 1a4d552e06
Update Korean localization (#1252) 2023-03-15 14:58:58 +01:00
Cthulhux 8803f1524a
de: fixed grammar (#1247) 2023-03-15 07:06:51 +01:00
Andrzej Rózga aa72c35718
Polish localization update (#1249) 2023-03-15 07:06:40 +01:00
Xabi 62438d669f
Update Basque localisation (#1250) 2023-03-15 07:06:32 +01:00
Jerry e52a3c0416
Update Simplified Chinese localization (#1251) 2023-03-15 07:06:24 +01:00
Paul Schuetz baf853f46e
Add the ability to translate using deepl even if the instance offers its own service (#1237)
* Allow forced translation with DeepL

Translation with DeepL can now be forced either per post or on the system level.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Require the use of a private API key

A private API key of the user is now required to allow "always translate via
DeepL".

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Persist a stored API key

An API key is stored even if useOnlyDeepL is disabled. If the API key is empty,
the setting is still disabled.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Localize the texts

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Save API key while writing

The API key is now saved, even if the app is closed before leaving the
translation settings view.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Fix build

* Fix theme

* Transition to KeychainSwift, clean up

KeychainHelper is replaced with the already-used KeychainSwift package, the
functions are cleaned up so that the process is easier to understand. The
deactivateToggleIfNoKey function doesn't change the behavior of the buttons or
context menus in the timeline, only demonstrates the necessity of an API key to
the user. Consequently, it's only called when the settings view is shown.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Swiftformat + fixes

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-14 18:50:19 +01:00
Vitaly Kovalyshyn f263c57858
update uk localizations (#1244) 2023-03-14 12:17:14 +01:00
Ico Davids c818dbf744
Updated NL localization (#1238) 2023-03-14 07:22:44 +01:00
Yusuke Arakawa c56ef64f55
Update Localizable.strings (#1223)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-03-11 14:42:49 +01:00
Cthulhux 0db1b889b4
Update Localizable.strings (#1225) 2023-03-11 14:42:42 +01:00
Jerry 0d2454886e
Update Localizable.strings (#1213) 2023-03-11 07:22:00 +01:00
Chanhwi Joo b574cdfbda
Update Korean localization (#1216) 2023-03-11 07:21:52 +01:00
Andrzej Rózga 77468d4560
Polish localization update (#1218) 2023-03-11 07:21:39 +01:00
Xabi 45b9d2886e
Update Basque localisation (#1219) 2023-03-11 07:21:30 +01:00
Thomas Ricouard 9057740162 Add upload from file browsing + better compression for images 2023-03-10 18:22:45 +01:00
Xabi fd8906ecd5
Undo last changes (EU plurals) (#1211) 2023-03-10 07:12:01 +01:00
Jerry 7b646c770a
Update Simplified Chinese localization (#1212) 2023-03-10 07:11:50 +01:00
Cthulhux 21363d1bdf
de: translated #tags (#1202) 2023-03-09 20:36:01 +01:00
Yusuke Arakawa cbe7d8e8af
Update Localizable.strings (#1203) 2023-03-09 20:35:53 +01:00
Andrzej Rózga 498d6b950e
Polish localization update (#1204) 2023-03-09 20:35:40 +01:00
Ico Davids 25925f11d7
Updated NL localization (#1205)
* Updated NL localization

* Updated NL localization
2023-03-09 20:35:32 +01:00
Xabi 58e4a8df49
Update Basque localisation (#1208)
New:
- status.editor.ai-prompt.add-tags
- status.editor.ai-prompt.insert-tags
2023-03-09 20:35:23 +01:00
Thomas Ricouard 93d9ded447 Switch to new Chat completion API + Add Tags completion 2023-03-09 13:46:04 +01:00
Xabi eaaa8cd1c9
Update Basque plurals (#1189)
New:
- tag.suggested.mentions-%lld

Edited:
- notifications-others-count %lld
- notifications.label.favorite %lld
- notifications.label.follow %lld
- notifications.label.mention %lld
- notifications.label.reblog %lld
(they were ok in 1.6.3, just trying to improve it)
2023-03-07 07:05:10 +01:00
Xabi 0e3493bdb8
Update Basque localisation (#1190)
Moved to plurals:
- tag.suggested.mentions-%lld [not needed here anymore]

Edited:
- enum.durations.custom [capitalisation]
- settings.general.browser.in-app [shortening]
- settings.general.browser.system [shortening]
2023-03-07 07:05:02 +01:00
Andrzej Rózga b0ee77caed
Polish localization (#1174)
* Fixed problem with with the translation of "mentions" in plural form
- Localizable.stringsdict needs a digit (not string) to make a choice of a correct plural form.
- fixed StatusEditorAutoCompleteView
- changed %@ format specifier in Localizable.strings with %lld

* Polish localization update

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-06 07:07:35 +01:00
Xabi af63692afa
Update Basque localisation (#1179)
New:
- enum.durations.custom
- tag.suggested.mentions-%@

Fixed:
- notifications.label.status
- status.editor.mode.reply-%@
- filter.action.warning
2023-03-06 07:06:08 +01:00
Xabi 2a95678b4f
Update Basque plurals (#1178)
I seem to be unable to get plurals right but I want to believe I'm getting close 😉
2023-03-06 07:06:00 +01:00
sh95014 310a5fba99
Traditional Chinese (zh-Hant) localization (#1170)
* checkpoint

* checkpoint

* plurals and a couple of minor fixes
2023-03-05 07:25:34 +01:00
Chanhwi Joo 07231d0e14
Update Korean localization (#1173) 2023-03-05 07:23:18 +01:00
Ico Davids 0483c28f80
Updated Dutch localization (#1166)
- Mentions of suggested tags
2023-03-05 07:22:48 +01:00
Jerry f1cff5514e
Update Localizable.strings (#1162) 2023-03-05 07:22:40 +01:00
Yusuke Arakawa 1af66896f9
Update Localizable.strings (#1160) 2023-03-04 17:10:14 +01:00
Stian Øverbye 60fb706eec
Minor language fix (#1161) 2023-03-04 17:09:57 +01:00
Cthulhux 546167b461
de: new string.. (#1164) 2023-03-04 17:09:44 +01:00
Thomas Ricouard 761c8ed3be Composer: Sort suggested tags by usage + display it 2023-03-04 09:50:13 +01:00
Andrzej Rózga 0589c7f84e
Polish localization update (#1153) 2023-03-04 06:09:23 +01:00
Cthulhux a5845311f0
de: quick update for the new string... (#1154)
In a series of unfortunate circumstances, my previous commit was too late for the additional string. Here it is. ;-)
2023-03-04 06:09:16 +01:00
Xabi ff4f50cef5
Update Basque plurals (#1148) 2023-03-03 20:10:51 +01:00
Xabi d07265c9f2
Update Basque localisation (#1149) 2023-03-03 20:10:40 +01:00
Ico Davids b11fc6b725
Dutch localization update (#1150) 2023-03-03 20:10:30 +01:00
Yusuke Arakawa 636cf54b61
Update Localizable.strings (#1145) 2023-03-03 18:22:16 +01:00
Cthulhux e166881e67
de: +2 strings (#1146) 2023-03-03 18:22:08 +01:00
Xabi 9b64326f48
Update Basque localisation (#1147)
New:
- settings.display.colors.apply
- settings.display.theme.text-color
- filter.edit.expiry
- filter.edit.expiry.date-time
- filter.edit.expiry.duration

Edited:
- notifications.label.poll
2023-03-03 18:22:00 +01:00
Thomas Ricouard deae0930b1 Add web account settings button 2023-03-03 18:21:52 +01:00
Peter-Josef Meisch db5d0b9274
Display and edit filter expirations (#1141) 2023-03-03 08:15:34 +01:00
Thomas Ricouard eea6d93dd5 Add customization of text color close #385 2023-03-03 08:12:01 +01:00
Thomas Ricouard 10eeb39241 Fix laggy color picker close #1082 2023-03-03 07:24:00 +01:00
Jerry a3b277affb
Update Simplified Chinese localization (#1144)
* Update Localizable.strings

* Update Localizable.strings

* Update Localizable.strings

Co-authored-by: nixzhu <zhuhongxu@gmail.com>

---------

Co-authored-by: nixzhu <zhuhongxu@gmail.com>
2023-03-03 07:04:58 +01:00
Cthulhux 8adeacc066
de: translated supporter strings (#1134) 2023-03-03 06:04:41 +01:00
Andrzej Rózga ff0f256b88
Polish localization update (#1135) 2023-03-03 06:04:34 +01:00
Roberto Pastor 79b5e2f940
Fixed typos and updated spanish translation (#1137) 2023-03-03 06:04:26 +01:00
Chanhwi Joo d65266fc45
Update Korean localization (#1143) 2023-03-03 06:04:18 +01:00
Xabi 3c047c9bb5
Update Basque localisation (#1129)
New:
- settings.support.supporter.title
- settings.support.supporter.subtitle
- settings.support.supporter.subscribed
- settings.support.supporter.subscription-info
- settings.support.restore-purchase.button
- settings.support.restore-purchase.explanation
- settings.support.privacy-policy
- settings.support.terms-of-use
2023-03-02 06:30:49 +01:00
Yusuke Arakawa f0c156a098
Update Localizable.strings (#1133) 2023-03-02 06:30:40 +01:00
Gian Luca Dalla Torre beaf014c31
Italian Localization Update (#1128)
Get ready for 1.6.0!
2023-03-01 21:14:46 +01:00
Andrzej Rózga 1581beef42
Polish localization update (#1126) 2023-03-01 20:08:09 +01:00
Ico Davids 6f6c0eb29b
Dutch localization update (#1127)
- Sound Effects
2023-03-01 20:08:02 +01:00
Thomas Ricouard 81f3db733b Add supporter subscription + supporter badge 2023-03-01 20:07:40 +01:00
Xabi 38a292052a
Update Basque localisation (#1115)
New:
- settings.other.sound-effect
2023-03-01 06:34:21 +01:00
Yusuke Arakawa 527a7c1e33
Update Localizable.strings (#1123) 2023-03-01 06:30:39 +01:00
Cthulhux 57197b9e9a
Update Localizable.strings (#1111) 2023-02-28 21:54:39 +01:00
Vitaly Kovalyshyn 9309514c3b
uk: +Sounds; +Metadata; +bonus (#1112) 2023-02-28 21:54:30 +01:00
Chanhwi Joo ecfc82c371
Update Korean localization (#1103) 2023-02-28 21:11:25 +01:00
Vitaly Kovalyshyn 70f0ed9306
Ukrainian localization: some small improvements (#1104)
* Ukrainian localization: some small improvements

* ai-prompt fixes
2023-02-28 21:11:17 +01:00
Thomas Ricouard a3e2d3f8b3 Add sound effects 2023-02-28 18:55:08 +01:00
Jerry d39ff54544
Update Simplified Chinese translations (#1093)
* Update Localizable.strings

* Update settings.content.collapse-long-posts-hint
2023-02-27 18:42:12 +01:00
Ico Davids de5fcec3c2
Dutch localization update (#1095) 2023-02-27 18:42:04 +01:00
Cthulhux 9f026fbc42
de: translated three new strings (#1084) 2023-02-27 06:37:56 +01:00
Andrzej Rózga 90fce88ad7
Polish localization update (#1086) 2023-02-27 06:37:23 +01:00
Xabi 0097c3e895
Update Basque localisation (#1089)
New strings:
- settings.content.collapse-long-posts
- settings.content.collapse-long-posts-hint
- status.show-full-post
2023-02-27 06:37:16 +01:00
Yusuke Arakawa 482bc1253c
Update Localizable.strings (#1083) 2023-02-26 19:04:13 +01:00
Peter-Josef Meisch 3a144b7792
collapse long posts (#1037) close #914
* collapse long posts

* initialize user pref setting in init(), remove onAppear and onChange(pref) from view

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-26 17:32:09 +01:00
Andrzej Rózga 4bae04e36e
Polish localization update (#1074) 2023-02-26 17:19:03 +01:00
Chanhwi Joo 9ff3a294ea
Update Korean localization (#1078) 2023-02-26 17:18:50 +01:00
Jair Henrique bcb2036b6b
Improve pt-BR localization (#1079) 2023-02-26 17:18:44 +01:00
Xabi cc174ddbd6
Update Basque localisation (#1081) 2023-02-26 17:18:37 +01:00
Yusuke Arakawa 47bd92cd75
Update Localizable.strings (#1071) 2023-02-26 09:01:42 +01:00
Ico Davids 242998799a
Dutch localization update (#1067) 2023-02-26 06:46:09 +01:00
Paul Schuetz 06629cc397
Enhance the context menu for private messages (#1053)
* Enhance the message context menu

A direct message can now directly be bookmarked, the author can be publicly
mentioned and reported.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Add options to the conversation list context menu

Since the latest message is shown in the conversation list, the user can now
interact with this message via the context menu similar to the messages in the
conversation history.
The "conversation" class had to be modified since
bookmarking and liking a message would have led to a race condition (depending
on the server) when fetching the conversations afterwards, so the only affected
the message is now immediately updated.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Remove child view models

The child views models are removed, and the list row now only uses the conversation
object managed by the list view model.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Make unmodified var let

The last state-var of a conversation isn't modified, instead, a new conversation
is created. Therefore, the var is now a let.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-02-26 06:45:31 +01:00
nixzhu 250730be42
Update Simplified Chinese localization (#1027)
* Update some translations

* Update two translations
2023-02-25 07:42:39 +01:00
Andrzej Rózga a125b71f34
Polish localization update (#1049) 2023-02-25 07:42:30 +01:00
Xabi 3ce1a7f038
Update Basque localisation (#1052)
added missing strings:
- settings.section.cache
- settings.cache-media.clear
- account.edit.metadata-section-title
- account.edit.metadata-name-placeholder
- account.edit.metadata-value-placeholder
- account.edit.add-metadata-button

fixed typo:
- settings.display.section.font

replaced:
- status.action.translate
- status.action.translate-from-%@
- status.action.translated-label-%@
with
- status.action.translate
- status.action.translated-label-%@
- status.action.translated-label-from-%@-%@
2023-02-25 07:42:23 +01:00
Cthulhux 08930a8061
de: new strings.. (#1048) 2023-02-24 18:53:03 +01:00
Yusuke Arakawa 1c2968f976
Update Localizable.strings (#1041) 2023-02-24 18:52:55 +01:00
Thomas Ricouard b47eaac9e7 Fix fr localization typo 2023-02-24 08:28:00 +01:00
Thomas Ricouard 096e42b1c2 Profile edit: Add metadata editing 2023-02-24 07:55:24 +01:00
Yusuke Arakawa a14e1b5417
Update Localizable.strings (#1039)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-02-24 06:45:21 +01:00
Thomas Ricouard cdbfd5db00 Settings: Add an option to clean media cache 2023-02-23 18:43:09 +01:00
Jair Henrique 62afbc5ea6
Improve pt-BR localization (#1025) 2023-02-23 08:05:39 +01:00
Kum Hathaway efaa21414e
Update Localizable.strings (#1028)
Just an update
2023-02-23 08:05:28 +01:00
Vitaly Kovalyshyn 27a3d34c94
- Improved ukrainian localization; (#1030)
- Added missed labels.
2023-02-23 08:05:16 +01:00
Xabi 76556f4e83
Updated Basque localisation (#1017) 2023-02-22 22:13:09 +01:00
Ico Davids d54ffbac8f
Update nl localization (#1018) 2023-02-22 22:12:31 +01:00
Xabi 0746f409b8
Updated Basque plurals (#1019) 2023-02-22 22:12:22 +01:00
Jair Henrique b927c680d7
Improve pt-BR localization (#1022) 2023-02-22 22:11:53 +01:00
Andrzej Rózga ea8df7ffa4
Polish localization update (#1023) 2023-02-22 22:11:43 +01:00
Emmanuel Netter 78a02d03b6
Updated french translation (#1024) 2023-02-22 22:11:37 +01:00
Paul Schuetz 4af78478ba
Don't show the source-language before translating (#1008)
* Clear up the translate-button

The Translate button on the post and in the context menu now does not show the
source language to avoid user confusion if the language set by the poster is
not the actual language of the post. This language is now only used to decide
whether to display the button in the main view. The Translate button in the
context menu is independent.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Show the translation-source-language

The source-language of a translation is now shown.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Remove unused strings

The now unused translate-from-strings are removed.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-22 19:03:05 +01:00
Cthulhux 0831d64865
Update Localizable.strings (#1014)
more strings -> de...
2023-02-22 18:58:11 +01:00
Chanhwi Joo 0507ee6ccc
Use proper casing for en-GB localization (#1010) 2023-02-22 18:57:03 +01:00
Vitaly Kovalyshyn bc58fe95bb
Ukrainian language: First version (#1004)
* Ukrainian language: First version

* Ukrainian localization. Fixed misspelling.

* Fixes

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-22 18:56:18 +01:00
Thomas Ricouard 4b40678931 Add a new context menu action to copy link 2023-02-22 18:49:32 +01:00
Yusuke Arakawa 00e7f29a11
Update Localizable.strings (#998) 2023-02-22 12:49:56 +01:00
Vincent Tourraine 76b8de1dad
Clean up settings capitalization (#1000)
Update EN Localizable.strings to follow title-style capitalization
2023-02-22 12:49:28 +01:00
Chanhwi Joo c1d2b28919
Update Korean localization (#1001) 2023-02-22 12:49:16 +01:00
Ico Davids 874403eca6
Dutch localization update (#1002)
* Dutch localization update

* Use 'stemmers' instead of 'personen'

* Slightly improve 'boosted' status
2023-02-22 12:49:09 +01:00
Roberto Pastor 8731b6514e
Updated spanish localization (#1003)
Co-authored-by: Roberto Pastor <roberto.pastor@cabify.com>
2023-02-22 12:49:01 +01:00
Thomas Ricouard 4576507225 Added a new Medium media style 2023-02-22 07:26:32 +01:00
Ico Davids 678f6f0cdd
Redesigned swipe actions settings (#937)
* Redesigned Swipe Action Settings screen

* Add TODO comments

* Redesigned Swipe Action Settings screen

* Redesigned Swipe Action Settings screen

* Add EN localization strings for primary/secondary

* Consolidate left/right swipe actions into one section

* Switch to targeted Swift concurrency warnings + fix them

* Polish localization update (#936)

* Updates to Dutch localization: (#935)

* de: translated the notes feature (#933)

* Fix 1 line note in centre (#938)

* Sort lists alphabetically in ListAddAccountView (#943)

* Optimize viewId (#942)

* Update Localizable.strings (#941)

Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>

* Update Nuke (#940)

* Remove Sendable conformance on Client as it's not needed

* Profile: Show about fields inline

* Added a tip that it's a video, and not an image when autoplay is off (#939)

* Added a tip that it's a video, and not an image when autoplay is off

* Centered - bigger version of the video tip

* Share post as image close #885

* Honour in app browser settings when opening profile about fields

* Fix threading UI

* More tweak to capture mode

* Update Localizable.strings (#948)

* Update Localizable.strings (#946)

Translated..

* Updated EmojiText to 2.x (#944)

Interface used by IceCubeApp has not changed from 1.x to 2.x
Looking at the library diff shows new features like SFSymbol powered emojis. Not like we're going to make use of that
https://github.com/divadretlaw/EmojiText/compare/v1.2.0...2.0.2

* Bump to 1.5.5

* Polish localization update (#949)

* Optimize avatar view (#950)

* Reduce AvatarPlaceholderView body calls

* Resize avatars

* Reworked post header view + add option to hide server name from username

* Better header spacing

* Further improvement to the post header

* Polish localization update (#954)

* Update Localizable.strings (#953)

* Show post header thread icon more consistently

* Fix post header

* Fix threading UI

* Fix trending refresh

* de: 1 new string -> translated (#955)

* Update Simplified Chinese Translation (#926)

* Update Korean localization (#957)

* Trim whitespace and newlines in instance rules list (#956)

* Fix theme not being applied live on status row close #961

* Update some translations (#959)

* Add indicator for bots accounts

* Bump to 1.5.6

* Fix status actions on boosting posts (#974)

* Fix context menus for boosts

* Allow my boost of my followers-only post

* Disable boost context menu on posts can't be boosted and show different string for boosting my own private post

* Localizations

* CR

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>

* Fix crash when opening account details (#972) close #918

* Tweak the theme selector view (#975)

Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>

* Change the Content Settings icon to match the timeline icon again. (#969)

* Fix display of multiple vote polls (#967)

Closes #952

* Updates to Dutch localization (#966)

* Font picker consistency (#960)

* Put SF Rounded into the popup menu with Hyperlegible & Dislexia

* Remove SF Rounded Toggle

* Fix In-App Safari (#945)

* Fix In-App Safari

* Open SFSafariViewController in a separate window

* Swiftformat

* Optimize custom font

* Fix a localization + make the ... menu zone bigger

* Update Localizable.strings (#976)

* Fix Equatable impl for Status and Account (thanks class)

* Make secondary column available on any size + add a toggle + faster macOS window resize

* Bigger secondary column width

* Composer: Fix swipe to dismiss

* Composer: Better ALT editing UI

* updates for Basque (#983)

added missing translations and small fixes

* Updated spanish localization (#982)

Co-authored-by: Roberto Pastor <roberto.pastor@cabify.com>

* Polish localization update (#980)

* Update Localizable.strings (#979)

More strings

* Singularize enum type names (#978)

* Fixes for composer and DM

* Remove padding

* Rename settings.swipeactions.status.icon-style

* Remove unused left/right localizable strings

* Add settings.swipeactions.appearance

* Add settings.swipeactions.status.explanation

* Add settings.swipeactions.primary and settings.swipeactions.secondary

* Add settings.swipeactions.use-theme-colors and settings.swipeactions.use-theme-colors-explanation

* Dutch localization update

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
Co-authored-by: Andrzej Rózga <53080024+AndrzejRozga@users.noreply.github.com>
Co-authored-by: Cthulhux <github@tuxproject.de>
Co-authored-by: Sean Goldin <EvilOne@users.noreply.github.com>
Co-authored-by: David Davies-Payne <d2p@me.com>
Co-authored-by: Alex Grebenyuk <grebenyuk.alexander@gmail.com>
Co-authored-by: Yusuke Arakawa <108506642+nekolaboratory@users.noreply.github.com>
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
Co-authored-by: Thomas Durand <Dean151@users.noreply.github.com>
Co-authored-by: Dejavu Moe <jialong.vip@gmail.com>
Co-authored-by: Chanhwi Joo <56245920+te6-in@users.noreply.github.com>
Co-authored-by: Henrik Nyh <henrik@nyh.se>
Co-authored-by: nixzhu <zhuhongxu@gmail.com>
Co-authored-by: Gareth Simpson <g@xurble.org>
Co-authored-by: Peter-Josef Meisch <pj.meisch@sothawo.com>
Co-authored-by: David Walter <divadretlaw@users.noreply.github.com>
Co-authored-by: Xabi <xabi.rn@gmail.com>
Co-authored-by: Roberto Pastor <wedge.hero@gmail.com>
Co-authored-by: Roberto Pastor <roberto.pastor@cabify.com>
Co-authored-by: Louis Lac <lac.louis5@gmail.com>
2023-02-22 07:07:26 +01:00
Aliaksandr 0fe7519307
Update belarussian localization (#990) 2023-02-22 07:02:42 +01:00
Gian Luca Dalla Torre 3e7fc347fb
Italian Localization Update (#992)
Get ready for version 1.5.7
2023-02-22 07:02:30 +01:00
nixzhu 2672e74d85
Update some translations (#995) 2023-02-22 07:02:21 +01:00
Cthulhux 737b179066
Update Localizable.strings (#979)
More strings
2023-02-21 18:51:46 +01:00
Andrzej Rózga 654f6f5d1a
Polish localization update (#980) 2023-02-21 18:51:25 +01:00
Roberto Pastor ce0d27537a
Updated spanish localization (#982)
Co-authored-by: Roberto Pastor <roberto.pastor@cabify.com>
2023-02-21 18:51:18 +01:00
Xabi a0f95b64bd
updates for Basque (#983)
added missing translations and small fixes
2023-02-21 18:51:11 +01:00
Yusuke Arakawa b643dda083
Update Localizable.strings (#976) 2023-02-21 08:09:50 +01:00
Thomas Ricouard 533558eb81 Fix a localization + make the ... menu zone bigger 2023-02-21 08:09:27 +01:00
Gareth Simpson 53f364b232
Font picker consistency (#960)
* Put SF Rounded into the popup menu with Hyperlegible & Dislexia

* Remove SF Rounded Toggle
2023-02-21 07:08:32 +01:00
Ico Davids 5057659cfc
Updates to Dutch localization (#966) 2023-02-21 07:05:34 +01:00
Peter-Josef Meisch 6aeb25885c
Fix display of multiple vote polls (#967)
Closes #952
2023-02-21 07:05:21 +01:00
Chanhwi Joo f04c15b8fe
Fix status actions on boosting posts (#974)
* Fix context menus for boosts

* Allow my boost of my followers-only post

* Disable boost context menu on posts can't be boosted and show different string for boosting my own private post

* Localizations

* CR

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-21 06:59:47 +01:00
nixzhu 5e81eda3ed
Update some translations (#959) 2023-02-20 18:09:19 +01:00
Chanhwi Joo 3038225371
Update Korean localization (#957) 2023-02-20 06:16:47 +01:00
Dejavu Moe d8f258ecbe
Update Simplified Chinese Translation (#926) 2023-02-20 06:16:38 +01:00
Cthulhux 3ef202d985
de: 1 new string -> translated (#955) 2023-02-19 20:57:07 +01:00
Yusuke Arakawa 83d236426b
Update Localizable.strings (#953) 2023-02-19 19:57:50 +01:00
Andrzej Rózga ee31c60f70
Polish localization update (#954) 2023-02-19 19:57:42 +01:00
Thomas Ricouard 0d6eff391b Reworked post header view + add option to hide server name from username 2023-02-19 19:16:39 +01:00
Andrzej Rózga 76be2b5671
Polish localization update (#949) 2023-02-19 18:33:39 +01:00
Cthulhux 541cee356e
Update Localizable.strings (#946)
Translated..
2023-02-19 16:28:25 +01:00
Yusuke Arakawa 6ce2aea6c9
Update Localizable.strings (#948) 2023-02-19 16:28:16 +01:00
Thomas Ricouard ccc504fc6f Share post as image close #885 2023-02-19 15:29:07 +01:00
Yusuke Arakawa 20098c8e7a
Update Localizable.strings (#941)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-02-19 07:25:34 +01:00
Cthulhux 9f4b1f6874
de: translated the notes feature (#933) 2023-02-18 21:25:34 +01:00
Ico Davids 6f245263e9
Updates to Dutch localization: (#935) 2023-02-18 21:25:26 +01:00
Andrzej Rózga 585b886432
Polish localization update (#936) 2023-02-18 21:25:17 +01:00
Peter-Josef Meisch 7cc1ca44b5
Display and edit notes on profiles (#929)
Closes #165
2023-02-18 18:28:16 +01:00
Kum Hathaway c3b0874d51
Update Localizable.strings (#919)
Fixed a confusing part of setting up swipe actions.
2023-02-18 07:25:27 +01:00
Jerry 16ed93acaf
Update Simplified Chinese translations (#905)
* Add new translations

* Refine previous translations

* Push Notifications translations

along with "send poll" translation refinement
2023-02-17 06:31:15 +01:00
Ico Davids 34abcf2273
Updates to Dutch localization (#907) 2023-02-17 06:31:07 +01:00
Cthulhux f69b0e29ca
One string got lost recently… (#913)
Here it is again.
2023-02-17 06:31:00 +01:00
Peter-Josef Meisch 0b5ad32a92
add 12 hour duration to poll duration menu (#892) 2023-02-16 13:22:48 +01:00
Cthulhux 62f902c736
de: translated 3 strings, improved one. (#893)
* de: translated 3 strings, improved one.

* Update Localizable.strings

The official Mastodon web client translates "Account" as "Konto". So do we,
2023-02-16 13:22:40 +01:00
Andrzej Rózga caeda11c0d
Polish localization update (#895) 2023-02-16 13:22:32 +01:00
Yusuke Arakawa 7b2805af94
Update Localizable.strings (#903) 2023-02-16 13:22:25 +01:00
Emmanuel Netter 11f94c3cff
Updated french localization (#904)
* Update Localizable.strings

Added missing translations

* Added french localization for settings.app.about

* Added french translations

Added timeline.latest and timeline.add.url french translations

* Update French Localization

Added translation for settings.display.show-ipad-column

* Update to french translation

* Updated french localization
2023-02-16 13:22:18 +01:00
Thomas Ricouard 6c6d25fc63 Add a setting to use SF Rounded font close #890 2023-02-15 20:03:31 +01:00
Nakaoka Rei d6820cf429
Updates Japanese Localizable.strings (#879)
* fix: エクスプローラー to 検索

* fix: フォローしている to フォロー中

* fix: あなたをフォローしている to フォローされています

* Revert "fix: エクスプローラー to 検索"

This reverts commit 2f1b4232ef.
2023-02-15 18:48:11 +01:00
Quin 43b32ca3f7
Add accessibility labels to timeline headers. (#880) 2023-02-15 18:47:42 +01:00
Ico Davids 741c900e7e
Updates to Dutch localization (#884)
- Translation for new-style notifications
- Translation for media show ALT setting
2023-02-15 18:47:18 +01:00
Xabi 85121be91c
Update Basque localisation: Localizable.strings (#886)
Strings added:
- settings.content.media
- settings.content.media.show.alt

Strings removed since they were added to Localizable.stringsdict (plural) and therefor don't need to remain in Localizable.strings (hopefully):
- account.detail.n-fields %lld
- account.detail.featured-tags-n-posts %lld
- timeline-new-posts %lld
- notifications-others-count %lld
- notifications.label.favorite %lld
- notifications.label.follow %lld
- notifications.label.mention %lld
- notifications.label.reblog %lld
- status.summary.n-favorites %lld
- status.summary.n-boosts %lld
- status.poll.n-votes %lld
- design.tag.n-posts-from-n-participants %lld %lld
- timeline.n-recent-from-n-participants %lld %lld
2023-02-15 18:47:10 +01:00
Xabi e9d8c609ce
Update Basque localisation: Localizable.stringsdict (#887)
Strings reordered:
- design.tag.n-posts-from-n-participants %lld %lld
- timeline.n-recent-from-n-participants %lld %lld
2023-02-15 18:47:00 +01:00
Thomas Ricouard 4b1af21c80 Add missing strings 2023-02-15 13:21:01 +01:00
Thomas Ricouard 33ebcf5974 Fix build 2023-02-15 13:20:25 +01:00
Arsienij adee8124f2
Belarusian localization (#835)
* added: belarusian language localization

* updated localization

* updated missing strings

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-15 13:18:04 +01:00
Cthulhux db99e526f4
Update Localizable.strings (#877) 2023-02-15 13:17:36 +01:00
Yusuke Arakawa 4fc00ea447
Update Localizable.strings (#875)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-02-15 08:19:48 +01:00
Yusuke Arakawa fc240ce2ef
Update Localizable.strings (#869) 2023-02-15 06:35:01 +01:00
Chanhwi Joo a8456d61d8
Update Korean localization (#870)
* Update Korean localization

* Add translations
2023-02-15 06:34:53 +01:00
Cthulhux bd4c2fbe72
Post -> Beitrag (#865) 2023-02-14 22:13:54 +01:00
Peter-Josef Meisch fc21a3721a
Add setting to disable display of alt texts for media (#854) 2023-02-14 22:13:48 +01:00
Cthulhux f186042ff1
New strings -> German (#858) 2023-02-14 21:27:57 +01:00