feat: prettier settings, start using resources file

This commit is contained in:
Anna
2022-02-04 05:46:13 -05:00
parent 61243096ec
commit bf742cd5a4
11 changed files with 877 additions and 45 deletions
+504
View File
@@ -0,0 +1,504 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace ChatTwo.Resources {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Language {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Language() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ChatTwo.resources.Language", typeof(Language).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Hide chat.
/// </summary>
internal static string ChatLog_HideChat {
get {
return ResourceManager.GetString("ChatLog_HideChat", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Disabled for this tab..
/// </summary>
internal static string ChatLog_SwitcherDisabled {
get {
return ResourceManager.GetString("ChatLog_SwitcherDisabled", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Move down.
/// </summary>
internal static string ChatLog_Tabs_MoveDown {
get {
return ResourceManager.GetString("ChatLog_Tabs_MoveDown", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Move left.
/// </summary>
internal static string ChatLog_Tabs_MoveLeft {
get {
return ResourceManager.GetString("ChatLog_Tabs_MoveLeft", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Move right.
/// </summary>
internal static string ChatLog_Tabs_MoveRight {
get {
return ResourceManager.GetString("ChatLog_Tabs_MoveRight", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Move up.
/// </summary>
internal static string ChatLog_Tabs_MoveUp {
get {
return ResourceManager.GetString("ChatLog_Tabs_MoveUp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Allow moving chat.
/// </summary>
internal static string Options_CanMove_Name {
get {
return ResourceManager.GetString("Options_CanMove_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Allow resizing chat.
/// </summary>
internal static string Options_CanResize_Name {
get {
return ResourceManager.GetString("Options_CanResize_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Import from game.
/// </summary>
internal static string Options_ChatColours_Import {
get {
return ResourceManager.GetString("Options_ChatColours_Import", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Reset to default.
/// </summary>
internal static string Options_ChatColours_Reset {
get {
return ResourceManager.GetString("Options_ChatColours_Reset", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Chat colours.
/// </summary>
internal static string Options_ChatColours_Tab {
get {
return ResourceManager.GetString("Options_ChatColours_Tab", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Display.
/// </summary>
internal static string Options_Display_Tab {
get {
return ResourceManager.GetString("Options_Display_Tab", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Font size.
/// </summary>
internal static string Options_FontSize_Name {
get {
return ResourceManager.GetString("Options_FontSize_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Hide the in-game chat window when the plugin is active..
/// </summary>
internal static string Options_HideChat_Description {
get {
return ResourceManager.GetString("Options_HideChat_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Hide vanilla chat.
/// </summary>
internal static string Options_HideChat_Name {
get {
return ResourceManager.GetString("Options_HideChat_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Hide Chat 2 during cutscenes..
/// </summary>
internal static string Options_HideDuringCutscenes_Description {
get {
return ResourceManager.GetString("Options_HideDuringCutscenes_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Hide chat during cutscenes.
/// </summary>
internal static string Options_HideDuringCutscenes_Name {
get {
return ResourceManager.GetString("Options_HideDuringCutscenes_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Reduce the spacing between messages..
/// </summary>
internal static string Options_MoreCompactPretty_Description {
get {
return ResourceManager.GetString("Options_MoreCompactPretty_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to More compact modern layout.
/// </summary>
internal static string Options_MoreCompactPretty_Name {
get {
return ResourceManager.GetString("Options_MoreCompactPretty_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Show in-game item tooltips when hovering over items in Chat 2..
/// </summary>
internal static string Options_NativeItemTooltips_Description {
get {
return ResourceManager.GetString("Options_NativeItemTooltips_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Show native item tooltips.
/// </summary>
internal static string Options_NativeItemTooltips_Name {
get {
return ResourceManager.GetString("Options_NativeItemTooltips_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Use a more modern style of displaying messages..
/// </summary>
internal static string Options_PrettierTimestamps_Description {
get {
return ResourceManager.GetString("Options_PrettierTimestamps_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Use modern timestamp layout.
/// </summary>
internal static string Options_PrettierTimestamps_Name {
get {
return ResourceManager.GetString("Options_PrettierTimestamps_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Show the Novice Network join button next to the settings button if logged in as a mentor..
/// </summary>
internal static string Options_ShowNoviceNetwork_Description {
get {
return ResourceManager.GetString("Options_ShowNoviceNetwork_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Show Novice Network join button.
/// </summary>
internal static string Options_ShowNoviceNetwork_Name {
get {
return ResourceManager.GetString("Options_ShowNoviceNetwork_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Show title bar for chat.
/// </summary>
internal static string Options_ShowTitleBar_Name {
get {
return ResourceManager.GetString("Options_ShowTitleBar_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Show tabs in Chat 2 as a sidebar instead of a bar at the top..
/// </summary>
internal static string Options_SidebarTabView_Description {
get {
return ResourceManager.GetString("Options_SidebarTabView_Description", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Show tabs in a sidebar.
/// </summary>
internal static string Options_SidebarTabView_Name {
get {
return ResourceManager.GetString("Options_SidebarTabView_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Add.
/// </summary>
internal static string Options_Tabs_Add {
get {
return ResourceManager.GetString("Options_Tabs_Add", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Channels.
/// </summary>
internal static string Options_Tabs_Channels {
get {
return ResourceManager.GetString("Options_Tabs_Channels", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Delete.
/// </summary>
internal static string Options_Tabs_Delete {
get {
return ResourceManager.GetString("Options_Tabs_Delete", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Input channel.
/// </summary>
internal static string Options_Tabs_InputChannel {
get {
return ResourceManager.GetString("Options_Tabs_InputChannel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Move down.
/// </summary>
internal static string Options_Tabs_MoveDown {
get {
return ResourceManager.GetString("Options_Tabs_MoveDown", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Move up.
/// </summary>
internal static string Options_Tabs_MoveUp {
get {
return ResourceManager.GetString("Options_Tabs_MoveUp", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Name.
/// </summary>
internal static string Options_Tabs_Name {
get {
return ResourceManager.GetString("Options_Tabs_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to &lt;None&gt;.
/// </summary>
internal static string Options_Tabs_NoInputChannel {
get {
return ResourceManager.GetString("Options_Tabs_NoInputChannel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Show timestamps.
/// </summary>
internal static string Options_Tabs_ShowTimestamps {
get {
return ResourceManager.GetString("Options_Tabs_ShowTimestamps", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Tabs.
/// </summary>
internal static string Options_Tabs_Tab {
get {
return ResourceManager.GetString("Options_Tabs_Tab", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unread mode.
/// </summary>
internal static string Options_Tabs_UnreadMode {
get {
return ResourceManager.GetString("Options_Tabs_UnreadMode", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Window opacity.
/// </summary>
internal static string Options_WindowOpacity_Name {
get {
return ResourceManager.GetString("Options_WindowOpacity_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Discard.
/// </summary>
internal static string Settings_Discard {
get {
return ResourceManager.GetString("Settings_Discard", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Support {0} on Ko-fi.
/// </summary>
internal static string Settings_Kofi {
get {
return ResourceManager.GetString("Settings_Kofi", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Save.
/// </summary>
internal static string Settings_Save {
get {
return ResourceManager.GetString("Settings_Save", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Save and close.
/// </summary>
internal static string Settings_SaveAndClose {
get {
return ResourceManager.GetString("Settings_SaveAndClose", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to {0} settings.
/// </summary>
internal static string Settings_Title {
get {
return ResourceManager.GetString("Settings_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to New tab.
/// </summary>
internal static string Tab_DefaultName {
get {
return ResourceManager.GetString("Tab_DefaultName", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Always show unread indicators..
/// </summary>
internal static string UnreadMode_All_Tooltip {
get {
return ResourceManager.GetString("UnreadMode_All_Tooltip", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Never show unread indicators..
/// </summary>
internal static string UnreadMode_None_Tooltip {
get {
return ResourceManager.GetString("UnreadMode_None_Tooltip", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Only show unread indicators for messages you haven&apos;t seen..
/// </summary>
internal static string UnreadMode_Unseen_Tooltip {
get {
return ResourceManager.GetString("UnreadMode_Unseen_Tooltip", resourceCulture);
}
}
}
}
+272
View File
@@ -0,0 +1,272 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string"/>
<xsd:attribute name="type" type="xsd:string"/>
<xsd:attribute name="mimetype" type="xsd:string"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string"/>
<xsd:attribute name="name" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1"/>
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3"/>
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4"/>
<xsd:attribute ref="xml:space"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data name="Options_HideChat_Name" xml:space="preserve">
<value>Hide vanilla chat</value>
</data>
<data name="Options_HideChat_Description" xml:space="preserve">
<value>Hide the in-game chat window when the plugin is active.</value>
</data>
<data name="Options_HideDuringCutscenes_Name" xml:space="preserve">
<value>Hide chat during cutscenes</value>
</data>
<data name="Options_HideDuringCutscenes_Description" xml:space="preserve">
<value>Hide Chat 2 during cutscenes.</value>
</data>
<data name="Options_NativeItemTooltips_Name" xml:space="preserve">
<value>Show native item tooltips</value>
</data>
<data name="Options_NativeItemTooltips_Description" xml:space="preserve">
<value>Show in-game item tooltips when hovering over items in Chat 2.</value>
</data>
<data name="Options_SidebarTabView_Name" xml:space="preserve">
<value>Show tabs in a sidebar</value>
</data>
<data name="Options_SidebarTabView_Description" xml:space="preserve">
<value>Show tabs in Chat 2 as a sidebar instead of a bar at the top.</value>
</data>
<data name="Options_PrettierTimestamps_Name" xml:space="preserve">
<value>Use modern timestamp layout</value>
</data>
<data name="Options_PrettierTimestamps_Description" xml:space="preserve">
<value>Use a more modern style of displaying messages.</value>
</data>
<data name="Options_MoreCompactPretty_Name" xml:space="preserve">
<value>More compact modern layout</value>
</data>
<data name="Options_MoreCompactPretty_Description" xml:space="preserve">
<value>Reduce the spacing between messages.</value>
</data>
<data name="Options_ShowNoviceNetwork_Name" xml:space="preserve">
<value>Show Novice Network join button</value>
</data>
<data name="Options_ShowNoviceNetwork_Description" xml:space="preserve">
<value>Show the Novice Network join button next to the settings button if logged in as a mentor.</value>
</data>
<data name="Options_FontSize_Name" xml:space="preserve">
<value>Font size</value>
</data>
<data name="Options_WindowOpacity_Name" xml:space="preserve">
<value>Window opacity</value>
</data>
<data name="Options_CanMove_Name" xml:space="preserve">
<value>Allow moving chat</value>
</data>
<data name="Options_CanResize_Name" xml:space="preserve">
<value>Allow resizing chat</value>
</data>
<data name="Options_ShowTitleBar_Name" xml:space="preserve">
<value>Show title bar for chat</value>
</data>
<data name="Options_Display_Tab" xml:space="preserve">
<value>Display</value>
</data>
<data name="Options_ChatColours_Tab" xml:space="preserve">
<value>Chat colours</value>
</data>
<data name="Options_ChatColours_Reset" xml:space="preserve">
<value>Reset to default</value>
</data>
<data name="Options_ChatColours_Import" xml:space="preserve">
<value>Import from game</value>
</data>
<data name="Options_Tabs_Tab" xml:space="preserve">
<value>Tabs</value>
</data>
<data name="Options_Tabs_Add" xml:space="preserve">
<value>Add</value>
</data>
<data name="Options_Tabs_Delete" xml:space="preserve">
<value>Delete</value>
</data>
<data name="Options_Tabs_MoveUp" xml:space="preserve">
<value>Move up</value>
</data>
<data name="Options_Tabs_MoveDown" xml:space="preserve">
<value>Move down</value>
</data>
<data name="Options_Tabs_Name" xml:space="preserve">
<value>Name</value>
</data>
<data name="Options_Tabs_ShowTimestamps" xml:space="preserve">
<value>Show timestamps</value>
</data>
<data name="Options_Tabs_UnreadMode" xml:space="preserve">
<value>Unread mode</value>
</data>
<data name="Options_Tabs_NoInputChannel" xml:space="preserve">
<value>&lt;None&gt;</value>
</data>
<data name="Options_Tabs_InputChannel" xml:space="preserve">
<value>Input channel</value>
</data>
<data name="Options_Tabs_Channels" xml:space="preserve">
<value>Channels</value>
</data>
<data name="UnreadMode_All_Tooltip" xml:space="preserve">
<value>Always show unread indicators.</value>
</data>
<data name="UnreadMode_Unseen_Tooltip" xml:space="preserve">
<value>Only show unread indicators for messages you haven't seen.</value>
</data>
<data name="UnreadMode_None_Tooltip" xml:space="preserve">
<value>Never show unread indicators.</value>
</data>
<data name="Tab_DefaultName" xml:space="preserve">
<value>New tab</value>
</data>
<data name="Settings_Kofi" xml:space="preserve">
<value>Support {0} on Ko-fi</value>
</data>
<data name="Settings_SaveAndClose" xml:space="preserve">
<value>Save and close</value>
</data>
<data name="Settings_Save" xml:space="preserve">
<value>Save</value>
</data>
<data name="Settings_Discard" xml:space="preserve">
<value>Discard</value>
</data>
<data name="Settings_Title" xml:space="preserve">
<value>{0} settings</value>
</data>
<data name="ChatLog_SwitcherDisabled" xml:space="preserve">
<value>Disabled for this tab.</value>
</data>
<data name="ChatLog_HideChat" xml:space="preserve">
<value>Hide chat</value>
</data>
<data name="ChatLog_Tabs_MoveUp" xml:space="preserve">
<value>Move up</value>
</data>
<data name="ChatLog_Tabs_MoveLeft" xml:space="preserve">
<value>Move left</value>
</data>
<data name="ChatLog_Tabs_MoveDown" xml:space="preserve">
<value>Move down</value>
</data>
<data name="ChatLog_Tabs_MoveRight" xml:space="preserve">
<value>Move right</value>
</data>
</root>