Skip to content

Commit

Permalink
Correct i18n inclusion for RegexAssistant
Browse files Browse the repository at this point in the history
  • Loading branch information
Vogel612 committed Nov 30, 2017
1 parent b614880 commit c98a6ed
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 100 deletions.
1 change: 1 addition & 0 deletions Rubberduck.RegexAssistant/Rubberduck.RegexAssistant.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="i18n\AssistantResources.de.resx" />
<EmbeddedResource Include="i18n\AssistantResources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>AssistantResources.Designer.cs</LastGenOutput>
Expand Down
220 changes: 120 additions & 100 deletions Rubberduck.RegexAssistant/i18n/AssistantResources.de.resx
Original file line number Diff line number Diff line change
@@ -1,76 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<root>
<!--
Microsoft ResX Schema
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.
Version 1.3
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">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</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.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">
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 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" id="root">
<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" msdata:Ordinal="1" />
<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">
Expand All @@ -89,126 +109,126 @@
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<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=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AtomDescription_CarriageReturn" xml:space="preserve">
<value>Gleicht gegen das ASCII-Zeichen CR ab</value>
<value>Erkennt das ASCII-Zeichen CR</value>
</data>
<data name="AtomDescription_CharacterClass" xml:space="preserve">
<value>Gleicht gegen ein beliebiges der folgenden Zeichen ab: {0}</value>
<value>Erkennt ein beliebiges der folgenden Zeichen: {0}</value>
</data>
<data name="AtomDescription_CharacterClass_Inverted" xml:space="preserve">
<value>Gleicht ein beliebiges Zeichen, das keines der folgenden ist, ab: {0} </value>
<value>Erkennt ein beliebigs Zeichen außer den Folgenden: {0}</value>
</data>
<data name="AtomDescription_Digit" xml:space="preserve">
<value>Gleicht gegen eine beliebige Ziffer ab. Äquivalent zu "[0-9]"</value>
<value>Erkennt eine beliebige Ziffer. Äquivalent zu "[0-9]"</value>
</data>
<data name="AtomDescription_Dot" xml:space="preserve">
<value>Akzeptiert ein beliebiges Zeichen</value>
<value>Erkennt ein beliebiges Zeichen</value>
</data>
<data name="AtomDescription_FormFeed" xml:space="preserve">
<value>Gleicht gegen das "Form-Feed"-Zeichen ab</value>
<value>Erkennt das "Form-Feed"-Zeichen</value>
</data>
<data name="AtomDescription_Group" xml:space="preserve">
<value>Akzeptiert die Gruppierung '{0}'</value>
<value>Erkennt die Gruppe '{0}'</value>
</data>
<data name="AtomDescription_HTab" xml:space="preserve">
<value>Gleicht gegen das horizontalen "Tab"-Zeichen ab</value>
<value>Erkennt das horizontale "Tab"-Zeichen</value>
</data>
<data name="AtomDescription_Literal_ActualLiteral" xml:space="preserve">
<value>Gleicht gegen das Zeichen '{0}' ab</value>
<value>Erkennt genau '{0}'</value>
</data>
<data name="AtomDescription_Literal_Backreference" xml:space="preserve">
<value>Akzeptiert genau, was die Gruppe an Index {0} akzeptierte</value>
<value>Erkennt genau das, was die Gruppe an Position {0} erkannt hat</value>
</data>
<data name="AtomDescription_Literal_EscapedLiteral" xml:space="preserve">
<value>Gleicht gegen die Escapesequenz {0} ab</value>
<value>Erkennt das Sonderliteral {0}</value>
</data>
<data name="AtomDescription_Literal_HexCodepoint" xml:space="preserve">
<value>Gleicht gegen den Hexadezimalen ASCII-Wert {0} ab</value>
<value>Erkennt den hexadezimalen ASCII-Wert {0}</value>
</data>
<data name="AtomDescription_Literal_OctalCodepoint" xml:space="preserve">
<value>Gleicht gegen den Oktalen ASCII-Wert {0} ab</value>
<value>Erkennt den Oktalen ASCII-Wert {0}</value>
</data>
<data name="AtomDescription_Literal_UnicodePoint" xml:space="preserve">
<value>Gleicht gegen den Unicode Codepoint {0} ab</value>
<value>Erkennt den Unicode-Codepoint {0}</value>
</data>
<data name="AtomDescription_Newline" xml:space="preserve">
<value>Gleicht gegen das ASCII-Zeichen LF, bekannt als Zeilenumbruch" ab</value>
<value>Erkennt das ASCII-Zeichen LF, auch als "Neue Zeile" bekannt</value>
</data>
<data name="AtomDescription_NonDigit" xml:space="preserve">
<value>Akzeptiert alles außer Ziffern. Äquivalent zu "[^0-9]"</value>
<value>Erkennt Zeichen, die keine Ziffern sind. Äquivalent zu "[^\d]"</value>
</data>
<data name="AtomDescription_NonWhitespace" xml:space="preserve">
<value>Akzeptiert alles außer Abstandszeichen. Äquivalent zu "[^\s]"</value>
<value>Erkennt Zeichen, die nicht Leerzeichen sind. Äquivalent zu "[^\s]"</value>
</data>
<data name="AtomDescription_NonWordBoundary" xml:space="preserve">
<value>Stellt sicher, dass die aktuelle Position keine Wortgrenze ist</value>
<value>Stellt sicher, dass die aktuelle Position eine "Nicht-Wortgrenze" ist</value>
</data>
<data name="AtomDescription_NonWordCharacter" xml:space="preserve">
<value>Akzeptiert alles außer "Wortzeichen". Äquivalent zu "[^\w]"</value>
<value>Erkennt "nicht-wort Zeichen". Äquivalent zu "[^\w]"</value>
</data>
<data name="AtomDescription_VTab" xml:space="preserve">
<value>Gleicht gegen das vertikale "Tab"-Zeichen ab</value>
<value>Erkennt das vertikale "Tab"-Zeichen</value>
</data>
<data name="AtomDescription_Whitespace" xml:space="preserve">
<value>Akzeptiert ein beliebiges Abstandszeichen. Äquivalent zu "[\t\r\n\v\f]"</value>
<value>Erkennt ein beliebiges "Leerzeichen". Äquivalent zu"[ \t\r\n\v\f]"</value>
</data>
<data name="AtomDescription_WordBoundary" xml:space="preserve">
<value>Stellt sicher, dass die aktuelle Position eine Wortgrenze ist</value>
</data>
<data name="AtomDescription_WordCharacter" xml:space="preserve">
<value>Akzeptiert ein beliebiges "Wortzeichen". Äquivalent zu "[a-zA-Z_0-9]"</value>
<value>Erkennt ein beliebiges "Wort-Zeichen". Äquivalent zu "[a-zA-Z_0-9]"</value>
</data>
<data name="ExpressionDescription_AlternativesExpression" xml:space="preserve">
<value>Akzeptiert eine von {0} Alternativen</value>
<value>Erkennt eine von {0} Alternativen</value>
</data>
<data name="ExpressionDescription_ConcatenatedExpression" xml:space="preserve">
<value>Akzeptiert exakt die Sequenz</value>
<value>Erkennt die exakte Sequenz</value>
</data>
<data name="ExpressionDescription_ErrorExpression" xml:space="preserve">
<value>Konnte '{0}' nicht als Literal erkennen. Bitte Überprüfen Sie die Eingabe.</value>
<value>Konnte '{0}' nicht als Literal erkennen. Bitte überprüfen Sie die Eingabe</value>
</data>
<data name="PatternDescription_AnchorEnd" xml:space="preserve">
<value>$ stellt sicher, dass das Ende der Eingabe erreicht ist</value>
<value>$ stellt sicher, dass alle Zeichen im String verwendet wurden</value>
</data>
<data name="PatternDescription_AnchorEnd_GlobalEnabled" xml:space="preserve">
<value>$ stellt sicher, dass das Ende der Zeile oder der Eingabe erreicht ist</value>
<value>$ stellt sicher, dass das Ende einer Zeile erreicht ist, oder alle Zeichen in der Eingabe verwendet wurden</value>
</data>
<data name="PatternDescription_AnchorStart" xml:space="preserve">
<value>^ stellt sicher, dass die aktuelle Position am Anfang der Eingabe ist</value>
<value>^ stellt sicher, dass wir uns am Anfang der zu prüfenden Eingabe befinden</value>
</data>
<data name="PatternDescription_AnchorStart_GlobalEnabled" xml:space="preserve">
<value>^ stellt sicher, dass die aktuelle Position am Anfang einer Zeile ist</value>
<value>^ stellt sicher, dass die Suche beim Beginn einer Zeile startet</value>
</data>
<data name="PatternDescription_IgnoreCase" xml:space="preserve">
<value>Alle Abgleiche ignorieren Groß-Kleinschreibung von Literalen</value>
<value>Alle Erkennungen ignorieren Groß-/Kleinschreibung von Zeichen</value>
</data>
<data name="Quantifer_Plus" xml:space="preserve">
<value>Mindestens ein mal</value>
<value>mindestens ein mal</value>
</data>
<data name="Quantifier_Asterisk" xml:space="preserve">
<value>Beliebig oft</value>
<value>beliebig oft</value>
</data>
<data name="Quantifier_ClosedRange" xml:space="preserve">
<value>Zwischen {0} und {1} mal</value>
<value>zwischen {0} und {1} mal</value>
</data>
<data name="Quantifier_Exact" xml:space="preserve">
<value>Genau {0} mal</value>
<value>genau {0} mal</value>
</data>
<data name="Quantifier_None" xml:space="preserve">
<value>Genau ein mal</value>
<value>genau ein mal</value>
</data>
<data name="Quantifier_OpenRange" xml:space="preserve">
<value>Mindestens {0} mal</value>
<value>mindestens {0} mal</value>
</data>
<data name="Quantifier_Optional" xml:space="preserve">
<value>Höchstens ein mal</value>
<value>höchstens ein mal</value>
</data>
</root>
</root>

0 comments on commit c98a6ed

Please sign in to comment.