Commit graph

343 commits

Author SHA1 Message Date
Paul Frazee
12a0ceee8a
1.64 (#2521)
* bump expo

* 1.64

* Update locale files
2024-01-12 17:40:04 -08:00
Stanislas Signoud (Signez)
46d0d911e1
Improve French localization thanks to reviews
Thanks to @fenarinarsa for all the review work!
2024-01-12 23:04:37 +01:00
Stanislas Signoud (Signez)
6734bc325d
Translate more strings in French 2024-01-12 19:55:53 +01:00
Mary
a0e345fa01
fix: set html lang according to app language (#2496) 2024-01-12 10:42:28 -08:00
Paul Frazee
95d771b3a5
Suggest post language correction (#2486)
* feat: suggested language

* fix: wording correction

* Factor out SuggestedLanguage into a separate component

* Tighten the language-suggestion confidence to avoid false positives

* Tweak the copy and UI

* Add function fallbacks for safari

---------

Co-authored-by: Mary <pineapplecreamcheese@skiff.com>
2024-01-12 10:20:17 -08:00
Stanislas Signoud (Signez)
73f4866f15
Extract new strings to translate in French 2024-01-12 16:47:52 +01:00
Max Ignatenko
17f7c36edf
Update Ukrainian translation (#2469)
Co-authored-by: Ukrainians <github-actions@github.com>
2024-01-10 23:16:16 -08:00
Minseo Lee
5cc46241d7
Reorder the locales alphabetically and correct the name for Indonesian (#2483) 2024-01-10 23:07:47 -08:00
Max Ignatenko
592133db58
Update Ukrainian translations (#2439) 2024-01-10 02:18:26 +05:30
Danni
d7f4e1391c
Add Indonesian localization (#2356)
* Add Indonesian (id) locale

* Add Indonesian translation messages

* Update team number and add some translation

* Update for better ID translation

* Apply suggestions from code review

Co-authored-by: Aditya Dirgantara <ccoremapd@icloud.com>
Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Aditya Dirgantara <ccoremapd@icloud.com>

* Apply suggestions from code review

Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>

* Change translation post to postingan

* Update translation

* Fix error

* Apply suggestions from code review

Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>

* Add Thinkbyte1024 and mary-ext to language team ID

* Update username to lowercase

---------

Co-authored-by: Aditya Dirgantara <ccoremapd@icloud.com>
Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>
Co-authored-by: Ansh <anshnanda10@gmail.com>
2024-01-10 02:17:48 +05:30
Minseo Lee
15f3c679aa
Update Korean localization (#2432)
* Update messages.po

* Update messages.po

* Update messages.po

* Update messages.po

* Update messages.po

* Update messages.po
2024-01-08 23:48:18 +05:30
Maison da Silva
f65bbe36f5
Update for Version 1.63 Português (BR) (#2435)
* Update for Version 1.63

* Update Date
2024-01-05 23:33:12 +05:30
Max Ignatenko
bc067295b8
New translations messages.po (Ukrainian) (#2422) 2024-01-05 17:22:04 +05:30
Noritada Kobayashi
98885656a3
Update Japanese localization (addition + language code correction) (#2423) 2024-01-05 17:20:54 +05:30
Paul Frazee
6e8650e2eb 1.63 2024-01-04 17:40:28 -08:00
Maison da Silva
67e70918e3
Recompile all locales (#2411) (#2416) 2024-01-04 03:56:47 +05:30
Max Ignatenko
401b3401c7
Add Ukrainian localization (#2336) 2024-01-04 01:52:55 +05:30
Maison da Silva
1f38e9b197
Update Portuguese for Português (#2414) 2024-01-04 01:02:22 +05:30
Ansh
1fed517a17
Add Portuguese Localization (#2407)
* Create messages.

* Update helpers.test.ts

* Update helpers.ts

* Update i18n.ts

* Update i18n.web.ts

* Update languages.ts

* Update i18n.ts

* Update lingui.config.js

* Correct file name and remove unused variables!

* Update Language-Team

* Update Bump ios build

* Fix for Stop the user from posting before the link card finishes loading #2328

* Update based in model en

* Update last version lang

* Update messages.po tsx:160 and tsx:143

* Bump ios build number and android version code

* adjustment

* adjustment 100%

* Update Date

* Update Day for Merge

* Update Name Maison for Maison da Silva

* fix order of case

* fix lint

* add tag for BR portugese

* add tag for BR

* update `pt` to `pt-BR`

---------

Co-authored-by: Maison da Silva <maisonmdsgreen@hotmail.com>
2024-01-04 00:15:56 +05:30
Ansh
7299c730cf
Recompile all locales (#2411) 2024-01-04 00:12:42 +05:30
Paul Frazee
d49045b61b Fix to spanish localization file 2024-01-03 10:33:28 -08:00
Ansh
3bee621347
Enable Spanish Localization (#2405)
* add `es` to `lingui.config.js`

* update messages.po

* enable spanish localization
2024-01-03 10:14:36 -08:00
Ansh
a410aad23c
Improve French Localization (#2404)
* update messages.po for french

* Update src/locale/locales/fr/messages.po

Co-authored-by: Stanislas Signoud <signez@stanisoft.net>

* change based on feedback

---------

Co-authored-by: Stanislas Signoud <signez@stanisoft.net>
2024-01-03 21:16:23 +05:30
Noritada Kobayashi
032a5bd8a7
Add and fix Japanese localization (#2374) 2024-01-03 20:20:41 +05:30
Stanislas Signoud
7f999d9ebd
Improve French localization (#2393)
* Extract latest strings from the codebase

* Improve French translation

- Add missing translations
- Always use French guillemets («») when applicable
- Always add an article (le/la/l’) before nouns
- Use … character instead of three dots
- Change "Mettre en sourdine" into "Masquer", used in other products for "Mute" (and shorter)
- Change other usages of "Masquer" into its synonym "Cacher" to prevent confusion between concepts
- Shorten "Nouvelle publication" into "Nouv. publication" to prevent it overflowing in the main blue button
- Fixed other little errors

* Extract even newer strings from the codebase

* Translate latest new strings into French

* Move from publication to post in French localization
2024-01-03 20:09:45 +05:30
Minseo Lee
ffd08570a5
Add Korean localization (#2395)
* Create messages.po

* Add Korean localization
2024-01-03 17:04:21 +05:30
Paul Frazee
1f037a0b43 Bump ios build number and android version code 2023-12-28 19:05:50 -08:00
Paul Frazee
7634b581dd 1.62 2023-12-28 15:52:38 -08:00
Paul Frazee
6e7098e456
Disable spanish translation until it's more thoroughly reviewed (#2362)
* Disable spanish translation until it's more thoroughly reviewed

* missed a line
2023-12-28 13:03:54 -08:00
Paul Frazee
40a110c541
Temporarily disable the german translation (#2360) 2023-12-28 12:07:08 -08:00
SnackpackWayne
52cb777c94
Merge branch 'main' into patch-1 2023-12-27 22:38:01 +01:00
Paul Frazee
3b240db0c0
Stop the user from posting before the link card finishes loading (#2328)
* Stop the user from posting before the link card finishes loading

* Add localization of error messages
2023-12-27 08:47:26 -08:00
Noritada Kobayashi
e27ffc850a
Make Japanese localization improvements (#2285)
* Make Japanese l10n improvements

* Update messages.po

---------

Co-authored-by: Ansh <anshnanda10@gmail.com>
2023-12-27 20:39:15 +05:30
Paul Frazee
b2b4ef858b
Correctly load spanish localization (#2324) 2023-12-26 17:54:57 -08:00
SnackpackWayne
538c67cc33
Update messages.po
German translation updated.
2023-12-27 01:03:17 +01:00
Paul Frazee
e3d9a4f782 Bump ios build 2023-12-24 14:33:24 -08:00
Eric Bailey
2c37d47cf0
Patches and compiled i18n (#2297)
* Update patches

* Bump translations, remove ignored files
2023-12-24 11:32:25 -08:00
Ansh
c1d7d9a41b
Add Spanish localization (#2267)
* add french localization

* get dynamic import to work

* fix broken strings

* fix bug

* fix tests

* build files again

* add german locale

* Add german translated strings

* update file details

* fix plural case errors

* make german translations work

* add 'es' as a locale option

* enable spanish translations

* fix spelling mistake
2023-12-22 23:30:39 +05:30
Hailey
fedb94dd70
3rd party embed player (#2217)
* Implement embed player for YT, spotify, and twitch

* fix: handle blur event

* fix: use video dimensions for twitch

* fix: remove hack (?)

* fix: remove origin whitelist (?)

* fix: prevent ads from opening in browser

* fix: handle embeds that don't have a thumb

* feat: handle dark/light mode

* fix: ts warning

* fix: adjust height of no-thumb label

* fix: adjust height of no-thumb label

* fix: remove debug log, set collapsable to false for player view

* fix: fix dimensions "flash"

* chore: remove old youtube link test

* tests: add tests

* fix: thumbless embed position when loading

* fix: remove background from webview

* cleanup embeds (almost)

* more refactoring

- Use separate layers for player and overlay to prevent weird sizing issues
- Be sure the image is not visible under the player
- Clean up some

* cleanup styles

* parse youtube shorts urls

* remove debug

* add soundcloud tracks and sets (playlists)

* move logic into `ExternalLinkEmbed`

* border radius for yt player on native

* fix styling on web

* allow scrolling in webview on android

* remove unnecessary check

* autoplay yt on web

* fix tests after adding autoplay

* move `useNavigation` to top of component

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-12-21 14:33:46 -08:00
Ansh
df73f83538
Add French localization (#2265) 2023-12-22 03:30:24 +05:30
Paul Frazee
c00c5efb34 Bump build numbers for ios and android 2023-12-18 15:11:51 -08:00
Eric Bailey
8df4fd4d57
Move label appeal to post dropdown (#2236)
* Move appeal from post to dropdown

* Translate

* Tweak copy on the appeal label modal

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-12-18 14:38:59 -08:00
Ansh
81fefabe1a
Add credits to localization doc (#2233)
* change name of file to localization

* run `intt:build`
2023-12-18 09:24:31 -08:00
Hima
38e65fbe75
Fix & Add: Japanese Translation (3) (#2226) 2023-12-18 22:43:20 +05:30
Paul Frazee
9f82441c37 Update splash screen tagline, update translations, bump ios build number 2023-12-17 15:28:04 -08:00
Paul Frazee
075ffdf583
PWI behavior updates (#2207)
* Enable PWI

* Disable access to feeds on PWI

* Remove feeds nav item from drawer when signed out

* Replace discover feed on home with a CTA

* Wire up the sign in and create account buttons to go straight to their respective screens

* Give a custom ScreenHider interface for no-pwi

* Add side borders on desktop to the screen hider

* Filter accounts in the autocomplete according to mod settings

* Trim replies in the post thread that are pwi opt-out

* Show 'learn more' on the content hider when no-override is enabled

* Apply the moderation filter on profile cards

* Disable post search on logged-out view

* Update locale files

* Bump api pkg

* Ensure feeds with no posts don't show as NSFPublic

* Fix types

---------

Co-authored-by: Eric Bailey <git@esb.lol>
2023-12-14 10:31:49 -08:00
Paul Frazee
a713f77e03 1.59 2023-12-13 12:48:26 -08:00
Ansh
001bbb41bb
Hotfix: Merge conflict in translation file (#2203)
* remove unused translation files

* re-run extract and compile
2023-12-13 19:48:53 +05:30
Ansh
90647fe7cf
Japanese localization (#2003)
* add japanese to list of languages

* add japanese translations

* change `jp` to `ja`

* minor changes to Japanese translation

* minor changes to Japanese translation

* update japanese strings with feedback

* Update languages.ts

* Extract translations

* Gitignore new compiled file

* allow switching to japanese

---------

Co-authored-by: Jake Gold <jake@blueskyweb.xyz>
Co-authored-by: Eric Bailey <git@esb.lol>
2023-12-13 01:12:19 +05:30
Eric Bailey
c6ab6e8b8e
i18n settings improvements (#2184)
* Handle language selector

* Improve type safety

* Add a little more safety

* Update comment
2023-12-12 12:42:11 -06:00