In the error.html template, on line 6, "Pywb Error" inside the <h2> tag isn't set to be translatable. Link to the line.
The translation string for it already exists because it's set to be translatable just a few lines above (when setting the page title).
Steps to reproduce the bug
Clone new repository, set up translations as per the documentation, change the "Pywb Error" string in translation file, open the Pywb site, change translation language to the one you translated, open an error page by using a collection link that doesn't exist (has to include the translation language code in the URL), the title "Pywb Error" remains the same (not translated).
Expected behavior
The heading "Pywb Error" is translated when the error page opens. Just like the page title.
Screenshots
Notice how the other text is translated (including the page title), but the "Pywb Error" heading isn't. The URL in the screenshot is: http://localhost:8080/hr/dsfgd/
Environment
Debian 10 WSL2 server, Windows 11 client
Pywb version 2.7.4 + i18n
Python version 3.9.2
Chrome version 118.0.5993.89 (Official Build) (64-bit)
Describe the bug
In the error.html template, on line 6, "Pywb Error" inside the
<h2>
tag isn't set to be translatable. Link to the line.The translation string for it already exists because it's set to be translatable just a few lines above (when setting the page title).
Steps to reproduce the bug
Clone new repository, set up translations as per the documentation, change the "Pywb Error" string in translation file, open the Pywb site, change translation language to the one you translated, open an error page by using a collection link that doesn't exist (has to include the translation language code in the URL), the title "Pywb Error" remains the same (not translated).
Expected behavior
The heading "Pywb Error" is translated when the error page opens. Just like the page title.
Screenshots
Notice how the other text is translated (including the page title), but the "Pywb Error" heading isn't. The URL in the screenshot is: http://localhost:8080/hr/dsfgd/
Environment