1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2026-01-03 04:41:13 +00:00

Translate to Ukrainian

This commit is contained in:
Суспільне Надбання
2022-04-02 18:32:59 +03:00
committed by Cadence Ember
parent 0edc966fda
commit d211470dca
6 changed files with 126 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
- const ll = lang.get(settings.language)
doctype html
html
html(lang=settings.language)
head
title Bibliogram
include includes/head

View File

@@ -31,7 +31,7 @@ mixin select(id, description, disabled, options)
option(value=option.value selected=(option.value === settings[id]))= option.text
doctype html
html(dir=ll.meta_direction)
html(dir=ll.meta_direction, lang=settings.language)
head
title= `${ll.t_settings} | Bibliogram`
include includes/head
@@ -61,7 +61,8 @@ html(dir=ll.meta_direction)
{value: "ms", text: "Bahasa Melayu"},
{value: "pl", text: "Polski"},
{value: "ru", text: "Русский"},
{value: "tr", text: "Türkçe"}
{value: "tr", text: "Türkçe"},
{value: "uk", text: "Українська"}
])
+select("save_data", ll.save_data, true, [

View File

@@ -74,7 +74,7 @@ html
if selectedTimeline.entryCount != undefined
div.profile-counter
| #[span(data-numberformat=selectedTimeline.entryCount).count #{numberFormat(selectedTimeline.entryCount)} ]
= ll.post_counter_label
= ll.fn_post_counter_label ? ll.fn_post_counter_label(selectedTimeline.entryCount) : ll.post_counter_label
if followerCountsAvailable
if user.following != undefined
div.profile-counter

View File

@@ -8,9 +8,15 @@ $theme: () !default
font-display: swap
src: url(/static/fonts/bariol.woff2) format("woff2"), url(/static/fonts/bariol.ttf) format("truetype")
body, input, button, textarea
body
font-family: "Bariol", sans-serif
[lang="uk"] body // consistent cyrillic
font-family: "Cantarell", sans-serif
input, button, textarea
font-family: inherit
summary
text-decoration: underline