diff --git a/cptr/frontend/src/lib/components/GitBar.svelte b/cptr/frontend/src/lib/components/GitBar.svelte index 3bb355c..0299588 100644 --- a/cptr/frontend/src/lib/components/GitBar.svelte +++ b/cptr/frontend/src/lib/components/GitBar.svelte @@ -808,27 +808,38 @@ - {#if gitStatus.ahead > 0} 0} + ↑{gitStatus.ahead}{/if} - {#if gitStatus.behind > 0}↓{gitStatus.behind}{/if} - {#if totalChanges > 0} + ↑{gitStatus.ahead} + + {/if} + {#if gitStatus.behind > 0} + + ↓{gitStatus.behind} + + {/if} + {#if totalChanges > 0} + {$t('git.changedCount', { count: totalChanges })}{#if totalAdditions || totalDeletions}+{totalAdditions} - -{totalDeletions}{/if} - >{/if} - {#if actionMsg} + {$t('git.changedCount', { count: totalChanges })} + + {#if totalAdditions || totalDeletions} + + +{totalAdditions} + -{totalDeletions} + + {/if} + {/if} + {#if actionMsg} + {actionMsg}{/if} + > + {actionMsg} + + {/if}