diff --git a/ui/index.jsp b/ui/index.jsp index 6118cae3ca3..3c478800061 100644 --- a/ui/index.jsp +++ b/ui/index.jsp @@ -96,6 +96,7 @@ 'label.PreSetup': '', 'label.iscsi': '', 'label.VMFS.datastore': '', + 'label.theme.default': '', 'label.none': '', 'label.yes': '', 'label.no': '' diff --git a/ui/scripts/cloud.core.init.js b/ui/scripts/cloud.core.init.js index 01b751fe53d..8d343cadbd1 100644 --- a/ui/scripts/cloud.core.init.js +++ b/ui/scripts/cloud.core.init.js @@ -66,7 +66,7 @@ $(document).ready(function() { $currentTheme.remove(); $currentTheme = null; } - var name = "Default Theme"; + var name = g_dictionary["label.theme.default"]; if (id != "theme_default") { $currentTheme = $("").appendTo("head").attr({ rel: "stylesheet", @@ -80,7 +80,7 @@ $(document).ready(function() { $currentTheme.remove(); } $.cookie("theme", null); - name = "Default Theme"; + name = g_dictionary["label.theme.default"]; } $("#theme_button p").text(name); $(this).hide();