Commit graph

1865 commits

Author SHA1 Message Date
Grant McSheffrey
077b0d269d
Bugfix 1459 - Escape ~ character as markdown (#1561)
* Add simple test for escaping markdown content in statuses

* Add ~ as markdown character to be escaped in statuses

The ~ isn't documented in the original markdown syntax docs but is
commonly used (including by AttributedString) to surround text
formatted with a strikethrough.
2023-08-24 09:58:29 +02:00
Grant McSheffrey
30f9da06c8
Support status links with non-ASCII characters (Bugfix 1546) (#1550)
* Allow creation of URL objects from strings containing non-ASCII characters

Adds a new initializer for creating URL objects with a flag to specify that
non-ASCII characters found in the path or query string should first be
URL encoded.

* Add basic test for creating HTMLString objects

* Encode link paths and queries when parsing statuses

It's common to use non-ASCII characters in URLs even though they're technically
invalid characters. Every modern browser handles this by silently encoding
the invalid characters on the user's behalf. However, trying to create a URL
object with un-encoded characters will result in nil so we need to encode the
invalid characters before creating the URL object. The unencoded version
should still be shown in the displayed status.

The parsing of the URL string is a little messy because we can't use the URL
class for this scenario and need to duplicate some of its work.

* Only encode link URLs as a backup

If a URL can be created from a status href, don't try URL encoding
it as this could result in double encoding. Only encode the string
if the creation of a URL fails. This is also more efficient.
2023-08-23 07:08:12 +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 Ricouard
e027972d43 Fix bump 2023-08-11 12:11:30 +02:00
Thomas Durand
56b0010d6c
Poll close in … : Fixing missing space in some locales (#1536) 2023-08-10 08:59:08 +02:00
Chanhwi Joo
5fb9ab1c5e
Fix quote button not showing for unlisted posts (#1537) 2023-08-10 08:58:43 +02:00
Cthulhux
5da1128a4d
de: Update Localizable.strings (#1539) 2023-08-10 08:57:55 +02:00
Thomas Ricouard
ad9552472b Bump version to 1.7.5 2023-08-10 08:56:50 +02:00
Thomas Ricouard
04b5804c96 Video Player: Pause video when onDisappear 2023-08-09 13:53:41 +02:00
Thomas Ricouard
27164fa399 Bump version to 1.7.4 2023-08-09 09:17:49 +02:00
Thomas Ricouard
44a83cb180 Fix bump 2023-08-07 06:36:42 +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
a6bfac0846 Bump version to 1.7.3 2023-08-04 19:08:33 +02:00
Thomas Ricouard
4280764733 Edit tag groups 2023-08-04 12:40:21 +02:00
Chanhwi Joo
559e1d0c83
Add a new 6-striped icon without white borders (#1526) 2023-08-01 09:53:10 +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
Simone Margio
a3d497f48e
Add minimal icon app (#1525)
* Minimal icon app

Adding icons to the application on a minimal view

* Changes and add to Italian language

Insertion and modifications of some strings in the Italian language

* Revert "Changes and add to Italian language"

This reverts commit ce3c5a6a13.
2023-08-01 09:21:37 +02:00
Thomas Ricouard
0842f23d52 Keep the new keyword field focused 2023-07-22 19:21:29 +02:00
Andrzej Rózga
199f83c386
Polish localization update (#1515) 2023-07-20 14:27:24 +02:00
Alessio Maffeis
d7c3a54b56
Update placeholder text (#1516)
* Update placeholder text

* Add newline
2023-07-20 14:27:18 +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
Paul Schuetz
b8af362b23
Show all symbols when adding a tag group (#1513)
* Show all symbols when adding a tag group

All the SFSymbols are shown when adding a tag group, the list is taken from
SFSafeSymbols. This includes symbols such as "swift" and "apple.logo", as seen
in https://mastodon.social/@alexito4/110742407894134083.

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

* Add credit for SFSafeSymbols

The list of used libraries is updated with SFSafeSymbols.

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

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-07-20 08:01:32 +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
Thomas Ricouard
c751cb87b8 Merge branch 'main' of https://github.com/Dimillian/IceCubesApp 2023-07-19 18:12:23 +02:00
Thomas Ricouard
2fcd5383de Bump version to 1.7.2 2023-07-19 18:12:21 +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
Thomas Ricouard
225821a8da Fix new icon 2023-07-19 14:14:50 +02:00
Thomas Ricouard
287a7dd4d8 Properly enable the new icon 2023-07-19 13:48:34 +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
Thomas Ricouard
bb4453c811 Scrollable + interactive Tag Group timeline header 2023-07-19 08:30:47 +02:00
Thomas Ricouard
3407f05003 Bump version to 1.7.1 2023-07-19 08:22:43 +02:00
Thomas Ricouard
fbff719066 Fixes to add tag group view 2023-07-19 08:13:16 +02:00
Thomas Ricouard
8ace002e4a Add Tag Group symbol in settings 2023-07-19 07:50:19 +02:00
Thomas Ricouard
a2fe0511e0 Run swiftformat 2023-07-19 07:46:25 +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
Thomas Ricouard
4a6f81f22e Fix Introspect warning 2023-07-18 13:58:00 +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
39ec8bb389 Add a new icon 2023-07-18 09:45:44 +02:00
Thomas Ricouard
185f4b60e2 Update package + Switch to SwiftUIIntrospect for the Timeline 2023-07-18 09:45:39 +02:00
Thomas Ricouard
47cf849f21 Add scope bar for search in explore screen 2023-07-18 08:52:10 +02:00
Thomas Ricouard
4943a1708c Add quick access button to explore screen 2023-07-18 08:39:52 +02:00