Commit graph

2923 commits

Author SHA1 Message Date
Chee Aun
a7f2cd52e6 New translations (Korean) 2024-08-17 11:31:44 +08:00
Chee Aun
f05fc55a88 New translations (Japanese) 2024-08-17 11:31:43 +08:00
Chee Aun
4e9a0d6de8 New translations (Italian) 2024-08-17 11:31:42 +08:00
Chee Aun
913e9cea6a New translations (Finnish) 2024-08-17 11:31:41 +08:00
Chee Aun
dfa6c2ee18 New translations (Basque) 2024-08-17 11:31:40 +08:00
Chee Aun
c19e423605 New translations (German) 2024-08-17 11:31:39 +08:00
Chee Aun
a1885d15a7 New translations (Catalan) 2024-08-17 11:31:38 +08:00
Chee Aun
8da8c55248 New translations (Arabic) 2024-08-17 11:31:37 +08:00
Chee Aun
ebcd7d119e New translations (French) 2024-08-17 11:31:35 +08:00
Lim Chee Aun
57f245d018 Remove export_languages
Better handle the list from the code instead of the PR
2024-08-17 11:29:28 +08:00
Lim Chee Aun
07c4be545d Add another language
Somehow the i18n PR is not updating, weird
2024-08-17 09:34:52 +08:00
Chee Aun
eb24b9af72 New translations (Spanish) 2024-08-17 02:01:55 +08:00
Chee Aun
0c92774741 New translations (Chinese Simplified) 2024-08-17 00:00:52 +08:00
Chee Aun
38c00ef15f New translations (Chinese Simplified) 2024-08-16 20:04:36 +08:00
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