Commit graph

2859 commits

Author SHA1 Message Date
Chee Aun
6b27fe6db7 New translations (Spanish) 2024-08-16 20:04:35 +08:00
Lim Chee Aun
9d5953075e Let in the first 5 most-translated languages for testing 2024-08-16 19:27:25 +08:00
Lim Chee Aun
18b3ee8c92 Standardize display of common + native languages list 2024-08-16 19:17:57 +08:00
Lim Chee Aun
6d68232e45 Make lang selector fixed-width 2024-08-16 19:17:18 +08:00
Chee Aun
c96ff42597 New translations (Chinese Simplified) 2024-08-16 17:22:46 +08:00
Chee Aun
baed9ddc02 New translations (Chinese Simplified) 2024-08-16 16:22:17 +08:00
Lim Chee Aun
8ec951d1fc These menus need spans 2024-08-16 13:46:17 +08:00
Chee Aun
0d990b6191 New translations (Chinese Simplified) 2024-08-16 12:56:34 +08:00
Lim Chee Aun
05f488ce40 Replace npm-run-all2 with vite-plugin-run
- Upgrade dependencies
- remove dayjs
2024-08-16 11:25:59 +08:00
Lim Chee Aun
c914cf58aa Don't even need dayjs anymore 2024-08-16 11:16:19 +08:00
Lim Chee Aun
6c0f0a4127 More fallbacks for Intl.DisplayNames 2024-08-16 11:14:16 +08:00
Lim Chee Aun
bdb1dff278 Fix this unneeded Plural 2024-08-16 11:12:00 +08:00
Lim Chee Aun
89a2e7de43 Fix wrong feature detection for trending link posts
Ooops!
2024-08-15 17:34:54 +08:00
Lim Chee Aun
b351060fa7 Make lang selector smaller 2024-08-15 17:34:24 +08:00
Chee Aun
503d0a9867 New translations (Chinese Simplified) 2024-08-15 16:44:04 +08:00
Lim Chee Aun
1a3751ff16 Forgot to set lang attr on html 2024-08-15 15:33:15 +08:00
Lim Chee Aun
acba051ca2 Another attempt for Crowdin 2024-08-15 15:26:49 +08:00
Lim Chee Aun
ad0cb12e83 Try this crowdin setting to skip untranslated files/strings 2024-08-15 13:50:30 +08:00
Lim Chee Aun
377ad11c1a Fix relative time ago exceeding 24 hours 2024-08-15 09:09:57 +08:00
Lim Chee Aun
ac94303d0c Fix horizontal menu control group placement bug
react-menu changed it to role="none"
2024-08-14 22:22:43 +08:00
Lim Chee Aun
f9b676856e Prevent text blocks from wrapping 2024-08-14 22:03:53 +08:00
Lim Chee Aun
b16907dc24 Forgot to localise these keyboard shortcuts 2024-08-14 21:58:22 +08:00
Lim Chee Aun
6cc96b8a71 Default to extract + clean + watch
Without clean, the code diff is really ugly and hard to track
2024-08-14 20:15:02 +08:00
Lim Chee Aun
59f8f44776 Use v2 notifications policy API and new UI
Reference: https://github.com/mastodon/mastodon/pull/31342

Very MVP, not a lot of explanations. Maybe revisit later.
2024-08-14 20:12:39 +08:00
Lim Chee Aun
b1a8f1aa8f Build locales into separate folder 2024-08-14 17:17:34 +08:00
Lim Chee Aun
f359d36e9b Sync the list of locales between config & app code 2024-08-14 17:16:56 +08:00
Lim Chee Aun
fcb85d1172 lol %locale% doesn't work for this 2024-08-14 15:40:52 +08:00
Lim Chee Aun
6d15dfbf8f Upgrade dependencies
Dangerous move, but oh well.
2024-08-14 15:03:45 +08:00
Lim Chee Aun
e5815686a9 Add try/catch fallback if file fails to load
Could be the file is not there or something wrong with the connection. Still good to include this try/catch
2024-08-14 15:02:45 +08:00
Lim Chee Aun
d9bc18f557 Oops, accidentally add this locale when it's not ready yet 2024-08-14 15:00:15 +08:00
Lim Chee Aun
3048bd1eea Switch the common/native text
Prevents the lang selector from being jumpy
2024-08-14 11:48:14 +08:00
Lim Chee Aun
868e613089 Use msg here because the memo'ed Home doesn't re-render
And see the line numbers change again in translation files
2024-08-14 11:47:45 +08:00
Lim Chee Aun
921943245f Try limit export language
Not everything is fully translated yet, so it's weird to see all of them in PR
2024-08-14 11:46:12 +08:00
Lim Chee Aun
d1887afed8 The lines have changed
Hmm, this diff change is kinda noisy but useful to jump straight to the line
2024-08-14 10:48:37 +08:00
Lim Chee Aun
30a2a6a968 Add Crowdin PR label and custom commit message 2024-08-14 09:42:45 +08:00
Lim Chee Aun
2ab921d6db Load en by default, activate it later 2024-08-14 09:42:12 +08:00
Lim Chee Aun
b28fdcb0fa Fix wrong passing of locale values in Intl.DisplayNames 2024-08-14 09:41:31 +08:00
Lim Chee Aun
c31162220e Seems like 'es' is not needed now, weird 2024-08-14 09:41:07 +08:00
Lim Chee Aun
2c050c650b Fix wrong pluralization usage
Instead of one, should use _1 because string for "one" has to be shown regardless of plural forms

When 1, "{account} followed you" must show instead of "1 people followed you".
Some languages don't have plural rule for "one" so it might not show up. _1 forces it to show.
2024-08-14 09:40:39 +08:00
Lim Chee Aun
4918027c90 Use real ellipsis
And see if these strings can sync up
2024-08-13 18:17:00 +08:00
Chee Aun
e58f592470 Update Crowdin configuration file 2024-08-13 15:50:32 +08:00
Lim Chee Aun
c2e6d732c4 Initial i18n dev
Expecting bugs!
2024-08-13 15:26:23 +08:00
Lim Chee Aun
3f23fe6eb6 New post languages 2024-08-10 10:04:44 +08:00
Lim Chee Aun
c27275a9af Disable columns scroll snap for wider viewports 2024-08-10 10:04:44 +08:00
Lim Chee Aun
ff29e93b4f Fix RTL observer not working 2024-08-10 10:04:44 +08:00
Lim Chee Aun
78ca5bbc0b Fix prefs bug
- Some prefs returned can be uppercased, so make them lowercase
- `postingDefaultLanguage` probably doesn't work anymore every since masto.js upgrade. Sorry!
- Add additional checks to make sure prefs from server are not in unexpected forms
2024-08-10 10:04:44 +08:00
Lim Chee Aun
3be53f1ff9 Also set sort order when filter by Boosts in Catch-up 2024-08-10 10:04:44 +08:00
Chee Aun
9bf50615cb
Merge pull request #615 from verymilan/phanpy.social.tchncs.de
add phanpy.social.tchncs.de deployment to readme
2024-08-07 09:51:17 +08:00
Chee Aun
dfa1123ac3
Merge pull request #616 from Fastidious/patch-2
Update README.md
2024-08-07 09:50:39 +08:00
Fastidious
a0f2eb7305
Update README.md
Moved servers. This updates to the new one.
2024-08-06 10:47:13 -04:00