Skip to content

Commit

Permalink
Add Galician translation and flag
Browse files Browse the repository at this point in the history
  • Loading branch information
martinord committed Aug 12, 2020
1 parent 6fa58f6 commit 9ef27a5
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
2 changes: 2 additions & 0 deletions data/langFlags.yaml
Expand Up @@ -9,3 +9,5 @@ nl: nl
pt-br: br
ru: ru
tr: tr
ml: in
gl: es-ga
36 changes: 36 additions & 0 deletions i18n/gl.toml
@@ -0,0 +1,36 @@
# Translations for Galician
# https://gohugo.io/content-management/multilingual/#translation-of-strings

# Generic
#
[translations]
other = "Traducións"

[postAvailable]
other = "Tamén dispoñible en"


# 404.html
#
[archives]
other = "Arquivos"

[home]
other = "Inicio"

[notFound]
other = "Vaia, non se atopou a páxina..."


# posts/single.html
#
[readingTime]
one = "Un minuto"
other = "{{ .Count }} minutos"

[tableOfContents]
other = "Táboa de contidos"

[wordCount]
one = "Unha Palabra"
other = "{{ .Count }} Palabras"
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Expand Up @@ -19,7 +19,7 @@
{{ end }}

<!-- CSS -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.2.1/css/flag-icon.min.css" rel="stylesheet"
<link href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.5.0/css/flag-icon.min.css" rel="stylesheet"
type="text/css">

{{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true) }}
Expand Down

0 comments on commit 9ef27a5

Please sign in to comment.