mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update path substitution page
This commit is contained in:
parent
05ff43366d
commit
ab7866deca
4 changed files with 6 additions and 2 deletions
|
@ -38,7 +38,7 @@
|
||||||
<div>
|
<div>
|
||||||
<label for="txtFrom">${LabelFrom}</label>
|
<label for="txtFrom">${LabelFrom}</label>
|
||||||
<input id="txtFrom" type="text" required="required" data-mini="true" />
|
<input id="txtFrom" type="text" required="required" data-mini="true" />
|
||||||
<div class="fieldDescription">${LabelFromHelp}</div>
|
<div class="fieldDescription labelFromHelp"></div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -115,8 +115,12 @@
|
||||||
|
|
||||||
$(document).on('pageinit', "#libraryPathMappingPage", function () {
|
$(document).on('pageinit', "#libraryPathMappingPage", function () {
|
||||||
|
|
||||||
|
var page = this;
|
||||||
|
|
||||||
$('.libraryPathMappingForm').off('submit', onSubmit).on('submit', onSubmit);
|
$('.libraryPathMappingForm').off('submit', onSubmit).on('submit', onSubmit);
|
||||||
|
|
||||||
|
page.querySelector('.labelFromHelp').innerHTML = Globalize.translate('LabelFromHelp', 'D:\\Movies');
|
||||||
|
|
||||||
}).on('pageshow', "#libraryPathMappingPage", function () {
|
}).on('pageshow', "#libraryPathMappingPage", function () {
|
||||||
|
|
||||||
Dashboard.showLoadingMsg();
|
Dashboard.showLoadingMsg();
|
||||||
|
|
|
@ -499,7 +499,6 @@
|
||||||
"HeaderFrom": "From",
|
"HeaderFrom": "From",
|
||||||
"HeaderTo": "To",
|
"HeaderTo": "To",
|
||||||
"LabelFrom": "From:",
|
"LabelFrom": "From:",
|
||||||
"LabelFromHelp": "Example: D:\\Movies (on the server)",
|
|
||||||
"LabelTo": "To:",
|
"LabelTo": "To:",
|
||||||
"LabelToHelp": "Example: \\\\MyServer\\Movies (a path clients can access)",
|
"LabelToHelp": "Example: \\\\MyServer\\Movies (a path clients can access)",
|
||||||
"ButtonAddPathSubstitution": "Add Substitution",
|
"ButtonAddPathSubstitution": "Add Substitution",
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
"ButtonIdentify": "Identify",
|
"ButtonIdentify": "Identify",
|
||||||
"HeaderIdentifyItem": "Identify Item",
|
"HeaderIdentifyItem": "Identify Item",
|
||||||
"LabelRecurringDonationCanBeCancelledHelp": "Recurring donations can be cancelled at any time from within your PayPal account.",
|
"LabelRecurringDonationCanBeCancelledHelp": "Recurring donations can be cancelled at any time from within your PayPal account.",
|
||||||
|
"LabelFromHelp": "Example: {0} (on the server)",
|
||||||
"HeaderMyMedia": "My Media",
|
"HeaderMyMedia": "My Media",
|
||||||
"ButtonRemoveFromCollection": "Remove from Collection",
|
"ButtonRemoveFromCollection": "Remove from Collection",
|
||||||
"LabelAutomaticUpdateLevel": "Automatic update level:",
|
"LabelAutomaticUpdateLevel": "Automatic update level:",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue