From 6a8e827d61edd0f578af46f18b85acc5e0a62111 Mon Sep 17 00:00:00 2001 From: Thomas Miceli <27960254+thomiceli@users.noreply.github.com> Date: Sat, 23 Nov 2024 17:41:15 +0100 Subject: [PATCH] Fix nits typos and translation (#388) --- internal/i18n/locales/en-US.yml | 1 + templates/pages/admin_invitations.html | 2 +- templates/pages/gist.html | 2 +- templates/pages/gist_embed.html | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/internal/i18n/locales/en-US.yml b/internal/i18n/locales/en-US.yml index c5a3104..144cc7d 100644 --- a/internal/i18n/locales/en-US.yml +++ b/internal/i18n/locales/en-US.yml @@ -261,6 +261,7 @@ admin.invitations.code: Code admin.invitations.copy_link: Copy link admin.invitations.uses: Uses admin.invitations.expired: Expired +admin.invitations.delete_confirm: Do you want to delete this invitation ? flash.admin.user-deleted: User has been deleted flash.admin.gist-deleted: Gist has been deleted diff --git a/templates/pages/admin_invitations.html b/templates/pages/admin_invitations.html index 9314e06..7b43220 100644 --- a/templates/pages/admin_invitations.html +++ b/templates/pages/admin_invitations.html @@ -55,7 +55,7 @@
{{ $.csrfHtml }} - +
diff --git a/templates/pages/gist.html b/templates/pages/gist.html index 26cbe8f..35a4a6c 100644 --- a/templates/pages/gist.html +++ b/templates/pages/gist.html @@ -38,7 +38,7 @@ {{ if $file.Truncated }}
- {{ $.locale.Tr "gist.file-truncated" }} {{ $.locale.Tr "gist.watch-full-file" }}. + {{ $.locale.Tr "gist.file-truncated" }} {{ $.locale.Tr "gist.watch-full-file" }}
{{ end }} {{ if and (not $csv) (isCsv $file.Filename) }} diff --git a/templates/pages/gist_embed.html b/templates/pages/gist_embed.html index 6515977..373e6b6 100644 --- a/templates/pages/gist_embed.html +++ b/templates/pages/gist_embed.html @@ -8,7 +8,7 @@ {{ if $file.Truncated }}
- {{ $.locale.Tr "gist.file-truncated" }} {{ $.locale.Tr "gist.watch-full-file" }}. + {{ $.locale.Tr "gist.file-truncated" }} {{ $.locale.Tr "gist.watch-full-file" }}
{{ end }} {{ $csv := csvFile $file.File }}