diff --git a/js/SaveInterface.js b/js/SaveInterface.js
index 07560a3b0c..a36df28747 100644
--- a/js/SaveInterface.js
+++ b/js/SaveInterface.js
@@ -21,6 +21,10 @@
* Class representing the SaveInterface.
* @class
*/
+const STR_MY_PROJECT = _("My Project");
+const STR_SHOW = _("Show");
+const STR_HIDE = _("Hide");
+
class SaveInterface {
/**
* Creates an instance of SaveInterface.
@@ -56,9 +60,9 @@ class SaveInterface {
*/
this.htmlSaveTemplate =
'
' +
- _("Music Blocks Project") +
+ STR_MY_PROJECT +
' - {{ project_name }}
{{ project_description }}
' +
_("This project was created in Music Blocks") +
' (https://musicblocks.sugarlabs.org). ' +
@@ -86,7 +90,7 @@ class SaveInterface {
"" +
_("This code stores data about the blocks in a project.") +
'' +
- _("Show") +
+ STR_SHOW +
"" +
'