This text is static, it must be translated using server-side libraries.
The text that is shown by the buttons is dynamic, it is translated using the gettext JS library.
You can have a look to the very same file in french, in spanish and in polish.
Only the dynamic parts are translated, only the lang
attribute in html
is changed.