This commit is contained in:
thororen1234 2026-04-01 10:26:31 -04:00
parent 181b00d037
commit c46b678286
No known key found for this signature in database
4 changed files with 16 additions and 8 deletions

View file

@ -51,7 +51,7 @@
"oscilloscopeSolidColor": "Use solid color for oscilloscope",
"oscilloscopeColor": "Color for oscilloscope",
"spectrographSolidColor": "Use solid color for spectrograph",
"spectrographColor": "Color for spectrograph",
"spectrographColor": "Color for spectrograph (R, G, B or #hex)",
"forceMoveBelow": "Force the visualizer below the audio player"
},
"toasts": {
@ -160,7 +160,7 @@
}
},
"betterCommands": {
"description": "Enhances the command system with miscellaneous improvements.",
"description": "Refreshes the specified applications commands locally.",
"settings": {
"autoFillArguments": "Automatically fill command with all arguements instead of just required ones",
"allowNewlinesInCommands": "Allow newlines in command inputs (CTRL + Shift + Enter)"
@ -320,7 +320,9 @@
},
"showTags": "Display tag chips for commands",
"enableTagFilter": "Show the tag filter bar",
"customCommands": "Manage custom command palette entries"
"customCommands": "Manage custom command palette entries",
"compactStartEnabled": "Open the palette in compact mode first.",
"closeAfterExecute": "Close palette after executing a command."
},
"ui": {
"hotkeyTitle": "Command Palette Hotkey",
@ -1100,7 +1102,8 @@
},
"ui": {
"error": "Error, Failed to render GithubRepos"
}
},
"githubRepos": "GitHub Repositories"
},
"globalBadges": {
"description": "Adds global badges from other client mods",

View file

@ -281,7 +281,9 @@
"syncFromCloud": "Could not synchronize settings from the cloud ({e}).",
"upToDate": "Your settings are up to date.",
"updated": "Your settings have been updated! Click here to restart to fully apply changes!",
"updatedRemote": "Your settings have been updated! Click here to restart to fully apply changes!"
"updatedRemote": "Settings synchronized to the cloud!",
"syncedCloud": "Cloud data synchronized.",
"manifest": "Could not fetch manifest for deletion (API returned {e})."
}
},
"colorSighted": {
@ -1461,7 +1463,8 @@
"system": "System",
"unblockUser": "Unblock user",
"viewReviews": "View Reviews",
"description": "Review other users (Adds a new settings to profiles)"
"description": "Review other users (Adds a new settings to profiles)",
"userReviews": "User Reviews"
},
"roleColorEverywhere": {
"description": "Adds the top role color anywhere possible",

View file

@ -10,6 +10,7 @@ import { fetchReposByUserId, fetchReposByUsername, fetchUserInfo, GitHubUserInfo
import { GitHubRepo } from "@equicordplugins/githubRepos/types";
import { classes } from "@utils/misc";
import { openModal } from "@utils/modal";
import { t } from "@utils/translation";
import { findCssClassesLazy } from "@webpack";
import { Clickable, React, useEffect, UserProfileStore, useState } from "@webpack/common";
@ -100,7 +101,7 @@ export function ProfilePopoutComponent({ id, isSideBar = false }: { id: string,
<Clickable className={ProfileCardContainerClasses.breadcrumb} onClick={openReposModal}>
<div className={classes(ProfileCardOverlayClasses.overlay, ProfileCardContainerClasses.innerContainer, ProfileCardClasses.card)}>
<Paragraph size={isSideBar ? "sm" : "xs"} weight="medium">
GitHub Repositories
{t("equicordplugins.githubRepos.githubRepos")}
</Paragraph>
{!!repos.length && (
<div className={ProfileCardContainerClasses.icons}>

View file

@ -8,6 +8,7 @@ import { BaseText } from "@components/BaseText";
import { fetchReposByUserId, fetchReposByUsername, fetchUserInfo, GitHubUserInfo } from "@equicordplugins/githubRepos/githubApi";
import { GitHubRepo } from "@equicordplugins/githubRepos/types";
import { openModal } from "@utils/modal";
import { t } from "@utils/translation";
import { React, useEffect, UserProfileStore, useState } from "@webpack/common";
import { cl, settings } from "..";
@ -98,7 +99,7 @@ export function ProfileTabComponent({ id }: { id: string, theme: string; }) {
return (
<div className={cl("container", "tab")}>
<BaseText size="xs" weight="semibold" className={cl("header")}>
GitHub Repositories
{t("equicordplugins.githubRepos.githubRepos")}
{userInfo && (
<span className={cl("count")}>
{` (${repos.length})`}