bleh
This commit is contained in:
parent
181b00d037
commit
c46b678286
4 changed files with 16 additions and 8 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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}>
|
||||
|
|
|
|||
|
|
@ -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})`}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue