Skip to content

Commit

Permalink
Standardizing on casing of 'sObject', in strings
Browse files Browse the repository at this point in the history
  • Loading branch information
khawkins committed Oct 30, 2023
1 parent 9b7076e commit 53cc751
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions resources/instructions/createSObjectLwcQuickActions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Offline Starter Kit: Create SObject LWC Quick Actions</title>
<title>Offline Starter Kit: Create sObject LWC Quick Actions</title>
</head>
<style>
h1 {
Expand All @@ -27,7 +27,7 @@
}
</style>
<body>
<h1>Create SObject LWC Quick Actions</h1>
<h1>Create sObject LWC Quick Actions</h1>

<p>
The following sObjects are present in your configured landing page:
Expand All @@ -36,7 +36,7 @@ <h1>Create SObject LWC Quick Actions</h1>
<table>
<thead>
<tr>
<th>SObject</th>
<th>sObject</th>
<th>LWC Quick Actions</th>
</tr>
</thead>
Expand Down
2 changes: 1 addition & 1 deletion src/commands/wizard/landingPageCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class LandingPageCommand {
}

/**
* A Record List card shows a customized card for a particular SObject. It needs the following params from the user:
* A Record List card shows a customized card for a particular sObject. It needs the following params from the user:
* - Primary, and optionally Secondary and Tertiary fields
* - OrderBy field
* - OrderBy direction (Ascending or Descending)
Expand Down
2 changes: 1 addition & 1 deletion src/commands/wizard/lwcGenerationCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class LwcGenerationCommand {
new InstructionsWebviewProvider(
this.extensionUri
).showInstructionWebview(
l10n.t('Offline Starter Kit: Create SObject LWC Quick Actions'),
l10n.t('Offline Starter Kit: Create sObject LWC Quick Actions'),
'resources/instructions/createSObjectLwcQuickActions.html',
[
{
Expand Down
2 changes: 1 addition & 1 deletion src/test/suite/commands/wizard/landingPageCommand.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ suite('Landing Page Command Test Suite', () => {
};
UIUtils.showQuickPick = mockUIUtilsShowQuickPick;

// set up the sobject and 3 field pickers
// Set up the sObject and 3 field pickers
const orgUtilsStubSobjects = sinon.stub(OrgUtils, 'getSobjects');
const sobjects = [sobject];
orgUtilsStubSobjects.returns(Promise.resolve(sobjects));
Expand Down
2 changes: 1 addition & 1 deletion src/test/suite/utils/orgUtils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ suite('Org Utils Test Suite', () => {
assert.equal(sobject.labelPlural, 'Labels');
});

test('Returns list of fields for given sobject', async () => {
test('Returns list of fields for given sObject', async () => {
const sobjectFields: FieldType[] = [
buildField('City', 'string', 'Label'),
buildField('Name', 'string', 'ObjectName')
Expand Down

0 comments on commit 53cc751

Please sign in to comment.