* Replace pluralize with plural or Plural
* Replace all pluralize (defined by src/lib/strings/helpers.ts) with plural or Plural (defined by @lingui/macro) to make some UI elements translatable.
* Delete pluralize() and related test.
* Import @formatjs polyfill libraries for plural on ios and android
- ios and andorid: import `@formtjs/intl-locale` and `@formatjs/intl-pluralrules` to polyfill `Intl.Locale` and `Intl.PluralRules` which are used in `plural()` and '<Plural />'.
- update `plural` use in notification messages for better translation.
* Rewrite to pass lint
* Add Catalan plural polyfill
* more replacement
* import zh plural data for zh-CN
* Refactor feed header components (#2964)
* Move home-related files to view/com/home
* Add HomeHeader in front of FeedTabBar
* Move isDekstop check outside FeedsTabBar
* Remove PWI logic from tabbar
* Separate platform-specific layout from shared logic
* Rename Home Feed Prefs to Following Feed Prefs (#2965)
* use `useOpenLink` hook for links in ALF (#2975)
* use `useOpenLink` hook for links in ALF
* web only for `outline`
* increase timeout to 15s (#2958)
* Normalize relative day (#2874)
* fix: normalize relative date
* chore: add comments
* refactor: skip flooring normalized diff
* refactor: let -> const
* fix: get own copy of date to prevent mutating
* refactor: rounding does the same trick
* Add handle validation to create account UI (#2959)
* show uiState errors in the box as well
simplify copy
update ui for only letters and numbers
add ui validation to handle selection
* simplify names
* Fix accidental text-node render
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Make dim theme dim (#2966)
* Make dim color scheme dim
* Tweaks
* Overall tweaks
* We have to go darker
* Tweak saturation of blues in dim
* Increase contrast on dark-dark mode
* adjust dim
---------
Co-authored-by: Eric Bailey <git@esb.lol>
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Co-authored-by: Hailey <me@haileyok.com>
* Fix dim mode unread notif color
* use `showControls` to show/hide live text icon on ios (#2982)
* Update .po files
* fix reversed icons in validator 🤦 (#2991)
* Adjust `windowSize` on `PostThread` `FlatList` (#2989)
* adjust window size, cells batching period
* rm batching period change
* Pluralize 'follow(s)'
* Include a space between the msgid count and "follower(s)/following(s)" so the translator can adjust the translated count line to fit within the Drawer.
* pluralie '# following'
* Fix & Update
* Rewrite to use Plural
* rmeove unused import
* When commiting changes, disable 'simple-import-sort' plugin in .eslintrc.js to sync with bluesky-social:main
* Revert simple-import-sort/imports related changes
* Move ProfileHoverCard web to plural util
* Followings -> following
* Add plural following to hovercard
* Followings -> Following
---------
Co-authored-by: Takayuki KUSANO <kusano@tkusano.jp>
Co-authored-by: Takayuki KUSANO <65759+tkusano@users.noreply.github.com>
Co-authored-by: dan <dan.abramov@gmail.com>
Co-authored-by: Hailey <me@haileyok.com>
Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>
Co-authored-by: Eric Bailey <git@esb.lol>
* Alphabetise languages in lingui.config.js
* Alphabetise languages in helpers.ts
* Alphabetise languages in i18n.ts
* Alphabetise languages in i18n.ts
* Alphabetise languages in i18n.web.ts
* Alphabetise languages in languages.ts
* Irish PO file thanks to @kingdonncha1.bsky.social
* feat: add Gaeilge options added by @kscanne into the GUI
---------
Co-authored-by: Kat Gaea <kat.knight@newgaea.net>
* Chinese localization
* fixed languages.ts typo
* crosscheck with proofreading of translation
* fixed messages.po string styles
* a minor adjustment
* Update Chinese localization
* fixed a typo & modify the translation of handle
* based on the latest messages.po translation
* removed unused strings
* based on the latest messages.po translation
* 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>
* 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>
* 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
* 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>
* get basic hindi support to work
* get web app language switcher in
* Refactor i18n implementation and remove unused
code
* add missing strings
* add dropdowns and modals missing strings
* complete all hindi translations
* fix merge conflicts
* fix legeacy persisted state
* fix data in RecommendedFeeds
* fix lint
* install and setup lingui
* setup dynamic locale activation and async loading
* first pass of automated replacement of text messages
* add some more documentaton
* fix nits
* add `es` and `hi`locales for testing purposes
* make accessibilityLabel localized
* compile and extract new messages
* fix merge conflicts
* fix eslint warning
* change instructions from sending email to opening PR
* fix comments