kopia lustrzana https://github.com/inkstitch/inkstitch
rodzic
747ae5e3b7
commit
ce26f096dd
|
@ -12,8 +12,5 @@ for font in sorted(os.listdir(fonts_dir)):
|
|||
with open(os.path.join(fonts_dir, font, "font.json")) as font_json:
|
||||
font_metadata = json.load(font_json)
|
||||
|
||||
print("# L10N name of font in fonts/%s" % font)
|
||||
print("_(%s)" % repr(font_metadata.get("name", "")))
|
||||
|
||||
print("# L10N description of font in fonts/%s" % font)
|
||||
print("_(%s)" % repr(font_metadata.get("description", "")))
|
||||
|
|
|
@ -109,7 +109,7 @@ class Font(object):
|
|||
# we'll deal with missing variants when we apply lettering
|
||||
pass
|
||||
|
||||
name = localized_font_metadata('name', '')
|
||||
name = font_metadata('name', '')
|
||||
description = localized_font_metadata('description', '')
|
||||
keywords = font_metadata('keywords', '')
|
||||
letter_case = font_metadata('letter_case', '')
|
||||
|
|
Ładowanie…
Reference in New Issue