"Set branch name" to "Set remote branch name"

the action rename only the remote name and not the displayed. So it make more sense to update the copy.
This commit is contained in:
Pavel Laptev 2024-03-24 16:28:33 +01:00 committed by Mattias Granlund
parent 9d3934d68d
commit 55511e4128

View File

@ -91,7 +91,7 @@
</ContextMenuSection>
<ContextMenuSection>
<ContextMenuItem
label="Set branch name"
label="Set remote branch name"
disabled={isUnapplied || hasIntegratedCommits}
on:click={() => {
newRemoteName = branch.upstreamName || normalizeBranchName(branch.name) || '';
@ -130,12 +130,7 @@
visible = false;
}}
>
<TextBox
label="Remote branch name"
id="newRemoteName"
bind:value={newRemoteName}
focus
/>
<TextBox label="Remote branch name" id="newRemoteName" bind:value={newRemoteName} focus />
</form>
</svelte:fragment>