Adding flags for better compatibility.

This commit is contained in:
Ad5001 2022-01-21 13:22:55 +01:00
parent c41419a8b9
commit 9f8a2d4de0
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
4 changed files with 40 additions and 4 deletions

13
data/flags.json Normal file
View file

@ -0,0 +1,13 @@
{
"all": "🌍",
"fr": "🇫🇷",
"en": "🇬🇧",
"de": "🇩🇪",
"es": "🇪🇸",
"it": "🇮🇹",
"no": "🇳🇴",
"fi": "🇫🇮",
"se": "🇸🇪",
"hu": "🇭🇺",
"pl": "🇵🇱"
}

View file

@ -1,4 +1,5 @@
# Languages
language:
other: Language
fr:
@ -11,7 +12,7 @@ es:
other: Spanish
it:
other: Italian
no:
"no":
other: Norwegian
fi:
other: Finish
@ -23,7 +24,7 @@ pl:
other: Polish
all:
other: Without text
# Footer
poweredBy:
other: Powered by
@ -31,4 +32,4 @@ usingTheme:
other: Using
websiteSource:
other: Website source code

View file

@ -11,7 +11,7 @@ es:
other: Espagnol
it:
other: Italien
no:
"no":
other: Norvegien
fi:
other: Finnois

View file

@ -0,0 +1,22 @@
<!--
Omegamma - Hugo theme for ad5001.eu and related websites
Copyright (C) 2021-2022 Ad5001 <mail@ad5001.eu>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
{{ range . }}
<span class="icon-larger-text" alt="{{ i18n . }}" title="{{ i18n . }}">{{ index site.Data.flags . }}</span>
{{ end }}