2 Commits

Author SHA1 Message Date
Sweetbread 47219fe236 l10n: rename folder 2025-08-18 14:10:01 +03:00
Sweetbread 5b10c1a1ca l10n: add font for Japanese 2025-08-18 14:06:28 +03:00
12 changed files with 30 additions and 4 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ def load_translations(lang):
try:
config = ConfigParser()
config.read(f'translations/{lang}.ini')
config.read(f'locale/{lang}.ini')
for section in config.sections():
translations_cache[lang][section] = dict(config.items(section))
except:
-1
View File
@@ -1,3 +1,2 @@
Flask==3.1.1
Flask-Babel
gunicorn
Binary file not shown.
+16
View File
@@ -0,0 +1,16 @@
M+ FONTS Copyright (C) 2002-2013 M+ FONTS PROJECT
-
LICENSE_E
These fonts are free software.
Unlimited permission is granted to use, copy, and distribute them, with
or without modification, either commercially or noncommercially.
THESE FONTS ARE PROVIDED "AS IS" WITHOUT WARRANTY.
http://mplus-fonts.sourceforge.jp/mplus-outline-fonts/
Binary file not shown.
+2 -1
View File
@@ -1,2 +1,3 @@
Monocraft: https://idreesinc.itch.io/monocraft
Pixeloid: https://ggbot.itch.io/pixeloid-font
Pixeloid: https://ggbot.itch.io/pixeloid-font
PixelM+: https://itouhiro.hatenablog.com/entry/20130602/font
+11 -1
View File
@@ -34,7 +34,7 @@ body {
display: flex;
flex-direction: column;
background-color: $base;
font-family: Pixeloid;
font-family: Pixeloid, PixelMPlus;
color: $text;
width: 100%;
height: 100%;
@@ -166,3 +166,13 @@ footer {
url("/static/font/Pixeloid/otf/Sans-Bold.otf") format("opentype");
font-weight: bold;
}
@font-face {
font-family: PixelMPlus;
src: url("/static/font/PixelMPlus/Regular.ttf");
}
@font-face {
font-family: PixelMPlus;
src: url("/static/font/PixelMPlus/Bold.ttf");
font-weight: bold;
}