mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update translations
This commit is contained in:
parent
9a59fa6f70
commit
9ee76d4555
21 changed files with 127 additions and 101 deletions
|
@ -19,31 +19,31 @@
|
|||
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<label for="txtPortNumber">Http server port number: </label>
|
||||
<label for="txtPortNumber">${LabelHttpServerPortNumber}</label>
|
||||
<input type="number" id="txtPortNumber" name="txtPortNumber" pattern="[0-9]*" required="required" min="1" data-mini="true" />
|
||||
</li>
|
||||
<li id="fldWebSocketPortNumber" style="display: none;">
|
||||
<label for="txtWebSocketPortNumber">Web socket port number: </label>
|
||||
<label for="txtWebSocketPortNumber">${LabelWebSocketPortNumber}</label>
|
||||
<input type="number" id="txtWebSocketPortNumber" name="txtWebSocketPortNumber" pattern="[0-9]*" required="required" min="1" data-mini="true" />
|
||||
</li>
|
||||
<li>
|
||||
<label for="chkEnableUpnp">Enable UPnP</label>
|
||||
<label for="chkEnableUpnp">${LabelEnableAutomaticPortMapping}</label>
|
||||
<input type="checkbox" id="chkEnableUpnp" data-mini="true" />
|
||||
<div class="fieldDescription">UPnP allows automated router configuration for remote access. This may not work with some router models.</div>
|
||||
<div class="fieldDescription">${LabelEnableAutomaticPortHelp}</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="txtDdns">External DDNS:</label>
|
||||
<label for="txtDdns">${LabelExternalDDNS}</label>
|
||||
<input id="txtDdns" data-mini="true" />
|
||||
<div class="fieldDescription">If you have a dynamic DNS enter it here. Media Browser apps will use it when connecting remotely.</div>
|
||||
<div class="fieldDescription">${LabelExternalDDNSHelp}</div>
|
||||
</li>
|
||||
</ul>
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<button type="submit" data-theme="b" data-icon="check" data-mini="true">
|
||||
Save
|
||||
${ButtonSave}
|
||||
</button>
|
||||
<button type="button" onclick="Dashboard.navigate('dashboard.html');" data-icon="delete" data-mini="true">
|
||||
Cancel
|
||||
${ButtonCancel}
|
||||
</button>
|
||||
</li>
|
||||
|
||||
|
|
|
@ -35,10 +35,10 @@
|
|||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<button type="submit" data-theme="b" data-icon="check">
|
||||
Save
|
||||
${ButtonSave}
|
||||
</button>
|
||||
<button type="button" onclick="Dashboard.navigate('dashboard.html');" data-icon="delete">
|
||||
Cancel
|
||||
${ButtonCancel}
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>App Settings</title>
|
||||
<title>${TitleAppSettings}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="appsPlaybackPage" data-role="page" class="page appsPage type-interior">
|
||||
|
@ -9,39 +9,39 @@
|
|||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="#" data-role="button" class="ui-btn-active">Resume</a>
|
||||
<a href="appsweather.html" data-role="button">Weather</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabResume}</a>
|
||||
<a href="appsweather.html" data-role="button">${TabWeather}</a>
|
||||
</div>
|
||||
<form class="appsPlaybackForm">
|
||||
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<label for="txtMinResumePct">Min resume percentage: </label>
|
||||
<label for="txtMinResumePct">${LabelMinResumePercentage}</label>
|
||||
<input type="number" id="txtMinResumePct" name="txtMinResumePct" pattern="[0-9]*" required="required" min="0" max="100" />
|
||||
<div class="fieldDescription">
|
||||
Titles are assumed unplayed if stopped before this time
|
||||
${LabelMinResumePercentageHelp}
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="txtMaxResumePct">Max resume percentage: </label>
|
||||
<label for="txtMaxResumePct">${LabelMaxResumePercentage}</label>
|
||||
<input type="number" id="txtMaxResumePct" name="txtMaxResumePct" pattern="[0-9]*" required="required" min="1" max="100" />
|
||||
<div class="fieldDescription">
|
||||
Titles are assumed fully played if stopped after this time
|
||||
${LabelMaxResumePercentageHelp}
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="txtMinResumeDuration">Min resume duration (seconds): </label>
|
||||
<label for="txtMinResumeDuration">${LabelMinResumeDuration}</label>
|
||||
<input type="number" id="txtMinResumeDuration" name="txtMinResumeDuration" pattern="[0-9]*" required="required" min="0" />
|
||||
<div class="fieldDescription">
|
||||
Titles shorter than this will not be resumable
|
||||
${LabelMinResumeDurationHelp}
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<button type="submit" data-theme="b" data-icon="check">
|
||||
Save
|
||||
${ButtonSave}
|
||||
</button>
|
||||
<button type="button" onclick="Dashboard.navigate('dashboard.html');" data-icon="delete">
|
||||
Cancel
|
||||
${ButtonCancel}
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>App Settings</title>
|
||||
<title>${TitleAppSettings}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="appsWeatherPage" data-role="page" class="page appsPage type-interior">
|
||||
|
@ -9,8 +9,8 @@
|
|||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="appsplayback.html" data-role="button">Resume</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">Weather</a>
|
||||
<a href="appsplayback.html" data-role="button">${TabResume}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabWeather}</a>
|
||||
</div>
|
||||
<form class="appsWeatherForm">
|
||||
|
||||
|
@ -31,10 +31,10 @@
|
|||
</li>
|
||||
<li>
|
||||
<button type="submit" data-theme="b" data-icon="check">
|
||||
Save
|
||||
${ButtonSave}
|
||||
</button>
|
||||
<button type="button" onclick="Dashboard.navigate('dashboard.html');" data-icon="delete">
|
||||
Cancel
|
||||
${ButtonCancel}
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -16,30 +16,30 @@
|
|||
</div>
|
||||
<div class="listTopPaging">
|
||||
</div>
|
||||
<button id="btnNewCollection" data-mini="true" data-icon="plus" data-inline="true" class="hide">New</button>
|
||||
<button id="btnNewCollection" data-mini="true" data-icon="plus" data-inline="true" class="hide">${ButtonNew}</button>
|
||||
</div>
|
||||
<div id="items" class="itemsContainer"></div>
|
||||
</div>
|
||||
<div data-role="panel" id="newCollectionPanel" data-position="right" data-display="overlay" data-theme="a" data-position-fixed="true">
|
||||
<form class="newCollectionForm">
|
||||
|
||||
<h3>New Collection</h3>
|
||||
<h3>${HeaderNewCollection}</h3>
|
||||
|
||||
<br />
|
||||
<div>
|
||||
<label for="txtNewCollectionName">Name:</label>
|
||||
<label for="txtNewCollectionName">${LabelName}</label>
|
||||
<input type="text" id="txtNewCollectionName" required="required" />
|
||||
<div class="fieldDescription">Example: Star Wars Collection</div>
|
||||
<div class="fieldDescription">${NewCollectionNameExample}</div>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
<div>
|
||||
<label for="chkEnableInternetMetadata">Search the internet for artwork and metadata</label>
|
||||
<label for="chkEnableInternetMetadata">${OptionSearchForInternetMetadata}</label>
|
||||
<input type="checkbox" id="chkEnableInternetMetadata" data-mini="true" />
|
||||
</div>
|
||||
<br />
|
||||
<p>
|
||||
<button id="btnSubmitNewCollection" type="submit" data-icon="plus" data-mini="true" data-theme="b">Create</button>
|
||||
<button id="btnSubmitNewCollection" type="submit" data-icon="plus" data-mini="true" data-theme="b">${ButtonCreate}</button>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -49,11 +49,12 @@
|
|||
<form>
|
||||
<div id="sortpanel">
|
||||
<fieldset data-role="controlgroup">
|
||||
<legend>Sort By:
|
||||
<legend>
|
||||
<strong>${HeaderSortBy}</strong>
|
||||
</legend>
|
||||
|
||||
<input class="radioSortBy defaultSort" type="radio" name="radioSortBy" id="radioSortName" value="on" checked="checked" data-sortby="SortName" data-mini="true">
|
||||
<label for="radioSortName">Name</label>
|
||||
<label for="radioSortName">${OptionNameSort}</label>
|
||||
|
||||
<input class="radioSortBy" type="radio" name="radioSortBy" id="radioCommunityRating" value="off" data-sortby="CommunityRating" data-mini="true">
|
||||
<label for="radioCommunityRating">${OptionCommunityRating}</label>
|
||||
|
@ -63,7 +64,8 @@
|
|||
</fieldset>
|
||||
|
||||
<fieldset data-role="controlgroup">
|
||||
<legend>Sort Order:
|
||||
<legend>
|
||||
<strong>${HeaderSortOrder}</strong>
|
||||
</legend>
|
||||
|
||||
<input class="radioSortOrder" type="radio" name="radioSortOrder" id="radioAscending" value="on" checked="checked" data-sortorder="Ascending" data-mini="true">
|
||||
|
|
|
@ -602,7 +602,7 @@ a.itemTag:hover {
|
|||
}
|
||||
|
||||
.libraryPanelHeader {
|
||||
margin: 10px 0 20px 0;
|
||||
margin: 5px 0 25px 0;
|
||||
}
|
||||
|
||||
.libraryPanelHeader a {
|
||||
|
|
|
@ -299,7 +299,6 @@ h1 .imageLink {
|
|||
padding: .75em .5em .75em 1.25em;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
color: #fff!important;
|
||||
font-weight: normal !important;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Dashboard</title>
|
||||
<title>${TitleDashboard}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="dashboardPage" data-role="page" class="page type-interior adminPage dashboardHomePage">
|
||||
|
@ -10,9 +10,9 @@
|
|||
<div class="content-primary">
|
||||
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="#" data-role="button" class="ui-btn-active">Home</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabHome}</a>
|
||||
<a href="dashboardgeneral.html" data-role="button">${TabGeneral}</a>
|
||||
<a href="dashboardinfopage.html" data-role="button">Info</a>
|
||||
<a href="dashboardinfopage.html" data-role="button">${TabInfo}</a>
|
||||
</div>
|
||||
|
||||
<div class="dashboardContent">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Dashboard</title>
|
||||
<title>${TitleDashboard}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="dashboardGeneralPage" data-role="page" class="page type-interior adminPage dashboardHomePage">
|
||||
|
@ -10,33 +10,38 @@
|
|||
<div class="content-primary">
|
||||
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="dashboard.html" data-role="button">Home</a>
|
||||
<a href="dashboard.html" data-role="button">${TabHome}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabGeneral}</a>
|
||||
<a href="dashboardinfopage.html" data-role="button">Info</a>
|
||||
<a href="dashboardinfopage.html" data-role="button">${TabInfo}</a>
|
||||
</div>
|
||||
|
||||
<form class="dashboardGeneralForm">
|
||||
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<label for="txtServerName">Friendly server name:</label>
|
||||
<label for="txtServerName">${LabelFriendlyServerName}</label>
|
||||
<input id="txtServerName" data-mini="true" />
|
||||
<div class="fieldDescription">This name will be used to identify this server. If left blank, the computer name will be used.</div>
|
||||
<div class="fieldDescription">${LabelFriendlyServerNameHelp}</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="selectLocalizationLanguage">Preferred display language</label>
|
||||
<label for="selectLocalizationLanguage">${LabelPreferredDisplayLanguage}</label>
|
||||
<select id="selectLocalizationLanguage" data-mini="true">
|
||||
</select>
|
||||
<div class="fieldDescription">Translating Media Browser is an ongoing project and is not yet complete. <a href="http://mediabrowser3.com/community/index.php?/topic/5727-join-our-translation-team/" target="_blank">Read about how you can contribute</a>.</div>
|
||||
<div class="fieldDescription">
|
||||
<div>${LabelPreferredDisplayLanguageHelp}</div>
|
||||
<div>
|
||||
<a href="http://mediabrowser3.com/community/index.php?/topic/5727-join-our-translation-team/" target="_blank">${LabelReadHowYouCanContribute}</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<button type="submit" data-theme="b" data-icon="check" data-mini="true">
|
||||
Save
|
||||
${ButtonSave}
|
||||
</button>
|
||||
<button type="button" onclick="Dashboard.navigate('dashboard.html');" data-icon="delete" data-mini="true">
|
||||
Cancel
|
||||
${ButtonCancel}
|
||||
</button>
|
||||
</li>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Dashboard</title>
|
||||
<title>${TitleDashboard}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="dashboardInfoPage" data-role="page" class="page type-interior adminPage dashboardHomePage">
|
||||
|
@ -11,22 +11,22 @@
|
|||
<div class="readOnlyContent">
|
||||
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="dashboard.html" data-role="button">Home</a>
|
||||
<a href="dashboard.html" data-role="button">${TabHome}</a>
|
||||
<a href="dashboardgeneral.html" data-role="button">${TabGeneral}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">Info</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabInfo}</a>
|
||||
</div>
|
||||
|
||||
<div data-role="collapsible" data-collapsed="false" style="margin-top: 1em;">
|
||||
<h3>Links</h3>
|
||||
<h3>${HeaderLinks}</h3>
|
||||
<div>
|
||||
<p><a href="http://mediabrowser3.com/community" target="_blank">Community</a> - Join us!</p>
|
||||
<p><a href="https://github.com/MediaBrowser/MediaBrowser" target="_blank">Github</a></p>
|
||||
<p><a href="../swagger-ui/index.html" target="_blank">Api Documentation</a></p>
|
||||
<p><a href="http://mediabrowser3.com/community" target="_blank">${LinkCommunity}</a></p>
|
||||
<p><a href="https://github.com/MediaBrowser/MediaBrowser" target="_blank">${LinkGithub}</a></p>
|
||||
<p><a href="../swagger-ui/index.html" target="_blank">${LinkApiDocumentation}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div data-role="collapsible" data-collapsed="false" style="margin-top: 1em;">
|
||||
<h3>System Paths</h3>
|
||||
<h3>${HeaderSystemPaths}</h3>
|
||||
<div>
|
||||
<p><b>Cache:</b> <span id="cachePath"></span></p>
|
||||
<p><b>Images by name:</b> <span id="imagesByNamePath"></span></p>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="dlnasettings.html" data-role="button">${TabSettings}</a>
|
||||
<a href="dlnaprofiles.html" data-role="button" class="ui-btn-active">Profiles</a>
|
||||
<a href="dlnaprofiles.html" data-role="button" class="ui-btn-active">${TabProfiles}</a>
|
||||
</div>
|
||||
|
||||
<form class="dlnaProfileForm" style="max-width: 650px;">
|
||||
|
@ -365,7 +365,7 @@
|
|||
<div style="margin: 1em 0;">
|
||||
<label for="txtCodecProfileCodec">Codecs:</label>
|
||||
<input type="text" id="txtCodecProfileCodec" data-mini="true" />
|
||||
<div>Separated by comma. This can be left empty to apply to all containers</div>
|
||||
<div>Separated by comma. This can be left empty to apply to all codecs</div>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
|
@ -407,13 +407,13 @@
|
|||
<div id="fldResponseProfileVideoCodec" style="margin: 1em 0;">
|
||||
<label for="txtResponseProfileVideoCodec">Video codecs:</label>
|
||||
<input type="text" id="txtResponseProfileVideoCodec" data-mini="true" />
|
||||
<div>Separated by comma. This can be left empty to apply to all containers</div>
|
||||
<div>Separated by comma. This can be left empty to apply to all codecs</div>
|
||||
</div>
|
||||
|
||||
<div id="fldResponseProfileAudioCodec" style="margin: 1em 0 2em;">
|
||||
<label for="txtResponseProfileAudioCodec">Audio codecs:</label>
|
||||
<input type="text" id="txtResponseProfileAudioCodec" data-mini="true" />
|
||||
<div>Separated by comma. This can be left empty to apply to all containers</div>
|
||||
<div>Separated by comma. This can be left empty to apply to all codecs</div>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
|
|
|
@ -11,26 +11,26 @@
|
|||
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="dlnasettings.html" data-role="button">${TabSettings}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">Profiles</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabProfiles}</a>
|
||||
</div>
|
||||
|
||||
<div class="readOnlyContent">
|
||||
|
||||
<div style="position: relative;">
|
||||
<h2>Custom Profiles</h2>
|
||||
<h2>${HeaderCustomDlnaProfiles}</h2>
|
||||
<div style="position: absolute; right: 0; top: -12px;">
|
||||
<a data-role="button" data-icon="plus" data-mini="true" href="dlnaprofile.html">New</a>
|
||||
<a data-role="button" data-icon="plus" data-mini="true" href="dlnaprofile.html">${ButtonNew}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>Create a custom profile to target a new device or override a system profile.</p>
|
||||
<p>${CustomDlnaProfilesHelp}</p>
|
||||
|
||||
<div class="customProfiles"></div>
|
||||
|
||||
<br />
|
||||
<h2>System Profiles</h2>
|
||||
<h2>${HeaderSystemDlnaProfiles}</h2>
|
||||
|
||||
<p>System profiles are read-only. To override a system profile, create a custom profile targeting the same device.</p>
|
||||
<p>${SystemDlnaProfilesHelp}</p>
|
||||
|
||||
<div class="systemProfiles"></div>
|
||||
</div>
|
||||
|
|
|
@ -11,33 +11,33 @@
|
|||
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabSettings}</a>
|
||||
<a href="dlnaprofiles.html" data-role="button">Profiles</a>
|
||||
<a href="dlnaprofiles.html" data-role="button">${TabProfiles}</a>
|
||||
</div>
|
||||
|
||||
<form class="dlnaSettingsForm">
|
||||
|
||||
<ul data-role="listview" class="ulForm">
|
||||
<li>
|
||||
<label for="chkEnablePlayTo">Enable DLNA Play To</label>
|
||||
<label for="chkEnablePlayTo">${LabelEnableDlnaPlayTo}</label>
|
||||
<input type="checkbox" id="chkEnablePlayTo" data-mini="true" />
|
||||
<div class="fieldDescription">Media Browser can detect devices within your network and offer the ability to remote control them.</div>
|
||||
<div class="fieldDescription">${LabelEnableDlnaPlayToHelp}</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="chkEnableDlnaDebugLogging">Enable DLNA debug logging</label>
|
||||
<label for="chkEnableDlnaDebugLogging">${LabelEnableDlnaDebugLogging}</label>
|
||||
<input type="checkbox" id="chkEnableDlnaDebugLogging" data-mini="true" />
|
||||
<div class="fieldDescription">This will create large log files and should only be used as needed for troubleshooting purposes.</div>
|
||||
<div class="fieldDescription">${LabelEnableDlnaDebugLoggingHelp}</div>
|
||||
</li>
|
||||
<li>
|
||||
<label for="txtClientDiscoveryInterval">Client discovery interval (seconds)</label>
|
||||
<label for="txtClientDiscoveryInterval">${LabelEnableDlnaClientDiscoveryInterval}</label>
|
||||
<input type="number" id="txtClientDiscoveryInterval" data-mini="true" min="1" max="300" />
|
||||
<div class="fieldDescription">Determines the duration in seconds of the interval between SSDP searches performed by Media Browser.</div>
|
||||
<div class="fieldDescription">${LabelEnableDlnaClientDiscoveryIntervalHelp}</div>
|
||||
</li>
|
||||
<li>
|
||||
<button type="submit" data-theme="b" data-icon="check">
|
||||
Save
|
||||
${ButtonSave}
|
||||
</button>
|
||||
<button type="button" onclick="Dashboard.navigate('dashboard.html');" data-icon="delete">
|
||||
Cancel
|
||||
${ButtonCancel}
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -17,19 +17,19 @@
|
|||
<h1 class="itemName editPageName"> </h1>
|
||||
<br />
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="#" data-role="button" id="btnEditMetadata">Metadata</a>
|
||||
<a href="#" data-role="button" id="btnEditMetadata">${TabMetadata}</a>
|
||||
<a id="btnEditPeople" style="display: none;" href="#" data-role="button">${TabPeople}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">Titles</a>
|
||||
<a id="btnEditImages" href="#" data-role="button">Images</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabCollectionTitles}</a>
|
||||
<a id="btnEditImages" href="#" data-role="button">${TabImages}</a>
|
||||
</div>
|
||||
|
||||
<p style="margin-top: -20px;">
|
||||
Add or remove any movies, series, albums, books or games you wish to group within this collection.
|
||||
${EditCollectionItemsHelp}
|
||||
</p>
|
||||
|
||||
<div>
|
||||
<button type="button" id="btnAddItem" data-icon="plus" data-inline="true" data-mini="true">Add</button>
|
||||
<button type="button" id="btnRemoveItems" data-icon="delete" data-inline="true" data-mini="true" disabled="disabled">Remove</button>
|
||||
<button type="button" id="btnAddItem" data-icon="plus" data-inline="true" data-mini="true">${ButtonAdd}</button>
|
||||
<button type="button" id="btnRemoveItems" data-icon="delete" data-inline="true" data-mini="true" disabled="disabled">${ButtonRemove}</button>
|
||||
</div>
|
||||
<br />
|
||||
<div class="collectionItems"></div>
|
||||
|
@ -39,7 +39,7 @@
|
|||
<div data-role="popup" data-transition="slidefade" class="popupIdentify popup" data-theme="a">
|
||||
|
||||
<div class="ui-bar-a" style="text-align: center; padding: 0 20px;">
|
||||
<h3>Add Titles
|
||||
<h3>${HeaderAddTitles}
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
|
@ -48,14 +48,14 @@
|
|||
<form class="collectionItemSearchForm" style="max-width: initial;">
|
||||
|
||||
<div>
|
||||
<label for="txtLookupName">Name:</label>
|
||||
<label for="txtLookupName">${LabelName}</label>
|
||||
|
||||
<div style="display: inline-block; width: 75%;">
|
||||
<input type="text" id="txtLookupName" data-mini="true" required="required" />
|
||||
</div>
|
||||
|
||||
<button type="submit" data-icon="search" data-mini="true" data-inline="true" data-iconpos="notext">
|
||||
Search
|
||||
${ButtonSearch}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
@ -63,7 +63,7 @@
|
|||
</div>
|
||||
|
||||
<button id="btnAddItems" type="button" data-icon="plus" data-mini="true">
|
||||
Add
|
||||
${ButtonAdd}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
@ -17,10 +17,10 @@
|
|||
<h1 class="itemName editPageName"> </h1>
|
||||
<br />
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="#" data-role="button" id="btnEditMetadata">Metadata</a>
|
||||
<a href="#" data-role="button" id="btnEditMetadata">${TabMetadata}</a>
|
||||
<a href="#" data-role="button" id="btnEditPeople" style="display: none;">${TabPeople}</a>
|
||||
<a id="btnEditCollectionTitles" style="display: none;" href="#" data-role="button">Titles</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">Images</a>
|
||||
<a id="btnEditCollectionTitles" style="display: none;" href="#" data-role="button">${TabCollectionTitles}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabImages}</a>
|
||||
</div>
|
||||
|
||||
<div style="margin: -25px 0 1em;">
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
<h1 class="itemName editPageName"> </h1>
|
||||
<br />
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="#" data-role="button" class="ui-btn-active">Metadata</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabMetadata}</a>
|
||||
<a id="btnEditPeople" style="display: none;" href="#" data-role="button">${TabPeople}</a>
|
||||
<a id="btnEditCollectionTitles" style="display: none;" href="editcollectionitems.html" data-role="button">Titles</a>
|
||||
<a href="#" data-role="button" id="btnEditImages">Images</a>
|
||||
<a id="btnEditCollectionTitles" style="display: none;" href="editcollectionitems.html" data-role="button">${TabCollectionTitles}</a>
|
||||
<a href="#" data-role="button" id="btnEditImages">${TabImages}</a>
|
||||
</div>
|
||||
|
||||
<form class="editItemMetadataForm editMetadataForm" style="margin-top: -20px;">
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
<h1 class="itemName editPageName"> </h1>
|
||||
<br />
|
||||
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
|
||||
<a href="#" data-role="button" id="btnEditMetadata">Metadata</a>
|
||||
<a href="#" data-role="button" id="btnEditMetadata">${TabMetadata}</a>
|
||||
<a href="#" data-role="button" class="ui-btn-active">${TabPeople}</a>
|
||||
<a id="btnEditCollectionTitles" style="display: none;" href="#" data-role="button">Titles</a>
|
||||
<a href="#" data-role="button" id="btnEditImages">Images</a>
|
||||
<a id="btnEditCollectionTitles" style="display: none;" href="#" data-role="button">${TabCollectionTitles}</a>
|
||||
<a href="#" data-role="button" id="btnEditImages">${TabImages}</a>
|
||||
</div>
|
||||
<div id="divAddPerson" style="display: none;">
|
||||
<button type="button" data-icon="plus" data-inline="true" data-mini="true" onclick="EditItemPeoplePage.addPerson();">Add Person</button>
|
||||
<button type="button" data-icon="plus" data-inline="true" data-mini="true" onclick="EditItemPeoplePage.addPerson();">${ButtonAdd}</button>
|
||||
</div>
|
||||
<div class="itemsContainer" id="peopleContainer" style="text-align: left;"></div>
|
||||
</div>
|
||||
|
|
|
@ -220,11 +220,31 @@ function humane_elapsed(firstDateStr, secondDateStr) {
|
|||
|
||||
}
|
||||
|
||||
function getWindowUrl(win) {
|
||||
return (win || window).location.href;
|
||||
}
|
||||
|
||||
function getWindowLocationSearch(win) {
|
||||
|
||||
var search = (win || window).location.search;
|
||||
|
||||
if (!search) {
|
||||
|
||||
var index = window.location.href.indexOf('?');
|
||||
if (index != -1) {
|
||||
search = window.location.href.substring(index);
|
||||
}
|
||||
}
|
||||
alert();
|
||||
return search || '';
|
||||
}
|
||||
|
||||
function getParameterByName(name, url) {
|
||||
name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
|
||||
var regexS = "[\\?&]" + name + "=([^&#]*)";
|
||||
var regex = new RegExp(regexS, "i");
|
||||
var results = regex.exec(url || window.location.search);
|
||||
|
||||
var results = regex.exec(url || getWindowLocationSearch());
|
||||
if (results == null)
|
||||
return "";
|
||||
else
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
$('#playButtonContainer', page).hide();
|
||||
}
|
||||
|
||||
var editImagesHref = user.Configuration.IsAdministrator ? 'edititemimages.html' + window.location.search : null;
|
||||
var editImagesHref = user.Configuration.IsAdministrator ? 'edititemimages.html' + getWindowLocationSearch() : null;
|
||||
$('#itemImage', page).html(LibraryBrowser.getDetailImageHtml(item, editImagesHref));
|
||||
|
||||
if (user.Configuration.IsAdministrator && item.LocationType !== "Offline") {
|
||||
|
@ -524,7 +524,7 @@
|
|||
|
||||
reload(page);
|
||||
|
||||
$('#btnEdit', page).attr('href', 'edititemmetadata.html' + window.location.search);
|
||||
$('#btnEdit', page).attr('href', 'edititemmetadata.html' + getWindowLocationSearch());
|
||||
|
||||
}).on('pagehide', "#itemByNameDetailPage", function () {
|
||||
|
||||
|
|
|
@ -649,7 +649,7 @@
|
|||
}
|
||||
|
||||
// Just use the first audio stream
|
||||
return audioStreams[0];
|
||||
return audioStreams[0].Index;
|
||||
}
|
||||
|
||||
function getVideoQualityOptions(mediaStreams) {
|
||||
|
|
|
@ -344,7 +344,7 @@ var Dashboard = {
|
|||
|
||||
navigate: function (url, preserveQueryString) {
|
||||
|
||||
var queryString = window.location.search;
|
||||
var queryString = getWindowLocationSearch();
|
||||
if (preserveQueryString && queryString) {
|
||||
url += queryString;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue