Skip to content

Commit

Permalink
Translation function added
Browse files Browse the repository at this point in the history
  • Loading branch information
Commanderk3 committed Jan 12, 2025
1 parent 57769f4 commit 4f085ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -1282,9 +1282,9 @@ class Activity {
}
);

const filename = window.prompt("Enter file name");
const filename = window.prompt(_("Enter file name"));
if (filename === null || filename.trim() === "") {
alert("File save canceled.");
alert(_("File save canceled"));
flag = 0;
recording();
doRecordButton();
Expand All @@ -1303,7 +1303,7 @@ class Activity {
// eslint-disable-next-line no-use-before-define
recording();
doRecordButton();
that.textMsg("click on stop sharing");
that.textMsg(_("click on stop sharing"));
}
/**
* Stops the recording process.
Expand Down

0 comments on commit 4f085ff

Please sign in to comment.