Browse Source

make backdrops optional

Luke Pulverenti 11 years ago
parent
commit
fd79ee25d8

+ 10 - 1
MediaBrowser.Server.Implementations/Localization/Server/server.json

@@ -764,5 +764,14 @@
 	"MessageNoSubtitleSearchResultsFound": "No search results founds.",
 	"MessageNoSubtitleSearchResultsFound": "No search results founds.",
 	"TabDisplay": "Display",
 	"TabDisplay": "Display",
 	"TabLanguages": "Languages",
 	"TabLanguages": "Languages",
-	"TabWebClient": "Web Client"
+	"TabWebClient": "Web Client",
+	"LabelEnableThemeSongs": "Enable theme songs",
+	"LabelEnableBackdrops": "Enable backdrops",
+	"LabelEnableThemeSongsHelp": "If enabled, theme songs will be played in the background while browsing the library.",
+	"LabelEnableBackdropsHelp": "If enabled, backdrops will be displayed in the background of some pages while browsing the library.",
+	"HeaderAllDevices": "All Devices",
+	"HeaderThisDevice": "This Device",
+	"OptionAuto": "Auto",
+	"OptionYes": "Yes",
+	"OptionNo": "No"
 }
 }

+ 3 - 0
MediaBrowser.WebDashboard/Api/DashboardService.cs

@@ -580,6 +580,9 @@ namespace MediaBrowser.WebDashboard.Api
                                 "livetvsuggested.js",
                                 "livetvsuggested.js",
                                 "livetvstatus.js",
                                 "livetvstatus.js",
                                 "livetvtimers.js",
                                 "livetvtimers.js",
+
+                                "localsettings.js",
+
                                 "loginpage.js",
                                 "loginpage.js",
                                 "logpage.js",
                                 "logpage.js",
                                 "medialibrarypage.js",
                                 "medialibrarypage.js",

+ 3 - 0
MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj

@@ -649,6 +649,9 @@
     <Content Include="dashboard-ui\scripts\librarypathmapping.js">
     <Content Include="dashboard-ui\scripts\librarypathmapping.js">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
     </Content>
+    <Content Include="dashboard-ui\scripts\localsettings.js">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
     <Content Include="dashboard-ui\scripts\mypreferencesdisplay.js">
     <Content Include="dashboard-ui\scripts\mypreferencesdisplay.js">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
     </Content>