🚸 Fix some more webcadm related messages

This commit is contained in:
Gina Häußge committed 2023-04-12 12:02:40 +02:00
1 parent eb9c96003a
commit 8baf2c3f44
2 files changed
+4 -4

No files matched your search

@@ -710,7 +710,7 @@ $(function () {
var html =
"<p>" +
gettext(
"Failed repeatedly to capture timelapse frame from webcam - is the snapshot URL configured correctly and the camera on?"
"Failed repeatedly to capture timelapse frame from webcam - is the snapshot webcam configured correctly and the camera on?"
);
var additional = "";
@@ -773,7 +773,7 @@ $(function () {
"<p>" +
_.sprintf(
gettext(
"Rendering of timelapse %(movie_prefix)s is not possible since no frames were captured. Is the webcam configured correctly?"
"Rendering of timelapse %(movie_prefix)s is not possible since no frames were captured. Is the snapshot webcam configured correctly?"
),
{movie_prefix: _.escape(payload.movie_prefix)}
) +
@@ -92,8 +92,8 @@
</div>
<div class="alert" style="display: none" data-bind="visible: !canSnapshot() || !settings.webcam_ffmpegPath()">
<p><strong>{{ _('Timelapse not fully configured') }}</strong></p>
<p data-bind="visible: !loginState.isAdmin()">{{ _('The snapshot URL and/or the path to FFMPEG are missing. To have this fixed, get in touch with an administrator of this OctoPrint instance.') }}</p>
<p data-bind="visible: loginState.isAdmin">{{ _('The snapshot URL and/or the path to FFMPEG are missing. You can change both under "Settings" > "Webcam & Timelapse". If you don\'t have a webcam or don\'t want to enable timelapse support you can also just disable it there.') }}</p>
<p data-bind="visible: !loginState.isAdmin()">{{ _('A working snapshot setup and/or the path to FFMPEG are missing. To have this fixed, get in touch with an administrator of this OctoPrint instance.') }}</p>
<p data-bind="visible: loginState.isAdmin">{{ _('A working snapshot setup and/or the path to FFMPEG are missing. You can change both under "Settings" > "Webcam & Timelapse" and in the settings of your chosen webcam plugin. If you don\'t have a webcam or don\'t want to enable timelapse support you can also just disable it there.') }}</p>
<p data-bind="visible: loginState.isUser"><small>
<!-- ko if: canSnapshot -->
<!-- ko if: snapshotDisplay -->