Use correct badge for Ukrainian

Julien LepillerThu Jul 22 16:09:42+0200 2021

4b97d91

Use correct badge for Ukrainian

images/get-it-on-ua.png unknown status 1

Binary data

po/nani.pot

88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2021-07-21 14:15+0200\n"
11+
"POT-Creation-Date: 2021-07-21 14:25+0200\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"

3939
msgid "<img src=\"/images/get-it-on-en.png\" />"
4040
msgstr ""
4141
42-
#: tools/theme.scm:53
42+
#: tools/theme.scm:57
4343
msgid "Build it"
4444
msgstr ""
4545

5151
msgid "Data Sources"
5252
msgstr ""
5353
54-
#: pages/documentation.scm:28 tools/theme.scm:51
54+
#: pages/documentation.scm:28 tools/theme.scm:55
5555
msgid "Documentation"
5656
msgstr ""
5757

6464
msgstr ""
6565
6666
#. TRANSLATORS: translate this with the name of your language.
67-
#: tools/theme.scm:66
67+
#: tools/theme.scm:70
6868
msgid "English"
6969
msgstr ""
7070
71-
#: pages/index.scm:36 tools/theme.scm:49
71+
#: pages/index.scm:36 tools/theme.scm:52
7272
msgid "Features"
7373
msgstr ""
7474

180180
msgid "Kanji dictionary with Spanish meanings."
181181
msgstr ""
182182
183-
#: tools/theme.scm:55
183+
#: tools/theme.scm:59
184184
msgid "Language"
185185
msgstr ""
186186

190190
"in so many different ways, some of the greatest are listed below:"
191191
msgstr ""
192192
193-
#: pages/mentions.scm:28 tools/theme.scm:78
193+
#: pages/mentions.scm:28 tools/theme.scm:83
194194
msgid "Legal notices"
195195
msgstr ""
196196

239239
"Development Group."
240240
msgstr ""
241241
242-
#: tools/theme.scm:110
242+
#: tools/theme.scm:115
243243
msgid "Read"
244244
msgstr ""
245245

306306
"data."
307307
msgstr ""
308308
309-
#: tools/theme.scm:79
309+
#: tools/theme.scm:84
310310
#, scheme-format
311311
msgid ""
312312
"The source of this website can be seen at\n"

434434
"open a new view where you can select a dictionary in a list."
435435
msgstr ""
436436
437-
#: tools/theme.scm:71
437+
#: tools/theme.scm:75
438438
msgid "Translate"
439439
msgstr ""
440440
441-
#: tools/theme.scm:97
441+
#: tools/theme.scm:102
442442
msgid "View posts for every language"
443443
msgstr ""
444444

458458
msgid "You can help too!"
459459
msgstr ""
460460
461-
#: tools/theme.scm:89
461+
#: tools/theme.scm:94
462462
#, scheme-format
463463
msgid "by ~a ??? ~a"
464464
msgstr ""

po/uk.po

4040
#. TRANSLATORS: rename this file to /images/get-it-on-<lang>.png
4141
#: pages/index.scm:35
4242
msgid "<img src=\"/images/get-it-on-en.png\" />"
43-
msgstr "<img src=\"/images/get-it-on-en.png\" />"
43+
msgstr "<img src=\"/images/get-it-on-ua.png\" />"
4444
4545
#: tools/theme.scm:53
4646
msgid "Build it"

tools/theme.scm

3939
               (link (@ (rel "stylesheet") (href "/css/device.css"))))
4040
             (body (@ (lang ,lang))
4141
               (header
42-
                 (span (a (@ (href ,(string-append "/" lang "/"))) "????"))
42+
                 (span (a (@ (href ,(string-append (if (equal? lang "") "" "/")
43+
                                                   lang "/")))
44+
                          "????"))
4345
                 (nav (@ (id "main-menu"))
4446
                   (label (@ (for "hamburger") (id "hamburger-label"))
4547
                     (img (@ (alt "(open the menu)") (src "/images/hamburger.png"))))
4648
                   (input (@ (id "hamburger") (type "checkbox")))
4749
                   (ul
48-
                     (li (a (@ (href ,(string-append "/" lang "/index.html")))
50+
                     (li (a (@ (href ,(string-append (if (equal? lang "") "" "/")
51+
                                                     lang "/index.html")))
4952
                            ,(_ "Features")))
50-
                     (li (a (@ (href ,(string-append "/" lang "/documentation.html")))
53+
                     (li (a (@ (href ,(string-append (if (equal? lang "") "" "/")
54+
                                                     lang "/documentation.html")))
5155
                            ,(_ "Documentation")))
5256
                     (li (a (@ (href "https://framagit.org/nani-project/nani-app"))
5357
                            ,(_ "Build it")))

7478
               (footer
7579
                 (div (@ (class "footer-flex"))
7680
                   (p "?? Copyright Julien Lepiller 2019")
77-
                   (p (a (@ (href ,(string-append "/" lang "/mentions.html")))
81+
                   (p (a (@ (href ,(string-append (if (equal? lang "") "" "/")
82+
                                                  lang "/mentions.html")))
7883
                         ,(_ "Legal notices"))))
7984
                 (p ,(_ "The source of this website can be seen at
8085
<a href=\"~a\">framagit</a>. This website is free software; you can redistribute