mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-03 22:57:18 +02:00
Fix various typos
Found via `codespell -q 3` (cherry picked from commit 209a250079fdf7ad2bc9168f81bfb45b9531d6b3)
This commit is contained in:
parent
119cdf6f09
commit
260fb88f85
@ -32,7 +32,7 @@
|
||||
.contentContainer {
|
||||
z-index: $popperZIndex;
|
||||
margin-top: 4px;
|
||||
/* 400px container witdh with 8px padding on each side */
|
||||
/* 400px container width with 8px padding on each side */
|
||||
width: 384px;
|
||||
}
|
||||
|
||||
|
@ -167,7 +167,7 @@ class SignalRConnector extends Component {
|
||||
const resource = body.resource;
|
||||
const status = resource.status;
|
||||
|
||||
// Both sucessful and failed commands need to be
|
||||
// Both successful and failed commands need to be
|
||||
// completed, otherwise they spin until they timeout.
|
||||
|
||||
if (status === 'completed' || status === 'failed') {
|
||||
|
@ -47,7 +47,7 @@ public void FixtureSetUp()
|
||||
// Use mirrors for tests that use two hosts
|
||||
var candidates = new[] { "httpbin1.servarr.com" };
|
||||
|
||||
// httpbin.org is broken right now, occassionally redirecting to https if it's unavailable.
|
||||
// httpbin.org is broken right now, occasionally redirecting to https if it's unavailable.
|
||||
_httpBinHost = mainHost;
|
||||
_httpBinHosts = candidates.Where(IsTestSiteAvailable).ToArray();
|
||||
|
||||
|
@ -67,7 +67,7 @@ public void SetPermissions()
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.Warn(ex, "Coudn't set app folder permission");
|
||||
_logger.Warn(ex, "Couldn't set app folder permission");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -123,7 +123,7 @@ public SentryTarget(string dsn)
|
||||
_debounce = new SentryDebounce();
|
||||
|
||||
// initialize to true and reconfigure later
|
||||
// Otherwise it will default to false and any errors occuring
|
||||
// Otherwise it will default to false and any errors occurring
|
||||
// before config file gets read will not be filtered
|
||||
FilterEvents = true;
|
||||
SentryEnabled = true;
|
||||
|
@ -260,7 +260,7 @@ public static string ConstructRequestUrl(Uri url)
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a request elements concatentation value to send with a request.
|
||||
/// Creates a request elements concatenation value to send with a request.
|
||||
/// This is also known as the signature base.
|
||||
/// </summary>
|
||||
/// <seealso href="http://oauth.net/core/1.0#rfc.section.9.1.3"/>
|
||||
|
@ -215,7 +215,7 @@ private void SetServiceDacls(string serviceName, string dacls)
|
||||
|
||||
if (dacls.Contains(authenticatedUsersDacl))
|
||||
{
|
||||
// Permssions already set
|
||||
// Permissions already set
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -87,7 +87,7 @@ protected virtual Expression VisitConstant(ConstantExpression expression)
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Visits the memeber access expression. To be implemented by user.
|
||||
/// Visits the member access expression. To be implemented by user.
|
||||
/// </summary>
|
||||
/// <param name="expression"></param>
|
||||
/// <returns></returns>
|
||||
|
@ -108,7 +108,7 @@ private int CompareProtocol(DownloadDecision x, DownloadDecision y)
|
||||
private int ComparePeersIfTorrent(DownloadDecision x, DownloadDecision y)
|
||||
{
|
||||
// Different protocols should get caught when checking the preferred protocol,
|
||||
// since we're dealing with the same movie in our comparisions
|
||||
// since we're dealing with the same movie in our comparisons
|
||||
if (x.RemoteMovie.Release.DownloadProtocol != DownloadProtocol.Torrent ||
|
||||
y.RemoteMovie.Release.DownloadProtocol != DownloadProtocol.Torrent)
|
||||
{
|
||||
|
@ -141,7 +141,8 @@ public void MoveTorrentToTopInQueue(string hashString, TransmissionSettings sett
|
||||
|
||||
private TransmissionResponse GetSessionVariables(TransmissionSettings settings)
|
||||
{
|
||||
// Retrieve transmission information such as the default download directory, bandwith throttling and seed ratio.
|
||||
// Retrieve transmission information such as the default download directory, bandwidth throttling and seed ratio.
|
||||
|
||||
return ProcessRequest("session-get", null, settings);
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,8 @@ public override IEnumerable<ExtraFile> ProcessFiles(Movie movie, List<string> fi
|
||||
|
||||
foreach (var possibleMetadataFile in filterResult.FilesOnDisk)
|
||||
{
|
||||
// Don't process files that have known Subtitle file extensions (saves a bit of unecessary processing)
|
||||
// Don't process files that have known Subtitle file extensions (saves a bit of unnecessary processing)
|
||||
|
||||
if (SubtitleFileExtensions.Extensions.Contains(Path.GetExtension(possibleMetadataFile)))
|
||||
{
|
||||
continue;
|
||||
|
@ -93,7 +93,7 @@ private void ProcessMovieReport(ImportListDefinition importList, ImportListMovie
|
||||
|
||||
if (excludedMovie != null)
|
||||
{
|
||||
_logger.Debug("{0} [{1}] Rejected due to list exlcusion", report.TmdbId, report.Title);
|
||||
_logger.Debug("{0} [{1}] Rejected due to list exclusion", report.TmdbId, report.Title);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -79,7 +79,7 @@ public override ValidationResult Test()
|
||||
const string body = "This is a test message from Radarr, though Mailgun.";
|
||||
|
||||
_proxy.SendNotification(title, body, Settings);
|
||||
_logger.Info("Successsfully sent email though Mailgun.");
|
||||
_logger.Info("Successfully sent email though Mailgun.");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ public MediaBrowserSettings()
|
||||
[FieldDefinition(3, Label = "API Key", Privacy = PrivacyLevel.ApiKey)]
|
||||
public string ApiKey { get; set; }
|
||||
|
||||
[FieldDefinition(4, Label = "Send Notifications", HelpText = "Have MediaBrowser send notfications to configured providers", Type = FieldType.Checkbox)]
|
||||
[FieldDefinition(4, Label = "Send Notifications", HelpText = "Have MediaBrowser send notifications to configured providers", Type = FieldType.Checkbox)]
|
||||
public bool Notify { get; set; }
|
||||
|
||||
[FieldDefinition(5, Label = "Update Library", HelpText = "Update Library on Import, Rename or Delete?", Type = FieldType.Checkbox)]
|
||||
|
@ -77,7 +77,7 @@ public void SendNotification(string message, TwitterSettings settings)
|
||||
using (var reader = new StreamReader(responseStream))
|
||||
{
|
||||
var responseBody = reader.ReadToEnd();
|
||||
_logger.Trace("Reponse: {0} Status Code: {1}", responseBody, httpResponse.StatusCode);
|
||||
_logger.Trace("Response: {0} Status Code: {1}", responseBody, httpResponse.StatusCode);
|
||||
throw new TwitterException("Error received from Twitter: " + responseBody, ex);
|
||||
}
|
||||
}
|
||||
|
@ -80,7 +80,7 @@ public void Route(ApplicationModes applicationModes)
|
||||
|
||||
case ApplicationModes.RegisterUrl:
|
||||
{
|
||||
_logger.Debug("Regiser URL selected");
|
||||
_logger.Debug("Register URL selected");
|
||||
_remoteAccessAdapter.MakeAccessible(false);
|
||||
_appFolderFactory.SetPermissions();
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
<TargetFrameworks>net6.0</TargetFrameworks>
|
||||
</PropertyGroup>
|
||||
<!--
|
||||
The netstandard veresion here doesn't work in net framework
|
||||
The netstandard version here doesn't work in net framework
|
||||
See https://github.com/xamarin/XamarinComponents/issues/282
|
||||
-->
|
||||
<ItemGroup>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
</PropertyGroup>
|
||||
<!--
|
||||
The netstandard veresion here doesn't work in net framework
|
||||
The netstandard version here doesn't work in net framework
|
||||
See https://github.com/xamarin/XamarinComponents/issues/282
|
||||
-->
|
||||
<ItemGroup>
|
||||
|
Loading…
Reference in New Issue
Block a user