Commit graph

52 commits

Author SHA1 Message Date
M
acf7abe77a
feat(i18n): Add translation keys and implement localization for 80+ p… (#772)
* feat(i18n): Add translation keys and implement localization for 80+ plugins

- Add comprehensive translation keys to i18n/en-US/vencord.json
- Update all plugins to use t() function from @utils/translation
- Replace hardcoded strings with translation function calls
- Support plural forms with _one/_other suffixes
- Use Translate component for strings with embedded JSX

Plugins translated include:
- Core: reviewDB, translate, voiceMessages, messageLogger
- UI: showHiddenChannels, customRPC, clientTheme, permissionsViewer
- Utility: betterSessions, betterSettings, memberCount, betterFolders
- Social: relationshipNotifier, messageLatency, whoReacted
- Media: imageZoom, viewIcons, viewRaw, decor, fakeNitro
- And 60+ more plugins

All changes pass TypeScript compilation.

* Update i18n/en-US/vencord.json

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update i18n/en-US/vencord.json

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update i18n/en-US/vencord.json

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update i18n/en-US/vencord.json

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update i18n/en-US/vencord.json

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update i18n/en-US/vencord.json

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* feat(i18n): Add equicord.json for equicordplugins localization

- Create i18n/en-US/equicord.json with messageLoggerEnhanced translation keys
- Create empty equicord.json files for all other locales (Crowdin will handle translations)
- Build system automatically picks up all JSON files in i18n/{locale}/

* Update i18n/en-US/vencord.json

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* feat(i18n): Add translations to 200 equicordplugins

- Translate all user-facing strings in equicordplugins to use t() function
- Add translation keys to i18n/en-US/equicord.json
- Plugin names remain static strings for build system compatibility
- Settings descriptions, tooltips, context menus, and UI strings now translatable

* FileUpload: add sharex file support (#771)

* FileUpload: add sharex file support
Quick note, the settings seem to split pacal case with spaces for some reason,
so `ShareX` renders as `Share X`. This is stupid and im upset and I dont think
theres anything I can do about it

* FileUpload: use Headers object to construct HTTP headers

* Update vencord.json

---------

Co-authored-by: Mishal <91066601+mishalhossin@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Key <keircn@proton.me>
Co-authored-by: thororen1234 <78185467+thororen1234@users.noreply.github.com>
2026-02-15 09:39:58 -05:00
thororen1234
9fc100fa9b
Merge remote-tracking branch 'upstream/dev' into dev 2026-01-28 18:35:13 -05:00
Vendicated
816243e702
Settings: add textarea options 2026-01-28 04:15:39 +01:00
sadan4
575421f4d0
fix everything (#3925)
Co-authored-by: prism <69634294+imjustprism@users.noreply.github.com>
Co-authored-by: sadan4 <117494111+sadan4@users.noreply.github.com>
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
Co-authored-by: V <vendicated@riseup.net>
Co-authored-by: thororen1234 <78185467+thororen1234@users.noreply.github.com>
Co-authored-by: prism <snawalt420@proton.me>
Co-authored-by: wearrrrr <contact@wearr.dev>
Co-authored-by: Elvyra <88881326+EepyElvyra@users.noreply.github.com>
2026-01-24 01:59:53 +01:00
thororen1234
16da32453e
Merge branch 'pr-3925' into dev 2026-01-23 15:52:33 -05:00
thororen1234
36dd2445d9
Merge branch 'pr-3925' into dev 2026-01-23 15:52:17 -05:00
Vendicated
6a0eff6e6c
fix MLE 2026-01-23 21:46:18 +01:00
Vendicated
39eb315f31
more classname fixes 2026-01-23 20:36:48 +01:00
prism
050dd1cdcc
feat(eslint): migrate (#596)
* eslint: migrate to defineConfig and add no-multiple-empty-lines rule

* chore: fix multiple empty lines
2025-12-25 13:27:36 -05:00
thororen1234
fe2742bfaa
Migrate All FormTitle & Fix Building 2025-10-10 21:11:31 -04:00
thororen1234
8c6dfd86ed
Merge remote-tracking branch 'upstream/dev' into dev 2025-07-10 19:11:43 -04:00
V
dc9064326b
refactor discord types into separate npm package (#3520)
Co-authored-by: V <vendicated@riseup.net>
Co-authored-by: sadan <117494111+sadan4@users.noreply.github.com>
Co-authored-by: ezzud <contact@ezzud.fr>
2025-07-10 00:38:39 +02:00
thororen1234
fc6bafbae0
Merge remote-tracking branch 'upstream/dev' into dev 2025-07-01 16:38:36 -04:00
Vendicated
a25d26e921
Update to new Discord css variable names
Co-Authored-By: sadan <117494111+sadan4@users.noreply.github.com>
Co-Authored-By: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
2025-06-28 03:47:58 +02:00
thororen1234
8ae44e2ec3
Merge remote-tracking branch 'upstream/dev' into dev 2025-06-06 15:30:58 -04:00
Vendicated
fae15dbdfe
avoid showing ugly red error cards to users 2025-06-06 18:51:05 +02:00
thororen1234
835b2c1121 Merge remote-tracking branch 'upstream/dev' into dev 2025-01-29 19:09:01 -05:00
Nuckyz
5ad35c36e4
Make Option.Component not require description
Also correctly infers the type from "default"
2025-01-29 14:34:44 -03:00
thororen1234
acf04bb01d Merge remote-tracking branch 'upstream/dev' into dev 2025-01-22 21:20:51 -05:00
v
317121fc08
Replace API add/remove funcs with methods in plugin definition (#3028) 2025-01-23 01:48:44 +00:00
thororen1234
f8879cc801 Merge remote-tracking branch 'upstream/dev' into dev
# Conflicts:
#	eslint.config.mjs
#	package.json
#	pnpm-lock.yaml
#	src/components/PluginSettings/index.tsx
#	src/plugins/imageZoom/index.tsx
#	src/plugins/messageLogger/index.tsx
#	src/plugins/pictureInPicture/index.tsx
#	src/plugins/serverInfo/GuildInfoModal.tsx
#	src/plugins/whoReacted/index.tsx
2025-01-04 17:57:05 -05:00
v
7be3a40b7c
Add React eslint & update depencenies (#3090)
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
2025-01-04 03:24:50 -03:00
thororen1234
db7f701376 Merge remote-tracking branch 'upstream/dev' 2024-07-17 21:15:04 +00:00
Vendicated
80b493d7a8
WhoReacted: fix errors 2024-07-17 21:30:10 +02:00
thororen1234
40a53e0da9 Updates 2024-06-21 14:34:04 -04:00
Nuckyz
d4ed747434
Clean-up related additions to mangled exports 2024-06-21 04:15:44 -03:00
thororen1234
cd96099b3d Merge remote-tracking branch 'upstream/dev' 2024-06-20 12:35:54 -04:00
Nuckyz
a01ee40591
Clean-up related additions to mangled exports 2024-06-19 23:50:04 -03:00
thororen1234
2e40a9e07b Updates 2024-06-18 22:37:54 -04:00
vee
d6f1209438
fix first set of plugins (#2591)
* Add back mangled webpack searching

* Make window non enumerable in all cases

* fix some webpack commons

* oops

* fix more webpack commons

* fix some finds

* fix more webpack commons

* fix common names

* fix reporter

* fix Constants common

* more fix

* fix SettingsStores (return of old SettingsStoreAPI)

* doomsday fix: MutualGroupDMs (#2585)

* fix SettingsStoreAPI

* fix MessageLinkEmbeds

* fix checking uninitialised settings

* doomsday fix: BetterSessions (#2587)

* doomsday fix: ReviewDB and Summaries (#2586)

Co-authored-by: vee <vendicated@riseup.net>

* fix various things that use default/other names

* fix settings

* wbctxmenus

* fix BetterSettings

* wouldnt it be funny if discord reverted again once we're done

* fix ViewIcons

* fix showconnections

* fix FriendsSince

* FakeNitro: fix app icons

* doomsday fix: NoPendingCount (#2590)

---------

Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
Co-authored-by: Amia <9750071+aamiaa@users.noreply.github.com>
Co-authored-by: Manti <67705577+mantikafasi@users.noreply.github.com>
2024-06-19 03:04:15 +02:00
thororen1234
8a093424c0 Merge remote-tracking branch 'upstream/dev' 2024-06-12 13:44:23 -04:00
Vendicated
40c5ade82d
MessageLinkEmbeds: fix display when using compact mode 2024-06-12 04:48:42 +02:00
thororen1234
f2d2ca1fa8 Merge remote-tracking branch 'upstream/dev' 2024-05-30 10:51:39 -04:00
Nuckyz
537fc5e33d
feat(API): updateMessage API for forcing re-renders 2024-05-29 04:57:18 -03:00
thororen1234
736c0856f5 Merge remote-tracking branch 'upstream/dev' 2024-05-22 09:31:06 -04:00
Nuckyz
afd56820db
Revert "MessageLinkEmbeds: No longer need to reset global regex"
It is still needed for messageLinkRegex.test
2024-05-21 23:58:37 -03:00
thororen1234
9d0550bf79 Merge remote-tracking branch 'upstream/dev' 2024-05-20 15:39:21 -04:00
Nuckyz
a94b88cd56
MessageLinkEmbeds: No longer need to reset global regex 2024-05-19 04:20:27 -03:00
Nuckyz
b33b5bdc9f
MessageLinkEmbeds: Add limit for nested links 2024-05-19 03:54:49 -03:00
thororen1234
73a3c89935 Merge remote-tracking branch 'upstream/dev' 2024-05-14 10:36:24 -04:00
Nuckyz
d4ebfc233f
Make all RestAPI calls use Endpoints object 2024-05-13 23:00:11 -03:00
thororen
ea7451bcdc forked!! 2024-04-17 14:29:47 -04:00
Kyuuhachi
18d4780635
fix(MessageLinkEmbeds): Actually disable when disabled (#2323) 2024-04-03 12:51:28 +00:00
mcpower
ec66c35d41
MessageLinkEmbeds: Load embeds from newest to oldest (#2230)
Co-authored-by: V <vendicated@riseup.net>
2024-03-22 01:27:09 +00:00
Vendicated
a501da692f
MessageLinkEmbeds: fix group dm support, improve ui 2024-02-15 11:08:43 +01:00
Vendicated
bc0a55053d
MessageLinkEmbeds: fix erroring on some invalid message links 2024-02-15 10:12:33 +01:00
V
7b24c8ac69
move new webpack methods to more appropriate file 2023-11-22 07:04:17 +01:00
Nuckyz
ffe6512693
Improve component finding api and migrate plugins to use them 2023-11-22 02:49:08 -03:00
Vendicated
584885acf5
[skip ci] Revert "add react linting"
doesnt work properly :(

This reverts commit 18fdc33ee7.
2023-10-31 23:56:13 +01:00
Vendicated
18fdc33ee7
[skip ci] add react linting 2023-10-31 23:50:55 +01:00