mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-01-13 17:22:48 -05:00
Add setting for default user agent
This commit is contained in:
38
Application/Properties/Resources.Designer.cs
generated
38
Application/Properties/Resources.Designer.cs
generated
@@ -169,15 +169,6 @@ namespace FeedCenter.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to _Browser:.
|
||||
/// </summary>
|
||||
public static string browserLabel {
|
||||
get {
|
||||
return ResourceManager.GetString("browserLabel", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Edit Multiple Feeds.
|
||||
/// </summary>
|
||||
@@ -470,7 +461,7 @@ namespace FeedCenter.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Default.
|
||||
/// Looks up a localized string similar to < Windows Default >.
|
||||
/// </summary>
|
||||
public static string DefaultBrowserCaption {
|
||||
get {
|
||||
@@ -478,6 +469,33 @@ namespace FeedCenter.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Default _browser:.
|
||||
/// </summary>
|
||||
public static string defaultBrowserLabel {
|
||||
get {
|
||||
return ResourceManager.GetString("defaultBrowserLabel", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Feed Center.
|
||||
/// </summary>
|
||||
public static string DefaultUserAgentCaption {
|
||||
get {
|
||||
return ResourceManager.GetString("DefaultUserAgentCaption", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Default _user agent:.
|
||||
/// </summary>
|
||||
public static string defaultUserAgentLabel {
|
||||
get {
|
||||
return ResourceManager.GetString("defaultUserAgentLabel", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Delete Category.
|
||||
/// </summary>
|
||||
|
||||
@@ -346,11 +346,11 @@
|
||||
<data name="registerAsDefaultFeedReaderCheckBox" xml:space="preserve">
|
||||
<value>_Register as default feed reader</value>
|
||||
</data>
|
||||
<data name="browserLabel" xml:space="preserve">
|
||||
<value>_Browser:</value>
|
||||
<data name="defaultBrowserLabel" xml:space="preserve">
|
||||
<value>Default _browser:</value>
|
||||
</data>
|
||||
<data name="DefaultBrowserCaption" xml:space="preserve">
|
||||
<value>Default</value>
|
||||
<value>< Windows Default ></value>
|
||||
</data>
|
||||
<data name="feedCategoryLabel" xml:space="preserve">
|
||||
<value>_Category:</value>
|
||||
@@ -523,4 +523,10 @@
|
||||
<data name="CategoryFilterHeader" xml:space="preserve">
|
||||
<value>Category: {0}</value>
|
||||
</data>
|
||||
<data name="DefaultUserAgentCaption" xml:space="preserve">
|
||||
<value>Feed Center</value>
|
||||
</data>
|
||||
<data name="defaultUserAgentLabel" xml:space="preserve">
|
||||
<value>Default _user agent:</value>
|
||||
</data>
|
||||
</root>
|
||||
15
Application/Properties/Settings.Designer.cs
generated
15
Application/Properties/Settings.Designer.cs
generated
@@ -12,7 +12,7 @@ namespace FeedCenter.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.1.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
@@ -289,5 +289,18 @@ namespace FeedCenter.Properties {
|
||||
this["LastCategoryID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Configuration.SettingsProviderAttribute(typeof(Common.Settings.GenericSettingsProvider))]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string DefaultUserAgent {
|
||||
get {
|
||||
return ((string)(this["DefaultUserAgent"]));
|
||||
}
|
||||
set {
|
||||
this["DefaultUserAgent"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,5 +71,8 @@
|
||||
<Setting Name="LastCategoryID" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="DefaultUserAgent" Provider="Common.Settings.GenericSettingsProvider" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
Reference in New Issue
Block a user