Skip to content

chore: fix in-product copy casing #1671

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/templatelist.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 := ""
Expand Down
2 changes: 1 addition & 1 deletion site/src/components/SettingsLayout/SettingsLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { TabPanel } from "../TabPanel/TabPanel"

export const Language = {
accountLabel: "Account",
sshKeysLabel: "SSH Keys",
sshKeysLabel: "SSH keys",
settingsLabel: "Settings",
}

Expand Down
6 changes: 3 additions & 3 deletions site/src/components/WorkspaceStats/WorkspaceStats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions site/src/pages/SettingsPages/SSHKeysPage/SSHKeysPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions site/src/pages/TemplatesPage/TemplatesPageView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
2 changes: 1 addition & 1 deletion site/src/pages/UsersPage/UsersPageView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { UsersTable } from "../../components/UsersTable/UsersTable"

export const Language = {
pageTitle: "Users",
newUserButton: "New User",
newUserButton: "New user",
}

export interface UsersPageViewProps {
Expand Down
2 changes: 1 addition & 1 deletion site/src/pages/WorkspacesPage/WorkspacesPageView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
}

Expand Down