From 4c467730d2a5835c4243d484c3d8d80822f85362 Mon Sep 17 00:00:00 2001 From: artiume Date: Wed, 20 May 2020 10:18:01 -0400 Subject: [PATCH 1/3] Move Network paths to be next to Optional Path This was present from when network paths were valid for libraries. No longer valid but could still be useful for Optional Network Path, --- src/components/directorybrowser/directorybrowser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/directorybrowser/directorybrowser.js b/src/components/directorybrowser/directorybrowser.js index 7f13f89ef5..ac4a4d7943 100644 --- a/src/components/directorybrowser/directorybrowser.js +++ b/src/components/directorybrowser/directorybrowser.js @@ -89,7 +89,6 @@ define(['loading', 'dialogHelper', 'dom', 'globalize', 'listViewStyle', 'emby-in var instruction = options.instruction ? options.instruction + '

' : ''; html += '
'; html += instruction; - html += globalize.translate('MessageDirectoryPickerInstruction', '\\\\server', '\\\\192.168.1.101'); if ('bsd' === systemInfo.OperatingSystem.toLowerCase()) { html += '
'; html += '
'; @@ -127,6 +126,7 @@ define(['loading', 'dialogHelper', 'dom', 'globalize', 'listViewStyle', 'emby-in html += ''; html += '
'; html += globalize.translate('LabelOptionalNetworkPathHelp'); + html += globalize.translate('MessageDirectoryPickerInstruction', '\\\\server', '\\\\192.168.1.101'); html += '
'; html += '
'; } From 2497282134fec6321302b179454d47c2b27b0bed Mon Sep 17 00:00:00 2001 From: artiume Date: Wed, 20 May 2020 10:43:39 -0400 Subject: [PATCH 2/3] Update en-us.json --- src/strings/en-us.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/strings/en-us.json b/src/strings/en-us.json index 7df1001667..2e44628f65 100644 --- a/src/strings/en-us.json +++ b/src/strings/en-us.json @@ -766,7 +766,7 @@ "LabelNumberOfGuideDays": "Number of days of guide data to download:", "LabelNumberOfGuideDaysHelp": "Downloading more days worth of guide data provides the ability to schedule out further in advance and view more listings, but it will also take longer to download. Auto will choose based on the number of channels.", "LabelOptionalNetworkPath": "(Optional) Shared network folder:", - "LabelOptionalNetworkPathHelp": "If this folder is shared on your network, supplying the network share path can allow Jellyfin apps on other devices to access media files directly.", + "LabelOptionalNetworkPathHelp": "If this folder is shared on your network, supplying the network share path can allow Jellyfin apps on other devices to access media files directly. For example, {0} or {1}.", "LabelOriginalAspectRatio": "Original aspect ratio:", "LabelOriginalTitle": "Original title:", "LabelOverview": "Overview:", @@ -991,7 +991,6 @@ "MessageCreateAccountAt": "Create an account at {0}", "MessageDeleteTaskTrigger": "Are you sure you wish to delete this task trigger?", "MessageDirectoryPickerBSDInstruction": "For BSD, you may need to configure storage within your FreeNAS Jail in order to allow Jellyfin to access it.", - "MessageDirectoryPickerInstruction": "Network paths can be entered manually in the event the Network button fails to locate your devices. For example, {0} or {1}.", "MessageDirectoryPickerLinuxInstruction": "For Linux on Arch Linux, CentOS, Debian, Fedora, openSUSE, or Ubuntu, you must grant the service user at least read access to your storage locations.", "MessageDownloadQueued": "Download queued.", "MessageEnablingOptionLongerScans": "Enabling this option may result in significantly longer library scans.", From 28f5bdb854a75315c4269e0461de82a95635bc3f Mon Sep 17 00:00:00 2001 From: artiume Date: Wed, 20 May 2020 10:44:27 -0400 Subject: [PATCH 3/3] Update directorybrowser.js --- src/components/directorybrowser/directorybrowser.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/directorybrowser/directorybrowser.js b/src/components/directorybrowser/directorybrowser.js index ac4a4d7943..fc30affbc8 100644 --- a/src/components/directorybrowser/directorybrowser.js +++ b/src/components/directorybrowser/directorybrowser.js @@ -125,8 +125,7 @@ define(['loading', 'dialogHelper', 'dom', 'globalize', 'listViewStyle', 'emby-in html += '
'; html += ''; html += '
'; - html += globalize.translate('LabelOptionalNetworkPathHelp'); - html += globalize.translate('MessageDirectoryPickerInstruction', '\\\\server', '\\\\192.168.1.101'); + html += globalize.translate('LabelOptionalNetworkPathHelp', '\\\\server', '\\\\192.168.1.101'); html += '
'; html += '
'; }