1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Use sentence case everywhere

We have not been good at consistent casing so far. Now we use 'Sentence case' everywhere. EVERYWHERE.

Also Removing 'Lc' prefix from i18n field names: the 'Lc' stood for lowercase but now that everything
is in 'Sentence case' there's no need for the distinction.

I've got a couple lower case things I've kept: namely, things that show up in parentheses.
This commit is contained in:
Jesse Duffield
2023-05-25 21:11:51 +10:00
parent e5534d9781
commit d772c9f1d4
143 changed files with 2691 additions and 2683 deletions

View File

@ -26,7 +26,7 @@ var Amend = NewIntegrationTest(NewIntegrationTestArgs{
Press(keys.Commits.AmendToCommit)
t.ExpectPopup().Confirmation().Title(
Equals("Amend Last Commit")).
Equals("Amend last commit")).
Content(Contains("Are you sure you want to amend last commit?")).
Confirm()

View File

@ -25,7 +25,7 @@ var CreateTag = NewIntegrationTest(NewIntegrationTestArgs{
t.ExpectPopup().Menu().
Title(Equals("Create tag")).
Select(Contains("lightweight")).
Select(Contains("Lightweight")).
Confirm()
t.ExpectPopup().Prompt().

View File

@ -28,7 +28,7 @@ var NewBranch = NewIntegrationTest(NewIntegrationTestArgs{
Press(keys.Universal.New).
Tap(func() {
branchName := "my-branch-name"
t.ExpectPopup().Prompt().Title(Contains("New Branch Name")).Type(branchName).Confirm()
t.ExpectPopup().Prompt().Title(Contains("New branch name")).Type(branchName).Confirm()
t.Git().CurrentBranchName(branchName)
}).

View File

@ -29,7 +29,7 @@ var ResetAuthor = NewIntegrationTest(NewIntegrationTestArgs{
Tap(func() {
t.ExpectPopup().Menu().
Title(Equals("Amend commit attribute")).
Select(Contains("reset author")).
Select(Contains("Reset author")).
Confirm()
}).
Lines(

View File

@ -26,7 +26,7 @@ var RevertMerge = NewIntegrationTest(NewIntegrationTestArgs{
Lines(
Contains("first change"),
Contains("second-change-branch unrelated change"),
Contains("cancel"),
Contains("Cancel"),
).
Select(Contains("first change")).
Confirm()

View File

@ -32,7 +32,7 @@ var SetAuthor = NewIntegrationTest(NewIntegrationTestArgs{
Tap(func() {
t.ExpectPopup().Menu().
Title(Equals("Amend commit attribute")).
Select(Contains(" set author")). // adding space at start to distinguish from 'reset author'
Select(Contains(" Set author")). // adding space at start to distinguish from 'reset author'
Confirm()
t.ExpectPopup().Prompt().