update path substitution page

This commit is contained in:
Luke Pulverenti 2016-01-05 11:46:01 -05:00
parent 05ff43366d
commit ab7866deca
4 changed files with 6 additions and 2 deletions

View File

@ -38,7 +38,7 @@
<div>
<label for="txtFrom">${LabelFrom}</label>
<input id="txtFrom" type="text" required="required" data-mini="true" />
<div class="fieldDescription">${LabelFromHelp}</div>
<div class="fieldDescription labelFromHelp"></div>
</div>
<br />
<div>

View File

@ -115,8 +115,12 @@
$(document).on('pageinit', "#libraryPathMappingPage", function () {
var page = this;
$('.libraryPathMappingForm').off('submit', onSubmit).on('submit', onSubmit);
page.querySelector('.labelFromHelp').innerHTML = Globalize.translate('LabelFromHelp', 'D:\\Movies');
}).on('pageshow', "#libraryPathMappingPage", function () {
Dashboard.showLoadingMsg();

View File

@ -499,7 +499,6 @@
"HeaderFrom": "From",
"HeaderTo": "To",
"LabelFrom": "From:",
"LabelFromHelp": "Example: D:\\Movies (on the server)",
"LabelTo": "To:",
"LabelToHelp": "Example: \\\\MyServer\\Movies (a path clients can access)",
"ButtonAddPathSubstitution": "Add Substitution",

View File

@ -48,6 +48,7 @@
"ButtonIdentify": "Identify",
"HeaderIdentifyItem": "Identify Item",
"LabelRecurringDonationCanBeCancelledHelp": "Recurring donations can be cancelled at any time from within your PayPal account.",
"LabelFromHelp": "Example: {0} (on the server)",
"HeaderMyMedia": "My Media",
"ButtonRemoveFromCollection": "Remove from Collection",
"LabelAutomaticUpdateLevel": "Automatic update level:",