Skip to content

Commit

Permalink
Merge pull request #9027 from bansan85/9013-CloseCleanWorkingDirector…
Browse files Browse the repository at this point in the history
…yForm
  • Loading branch information
RussKie committed Apr 14, 2021
2 parents 435504a + 358d243 commit 187395a
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 54 deletions.
30 changes: 15 additions & 15 deletions GitUI/CommandsDialogs/FormCleanupRepository.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion GitUI/CommandsDialogs/FormCleanupRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private CleanMode GetCleanMode()
return string.Join(" ", textBoxPaths.Lines.Where(a => !string.IsNullOrEmpty(a)).Select(a => string.Format("\"{0}\"", a)));
}

private void Cancel_Click(object sender, EventArgs e)
private void Close_Click(object sender, EventArgs e)
{
Close();
}
Expand Down
26 changes: 13 additions & 13 deletions GitUI/CommandsDialogs/RepoHosting/ForkAndCloneForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions GitUI/CommandsDialogs/WorktreeDialog/FormManageWorktree.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions GitUI/TranslatedStrings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ internal sealed class TranslatedStrings : Translate
private readonly TranslationString _no = new("No");
private readonly TranslationString _okText = new("OK");
private readonly TranslationString _cancelText = new("Cancel");
private readonly TranslationString _closeText = new("Close");

private readonly TranslationString _buttonCheckoutBranch = new("Checkout branch");
private readonly TranslationString _buttonContinue = new("Continue");
Expand Down Expand Up @@ -128,6 +129,7 @@ public static void Reinitialize()
public static string No => _instance.Value._no.Text;
public static string OK => _instance.Value._okText.Text;
public static string Cancel => _instance.Value._cancelText.Text;
public static string Close => _instance.Value._closeText.Text;

public static string ButtonContinue => _instance.Value._buttonContinue.Text;
public static string ButtonCheckoutBranch => _instance.Value._buttonCheckoutBranch.Text;
Expand Down
16 changes: 4 additions & 12 deletions GitUI/Translation/English.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1680,10 +1680,6 @@ You will have push access. {2}</source>
<source>Clone</source>
<target />
</trans-unit>
<trans-unit id="closeBtn.Text">
<source>Close</source>
<target />
</trans-unit>
<trans-unit id="columnHeaderMyReposForks.Text">
<source># Forks</source>
<target />
Expand Down Expand Up @@ -3014,10 +3010,6 @@ revision:</source>
<source>Add a path...</source>
<target />
</trans-unit>
<trans-unit id="Cancel.Text">
<source>Cancel</source>
<target />
</trans-unit>
<trans-unit id="Cleanup.Text">
<source>Cleanup</source>
<target />
Expand Down Expand Up @@ -4967,10 +4959,6 @@ command "git help shortlog"</source>
<source>Open a worktree</source>
<target />
</trans-unit>
<trans-unit id="buttonClose.Text">
<source>Close</source>
<target />
</trans-unit>
<trans-unit id="buttonPruneWorktrees.Text">
<source>Prune the deleted worktrees</source>
<target />
Expand Down Expand Up @@ -9589,6 +9577,10 @@ Select this commit to populate the full message.</source>
<source>{0:Child|Children}</source>
<target />
</trans-unit>
<trans-unit id="_closeText.Text">
<source>Close</source>
<target />
</trans-unit>
<trans-unit id="_combinedDiff.Text">
<source>Combined diff</source>
<target />
Expand Down

0 comments on commit 187395a

Please sign in to comment.