Pull more text into translation

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
2026-05-19 17:55:22 -07:00
parent d206ed9f3e
commit b1b5408301
7 changed files with 37 additions and 10 deletions

View File

@@ -1,9 +1,9 @@
{{- $comment := "" -}}
{{- if eq .from .to -}}
{{- $comment = printf ", line %d" .from -}}
{{- $comment = i18n "lineX" .to -}}
{{- else if eq .from 0 -}}
{{- $comment = printf ", around line %d" .to -}}
{{- $comment = i18n "aroundLineX" .to -}}
{{- else -}}
{{- $comment = printf ", lines %d through %d" .from .to -}}
{{- $comment = i18n "linesXThroughY" . -}}
{{- end -}}
{{- return $comment -}}