Skip to content

Commit f9ac6fc

Browse files
author
Sigmabrogz
committed
fix(i18n): apply remaining string translations in ViewerPanel as per code review
1 parent ae0348f commit f9ac6fc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/components/diff/ViewerPanel.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function getCodeUrl(version: string): string {
145145
@click="showOptions = !showOptions"
146146
>
147147
<span class="i-lucide:settings w-3.5 h-3.5" />
148-
Options
148+
{{ $t('compare.viewer.options') }}
149149
<span
150150
class="i-lucide:chevron-down w-3 h-3 transition-transform"
151151
:class="{ 'rotate-180': showOptions }"
@@ -298,7 +298,7 @@ function getCodeUrl(version: string): string {
298298
class="px-2 py-1 text-xs text-fg-muted hover:text-fg bg-bg-muted border border-border rounded transition-colors"
299299
target="_blank"
300300
>
301-
View file
301+
{{ $t('compare.viewer.view_file') }}
302302
</NuxtLink>
303303
</div>
304304
</div>
@@ -335,7 +335,7 @@ function getCodeUrl(version: string): string {
335335
:to="getCodeUrl(toVersion)"
336336
class="text-xs text-fg-muted hover:text-fg underline"
337337
>
338-
View in code browser
338+
{{ $t('compare.viewer.view_in_code_browser') }}
339339
</NuxtLink>
340340
</div>
341341
</div>
@@ -345,7 +345,7 @@ function getCodeUrl(version: string): string {
345345
v-else-if="diff && diff.hunks.length === 0"
346346
class="py-8 text-center text-fg-muted text-sm"
347347
>
348-
No content changes detected
348+
{{ $t('compare.viewer.no_content_changes') }}
349349
</div>
350350

351351
<!-- Diff content -->

0 commit comments

Comments
 (0)