Commit Graph

3334 Commits

Author SHA1 Message Date
Marcus Kida b5dca48cb2
feat(Widget): Implement L10n 2023-02-06 12:13:29 +01:00
Jed Fox 0a9689c67f
Add support for selecting the post language (#907)
* Basic fake language picker support

* Recognize languages from post text

* Exclude suggested languages from recents

* Load recent languages from Settings object

* Send the language to the API

* Persist the used language to settings

* Always show the currently selected language in the list

* Fix crash

* Add support for picking arbitrary lanuages

* Fix display of 3 letter language codes

* Improve label to include endonym too

* Limit to 3 recent languages

* Reduce lower bound for displaying language suggestions

* Fix saving recent language when publishing

* Fix tint color of language picker button

* Add a badge to prompt users to change language

* Dismiss the badge even if you pick the same language

* Read language names in the language if possible

* Use a compressed font for 3-letter codes

Also use `minimumScaleFactor` to shrink troublesome codes to fit

Co-Authored-By: samhenrigold <49251320+samhenrigold@users.noreply.github.com>

* Remove .vscode/launch.json

* Add message to fatalError()

Co-authored-by: samhenrigold <49251320+samhenrigold@users.noreply.github.com>
2023-01-24 01:50:10 +01:00
Marcus Kida 5daaa5a32f
feat(AppExtension): Improve open in link validation, add L10n 2023-01-11 15:12:11 +01:00
Marcus Kida 042166a282
Revert "chore(i18n): Update strings"
This reverts commit be3b91e334.
2023-01-09 10:33:40 +01:00
Marcus Kida be3b91e334
chore(i18n): Update strings 2023-01-09 10:18:23 +01:00
Marcus Kida 06de474528
chore(i18n): fix broken json 2023-01-09 10:16:20 +01:00
Nathan Mattes 769355b4c2 Fix localization-json-issues (#690) 2023-01-08 15:22:06 +01:00
Nathan Mattes efafefac48 Add missing localization (#690) 2023-01-07 13:02:59 +01:00
Nathan Mattes ade95302ca Localize and style resend-button (#690) 2023-01-07 13:02:59 +01:00
Nathan Mattes 2be1cabca7 Remove navigation-view on email-confirmation (#690) 2023-01-07 13:02:59 +01:00
Nathan Mattes 9e1dbe1dff Fix email-confirmation-screen-title (#690)
what a word.
2023-01-07 13:02:59 +01:00
Nathan Mattes 18e25aea30 Localize username-suggestion (#690)
Please be aware of the username-requirements, when changing the localized versions.
2023-01-07 13:02:59 +01:00
Nathan Mattes 7f60eb1608 Fix search-bar-placeholder for server-picker (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 1cbe623bd4 Add strings for signup-speed (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 7c8c5fe214 Add language-selector (#690)
For now, it searches for German servers only because.
2023-01-07 13:02:58 +01:00
Nathan Mattes e074ee63b7 Adjust registration-screen to match updated design (#690)
Please note: this doesn't contain any logic, yet. It's solely UI.
2023-01-07 13:02:58 +01:00
Nathan Mattes 669716208e Set new title for account-creation (#690) 2023-01-07 13:02:58 +01:00
Nathan Mattes 2e4ff59bc2 Add some localization here and there (#690) 2023-01-07 13:02:58 +01:00
Marcus Kida 96f51f039d Implement mastodon wordmark on WelcomeContentPage 2023-01-07 13:02:58 +01:00
Nathan Mattes 4f304f39fc Get rid of title (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes c925e48385 Add styling and localization to education (#690) 2023-01-07 13:02:17 +01:00
Nathan Mattes cab9574fbb
Merge pull request #784 from Bracciata/bugfix/309
fix: updated logo button's alt text to be more accessible
2022-12-26 17:03:45 +01:00
Nathan Mattes 7ee51d06cc
Merge pull request #699 from j-f1/alt-button
Add a button to show alt text for media
2022-12-22 09:29:00 +01:00
Jed Fox f5c6529341
i18n for accessibility hint 2022-12-21 19:38:29 -05:00
Eugen Rochko cac1637095
New Crowdin updates (#788)
* New translations app.json (Korean)

* New translations app.json (Swedish)

* New translations app.json (Catalan)

* New translations app.json (Icelandic)

* New translations app.json (Slovenian)

* New translations app.json (Italian)

* New translations app.json (Galician)

* New translations app.json (Kurmanji (Kurdish))

* New translations app.json (Chinese Traditional)

* New translations app.json (German)

* New translations app.json (Spanish)

* New translations app.json (Vietnamese)

* New translations app.json (English)

* New translations app.json (Latvian)

* New translations app.json (Czech)

* New translations app.json (Latvian)

* New translations Localizable.stringsdict (Czech)

* New translations Intents.stringsdict (Czech)

* New translations app.json (French)

* New translations app.json (Thai)

* New translations app.json (Latvian)

* New translations ios-infoPlist.json (Latvian)

* New translations Localizable.stringsdict (Latvian)

* New translations app.json (Spanish, Argentina)

* New translations Localizable.stringsdict (Latvian)

* New translations Intents.strings (Latvian)

* New translations Intents.stringsdict (Latvian)

* New translations app.json (Korean)

* New translations app.json (French)

* New translations app.json (Czech)

* New translations app.json (Romanian)

* New translations app.json (Spanish)

* New translations app.json (Arabic)

* New translations app.json (Catalan)

* New translations app.json (Danish)

* New translations app.json (German)

* New translations app.json (Basque)

* New translations app.json (Finnish)

* New translations app.json (Italian)

* New translations app.json (Japanese)

* New translations app.json (Dutch)

* New translations app.json (Hebrew)

* New translations app.json (Slovenian)

* New translations app.json (Chinese Traditional)

* New translations app.json (Vietnamese)

* New translations app.json (Kabyle)

* New translations app.json (Swedish)

* New translations app.json (Turkish)

* New translations app.json (Ukrainian)

* New translations app.json (Scottish Gaelic)

* New translations app.json (Portuguese)

* New translations app.json (Russian)

* New translations app.json (Chinese Simplified)

* New translations app.json (English)

* New translations app.json (Galician)

* New translations app.json (Portuguese, Brazilian)

* New translations app.json (Indonesian)

* New translations app.json (Spanish, Argentina)

* New translations app.json (Thai)

* New translations app.json (Latvian)

* New translations app.json (Hindi)

* New translations app.json (English, United States)

* New translations app.json (Welsh)

* New translations app.json (Sinhala)

* New translations app.json (Kurmanji (Kurdish))

* New translations app.json (Sorani (Kurdish))

* New translations app.json (Icelandic)

* New translations app.json (Burmese)

* New translations app.json (Aragonese)

* New translations app.json (Slovenian)

* New translations app.json (Catalan)

* New translations app.json (Latvian)

* New translations app.json (Welsh)

* New translations app.json (Spanish, Argentina)

* New translations app.json (Welsh)

* New translations app.json (Icelandic)

* New translations app.json (Swedish)

* New translations app.json (French)

* New translations app.json (Finnish)

* New translations app.json (Arabic)

* New translations app.json (Thai)

* New translations app.json (Italian)

* New translations app.json (Chinese Traditional)

* New translations app.json (Galician)

* New translations app.json (Kurmanji (Kurdish))

* New translations app.json (German)

* New translations app.json (Czech)
2022-12-21 21:27:00 +01:00
Nathan Mattes 68b8169086
Merge pull request #728 from j-f1/characters_left-i18n
Fix i18n formatting for a11y.plural.count.characters_left
2022-12-21 20:57:00 +01:00
Jed Fox 5adce841ef
Label images as “[alt], attachment 3 of 4” 2022-12-20 14:22:38 -05:00
Nathan Mattes 08b63bda00
Merge pull request #753 from j-f1/following-customization
Differentiate between “My followers” and other accounts followers for i18n
2022-12-20 14:05:07 +01:00
Nathan Mattes 858e4fc4ec
Merge branch 'develop' into bugfix/309 2022-12-20 14:01:19 +01:00
Nathan Mattes f3d71d982a Update strings 2022-12-19 12:07:16 +01:00
Nathan Mattes 3e34b34fe7 Fix typo 2022-12-19 12:06:46 +01:00
Nathan Mattes f8eba3f598
Merge pull request #538 from mastodon/l10n_develop
New Crowdin updates
2022-12-19 12:06:06 +01:00
Eugen Rochko 1373cc73d9 New translations app.json (Hebrew) 2022-12-19 11:25:28 +01:00
Eugen Rochko eb56916717 New translations app.json (Aragonese) 2022-12-19 11:25:27 +01:00
Eugen Rochko 06fb253e8a New translations app.json (Burmese) 2022-12-19 11:25:26 +01:00
Eugen Rochko a5ad32fd2c New translations app.json (Icelandic) 2022-12-19 11:25:24 +01:00
Eugen Rochko 41e751f850 New translations app.json (Sorani (Kurdish)) 2022-12-19 11:25:23 +01:00
Eugen Rochko f12c1382f8 New translations app.json (Kurmanji (Kurdish)) 2022-12-19 11:25:22 +01:00
Eugen Rochko 7596ee78be New translations app.json (Sinhala) 2022-12-19 11:25:21 +01:00
Eugen Rochko a646df9eba New translations app.json (Welsh) 2022-12-19 11:25:20 +01:00
Eugen Rochko d5c86c08ad New translations app.json (English, United States) 2022-12-19 11:25:19 +01:00
Eugen Rochko b43727ac8a New translations app.json (Hindi) 2022-12-19 11:25:18 +01:00
Eugen Rochko c9b05715e6 New translations app.json (Latvian) 2022-12-19 11:25:17 +01:00
Eugen Rochko 57b78fd469 New translations app.json (Thai) 2022-12-19 11:25:16 +01:00
Eugen Rochko 8f5d96b737 New translations app.json (Spanish, Argentina) 2022-12-19 11:25:15 +01:00
Eugen Rochko 3b9179ae10 New translations app.json (Indonesian) 2022-12-19 11:25:14 +01:00
Eugen Rochko c921689288 New translations app.json (Portuguese, Brazilian) 2022-12-19 11:25:13 +01:00
Eugen Rochko f15faf08b3 New translations app.json (Galician) 2022-12-19 11:25:11 +01:00
Eugen Rochko fc2ae7eb21 New translations app.json (English) 2022-12-19 11:25:10 +01:00
Eugen Rochko dd3009110e New translations app.json (Chinese Simplified) 2022-12-19 11:25:09 +01:00
Eugen Rochko ecefb6d142 New translations app.json (Russian) 2022-12-19 11:25:08 +01:00
Eugen Rochko d2a72aea2c New translations app.json (Portuguese) 2022-12-19 11:25:07 +01:00
Eugen Rochko 998d1c3dee New translations app.json (Dutch) 2022-12-19 11:25:06 +01:00
Eugen Rochko 2fb57105a5 New translations app.json (Japanese) 2022-12-19 11:25:05 +01:00
Eugen Rochko e28d3c00d0 New translations app.json (Italian) 2022-12-19 11:25:04 +01:00
Eugen Rochko 6f31c34010 New translations app.json (Finnish) 2022-12-19 11:25:03 +01:00
Eugen Rochko 37ccd6b337 New translations app.json (Basque) 2022-12-19 11:25:02 +01:00
Eugen Rochko 7b01ee8944 New translations app.json (German) 2022-12-19 11:25:01 +01:00
Eugen Rochko 3d47f876e5 New translations app.json (Danish) 2022-12-19 11:25:00 +01:00
Eugen Rochko c36cb14167 New translations app.json (Catalan) 2022-12-19 11:24:59 +01:00
Eugen Rochko f5030eb581 New translations app.json (Arabic) 2022-12-19 11:24:58 +01:00
Eugen Rochko d946fc5535 New translations app.json (Spanish) 2022-12-19 11:24:57 +01:00
Eugen Rochko 70fd21c156 New translations app.json (Scottish Gaelic) 2022-12-19 11:24:56 +01:00
Eugen Rochko f3dc4edd87 New translations app.json (Ukrainian) 2022-12-19 11:24:55 +01:00
Eugen Rochko 1d562cbead New translations app.json (Czech) 2022-12-19 11:24:53 +01:00
Eugen Rochko 9189c3d593 New translations app.json (Turkish) 2022-12-19 11:24:52 +01:00
Eugen Rochko f788bf7465 New translations app.json (Swedish) 2022-12-19 11:24:51 +01:00
Eugen Rochko 5167e5f5a7 New translations app.json (Korean) 2022-12-19 11:24:50 +01:00
Eugen Rochko 302ccd9dc8 New translations app.json (Kabyle) 2022-12-19 11:24:48 +01:00
Eugen Rochko dd104e0c52 New translations app.json (Vietnamese) 2022-12-19 11:24:47 +01:00
Eugen Rochko a1d2ee422a New translations app.json (Chinese Traditional) 2022-12-19 11:24:46 +01:00
Eugen Rochko 7f030ca0a2 New translations app.json (Slovenian) 2022-12-19 11:24:45 +01:00
Eugen Rochko bb24aaca0e New translations app.json (Romanian) 2022-12-19 11:24:44 +01:00
Eugen Rochko bff0131ea8 New translations app.json (French) 2022-12-19 11:24:43 +01:00
Eugen Rochko 4cb84fa554 New translations app.json (Icelandic) 2022-12-19 10:06:46 +01:00
Eugen Rochko 7921c43d5c New translations app.json (Galician) 2022-12-19 08:35:27 +01:00
Marcus Kida 258aea3682
feat: Show translation provider 2022-12-19 07:32:48 +01:00
Eugen Rochko 4a3f636c19 New translations app.json (Indonesian) 2022-12-19 05:02:37 +01:00
Eugen Rochko 26e71165a5 New translations app.json (Korean) 2022-12-19 03:21:10 +01:00
Eugen Rochko 390cad1643 New translations app.json (Spanish, Argentina) 2022-12-18 21:57:55 +01:00
Eugen Rochko 9e28d29f7d New translations app.json (Kurmanji (Kurdish)) 2022-12-18 19:42:32 +01:00
Eugen Rochko 4b94ccba66 New translations app.json (Latvian) 2022-12-18 18:07:31 +01:00
Eugen Rochko 147f7f9eb8 New translations app.json (French) 2022-12-18 18:07:30 +01:00
Eugen Rochko f5a2c0de35 New translations app.json (Vietnamese) 2022-12-18 18:07:30 +01:00
Eugen Rochko 4bd0cfad60 New translations app.json (English) 2022-12-18 16:56:41 +01:00
Eugen Rochko 0ef8f003e3 New translations app.json (Chinese Traditional) 2022-12-18 16:56:40 +01:00
Tommy Braccia 955389efad fix: ran swiftgen 2022-12-18 10:51:18 -05:00
Tommy Braccia 44e34670ec fix: updated the singular file needing an update 2022-12-18 10:49:00 -05:00
Tommy Braccia 9f53dbdc0a Revert "fix: updated all other occurrences of Logo Button"
This reverts commit bca33aeecd.
2022-12-18 10:48:25 -05:00
Tommy Braccia d621763a85 Revert "fix: swapped to correct alt for the image."
This reverts commit e4027bbe68.
2022-12-18 10:48:23 -05:00
Tommy Braccia b80c6f74df Revert "fix: updated formatting"
This reverts commit 8ef450b2d1.
2022-12-18 10:48:21 -05:00
Tommy Braccia 8ef450b2d1 fix: updated formatting 2022-12-18 10:35:21 -05:00
Tommy Braccia e4027bbe68 fix: swapped to correct alt for the image. 2022-12-18 10:33:13 -05:00
Eugen Rochko b438fb3e6b New translations app.json (German) 2022-12-18 15:32:37 +01:00
Eugen Rochko c96ed75c3f New translations app.json (Catalan) 2022-12-18 15:32:36 +01:00
Eugen Rochko 0f3f3396c2 New translations app.json (Swedish) 2022-12-18 15:32:35 +01:00
Eugen Rochko e7b56f877b New translations app.json (Hebrew) 2022-12-18 14:32:17 +01:00
Eugen Rochko eb2d28b432 New translations app.json (Aragonese) 2022-12-18 14:32:16 +01:00
Eugen Rochko 03426545b4 New translations app.json (Burmese) 2022-12-18 14:32:15 +01:00
Eugen Rochko d294b5dd37 New translations app.json (Icelandic) 2022-12-18 14:32:14 +01:00
Eugen Rochko 846e24f0e8 New translations app.json (Sorani (Kurdish)) 2022-12-18 14:32:13 +01:00
Eugen Rochko e88a1be300 New translations app.json (Kurmanji (Kurdish)) 2022-12-18 14:32:12 +01:00
Eugen Rochko 21839d8f7f New translations app.json (Sinhala) 2022-12-18 14:32:11 +01:00
Eugen Rochko 7ca8d8c8eb New translations app.json (Welsh) 2022-12-18 14:32:10 +01:00
Eugen Rochko f9b50dd1ac New translations app.json (English, United States) 2022-12-18 14:32:09 +01:00
Eugen Rochko 1ebc797080 New translations app.json (Hindi) 2022-12-18 14:32:08 +01:00
Eugen Rochko 3b97cd8c84 New translations app.json (Latvian) 2022-12-18 14:32:07 +01:00
Eugen Rochko 7367489b22 New translations app.json (Thai) 2022-12-18 14:32:06 +01:00
Eugen Rochko 53f92959e9 New translations app.json (Spanish, Argentina) 2022-12-18 14:32:05 +01:00
Eugen Rochko 357e70fc31 New translations app.json (Indonesian) 2022-12-18 14:32:04 +01:00
Eugen Rochko ca82e97af1 New translations app.json (Portuguese, Brazilian) 2022-12-18 14:32:03 +01:00
Eugen Rochko 54cb50c7c3 New translations app.json (Galician) 2022-12-18 14:32:02 +01:00
Eugen Rochko 75e531bd25 New translations app.json (English) 2022-12-18 14:32:01 +01:00
Eugen Rochko 7fc3c146d3 New translations app.json (Chinese Simplified) 2022-12-18 14:32:00 +01:00
Eugen Rochko 4b3928d75e New translations app.json (Russian) 2022-12-18 14:31:59 +01:00
Eugen Rochko 6f1018fec2 New translations app.json (Portuguese) 2022-12-18 14:31:58 +01:00
Eugen Rochko 2ad19c5b93 New translations app.json (Dutch) 2022-12-18 14:31:57 +01:00
Eugen Rochko 4ddc20be00 New translations app.json (Japanese) 2022-12-18 14:31:57 +01:00
Eugen Rochko b5e5c8d096 New translations app.json (Italian) 2022-12-18 14:31:55 +01:00
Eugen Rochko 0fbae5e76e New translations app.json (Finnish) 2022-12-18 14:31:54 +01:00
Eugen Rochko c595917029 New translations app.json (Basque) 2022-12-18 14:31:53 +01:00
Eugen Rochko db45dbdd0f New translations app.json (German) 2022-12-18 14:31:53 +01:00
Eugen Rochko 1a5b762fd6 New translations app.json (Danish) 2022-12-18 14:31:51 +01:00
Eugen Rochko f1ca440e35 New translations app.json (Catalan) 2022-12-18 14:31:50 +01:00
Eugen Rochko 5d572d1ffc New translations app.json (Arabic) 2022-12-18 14:31:48 +01:00
Eugen Rochko bba4fb3606 New translations app.json (Spanish) 2022-12-18 14:31:47 +01:00
Eugen Rochko 804ed9d3cf New translations app.json (Romanian) 2022-12-18 14:31:46 +01:00
Eugen Rochko 3fe9b9291d New translations app.json (Scottish Gaelic) 2022-12-18 14:31:46 +01:00
Eugen Rochko 44ded04631 New translations app.json (Ukrainian) 2022-12-18 14:31:45 +01:00
Eugen Rochko 3b0b627074 New translations app.json (Czech) 2022-12-18 14:31:44 +01:00
Eugen Rochko 014cba2498 New translations app.json (Turkish) 2022-12-18 14:31:43 +01:00
Eugen Rochko 32f193281a New translations app.json (French) 2022-12-18 14:31:42 +01:00
Eugen Rochko aa7bfc699c New translations app.json (Swedish) 2022-12-18 14:31:40 +01:00
Eugen Rochko b11469b3f7 New translations app.json (Korean) 2022-12-18 14:31:39 +01:00
Eugen Rochko ea4e58b644 New translations app.json (Kabyle) 2022-12-18 14:31:38 +01:00
Eugen Rochko be1e17d787 New translations app.json (Vietnamese) 2022-12-18 14:31:37 +01:00
Eugen Rochko 309e7a6071 New translations app.json (Chinese Traditional) 2022-12-18 14:31:37 +01:00
Eugen Rochko f1fd49a25c New translations app.json (Slovenian) 2022-12-18 14:31:36 +01:00
Nathan Mattes 3b77ed7612
Merge pull request #613 from j-f1/joined-at
Add a “Joined” cell to the top of the About tab to match the web version
2022-12-18 14:30:57 +01:00
Tommy Braccia bca33aeecd fix: updated all other occurrences of Logo Button 2022-12-17 21:26:35 -05:00
Eugen Rochko 2e6d9841e7 New translations Localizable.stringsdict (Swedish) 2022-12-16 14:03:39 +01:00
Eugen Rochko 54d0b06d8d New translations Localizable.stringsdict (Swedish) 2022-12-16 13:05:38 +01:00
Eugen Rochko fb6ccfa671 New translations Localizable.stringsdict (Spanish) 2022-12-16 10:19:02 +01:00
Eugen Rochko 89fb462754 New translations app.json (Spanish) 2022-12-16 10:19:01 +01:00
Eugen Rochko 32fe778294 New translations app.json (Galician) 2022-12-16 05:33:32 +01:00
Eugen Rochko 7bf09930c0 New translations app.json (Arabic) 2022-12-15 23:03:34 +01:00
Eugen Rochko f0ad9023b4 New translations app.json (Slovenian) 2022-12-15 23:03:33 +01:00
Eugen Rochko 0be6cd92f7 New translations app.json (Chinese Traditional) 2022-12-15 22:04:00 +01:00
Eugen Rochko 37d94fcc75 New translations app.json (Chinese Traditional) 2022-12-15 20:33:27 +01:00
Eugen Rochko e6f0afd05f New translations app.json (Vietnamese) 2022-12-15 19:17:01 +01:00