Merge pull request #4402 from gitbutlerapp/rename-trunk-to-target

rename Trunk to Target in the UI
This commit is contained in:
Kiril Videlov 2024-07-16 14:56:54 +02:00 committed by GitHub
commit b2db0ca653
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@
</script>
<button
use:tooltip={isNavCollapsed ? 'Trunk' : ''}
use:tooltip={isNavCollapsed ? 'Target' : ''}
on:mousedown={async () => await goto(`/${project.id}/base`)}
class="base-branch-card"
class:selected
@ -39,7 +39,10 @@
{#if !isNavCollapsed}
<div class="content">
<div class="button-head">
<span class="text-base-14 text-semibold trunk-label">Trunk</span>
<span
use:tooltip={'The branch that your Workspace virtual branches are based on and will be merged into.'}
class="text-base-14 text-semibold trunk-label">Target</span
>
{#if ($base?.behind || 0) > 0}
<Badge count={$base?.behind || 0} help="Unmerged upstream commits" />
{/if}