webrecorder / pywb

Core Python Web Archiving Toolkit for replay and recording of web archives
https://pypi.python.org/pypi/pywb
GNU General Public License v3.0
1.42k stars 217 forks source link

Strings not translatable in VueUI by default #875

Open Quirinus opened 1 year ago

Quirinus commented 1 year ago

Describe the bug

When using VueUI, there are a bunch of strings that are not translated or are displaying as code, and some are hardcoded.

Steps to reproduce the bug

Open up pywb with a translation that isn't English. Open up the timeline. Here are three different examples:

Expected behavior

I expect that all front-end VueUI strings are translatable and not display as code, and appear in the messages.csv when generating the list of strings for translation.

Screenshots

image Notice the string in the red rectangle isn't translated. (Ignore the missing image, that's another issue.)

Environment

Additional context

I digged a bit, and it seems it should be fixable fairly simply:

I might give fixing/improving this a shot when I get some time.