Commit graph

2763 commits

Author SHA1 Message Date
Chee Aun
8919aee046 New translations (Galician) 2024-08-17 11:31:48 +08:00
Chee Aun
ea12b8f1f4 New translations (Chinese Traditional) 2024-08-17 11:31:47 +08:00
Chee Aun
760588c91c New translations (Dutch) 2024-08-17 11:31:46 +08:00
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
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
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
Chee Aun
0d990b6191 New translations (Chinese Simplified) 2024-08-16 12:56:34 +08:00
Chee Aun
503d0a9867 New translations (Chinese Simplified) 2024-08-15 16:44:04 +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