fix more bugs

This commit is contained in:
Maximilian Keßler 2022-02-19 22:38:02 +01:00
parent 47f5204b66
commit d34bacc872
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ class DictFormatter(PyTeXFormatter):
self.make_header() # TODO: add kwargs self.make_header() # TODO: add kwargs
for language in self._languages: for language in self._languages:
lines: List[str] = [self.make_header(), ''] lines: List[str] = [self.make_header(), '']
lines += r'\ProvidesDictionary{{{dict_name}}}{{{language}}}'.format( lines += r'\ProvidesDictionary{{translator-{dict_name}-dictionary}}{{{language}}}'.format(
dict_name=self._dict_name, dict_name=self._dict_name,
language=language language=language
) )

View file

@ -179,7 +179,7 @@ class TexFormatter(PyTeXFormatter, ABC):
) )
else: else:
return \ return \
'\\ProvidesExpl%s { %s } { %s } { %s }\n { %s }' \ '\\ProvidesExpl%s {%s} {%s} {%s}\n {%s}' \
% ( % (
provided_type, provided_type,
self.name, self.name,