diff options
| -rwxr-xr-x | bin/inkstitch-fonts-gettext | 3 | ||||
| -rw-r--r-- | lib/lettering/font.py | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/bin/inkstitch-fonts-gettext b/bin/inkstitch-fonts-gettext index 24fb9fdf..0ed7d9b6 100755 --- a/bin/inkstitch-fonts-gettext +++ b/bin/inkstitch-fonts-gettext @@ -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", ""))) diff --git a/lib/lettering/font.py b/lib/lettering/font.py index fda9141c..17c6f0f9 100644 --- a/lib/lettering/font.py +++ b/lib/lettering/font.py @@ -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', '') |
