chore: fix in-product copy casing (#1671)

This commit is contained in:
Katie Horne
2022-05-23 13:30:38 -05:00
committed by GitHub
parent 7ac3cbe772
commit b0298a3157
8 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ func templateList() *cobra.Command {
}
tableWriter := cliui.Table()
tableWriter.AppendHeader(table.Row{"Name", "Last Updated", "Used By"})
tableWriter.AppendHeader(table.Row{"Name", "Last updated", "Used by"})
for _, template := range templates {
suffix := ""
@@ -7,7 +7,7 @@ import { TabPanel } from "../TabPanel/TabPanel"
export const Language = {
accountLabel: "Account",
sshKeysLabel: "SSH Keys",
sshKeysLabel: "SSH keys",
settingsLabel: "Settings",
}
@@ -43,15 +43,15 @@ export const WorkspaceStats: React.FC<WorkspaceStatsProps> = ({ workspace }) =>
<span className={styles.statsLabel}>Version</span>
<span className={styles.statsValue}>
{workspace.outdated ? (
<span style={{ color: theme.palette.error.main }}>outdated</span>
<span style={{ color: theme.palette.error.main }}>Outdated</span>
) : (
<span style={{ color: theme.palette.text.secondary }}>up to date</span>
<span style={{ color: theme.palette.text.secondary }}>Up to date</span>
)}
</span>
</div>
<div className={styles.statsDivider} />
<div className={styles.statItem}>
<span className={styles.statsLabel}>Last Built</span>
<span className={styles.statsLabel}>Last built</span>
<span className={styles.statsValue}>{dayjs().to(dayjs(workspace.latest_build.created_at))}</span>
</div>
</div>
@@ -6,7 +6,7 @@ import { MockGitSSHKey, renderWithAuth } from "../../../testHelpers/renderHelper
import { Language as authXServiceLanguage } from "../../../xServices/auth/authXService"
import { Language as SSHKeysPageLanguage, SSHKeysPage } from "./SSHKeysPage"
describe("SSH Keys Page", () => {
describe("SSH keys Page", () => {
it("shows the SSH key", async () => {
renderWithAuth(<SSHKeysPage />)
await screen.findByText(MockGitSSHKey.public_key)
@@ -10,11 +10,11 @@ import { Stack } from "../../../components/Stack/Stack"
import { XServiceContext } from "../../../xServices/StateContext"
export const Language = {
title: "SSH Keys",
title: "SSH keys",
description:
"Coder automatically inserts a private key into every workspace; you can add the corresponding public key to any services (such as Git) that you need access to from your workspace.",
regenerateLabel: "Regenerate",
regenerateDialogTitle: "Regenerate SSH Key?",
regenerateDialogTitle: "Regenerate SSH key?",
regenerateDialogMessage:
"You will need to replace the public SSH key on services you use it with, and you'll need to rebuild existing workspaces.",
confirmLabel: "Confirm",
@@ -22,13 +22,13 @@ import { firstLetter } from "../../util/firstLetter"
dayjs.extend(relativeTime)
export const Language = {
createButton: "Create Template",
createButton: "Create template",
developerCount: (ownerCount: number): string => {
return `${ownerCount} developer${ownerCount !== 1 ? "s" : ""}`
},
nameLabel: "Name",
usedByLabel: "Used By",
lastUpdatedLabel: "Last Updated",
usedByLabel: "Used by",
lastUpdatedLabel: "Last updated",
emptyViewCreateCTA: "Create a template",
emptyViewCreate: "to standardize development workspaces for your team.",
emptyViewNoPerms: "No templates have been created! Contact your Coder administrator.",
+1 -1
View File
@@ -8,7 +8,7 @@ import { UsersTable } from "../../components/UsersTable/UsersTable"
export const Language = {
pageTitle: "Users",
newUserButton: "New User",
newUserButton: "New user",
}
export interface UsersPageViewProps {
@@ -22,7 +22,7 @@ import { getDisplayStatus } from "../../util/workspace"
dayjs.extend(relativeTime)
export const Language = {
createButton: "Create Workspace",
createButton: "Create workspace",
emptyView: "so you can check out your repositories, edit your source code, and build and test your software.",
}