Fix 'anon-view' KeyError (#724)
parent
9317d9217f
commit
ca80bb0caa
|
@ -209,7 +209,7 @@ def append_anon_view(result: BeautifulSoup, config: Config) -> None:
|
||||||
translation = current_app.config['TRANSLATIONS'][
|
translation = current_app.config['TRANSLATIONS'][
|
||||||
config.get_localization_lang()
|
config.get_localization_lang()
|
||||||
]
|
]
|
||||||
av_link.string = f'{translation["anon-view"]}'
|
av_link.string = f'{translation["config-anon-view"]}'
|
||||||
av_link['class'] = 'anon-view'
|
av_link['class'] = 'anon-view'
|
||||||
result.append(av_link)
|
result.append(av_link)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue