Commit graph

707 commits

Author SHA1 Message Date
Chanhwi Joo a7ac559225
Update Korean localization (#1658) 2023-11-06 11:40:11 +01:00
Paul Schuetz f68bc3e306
Show the pending-counter in any corners (#1638)
The pending-button can now be shown in any corner the user prefers. This is
accomplished by allowing the user to move the counter left in addition to the
already present option to move it down. Fixes #1637

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-11-01 18:51:46 +01:00
Cthulhux cd0e9c10ac
de: Update Localizable.xcstrings (#1643) 2023-10-28 13:46:50 +02:00
Andrzej Rózga df3d8e9ea3
Polish localization update (#1645)
* Polish localization update

* Polish localization update
2023-10-28 13:46:42 +02:00
Jerry 8943588645
Update Simplified Chinese localization (#1646) 2023-10-28 13:46:34 +02:00
Xabi 104c308cb2
Update EU Localizable.xcstrings (#1648)
New window
2023-10-28 13:46:24 +02:00
Thomas Ricouard 2a936adca0 Add missing localization 2023-10-26 13:57:00 +02:00
Thomas Ricouard cf0f0fd891 Refactor + add more shortcuts on macOS 2023-10-26 06:23:00 +02:00
Thomas Ricouard 434247f3ea Fixes for macOS 2023-10-24 18:34:45 +02:00
Xabi e9b322e289
Update EU Localizable.xcstrings (#1625)
Added:
- Block %@
- Do you want to block this user?
2023-10-17 09:39:54 +02:00
Andrzej Rózga 518e69d49d
Polish localization update (#1621) 2023-10-15 08:11:29 +02:00
Jerry f6abd5ddf0
Update Simplified Chinese localization for block user confirmation (#1617) 2023-10-11 08:51:15 +02:00
Cthulhux 855fde2eb4
de: Update Localizable.xcstrings (#1619)
translated the user block stuff
2023-10-11 08:51:07 +02:00
Chanhwi Joo 1bd9d15a8f
Update Korean localization & localize the user block confirmation dialog (#1616)
* Update Korean localization

* Localize the user block confirmation dialog
2023-10-10 18:49:16 +02:00
Ico Davids ee2dbf2965
Updated NL translations (#1613) 2023-10-10 08:23:05 +02:00
Jerry 31ae9cb952
Update Simplified Chinese localization (#1612) 2023-10-06 06:29:10 +02:00
Cthulhux 6480014148
de: Update Localizable.xcstrings (#1611) 2023-10-06 06:28:59 +02:00
Thomas Ricouard aa7c1b87e4 Migrate to string catalog 2023-10-05 10:28:39 +02:00
Thomas Ricouard 1275b09f20 Add / Remove tag from tag groups from timeline view 2023-10-05 09:47:51 +02:00
Benoît Clouet d32c5c004c
Added the ability to display the Pending/Unread button at bottom of the screen for bigger displays or smaller hands (#1595) 2023-10-01 09:24:37 +02:00
Paul Schuetz 1f28595d39
Remove "Translate with DeepL"-option (#1593)
The "Translate with DeepL"-option is removed to make the app better understandable for the average user. A person who wants to use DeepL can still insert their own API key to always use DeepL.
Fixes #1583

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-09-26 14:11:00 +02:00
Jerry 21782c9e02
Update missing Simplified Chinese translation (#1580) 2023-09-22 08:35:44 +02:00
Cthulhux cd253c7dc1
de: added 1 translation (#1573)
I've become sloppy over the past few months... sorry :)) totally missed this!
2023-09-18 18:39:31 +02:00
Xabi 53b442eb33
Update EU localisation (#1567)
Added:
- account.action.privacy-settings
2023-09-04 09:07:33 +02:00
Jesús Jiménez Sánchez 1f46691279
Fix incorrect Spanish translation (#1562) 2023-08-31 07:42:07 +02:00
Andrzej Rózga 59f2023497
Polish localization update (#1564) 2023-08-31 07:42:00 +02:00
Jerry 462d2355f4
Update Simplified Chinese localization (#1566)
Simplified Chinese translation for "Privacy Settings"
2023-08-31 07:41:54 +02:00
Thomas Ricouard 113b28db18 Account context menu link to web based privacy settings 2023-08-29 08:58:07 +02:00
sh95014 edf36d4b30
Zh hant localization (#1553)
* 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

* update Hant localization
2023-08-23 06:56:50 +02:00
Jesús Jiménez Sánchez 05d8ce1bba
Update missing Spanish strings (#1549)
* Update missing Spanish strings

* Update Spanish plurals

* Small Spanish accessibility string fix

* Fix Date/Time Spanish string
2023-08-23 06:55:14 +02:00
Thomas Durand 56b0010d6c
Poll close in … : Fixing missing space in some locales (#1536) 2023-08-10 08:59:08 +02:00
Cthulhux 5da1128a4d
de: Update Localizable.strings (#1539) 2023-08-10 08:57:55 +02:00
Thomas Ricouard 799ea7829c Update subscription text because apple 2023-08-07 06:36:05 +02:00
Andrzej Rózga a719f20742
Polish localization update (#1535) 2023-08-05 10:29:47 +02:00
Simone Margio 3b89caa7fe
Italian translation (#1532)
- Replacement of the term "Bottone" in "Pulsante", the first term is mainly connected to clothing, instead the use of "Pulsante" identifies more precisely the concept of using a physical or virtual button.

- Maintaining the Boost term: on Twitter, in Italy, it's usual to use terms such as "tweets, retweets, and others". Therefore, the maintenance of the Boost word has been preferred rather than the total change to "Condividi".

- Reference buttons should eliminate the use of the word "Enable" as the visual switch is the element that confirms to the user whether the action is enabled or not. Further advice is to place the information icon "i" next to the switches, which allows the user to better understand the use of these features.

- Translation of: accessibility, filters, package: status, package: notifications, package: explore, package: conversations, package: account.

- Miscellaneous and minor changes

ATTENTION: using words like "social media love" and then asking "Happy messaging" can lead to misleading messages. They should be removed from all translations.
2023-08-04 19:17:04 +02:00
Jerry 2dc01a09b9
Update Simplified Chinese localization (#1533)
Add translation for "Edit tag group"
2023-08-04 19:16:57 +02:00
Xabi fca92be1f3
Update EU Localizable.strings (#1534)
Added:
timeline.filter.edit-tag-groups
2023-08-04 19:16:49 +02:00
Thomas Ricouard 4280764733 Edit tag groups 2023-08-04 12:40:21 +02:00
Chanhwi Joo 1b741d41f5
Add new Korean translations (#1508)
* Add new Korean translations

* Add Korean translation for reply visibility setting

* Replace `댓글` with `답글` for consistency
2023-08-01 09:22:05 +02:00
Andrzej Rózga 199f83c386
Polish localization update (#1515) 2023-07-20 14:27:24 +02:00
Xabi 69c1c7b11e
Update EU localisation - tag groups (#1512)
* Update EU Localizable.strings

Added:
- status.error.posting.title

* Update EU localisation

explore.scope.all, people, hashtags and posts

* Update EU localisation - reply visibility

Added:
- reply visibility

* Update EU localisation - tag groups

- timeline.filter.tag-groups
- timeline.filter.add-tag-groups
- add-tag-groups.edit.title.field
- add-tag-groups.edit.icon.field
- add-tag-groups.edit.tags
- add-tag-groups.edit.tags.add
2023-07-20 08:01:54 +02:00
Cthulhux aacbb6de09
Update Localizable.strings (#1514) 2023-07-20 08:01:45 +02:00
Jerry bff7bd591a
Update Simplified Chinese localization (#1510)
* Update Simplified Chinese localization for Reply Visibility

* Update Simplified Chinese localization for Tag Groups

* Altered Simplified Chinese translation for tab label

显示 Tab 标签 -> 在导航栏中显示文本
2023-07-19 18:20:02 +02:00
Xabi 9f78f0d611
Update EU localisation - reply visibility (#1511)
* Update EU Localizable.strings

Added:
- status.error.posting.title

* Update EU localisation

explore.scope.all, people, hashtags and posts

* Update EU localisation - reply visibility

Added:
- reply visibility
2023-07-19 17:48:15 +02:00
Paul Schuetz 90b0e91c79
Allow specifying the default reply visibility (#1509)
* Allow specifying the visibility of replies

Replies can now have their own default visibility. This visibility is always at
least as restrictive as the default post visibility. When posting a reply, the
visibility is pre-populated with the more restrictive out of the default and
the visibility of the original post.

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

* Use iOS-specific modifier

If the app is run on iOS 17, the new onChange(...)-modifier is used.

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

* Restrict the extension of the onChange-Modifier

The extension of the view to allow the use of the version-appropriate
onChange-modifier is now only available in the relevant file.

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

* Reset to use Xcode 14 / iOS 16

The iOS 17 specific changes are removed to allow building in the older Xcode 14.

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

* Make the default reply visibility public

The standard default reply visibility is now public, the behavior of the app
isn't changed for a user who just updated.

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

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-07-19 11:49:06 +02:00
Alejandro Martínez 5951bcec38
Tag groups (#1506)
* Implemented tag groups

* Cleanup

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-07-19 07:44:35 +02:00
Xabi c4c705aa10
Update EU localisation (#1505)
* Update EU Localizable.strings

Added:
- status.error.posting.title

* Update EU localisation

explore.scope.all, people, hashtags and posts
2023-07-19 07:19:01 +02:00
Cthulhux a2b0cc245f
de updated (#1507)
Translated new strings
2023-07-19 07:16:02 +02:00
Chanhwi Joo 4e1205dca8
Improve Korean translations (#1502)
* Fix the label not properly showing the follower count

* Replace `인스턴스` with `서버`

* Add new translations for search filters and the language detect option
2023-07-18 13:15:59 +02:00
Jerry beb6d1c3c3
Update Simplified Chinese localization (#1504)
* Update Simplified Chinese localization for search scope bar

* Update Simplified Chinese localization for setting to turn of auto language detection

* Update Simplified Chinese localization

Update translation for settings.translation.auto-detect-post-language-footer

Co-Authored-By: nixzhu <zhuhongxu@gmail.com>

---------

Co-authored-by: nixzhu <zhuhongxu@gmail.com>
2023-07-18 13:15:52 +02:00
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