Adding flags for better compatibility.
This commit is contained in:
parent
c41419a8b9
commit
9f8a2d4de0
4 changed files with 40 additions and 4 deletions
13
data/flags.json
Normal file
13
data/flags.json
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"all": "🌍",
|
||||||
|
"fr": "🇫🇷",
|
||||||
|
"en": "🇬🇧",
|
||||||
|
"de": "🇩🇪",
|
||||||
|
"es": "🇪🇸",
|
||||||
|
"it": "🇮🇹",
|
||||||
|
"no": "🇳🇴",
|
||||||
|
"fi": "🇫🇮",
|
||||||
|
"se": "🇸🇪",
|
||||||
|
"hu": "🇭🇺",
|
||||||
|
"pl": "🇵🇱"
|
||||||
|
}
|
|
@ -1,4 +1,5 @@
|
||||||
# Languages
|
# Languages
|
||||||
|
|
||||||
language:
|
language:
|
||||||
other: Language
|
other: Language
|
||||||
fr:
|
fr:
|
||||||
|
@ -11,7 +12,7 @@ es:
|
||||||
other: Spanish
|
other: Spanish
|
||||||
it:
|
it:
|
||||||
other: Italian
|
other: Italian
|
||||||
no:
|
"no":
|
||||||
other: Norwegian
|
other: Norwegian
|
||||||
fi:
|
fi:
|
||||||
other: Finish
|
other: Finish
|
||||||
|
@ -23,7 +24,7 @@ pl:
|
||||||
other: Polish
|
other: Polish
|
||||||
all:
|
all:
|
||||||
other: Without text
|
other: Without text
|
||||||
|
|
||||||
# Footer
|
# Footer
|
||||||
poweredBy:
|
poweredBy:
|
||||||
other: Powered by
|
other: Powered by
|
||||||
|
@ -31,4 +32,4 @@ usingTheme:
|
||||||
other: Using
|
other: Using
|
||||||
websiteSource:
|
websiteSource:
|
||||||
other: Website source code
|
other: Website source code
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ es:
|
||||||
other: Espagnol
|
other: Espagnol
|
||||||
it:
|
it:
|
||||||
other: Italien
|
other: Italien
|
||||||
no:
|
"no":
|
||||||
other: Norvegien
|
other: Norvegien
|
||||||
fi:
|
fi:
|
||||||
other: Finnois
|
other: Finnois
|
||||||
|
|
22
layouts/partials/flags.html
Normal file
22
layouts/partials/flags.html
Normal 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 }}
|
||||||
|
|
Loading…
Reference in a new issue