{#if show && session}

{session.title || $i18n.t('Compare revision')}

{#if session.path}

{session.path}

{/if}
{#if !comparing} {/if} {#if comparing}
{loading ? $i18n.t('Loading...') : chunkCount ? $i18n.t('Change {{current}} of {{total}}', { current: activeChunk + 1, total: chunkCount }) : $i18n.t('No differences')} {#if approximate}≈{/if}
{/if}
{#if error}{/if}
{#each ['a', 'b'] as side} {@const lines = (side === 'a' ? working : proposal).split('\n').length}
{side === 'a' ? $i18n.t('Working copy') : $i18n.t('Proposed revision')} {#if comparing && !loading} {side === 'a' ? $i18n.t( lineChanges.removed === 1 ? '{{count}} removal' : '{{count}} removals', { count: lineChanges.removed } ) : $i18n.t( lineChanges.added === 1 ? '{{count}} addition' : '{{count}} additions', { count: lineChanges.added } )} {/if} {$i18n.t(lines === 1 ? '{{count}} line' : '{{count}} lines', { count: lines })}
{/each}
{#if comparing}
{:else}
{/if}
{#if comparing}
{/if}
{/if}