diff --git a/Rubberduck.CodeAnalysis/CodeAnalysisUI.Designer.cs b/Rubberduck.CodeAnalysis/CodeAnalysisUI.Designer.cs
new file mode 100644
index 0000000000..4d3597979d
--- /dev/null
+++ b/Rubberduck.CodeAnalysis/CodeAnalysisUI.Designer.cs
@@ -0,0 +1,497 @@
+//------------------------------------------------------------------------------
+//
+// 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.
+//
+//------------------------------------------------------------------------------
+
+namespace Rubberduck.CodeAnalysis {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // 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()]
+ public class CodeAnalysisUI {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal CodeAnalysisUI() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ public static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Rubberduck.CodeAnalysis.CodeAnalysisUI", typeof(CodeAnalysisUI).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ public static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Issue.
+ ///
+ public static string CodeInspectionResults_Issue {
+ get {
+ return ResourceManager.GetString("CodeInspectionResults_Issue", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Location.
+ ///
+ public static string CodeInspectionResults_Location {
+ get {
+ return ResourceManager.GetString("CodeInspectionResults_Location", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Type.
+ ///
+ public static string CodeInspectionResults_Type {
+ get {
+ return ResourceManager.GetString("CodeInspectionResults_Type", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Code Inspections.
+ ///
+ public static string CodeInspections {
+ get {
+ return ResourceManager.GetString("CodeInspections", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Inspecting....
+ ///
+ public static string CodeInspections_Inspecting {
+ get {
+ return ResourceManager.GetString("CodeInspections_Inspecting", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Rubberduck Code Inspections - {0}
+ ///{1} issues found..
+ ///
+ public static string CodeInspections_NumberOfIssuesFound_Plural {
+ get {
+ return ResourceManager.GetString("CodeInspections_NumberOfIssuesFound_Plural", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Rubberduck Code Inspections - {0}
+ ///{1} issue found..
+ ///
+ public static string CodeInspections_NumberOfIssuesFound_Singular {
+ get {
+ return ResourceManager.GetString("CodeInspections_NumberOfIssuesFound_Singular", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Description:.
+ ///
+ public static string CodeInspectionSettingsPage_FilterByDescription {
+ get {
+ return ResourceManager.GetString("CodeInspectionSettingsPage_FilterByDescription", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Severity:.
+ ///
+ public static string CodeInspectionSettingsPage_FilterBySeverity {
+ get {
+ return ResourceManager.GetString("CodeInspectionSettingsPage_FilterBySeverity", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Inspection Severities.
+ ///
+ public static string CodeInspectionSettingsPage_InspectionSeveritySettingsLabel {
+ get {
+ return ResourceManager.GetString("CodeInspectionSettingsPage_InspectionSeveritySettingsLabel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Miscellaneous.
+ ///
+ public static string CodeInspectionSettingsPage_Misc {
+ get {
+ return ResourceManager.GetString("CodeInspectionSettingsPage_Misc", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Run inspections automatically on successful parse.
+ ///
+ public static string CodeInspectionSettingsPage_Misc_RunInspectionsOnSuccessfulParse {
+ get {
+ return ResourceManager.GetString("CodeInspectionSettingsPage_Misc_RunInspectionsOnSuccessfulParse", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to These identifiers will be ignored by the 'Use meaningful names' inspection..
+ ///
+ public static string CodeInspectionSettingsPage_WhitelistedIdentifiersDescription {
+ get {
+ return ResourceManager.GetString("CodeInspectionSettingsPage_WhitelistedIdentifiersDescription", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Allowed Identifiers.
+ ///
+ public static string CodeInspectionSettingsPage_WhitelistedIdentifiersLabel {
+ get {
+ return ResourceManager.GetString("CodeInspectionSettingsPage_WhitelistedIdentifiersLabel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Cyclomatic Complexity.
+ ///
+ public static string CodeMetrics_Complexity {
+ get {
+ return ResourceManager.GetString("CodeMetrics_Complexity", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Lines.
+ ///
+ public static string CodeMetrics_Lines {
+ get {
+ return ResourceManager.GetString("CodeMetrics_Lines", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Maximum Nesting.
+ ///
+ public static string CodeMetrics_Nesting {
+ get {
+ return ResourceManager.GetString("CodeMetrics_Nesting", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Code Metrics.
+ ///
+ public static string CodeMetricsDockablePresenter_Caption {
+ get {
+ return ResourceManager.GetString("CodeMetricsDockablePresenter_Caption", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The following project(s) cannot be compiled, which will most likely result in parser errors. Continue anyway? {0}.
+ ///
+ public static string Command_Reparse_CannotCompile {
+ get {
+ return ResourceManager.GetString("Command_Reparse_CannotCompile", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Unable to compile for parsing..
+ ///
+ public static string Command_Reparse_CannotCompile_Caption {
+ get {
+ return ResourceManager.GetString("Command_Reparse_CannotCompile_Caption", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The VBE setting "Compile On Demand" is currently enabled. This is not recommended as this may hide compilation errors and cause problems with parsing. Do you want to parse anyway?.
+ ///
+ public static string Command_Reparse_CompileOnDemandEnabled {
+ get {
+ return ResourceManager.GetString("Command_Reparse_CompileOnDemandEnabled", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Compile On Demand Setting.
+ ///
+ public static string Command_Reparse_CompileOnDemandEnabled_Caption {
+ get {
+ return ResourceManager.GetString("Command_Reparse_CompileOnDemandEnabled_Caption", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to runtime expression.
+ ///
+ public static string DeclarationType_BracketedExpression {
+ get {
+ return ResourceManager.GetString("DeclarationType_BracketedExpression", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to class.
+ ///
+ public static string DeclarationType_ClassModule {
+ get {
+ return ResourceManager.GetString("DeclarationType_ClassModule", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to constant.
+ ///
+ public static string DeclarationType_Constant {
+ get {
+ return ResourceManager.GetString("DeclarationType_Constant", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to control.
+ ///
+ public static string DeclarationType_Control {
+ get {
+ return ResourceManager.GetString("DeclarationType_Control", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to enum.
+ ///
+ public static string DeclarationType_Enumeration {
+ get {
+ return ResourceManager.GetString("DeclarationType_Enumeration", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to enum member.
+ ///
+ public static string DeclarationType_EnumerationMember {
+ get {
+ return ResourceManager.GetString("DeclarationType_EnumerationMember", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to event.
+ ///
+ public static string DeclarationType_Event {
+ get {
+ return ResourceManager.GetString("DeclarationType_Event", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to function.
+ ///
+ public static string DeclarationType_Function {
+ get {
+ return ResourceManager.GetString("DeclarationType_Function", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to library function.
+ ///
+ public static string DeclarationType_LibraryFunction {
+ get {
+ return ResourceManager.GetString("DeclarationType_LibraryFunction", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to library procedure.
+ ///
+ public static string DeclarationType_LibraryProcedure {
+ get {
+ return ResourceManager.GetString("DeclarationType_LibraryProcedure", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to line label.
+ ///
+ public static string DeclarationType_LineLabel {
+ get {
+ return ResourceManager.GetString("DeclarationType_LineLabel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to parameter.
+ ///
+ public static string DeclarationType_Parameter {
+ get {
+ return ResourceManager.GetString("DeclarationType_Parameter", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to module.
+ ///
+ public static string DeclarationType_ProceduralModule {
+ get {
+ return ResourceManager.GetString("DeclarationType_ProceduralModule", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to procedure.
+ ///
+ public static string DeclarationType_Procedure {
+ get {
+ return ResourceManager.GetString("DeclarationType_Procedure", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to project.
+ ///
+ public static string DeclarationType_Project {
+ get {
+ return ResourceManager.GetString("DeclarationType_Project", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to property get accessor.
+ ///
+ public static string DeclarationType_PropertyGet {
+ get {
+ return ResourceManager.GetString("DeclarationType_PropertyGet", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to property let accessor.
+ ///
+ public static string DeclarationType_PropertyLet {
+ get {
+ return ResourceManager.GetString("DeclarationType_PropertyLet", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to property set accessor.
+ ///
+ public static string DeclarationType_PropertySet {
+ get {
+ return ResourceManager.GetString("DeclarationType_PropertySet", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to user-defined type.
+ ///
+ public static string DeclarationType_UserDefinedType {
+ get {
+ return ResourceManager.GetString("DeclarationType_UserDefinedType", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to user-defined type member.
+ ///
+ public static string DeclarationType_UserDefinedTypeMember {
+ get {
+ return ResourceManager.GetString("DeclarationType_UserDefinedTypeMember", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to variable.
+ ///
+ public static string DeclarationType_Variable {
+ get {
+ return ResourceManager.GetString("DeclarationType_Variable", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to You've earned the "Continuator" badge!.
+ ///
+ public static string EasterEgg_Continuator {
+ get {
+ return ResourceManager.GetString("EasterEgg_Continuator", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Ignore.
+ ///
+ public static string EmptyLineHandling_Ignore {
+ get {
+ return ResourceManager.GetString("EmptyLineHandling_Ignore", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Indent.
+ ///
+ public static string EmptyLineHandling_Indent {
+ get {
+ return ResourceManager.GetString("EmptyLineHandling_Indent", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Remove.
+ ///
+ public static string EmptyLineHandling_Remove {
+ get {
+ return ResourceManager.GetString("EmptyLineHandling_Remove", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Filter.
+ ///
+ public static string GroupingGrid_Filter {
+ get {
+ return ResourceManager.GetString("GroupingGrid_Filter", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/Rubberduck.CodeAnalysis/CodeAnalysisUI.cs.resx b/Rubberduck.CodeAnalysis/CodeAnalysisUI.cs.resx
new file mode 100644
index 0000000000..566914eb1b
--- /dev/null
+++ b/Rubberduck.CodeAnalysis/CodeAnalysisUI.cs.resx
@@ -0,0 +1,266 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Typ
+
+
+ Problém
+
+
+ Lokace
+
+
+ Rubberduck Inspekce Kódu - {0}
+{1} problém nalezen.
+
+
+ Kontroluji...
+
+
+ Rubberduck Inspekce Kódu - {0}
+Nalezeno {1} problémů.
+
+
+ Závažnosti Inspekce
+
+
+ Dovolené Identifikátory
+
+
+ Různé
+
+
+ Spustit automaticky inspekce po úspěšném parsování
+
+
+ Tyto identifikátory budou ignorovány inspekcí 'Použij smysluplné názvy'.
+
+
+ Řádky
+
+
+ Cyklomatická Komplexita
+
+
+ Maximální Vnoření
+
+
+ Metrika Kódu
+
+
+ Inspekce kódu
+
+
+ VBE nastavení "Zkompilovat Na Žádost" je aktuálně povoleno. Toto není doporučeno a může vyústit v kompilační chyby a způsobit problémy při parsování. Chcete i přesto spustit parser?
+
+
+ Nastavení Zkompilování Na Žádost
+
+
+ Není možno zkompilovat pro parsování.
+
+
+ Následující projekt(y) nemohou být zkompilovány, což je s největší pravděpodobností kvůli parsovacím chybám. I přesto pokračovat? {0}
+
+
+ runtime expression
+
+
+ třída
+
+
+ konstanta
+
+
+ VBDesigner-Objekt
+
+
+ enum
+
+
+ enum člen
+
+
+ událost
+
+
+ funkce
+
+
+ funkce knihovny
+
+
+ procedura knihovny
+
+
+ označení řádku
+
+
+ parametr
+
+
+ modul
+
+
+ procedura
+
+
+ projekt
+
+
+ Get accessor vlastnosti
+
+
+ Let accessor vlastnosti
+
+
+ Set accessor vlastnosti
+
+
+ uživatelsky-definovaný typ
+
+
+ uživatelsky-definovaný člen
+
+
+ proměnná
+
+
+ Získali jste odznak "Continuator"!
+
+
+ Odsadit
+
+
+ Odstranit
+
+
+ Ignorovat
+
+
+ Filtr
+
+
+ Popis:
+
+
+ Závažnost:
+
+
\ No newline at end of file
diff --git a/Rubberduck.CodeAnalysis/CodeAnalysisUI.de.resx b/Rubberduck.CodeAnalysis/CodeAnalysisUI.de.resx
new file mode 100644
index 0000000000..4610b4d620
--- /dev/null
+++ b/Rubberduck.CodeAnalysis/CodeAnalysisUI.de.resx
@@ -0,0 +1,266 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Typ
+
+
+ Problem
+
+
+ Ort
+
+
+ Rubberduck Code Untersuchung - {0}
+{1} Problem gefunden.
+
+
+ Inspiziere...
+
+
+ Rubberduck Code Untersuchung - {0}
+{1} Probleme gefunden.
+
+
+ Inspektionsschwere
+
+
+ Explizit erlaubte Namen
+
+
+ Verschiedenes
+
+
+ Inspektionen nach erfolgreichem Parsen automatisch starten
+
+
+ Diese Namen werden von der Inspektion "Nutze aussagekräftige Namen" ignoriert.
+
+
+ Codezeilen
+
+
+ Zyklomatische Komplexität
+
+
+ Maximale Einrückung
+
+
+ Codemetrikergebnisse
+
+
+ Code Untersuchung
+
+
+ Die VBE-Einstellung "Bei Bedarf Kompilieren" ist aktuell eingeschalten. Dies ist nicht empfohlen, da Kompilierungsfehler und Probleme beim Parsen versteckt werden können. Trotzdem Parsen?
+
+
+ Einstellung "Bei Bedarf Kompilieren"
+
+
+ Konnte nicht vor dem Parsen kompilieren.
+
+
+ Folgende(s) Projekt(e) können nicht kompiliert werden. Dies führt höchstwahrscheinlich zu Parserfehlern. Trotzdem fortfahren? {0}
+
+
+ Laufzeitausdruck
+
+
+ Klasse
+
+
+ Konstante
+
+
+ VBDesigner-Objekt
+
+
+ Enum
+
+
+ Enum-Element (Konstante)
+
+
+ Ereignis
+
+
+ Funktion
+
+
+ Bibliotheks-Funktion
+
+
+ Bibliotheksprozedur
+
+
+ Sprungmarke
+
+
+ Parameter
+
+
+ Modul
+
+
+ Prozedur
+
+
+ Projekt
+
+
+ Get-Eigenschaftsprozedur
+
+
+ Let-Eigenschaftsprozedur
+
+
+ Set-Eigenschaftsprozedur
+
+
+ Nutzerdefinierter Typ
+
+
+ Element eines nutzerdefinierten Typs
+
+
+ Variable
+
+
+ Sie haben das Abzeichen "Continuator" erhalten!
+
+
+ Einrücken
+
+
+ Entfernen
+
+
+ Ignorieren
+
+
+ Filter
+
+
+ Beschreibung:
+
+
+ Schweregrad:
+
+
\ No newline at end of file
diff --git a/Rubberduck.CodeAnalysis/CodeAnalysisUI.es.resx b/Rubberduck.CodeAnalysis/CodeAnalysisUI.es.resx
new file mode 100644
index 0000000000..3e7f048462
--- /dev/null
+++ b/Rubberduck.CodeAnalysis/CodeAnalysisUI.es.resx
@@ -0,0 +1,266 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Tipo
+
+
+ Problema
+
+
+ Ubicación
+
+
+ Inspecciones del código de Rubberduck - {0}
+{1} problema encontrado.
+
+
+ Inspeccionando...
+
+
+ Inspecciones del código de Rubberduck - {0}
+{1} problemas encontrados.
+
+
+ Severidad de la inspección
+
+
+ Identificadores en lista blanca
+
+
+ Misceláneas
+
+
+ Ejecutar inspecciones automáticamente en el análisis exitoso
+
+
+ Estos identificadores serán ignorados por la inspección 'Usar nombres significativos'.
+
+
+ Líneas
+
+
+ Complejidad ciclomática
+
+
+ Anidamiento maximo
+
+
+ Métricas de Código
+
+
+ Inspecciones de código
+
+
+ El VBEsetting "Compile On Demand" está habilitado actualmente. No se recomienda, ya que puede ocultar errores de compilación y causar problemas con el análisis. ¿Quieres analizar de todos modos?
+
+
+ Ajuste "Compilar A Demanda"
+
+
+ No se puede compilar para analizar.
+
+
+ Los siguientes proyectos no pueden compilarse, lo que probablemente resultará en errores del analizador. ¿Continua de todas maneras? {0}
+
+
+ expresión en tiempo de ejecución
+
+
+ clase
+
+
+ constante
+
+
+ control
+
+
+ enumerar
+
+
+ enumerar miembro
+
+
+ evento
+
+
+ función
+
+
+ biblioteca de funciones
+
+
+ biblioteca de procedimientos
+
+
+ etiqueta de línea
+
+
+ parámetro
+
+
+ módulo
+
+
+ procedimiento
+
+
+ proyecto
+
+
+ propiedad Get
+
+
+ propiedad Let
+
+
+ propiedad Set
+
+
+ tipo definido por el usuario
+
+
+ miembro de tipo definido por el usuario
+
+
+ variable
+
+
+ ¡Has ganado la insignia de "Continuador"!
+
+
+ Indentar
+
+
+ Eliminar
+
+
+ Ignorar
+
+
+ Filtro
+
+
+ Descripción:
+
+
+ Severidad:
+
+
\ No newline at end of file
diff --git a/Rubberduck.CodeAnalysis/CodeAnalysisUI.fr.resx b/Rubberduck.CodeAnalysis/CodeAnalysisUI.fr.resx
new file mode 100644
index 0000000000..d647d3adef
--- /dev/null
+++ b/Rubberduck.CodeAnalysis/CodeAnalysisUI.fr.resx
@@ -0,0 +1,266 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Type
+
+
+ Problème
+
+
+ Emplacement
+
+
+ Inspections Rubberduck - {0}
+{1} problème trouvé.
+
+
+ Inspection...
+
+
+ Inspections Rubberduck - {0}
+{1} problèmes trouvés.
+
+
+ Niveau de sévérité
+
+
+ Identifiants permis
+
+
+ Autres options
+
+
+ Exécuter les inspections automatiquement
+
+
+ L'inspection des noms ignorera ces identifiants.
+
+
+ Lignes
+
+
+ Complexité Cyclomatique
+
+
+ Imbrication
+
+
+ Statistiques
+
+
+ Inspections
+
+
+ L'option VBE "Compile on demand" est présentement activée. Cette configuration n'est pas recommandée, puisqu'elle peut masquer des erreurs de compilation in interférer avec l'analyse. Poursuivre l'analyse?
+
+
+ Paramètre "Compile on demand"
+
+
+ La compilation a échoué.
+
+
+ Les projets suivants ne peuvent être compilés, ce qui causera probablement des erreurs d'analyse. Continuer? {0}
+
+
+ expression résolue à l'exécution
+
+
+ la classe
+
+
+ la constante
+
+
+ le contrôle
+
+
+ l'énumération
+
+
+ le membre de l'énumération
+
+
+ l'événement
+
+
+ la fonction
+
+
+ la fonction externe
+
+
+ la procédure externe
+
+
+ l'étiquette de ligne
+
+
+ le paramètre
+
+
+ le module
+
+
+ la procédure
+
+
+ le projet
+
+
+ l'accesseur property get
+
+
+ l'accesseur property let
+
+
+ l'accesseur property set
+
+
+ le type définit par l'utilisateur
+
+
+ le membre d'un type définit par l'utilisateur
+
+
+ la variable
+
+
+ Vous obtenez le badge "Continuator"!
+
+
+ Indenter
+
+
+ Supprimer
+
+
+ Ignorer
+
+
+ Filtrer
+
+
+ Description:
+
+
+ Sévérité:
+
+
\ No newline at end of file
diff --git a/Rubberduck.CodeAnalysis/CodeAnalysisUI.it.resx b/Rubberduck.CodeAnalysis/CodeAnalysisUI.it.resx
new file mode 100644
index 0000000000..44148d372f
--- /dev/null
+++ b/Rubberduck.CodeAnalysis/CodeAnalysisUI.it.resx
@@ -0,0 +1,266 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Complessità Ciclomatica
+
+
+ Righe
+
+
+ Annidamenti Massimi
+
+
+ Tipo
+
+
+ Posizione
+
+
+ Problema
+
+
+ Impostazione Compila su Richiesta
+
+
+ L'impostazione "Compila su richiesta" di VBE è attualmente abilitata. Questo non è raccomandato perché può nascondere errori di compilazione e causare problemi con l'analisi. Vuoi analizzare comunque?
+
+
+ Impossibile compilare per l'analisi.
+
+
+ Il/i seguente/i progetto/i non può/possono essere compilato/i, con probabile errore dell'analisi. Continuare comunque? {0}
+
+
+ Filtra
+
+
+ Rimuovi
+
+
+ Indenta
+
+
+ Ignora
+
+
+ Hai guadagnato il badge di "Continuatore"!
+
+
+ variabile
+
+
+ membro di tipo definito dall'utente
+
+
+ tipo definito dall'utente
+
+
+ property set accessor
+
+
+ property let accessor
+
+
+ property get accessor
+
+
+ progetto
+
+
+ procedura
+
+
+ modulo
+
+
+ parametro
+
+
+ riga di etichetta
+
+
+ libreria di procedura
+
+
+ libreria di funzione
+
+
+ funzione
+
+
+ evento
+
+
+ membro di enum
+
+
+ enum
+
+
+ controllo
+
+
+ costante
+
+
+ classe
+
+
+ espressione a runtime
+
+
+ Statistiche
+
+
+ Rubberduck Ispezioni del Codice - {0}
+{1} problema trovato.
+
+
+ Rubberduck Ispezioni del Codice - {0}
+{1} problemi trovati.
+
+
+ Ispezione...
+
+
+ Ispezioni del Codice
+
+
+ Gravità:
+
+
+ Descrizione:
+
+
+ Gravità dell'ispezione
+
+
+ Esegui le ispezioni automaticamente ad analisi superata
+
+
+ Varie
+
+
+ Identificatori Consentiti
+
+
+ Questi identificatori saranno ignorati dall'ispezione 'Usa nomi significativi'.
+
+
\ No newline at end of file
diff --git a/Rubberduck.CodeAnalysis/CodeAnalysisUI.resx b/Rubberduck.CodeAnalysis/CodeAnalysisUI.resx
new file mode 100644
index 0000000000..33bba664e2
--- /dev/null
+++ b/Rubberduck.CodeAnalysis/CodeAnalysisUI.resx
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 1.3
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Type
+
+
+ Issue
+
+
+ Location
+
+
+ Rubberduck Code Inspections - {0}
+{1} issue found.
+ {0}=timestamp; {1}=number
+
+
+ Inspecting...
+
+
+ Rubberduck Code Inspections - {0}
+{1} issues found.
+ {0}=timestamp; {1}=number
+
+
+ Inspection Severities
+
+
+ Allowed Identifiers
+
+
+ Miscellaneous
+
+
+ Run inspections automatically on successful parse
+
+
+ These identifiers will be ignored by the 'Use meaningful names' inspection.
+
+
+ Lines
+
+
+ Cyclomatic Complexity
+
+
+ Maximum Nesting
+
+
+ Code Metrics
+
+
+ Code Inspections
+
+
+ The VBE setting "Compile On Demand" is currently enabled. This is not recommended as this may hide compilation errors and cause problems with parsing. Do you want to parse anyway?
+
+
+ Compile On Demand Setting
+
+
+ Unable to compile for parsing.
+
+
+ The following project(s) cannot be compiled, which will most likely result in parser errors. Continue anyway? {0}
+
+
+ runtime expression
+
+
+ class
+
+
+ constant
+
+
+ control
+
+
+ enum
+
+
+ enum member
+
+
+ event
+
+
+ function
+
+
+ library function
+
+
+ library procedure
+
+
+ line label
+
+
+ parameter
+
+
+ module
+
+
+ procedure
+
+
+ project
+
+
+ property get accessor
+
+
+ property let accessor
+
+
+ property set accessor
+
+
+ user-defined type
+
+
+ user-defined type member
+
+
+ variable
+
+
+ You've earned the "Continuator" badge!
+
+
+ Indent
+
+
+ Remove
+
+
+ Ignore
+
+
+ Filter
+
+
+ Description:
+
+
+ Severity:
+
+
\ No newline at end of file
diff --git a/Rubberduck.CodeAnalysis/Inspections/Abstract/InspectionBase.cs b/Rubberduck.CodeAnalysis/Inspections/Abstract/InspectionBase.cs
index 23b94c9a92..4b8e227e0d 100644
--- a/Rubberduck.CodeAnalysis/Inspections/Abstract/InspectionBase.cs
+++ b/Rubberduck.CodeAnalysis/Inspections/Abstract/InspectionBase.cs
@@ -55,7 +55,7 @@ protected InspectionBase(IDeclarationFinderProvider declarationFinderProvider)
/// Gets a localized string representing the type of inspection.
///
///
- public virtual string InspectionTypeName => Resources.Inspections.InspectionsUI.ResourceManager.GetString($"CodeInspectionSettings_{InspectionType.ToString()}", CultureInfo.CurrentUICulture);
+ public virtual string InspectionTypeName => Resources.Inspections.InspectionsUI.ResourceManager.GetString($"CodeInspectionSettings_{InspectionType}", CultureInfo.CurrentUICulture);
///
/// Gets a string representing the text that must be present in an
diff --git a/Rubberduck.CodeAnalysis/Inspections/Concrete/ImplementedInterfaceMemberInspection.cs b/Rubberduck.CodeAnalysis/Inspections/Concrete/ImplementedInterfaceMemberInspection.cs
index c76f098853..0ceadcaaf0 100644
--- a/Rubberduck.CodeAnalysis/Inspections/Concrete/ImplementedInterfaceMemberInspection.cs
+++ b/Rubberduck.CodeAnalysis/Inspections/Concrete/ImplementedInterfaceMemberInspection.cs
@@ -73,7 +73,7 @@ private static bool IsInterfaceDeclaration(Declaration declaration)
protected override string ResultDescription(Declaration declaration)
{
var qualifiedName = declaration.QualifiedModuleName.ToString();
- var declarationType = Resources.RubberduckUI.ResourceManager
+ var declarationType = CodeAnalysisUI.ResourceManager
.GetString("DeclarationType_" + declaration.DeclarationType)
.Capitalize();
var identifierName = declaration.IdentifierName;
diff --git a/Rubberduck.CodeAnalysis/Inspections/Concrete/MultilineParameterInspection.cs b/Rubberduck.CodeAnalysis/Inspections/Concrete/MultilineParameterInspection.cs
index 9b21dfa2c1..dd384592e3 100644
--- a/Rubberduck.CodeAnalysis/Inspections/Concrete/MultilineParameterInspection.cs
+++ b/Rubberduck.CodeAnalysis/Inspections/Concrete/MultilineParameterInspection.cs
@@ -3,7 +3,6 @@
using Rubberduck.Parsing;
using Rubberduck.Parsing.Grammar;
using Rubberduck.Parsing.VBA;
-using Rubberduck.Resources;
namespace Rubberduck.CodeAnalysis.Inspections.Concrete
{
@@ -48,7 +47,7 @@ protected override string ResultDescription(QualifiedContext 3
- ? RubberduckUI.EasterEgg_Continuator
+ ? CodeAnalysisUI.EasterEgg_Continuator
: Resources.Inspections.InspectionResults.MultilineParameterInspection,
parameterText);
}
diff --git a/Rubberduck.CodeAnalysis/Inspections/Extensions/DeclarationTypeExtensions.cs b/Rubberduck.CodeAnalysis/Inspections/Extensions/DeclarationTypeExtensions.cs
index c1d3914a53..30c83a769f 100644
--- a/Rubberduck.CodeAnalysis/Inspections/Extensions/DeclarationTypeExtensions.cs
+++ b/Rubberduck.CodeAnalysis/Inspections/Extensions/DeclarationTypeExtensions.cs
@@ -1,6 +1,5 @@
using System.Globalization;
using Rubberduck.Parsing.Symbols;
-using Rubberduck.Resources;
namespace Rubberduck.CodeAnalysis.Inspections.Extensions
{
@@ -9,7 +8,7 @@ public static class DeclarationTypeExtensions
//ToDo: Move this to resources. (This will require moving resource lookups to Core.)
public static string ToLocalizedString(this DeclarationType type)
{
- return RubberduckUI.ResourceManager.GetString("DeclarationType_" + type, CultureInfo.CurrentUICulture);
+ return CodeAnalysisUI.ResourceManager.GetString("DeclarationType_" + type, CultureInfo.CurrentUICulture);
}
}
}
\ No newline at end of file
diff --git a/Rubberduck.CodeAnalysis/Inspections/Logistics/Inspector.cs b/Rubberduck.CodeAnalysis/Inspections/Logistics/Inspector.cs
index 03cf73cf2a..fbee1bdac3 100644
--- a/Rubberduck.CodeAnalysis/Inspections/Logistics/Inspector.cs
+++ b/Rubberduck.CodeAnalysis/Inspections/Logistics/Inspector.cs
@@ -63,7 +63,7 @@ public async Task> FindIssuesAsync(RubberduckPars
}
token.ThrowIfCancellationRequested();
- state.OnStatusMessageUpdate(RubberduckUI.CodeInspections_Inspecting);
+ state.OnStatusMessageUpdate(CodeAnalysisUI.CodeInspections_Inspecting);
var allIssues = new ConcurrentBag();
token.ThrowIfCancellationRequested();
diff --git a/Rubberduck.CodeAnalysis/Properties/CodeInspectionDefaults.Designer.cs b/Rubberduck.CodeAnalysis/Properties/CodeInspectionDefaults.Designer.cs
index c7d0c0aed7..1bf28617db 100644
--- a/Rubberduck.CodeAnalysis/Properties/CodeInspectionDefaults.Designer.cs
+++ b/Rubberduck.CodeAnalysis/Properties/CodeInspectionDefaults.Designer.cs
@@ -12,7 +12,7 @@ namespace Rubberduck.CodeAnalysis.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")]
public sealed partial class CodeInspectionDefaults : global::System.Configuration.ApplicationSettingsBase {
private static CodeInspectionDefaults defaultInstance = ((CodeInspectionDefaults)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new CodeInspectionDefaults())));
@@ -38,121 +38,117 @@ public static CodeInspectionDefaults Default {
"CodeInspection Name=\"ImplicitByRefModifierInspection\" Severity=\"Hint\" Inspection" +
"Type=\"CodeQualityIssues\" />\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n " +
- " \r\n \r\n \r\n \r\n " +
- " \r\n \r\n " +
- " \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n" +
- " \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n " +
- "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n <" +
+ "CodeInspection Name=\"EmptyWhileWendBlockInspection\" Severity=\"Warning\" Inspectio" +
+ "nType=\"MaintainabilityAndReadabilityIssues\" />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n " +
+ " \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n <" +
- "CodeInspection Name=\"IsMissingWithNonArgumentParameterInspection\" Severity=\"Warn" +
- "ing\" InspectionType=\"CodeQualityIssues\" />\r\n \r\n" +
- " \r\n \r\n \r\n \r\n true\r\n")]
+ "pection Name=\"SelfAssignedDeclarationInspection\" Severity=\"Suggestion\" Inspectio" +
+ "nType=\"CodeQualityIssues\" />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n true\r\n")]
public global::Rubberduck.CodeAnalysis.Settings.CodeInspectionSettings CodeInspectionSettings {
get {
return ((global::Rubberduck.CodeAnalysis.Settings.CodeInspectionSettings)(this["CodeInspectionSettings"]));
diff --git a/Rubberduck.CodeAnalysis/Properties/CodeInspectionDefaults.settings b/Rubberduck.CodeAnalysis/Properties/CodeInspectionDefaults.settings
index d0b41da20e..449dbd6b86 100644
--- a/Rubberduck.CodeAnalysis/Properties/CodeInspectionDefaults.settings
+++ b/Rubberduck.CodeAnalysis/Properties/CodeInspectionDefaults.settings
@@ -13,12 +13,10 @@
<CodeInspection Name="EmptyStringLiteralInspection" Severity="Warning" InspectionType="LanguageOpportunities" />
<CodeInspection Name="ImplicitByRefModifierInspection" Severity="Hint" InspectionType="CodeQualityIssues" />
<CodeInspection Name="FunctionReturnValueNotUsedInspection" Severity="Warning" InspectionType="CodeQualityIssues" />
- <CodeInspection Name="IllegalAnnotationInspection" Severity="Error" InspectionType="RubberduckOpportunities" />
<CodeInspection Name="RedundantByRefModifierInspection" Severity="DoNotShow" InspectionType="CodeQualityIssues" />
<CodeInspection Name="MissingAttributeInspection" Severity="Warning" InspectionType="RubberduckOpportunities" />
- <CodeInspection Name="AttributeValueOutOfSyncInspection" Severity="Warning" InspectionType="RubberduckOpportunities" />
+ <CodeInspection Name="AttributeOutOfSyncInspection" Severity="Warning" InspectionType="RubberduckOpportunities" />
<CodeInspection Name="MissingAnnotationArgumentInspection" Severity="Error" InspectionType="CodeQualityIssues" />
- <CodeInspection Name="MissingMemberAnnotationInspection" Severity="Error" InspectionType="RubberduckOpportunities" />
<CodeInspection Name="ModuleScopeDimKeywordInspection" Severity="Suggestion" InspectionType="LanguageOpportunities" />
<CodeInspection Name="MultilineParameterInspection" Severity="Suggestion" InspectionType="MaintainabilityAndReadabilityIssues" />
<CodeInspection Name="MultipleDeclarationsInspection" Severity="Warning" InspectionType="MaintainabilityAndReadabilityIssues" />
@@ -48,9 +46,7 @@
<CodeInspection Name="HostSpecificExpressionInspection" Severity="Warning" InspectionType="LanguageOpportunities" />
<CodeInspection Name="HungarianNotationInspection" Severity="Suggestion" InspectionType="MaintainabilityAndReadabilityIssues" />
<CodeInspection Name="ImplicitActiveSheetReferenceInspection" Severity="Warning" InspectionType="LanguageOpportunities" />
- <CodeInspection Name="ImplicitContainingSheetReferenceInspection" Severity="Suggestion" InspectionType="LanguageOpportunities" />
<CodeInspection Name="ImplicitActiveWorkbookReferenceInspection" Severity="Warning" InspectionType="LanguageOpportunities" />
- <CodeInspection Name="ImplicitContainingWorkbookReferenceInspection" Severity="Suggestion" InspectionType="LanguageOpportunities" />
<CodeInspection Name="ImplicitDefaultMemberAssignmentInspection" Severity="Suggestion" InspectionType="LanguageOpportunities" />
<CodeInspection Name="ImplicitPublicMemberInspection" Severity="Hint" InspectionType="LanguageOpportunities" />
<CodeInspection Name="ImplicitVariantReturnTypeInspection" Severity="Hint" InspectionType="LanguageOpportunities" />
@@ -86,6 +82,8 @@
<CodeInspection Name="AssignmentNotUsedInspection" Severity="Suggestion" InspectionType="CodeQualityIssues" />
<CodeInspection Name="UnderscoreInPublicClassModuleMemberInspection" Severity="Warning" InspectionType="CodeQualityIssues" />
<CodeInspection Name="ExcelUdfNameIsValidCellReferenceInspection" Severity="Warning" InspectionType="CodeQualityIssues" />
+ <CodeInspection Name="EmptyMethodInspection" Severity="Warning" InspectionType="CodeQualityIssues" />
+ <CodeInspection Name="ImplementedInterfaceMemberInspection" Severity="Suggestion" InspectionType="CodeQualityIssues" />
</CodeInspections>
<WhitelistedIdentifiers />
<RunInspectionsOnSuccessfulParse>true</RunInspectionsOnSuccessfulParse>
diff --git a/Rubberduck.CodeAnalysis/QuickFixes/Concrete/Refactoring/RenameDeclarationQuickFix.cs b/Rubberduck.CodeAnalysis/QuickFixes/Concrete/Refactoring/RenameDeclarationQuickFix.cs
index 5e8121cc39..8c01741b69 100644
--- a/Rubberduck.CodeAnalysis/QuickFixes/Concrete/Refactoring/RenameDeclarationQuickFix.cs
+++ b/Rubberduck.CodeAnalysis/QuickFixes/Concrete/Refactoring/RenameDeclarationQuickFix.cs
@@ -2,6 +2,7 @@
using Rubberduck.CodeAnalysis.Inspections;
using Rubberduck.CodeAnalysis.Inspections.Concrete;
using Rubberduck.CodeAnalysis.QuickFixes.Abstract;
+using Rubberduck.Refactorings;
using Rubberduck.Refactorings.Rename;
using Rubberduck.Resources;
@@ -64,9 +65,9 @@ protected override void Refactor(IInspectionResult result)
public override string Description(IInspectionResult result)
{
- return string.Format(RubberduckUI.Rename_DeclarationType,
- RubberduckUI.ResourceManager.GetString("DeclarationType_" + result.Target.DeclarationType,
- CultureInfo.CurrentUICulture));
+ return string.Format(RefactoringsUI.Rename_DeclarationType,
+ RubberduckUI.ResourceManager.GetString("DeclarationType_" + result.Target.DeclarationType,
+ CultureInfo.CurrentUICulture));
}
}
}
\ No newline at end of file
diff --git a/Rubberduck.CodeAnalysis/Rubberduck.CodeAnalysis.csproj b/Rubberduck.CodeAnalysis/Rubberduck.CodeAnalysis.csproj
index 1dcd7c7375..6211d227a1 100644
--- a/Rubberduck.CodeAnalysis/Rubberduck.CodeAnalysis.csproj
+++ b/Rubberduck.CodeAnalysis/Rubberduck.CodeAnalysis.csproj
@@ -61,12 +61,24 @@
+
+ True
+ True
+ CodeAnalysisUI.resx
+
True
True
CodeInspectionDefaults.settings
+ True
+
+
+ PublicResXFileCodeGenerator
+ CodeAnalysisUI.Designer.cs
+
+
PublicSettingsSingleFileGenerator
diff --git a/Rubberduck.CodeAnalysis/app.config b/Rubberduck.CodeAnalysis/app.config
index 688666fbff..64d43f5b25 100644
--- a/Rubberduck.CodeAnalysis/app.config
+++ b/Rubberduck.CodeAnalysis/app.config
@@ -21,85 +21,161 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
true
diff --git a/Rubberduck.Core/AddRemoveReferences/ReferenceReconciler.cs b/Rubberduck.Core/AddRemoveReferences/ReferenceReconciler.cs
index 9326b82e99..09919713ac 100644
--- a/Rubberduck.Core/AddRemoveReferences/ReferenceReconciler.cs
+++ b/Rubberduck.Core/AddRemoveReferences/ReferenceReconciler.cs
@@ -137,7 +137,7 @@ public ReferenceModel TryAddReference(IVBProject project, string path)
}
catch (COMException ex)
{
- _messageBox.NotifyWarn(ex.Message, RubberduckUI.References_AddFailedCaption);
+ _messageBox.NotifyWarn(ex.Message, AddRemoveReferencesUI.AddFailedCaption);
}
return null;
}
@@ -158,7 +158,7 @@ public ReferenceModel TryAddReference(IVBProject project, ReferenceModel referen
}
catch (COMException ex)
{
- _messageBox.NotifyWarn(ex.Message, RubberduckUI.References_AddFailedCaption);
+ _messageBox.NotifyWarn(ex.Message, AddRemoveReferencesUI.AddFailedCaption);
}
return null;
}
diff --git a/Rubberduck.Core/AddRemoveReferences/RegisteredLibraryInfo.cs b/Rubberduck.Core/AddRemoveReferences/RegisteredLibraryInfo.cs
index 27b06df61a..7f638e4c22 100644
--- a/Rubberduck.Core/AddRemoveReferences/RegisteredLibraryInfo.cs
+++ b/Rubberduck.Core/AddRemoveReferences/RegisteredLibraryInfo.cs
@@ -3,6 +3,7 @@
using System.Globalization;
using Path = System.IO.Path;
using System.Runtime.InteropServices.ComTypes;
+using Rubberduck.UI.AddRemoveReferences;
namespace Rubberduck.AddRemoveReferences
{
@@ -24,7 +25,7 @@ public class RegisteredLibraryInfo
{
private static readonly Dictionary NativeLocaleNames = new Dictionary
{
- { 0, Resources.RubberduckUI.References_DefaultLocale }
+ { 0, AddRemoveReferencesUI.DefaultLocale }
};
public RegisteredLibraryKey UniqueId { get; }
@@ -54,8 +55,8 @@ public string LocaleName
}
catch
{
- NativeLocaleNames.Add(LocaleId, Resources.RubberduckUI.References_DefaultLocale);
- return Resources.RubberduckUI.References_DefaultLocale;
+ NativeLocaleNames.Add(LocaleId, AddRemoveReferencesUI.DefaultLocale);
+ return AddRemoveReferencesUI.DefaultLocale;
}
}
}
diff --git a/Rubberduck.Core/Common/Hotkeys/HotkeyInfo.cs b/Rubberduck.Core/Common/Hotkeys/HotkeyInfo.cs
index 05d2afa764..85c6e6cccc 100644
--- a/Rubberduck.Core/Common/Hotkeys/HotkeyInfo.cs
+++ b/Rubberduck.Core/Common/Hotkeys/HotkeyInfo.cs
@@ -1,7 +1,7 @@
using System;
using System.Text;
using System.Windows.Forms;
-using Rubberduck.Resources;
+using Rubberduck.UI.Settings;
namespace Rubberduck.Common.Hotkeys
{
@@ -23,17 +23,17 @@ public override string ToString()
var builder = new StringBuilder();
if (Keys.HasFlag(Keys.Alt))
{
- builder.Append(RubberduckUI.GeneralSettings_HotkeyAlt);
+ builder.Append(GeneralSettingsUI.HotkeyAlt);
builder.Append('+');
}
if (Keys.HasFlag(Keys.Control))
{
- builder.Append(RubberduckUI.GeneralSettings_HotkeyCtrl);
+ builder.Append(GeneralSettingsUI.HotkeyCtrl);
builder.Append('+');
}
if (Keys.HasFlag(Keys.Shift))
{
- builder.Append(RubberduckUI.GeneralSettings_HotkeyShift);
+ builder.Append(GeneralSettingsUI.HotkeyShift);
builder.Append('+');
}
diff --git a/Rubberduck.Core/Formatters/ToDoItemFormatter.cs b/Rubberduck.Core/Formatters/ToDoItemFormatter.cs
index 567016fab2..943b627554 100644
--- a/Rubberduck.Core/Formatters/ToDoItemFormatter.cs
+++ b/Rubberduck.Core/Formatters/ToDoItemFormatter.cs
@@ -1,6 +1,6 @@
using Rubberduck.ToDoItems;
using Rubberduck.Common;
-using Rubberduck.Resources;
+using Rubberduck.Resources.ToDoExplorer;
namespace Rubberduck.Formatters
{
@@ -22,7 +22,7 @@ public object[] ToArray()
public string ToClipboardString()
{
var module = _toDoItem.Selection.QualifiedName;
- return string.Format(RubberduckUI.ToDoExplorerToDoItemFormat,
+ return string.Format(ToDoExplorerUI.ToDoExplorerToDoItemFormat,
_toDoItem.Type,
_toDoItem.Description,
module.ProjectName,
diff --git a/Rubberduck.Core/Navigation/CodeExplorer/CodeExplorerItemViewModelBase.cs b/Rubberduck.Core/Navigation/CodeExplorer/CodeExplorerItemViewModelBase.cs
index 286e2876e6..63132e2bd1 100644
--- a/Rubberduck.Core/Navigation/CodeExplorer/CodeExplorerItemViewModelBase.cs
+++ b/Rubberduck.Core/Navigation/CodeExplorer/CodeExplorerItemViewModelBase.cs
@@ -5,9 +5,9 @@
using System.Linq;
using System.Windows;
using NLog;
+using Rubberduck.CodeAnalysis;
using Rubberduck.Parsing;
using Rubberduck.Parsing.Symbols;
-using Rubberduck.Resources;
using Rubberduck.UI;
using Rubberduck.VBEditor;
@@ -63,7 +63,7 @@ public virtual string PanelTitle
}
var nameWithDeclarationType =
- $"{Declaration.IdentifierName} - ({RubberduckUI.ResourceManager.GetString("DeclarationType_" + Declaration.DeclarationType, CultureInfo.CurrentUICulture)})";
+ $"{Declaration.IdentifierName} - ({CodeAnalysisUI.ResourceManager.GetString("DeclarationType_" + Declaration.DeclarationType, CultureInfo.CurrentUICulture)})";
if (string.IsNullOrEmpty(Declaration.AsTypeName))
{
diff --git a/Rubberduck.Core/Properties/Settings.Designer.cs b/Rubberduck.Core/Properties/Settings.Designer.cs
index 6c0e8ff9c6..29a2c73a23 100644
--- a/Rubberduck.Core/Properties/Settings.Designer.cs
+++ b/Rubberduck.Core/Properties/Settings.Designer.cs
@@ -12,7 +12,7 @@ namespace Rubberduck.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.7.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
diff --git a/Rubberduck.Core/Refactorings/ExtractMethod/ExtractedParameter.cs b/Rubberduck.Core/Refactorings/ExtractMethod/ExtractedParameter.cs
index 3c6d5ad147..fbec54947d 100644
--- a/Rubberduck.Core/Refactorings/ExtractMethod/ExtractedParameter.cs
+++ b/Rubberduck.Core/Refactorings/ExtractMethod/ExtractedParameter.cs
@@ -12,37 +12,24 @@ public enum PassedBy
ByVal
}
- public static readonly string None = RubberduckUI.ExtractMethod_OutputNone;
-
- private readonly string _name;
- private readonly string _typeName;
- private readonly PassedBy _passedBy;
+ public static readonly string None = RefactoringsUI.ExtractMethod_OutputNone;
public ExtractedParameter(string typeName, PassedBy passedBy, string name = null)
{
- _name = name ?? None;
- _typeName = typeName;
- _passedBy = passedBy;
+ Name = name ?? None;
+ TypeName = typeName;
+ Passed = passedBy;
}
- public string Name
- {
- get { return _name; }
- }
+ public string Name { get; }
- public string TypeName
- {
- get { return _typeName; }
- }
+ public string TypeName { get; }
- public PassedBy Passed
- {
- get { return _passedBy; }
- }
+ public PassedBy Passed { get; }
public override string ToString()
{
- return _passedBy.ToString() + ' ' + Name + ' ' + Tokens.As + ' ' + TypeName;
+ return Passed.ToString() + ' ' + Name + ' ' + Tokens.As + ' ' + TypeName;
}
}
}
diff --git a/Rubberduck.Core/Rubberduck.Core.csproj b/Rubberduck.Core/Rubberduck.Core.csproj
index 2960a7b9fb..c8fdc4f4a0 100644
--- a/Rubberduck.Core/Rubberduck.Core.csproj
+++ b/Rubberduck.Core/Rubberduck.Core.csproj
@@ -1,18 +1,19 @@
-
+
Rubberduck
Rubberduck.Core
Rubberduck.Core
Rubberduck.Core
- Copyright © 2014-2021
+ Copyright © 2014-2019
{A1587EAC-7B54-407E-853F-4C7493D0323E}
bin\Debug\Rubberduck.Core.xml
$(DisabledWarnings);1591
Ducky.ico
- true
- true
+
+
+ 2.5.1
@@ -44,7 +45,6 @@
-
@@ -83,7 +83,6 @@
4.5.10
-
4.5.0
@@ -91,17 +90,100 @@
2.0.20525
+
+
+
+
+
+
+
+
+
+ $([System.String]::Copy('%(Filename)').Replace('.Designer', '')).cs
+
+
+
True
True
Resources.resx
+
+ Settings.settings
+ True
+ True
+ True
+
+
+ True
+ True
+ AddRemoveReferencesUI.resx
+
+
+ True
+ True
+ InspectionResultsUI.resx
+
+
+ AnnotateDeclarationView.xaml
+
+
+ MoveMultipleFoldersView.xaml
+
+
+ MoveMultipleToFolderView.xaml
+
+
+ RenameFolderView.xaml
+
+
+ True
+ True
+ GeneralSettingsUI.resx
+
+
+ True
+ True
+ ToDoExplorerUI.resx
+
+
+ IgnoredProjectsSettingsView.xaml
+
ResXFileCodeGenerator
Resources.Designer.cs
+
+ PublicResXFileCodeGenerator
+ AddRemoveReferencesUI.Designer.cs
+
+
+ PublicResXFileCodeGenerator
+ InspectionResultsUI.Designer.cs
+
+
+ PublicResXFileCodeGenerator
+ GeneralSettingsUI.Designer.cs
+
+
+ PublicResXFileCodeGenerator
+ ToDoExplorerUI.Designer.cs
+
+
+
+
+ Settings.Designer.cs
+ SettingsSingleFileGenerator
+
+
+
+
+
+
diff --git a/Rubberduck.Core/Settings/MinimumLogLevel.cs b/Rubberduck.Core/Settings/MinimumLogLevel.cs
index aec40dc896..fbea44d7b1 100644
--- a/Rubberduck.Core/Settings/MinimumLogLevel.cs
+++ b/Rubberduck.Core/Settings/MinimumLogLevel.cs
@@ -1,5 +1,5 @@
using System.Globalization;
-using Rubberduck.Resources;
+using Rubberduck.UI.Settings;
namespace Rubberduck.Settings
{
@@ -8,7 +8,7 @@ public sealed class MinimumLogLevel
public MinimumLogLevel(int ordinal, string logLevelName)
{
Ordinal = ordinal;
- Name = RubberduckUI.ResourceManager.GetString("GeneralSettings_" + logLevelName + "LogLevel", CultureInfo.CurrentUICulture);
+ Name = GeneralSettingsUI.ResourceManager.GetString(logLevelName + "LogLevel", CultureInfo.CurrentUICulture);
}
public int Ordinal { get; }
diff --git a/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.Designer.cs b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.Designer.cs
new file mode 100644
index 0000000000..fea1d9a5c1
--- /dev/null
+++ b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.Designer.cs
@@ -0,0 +1,342 @@
+//------------------------------------------------------------------------------
+//
+// 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.
+//
+//------------------------------------------------------------------------------
+
+namespace Rubberduck.UI.AddRemoveReferences {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // 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()]
+ public class AddRemoveReferencesUI {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal AddRemoveReferencesUI() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ public static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Rubberduck.UI.AddRemoveReferences.AddRemoveReferencesUI", typeof(AddRemoveReferencesUI).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ public static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Could not add reference.
+ ///
+ public static string AddFailedCaption {
+ get {
+ return ResourceManager.GetString("AddFailedCaption", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Add to project.
+ ///
+ public static string AddToolTip {
+ get {
+ return ResourceManager.GetString("AddToolTip", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Browse....
+ ///
+ public static string BrowseButtonText {
+ get {
+ return ResourceManager.GetString("BrowseButtonText", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Browse for reference.
+ ///
+ public static string BrowseCaption {
+ get {
+ return ResourceManager.GetString("BrowseCaption", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Microsoft Access Databases({0})|{0}.
+ ///
+ public static string BrowseFilterAccess {
+ get {
+ return ResourceManager.GetString("BrowseFilterAccess", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to ActiveX Controls (*.ocx)|*.ocx.
+ ///
+ public static string BrowseFilterActiveX {
+ get {
+ return ResourceManager.GetString("BrowseFilterActiveX", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to All files (*.*)|*.*.
+ ///
+ public static string BrowseFilterAllFiles {
+ get {
+ return ResourceManager.GetString("BrowseFilterAllFiles", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Microsoft Excel Files ({0})|{0}.
+ ///
+ public static string BrowseFilterExcel {
+ get {
+ return ResourceManager.GetString("BrowseFilterExcel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Executable Files (*.exe;*.dll)|*.exe;*.dll.
+ ///
+ public static string BrowseFilterExecutable {
+ get {
+ return ResourceManager.GetString("BrowseFilterExecutable", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Outlook VBA Files ({0})|{0}.
+ ///
+ public static string BrowseFilterOutlook {
+ get {
+ return ResourceManager.GetString("BrowseFilterOutlook", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to PowerPoint Addin Files({0})|{0}.
+ ///
+ public static string BrowseFilterPowerPoint {
+ get {
+ return ResourceManager.GetString("BrowseFilterPowerPoint", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Publisher Files ({0}|{0}.
+ ///
+ public static string BrowseFilterPublisher {
+ get {
+ return ResourceManager.GetString("BrowseFilterPublisher", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Type Libraries (*.olb;*.tlb;*.dll)|*.olb;*.tlb;*.dll.
+ ///
+ public static string BrowseFilterTypes {
+ get {
+ return ResourceManager.GetString("BrowseFilterTypes", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to All Visio Files ({0})|{0}.
+ ///
+ public static string BrowseFilterVisio {
+ get {
+ return ResourceManager.GetString("BrowseFilterVisio", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Word Documents ({0})|{0}.
+ ///
+ public static string BrowseFilterWord {
+ get {
+ return ResourceManager.GetString("BrowseFilterWord", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Add/Remove References....
+ ///
+ public static string Caption {
+ get {
+ return ResourceManager.GetString("Caption", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Add/Remove References - {0}.
+ ///
+ public static string CaptionTemplate {
+ get {
+ return ResourceManager.GetString("CaptionTemplate", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Standard.
+ ///
+ public static string DefaultLocale {
+ get {
+ return ResourceManager.GetString("DefaultLocale", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Locale:.
+ ///
+ public static string Locale {
+ get {
+ return ResourceManager.GetString("Locale", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Move down.
+ ///
+ public static string MoveDownToolTip {
+ get {
+ return ResourceManager.GetString("MoveDownToolTip", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Move up.
+ ///
+ public static string MoveUpToolTip {
+ get {
+ return ResourceManager.GetString("MoveUpToolTip", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Pinned.
+ ///
+ public static string Pinned {
+ get {
+ return ResourceManager.GetString("Pinned", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Pin reference.
+ ///
+ public static string PinToolTip {
+ get {
+ return ResourceManager.GetString("PinToolTip", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Projects.
+ ///
+ public static string Projects {
+ get {
+ return ResourceManager.GetString("Projects", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Recent.
+ ///
+ public static string Recent {
+ get {
+ return ResourceManager.GetString("Recent", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to References.
+ ///
+ public static string References {
+ get {
+ return ResourceManager.GetString("References", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Remove from project.
+ ///
+ public static string RemoveToolTip {
+ get {
+ return ResourceManager.GetString("RemoveToolTip", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Search for reference....
+ ///
+ public static string SearchPlaceholder {
+ get {
+ return ResourceManager.GetString("SearchPlaceholder", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Select type libraries and VB projects to add or remove..
+ ///
+ public static string SubCaption {
+ get {
+ return ResourceManager.GetString("SubCaption", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Type Libraries.
+ ///
+ public static string TypeLibs {
+ get {
+ return ResourceManager.GetString("TypeLibs", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Version:.
+ ///
+ public static string Version {
+ get {
+ return ResourceManager.GetString("Version", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.cs.resx b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.cs.resx
new file mode 100644
index 0000000000..543b345dc9
--- /dev/null
+++ b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.cs.resx
@@ -0,0 +1,213 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Reference
+
+
+ Nepovedlo se přidat reference
+
+
+ Přidat do projektu
+
+
+ Procházet...
+
+
+ Procházet pro reference
+
+
+ Microsoft Access Databáze ({0})|{0}
+
+
+ ActiveX Controls (*.ocx)|*.ocx
+
+
+ Všechny soubory (*.*)|*.*
+
+
+ Microsoft Excel Soubory ({0})|{0}
+
+
+ Spustitelné Soubory (*.exe;*.dll)|*.exe;*.dll
+
+
+ Outlook VBA Soubory ({0})|{0}
+
+
+ PowerPoint Addin Soubory ({0})|{0}
+
+
+ Publisher Soubory ({0})|{0}
+
+
+ Knihovny (*.olb;*.tlb;*.dll)|*.olb;*.tlb;*.dll
+
+
+ Všechny Visio Soubory ({0})|{0}
+
+
+ Word Dokumenty ({0})|{0}
+
+
+ Přidat/Odebrat Reference...
+
+
+ Přidat/Odebrat Reference = {0}
+
+
+ Standardní
+
+
+ Lokalizace:
+
+
+ Posunout dolů
+
+
+ Posunout nahorů
+
+
+ Připíchnuté
+
+
+ Přišpendlit referenci
+
+
+ Projekty
+
+
+ Nedávné
+
+
+ Odebrat z projektu
+
+
+ Hledat referenci...
+
+
+ Vybrat knihovny a VB projekty pro přidání nebo odebrání.
+
+
+ Knihovny
+
+
+ Verze:
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.de.resx b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.de.resx
new file mode 100644
index 0000000000..5a89580922
--- /dev/null
+++ b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.de.resx
@@ -0,0 +1,213 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Referenzen
+
+
+ Hinzufügen der Referenz fehlgeschlagen
+
+
+ Zu Projekt hinzufügen
+
+
+ Durchsuchen...
+
+
+ Verzeichnis der Referenz öffnen
+
+
+ Microsoft-Access-Datenbanken({0})|{0}
+
+
+ ActiveX-Kontrollelemente (*.ocx)|*.ocx
+
+
+ Alle Dateien(*.*)|*.*
+
+
+ Microsoft-Excel-Dateien ({0})|{0}
+
+
+ Ausführbare Dateien (*.exe;*.dll)|*.exe;*.dll
+
+
+ Outlook-VBA-Dateien ({0})|{0}
+
+
+ PowerPoint-Addin-Dateien({0})|{0}
+
+
+ Publisher-Dateien ({0}|{0}
+
+
+ Typbibliotheken (*.olb;*.tlb;*.dll)|*.olb;*.tlb;*.dll
+
+
+ Alle Visio-Dateien ({0})|{0}
+
+
+ Word-Dokumente ({0})|{0}
+
+
+ Referenzen hinzufügen/entfernen...
+
+
+ Referenzen hinzufügen/entfernen - {0}
+
+
+ Standard
+
+
+ Sprache:
+
+
+ Aufwärts bewegen
+
+
+ Abwärts bewegen
+
+
+ Angeheftet
+
+
+ Referenz anheften
+
+
+ Projekte
+
+
+ Zuletzt verwendet
+
+
+ Vom Projekt enfernen
+
+
+ Nach Referenz suchen...
+
+
+ Wähle Typbibliotheken und VB-Projekte zum Hinzufügen oder Entfernen.
+
+
+ Typbibliotheken
+
+
+ Version:
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.es.resx b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.es.resx
new file mode 100644
index 0000000000..9b2ec5ab14
--- /dev/null
+++ b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.es.resx
@@ -0,0 +1,213 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Referencias
+
+
+ No se pudo agregar la referencia
+
+
+ Agregar al proyecto
+
+
+ Navegando...
+
+
+ Buscar referencias
+
+
+ Bases de datos de Microsoft Access ({0})|{0}
+
+
+ Controles ActiveX (* .ocx)|*.ocx
+
+
+ Todos los archivos (*.*)|*.*
+
+
+ Archivos de Microsoft Excel ({0})|{0}
+
+
+ Archivos ejecutables (*.exe;*.dll)|*.exe;*.dll
+
+
+ Archivos de Outlook VBA ({0})|{0}
+
+
+ Archivos de Complementos de PowerPoint ({0})|{0}
+
+
+ Archivos de Publisher ({0}|{0}
+
+
+ Bibliotecas de tipos (*.olb;*.tlb;*.dll)|*.olb;*.tlb;*.dll
+
+
+ Todos los archivos de Visio ({0})|{0}
+
+
+ Documentos de Word ({0})|{0}
+
+
+ Agregar/Eliminar referencias...
+
+
+ Agregar/Eliminar referencias - {0}
+
+
+ Estándar
+
+
+ Local:
+
+
+ Mover hacia abajo
+
+
+ Mover hacia arriba
+
+
+ Fijado
+
+
+ Fijar Referencia
+
+
+ Proyectos
+
+
+ Reciente
+
+
+ Eliminar del proyecto
+
+
+ Buscar referencia ...
+
+
+ Seleccione bibliotecas de tipos y proyectos VB para agregar o eliminar.
+
+
+ Bibliotecas de tipos
+
+
+ Versión:
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.fr.resx b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.fr.resx
new file mode 100644
index 0000000000..2a8067a2c4
--- /dev/null
+++ b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.fr.resx
@@ -0,0 +1,213 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Références
+
+
+ La référence n'a pu être ajoutée
+
+
+ Ajouter au projet
+
+
+ Parcourir...
+
+
+ Parcourir...
+
+
+ Base de données Microsoft Access ({0})|{0}
+
+
+ Contrôles ActiveX (*.ocx)|*.ocx
+
+
+ Tous (*.*)|*.*
+
+
+ Fichiers Microsoft Excel ({0})|{0}
+
+
+ Exécutables (*.exe,*.dll)|*.exe;*.dll
+
+
+ Fichiers VBA Outlook ({0})|{0}
+
+
+ Fichiers complément PowerPoint ({0})|{0}
+
+
+ Fichiers Publisher ({0})|{0}
+
+
+ Bibliothêques (*.olb;*.tlb;*.dll)|*.olb;*.tlb;*.dll
+
+
+ Tous les fichiers Visio ({0})|{0}
+
+
+ Documents Word ({0})|{0}
+
+
+ Ajouter/Supprimer Références...
+
+
+ Ajouter/Supprimer Références - {0}
+
+
+ Standard
+
+
+ Langue:
+
+
+ Déplacer vers le haut
+
+
+ Déplacer vers le bas
+
+
+ Épingles
+
+
+ Épingler la référence
+
+
+ Projets
+
+
+ Récents
+
+
+ Supprimer du projet
+
+
+ Rechercher une référence...
+
+
+ Sélectionner les librairies et projets à ajouter ou supprimer aux références du projet.
+
+
+ Bibliothèques
+
+
+ Version:
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.it.resx b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.it.resx
new file mode 100644
index 0000000000..5d63958833
--- /dev/null
+++ b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.it.resx
@@ -0,0 +1,213 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Impossibile aggiungere riferimenti
+
+
+ Aggiugni al progetto
+
+
+ Sfoglia...
+
+
+ Sfoglia riferimenti
+
+
+ Database di Microsoft Access({0})|{0}
+
+
+ Controlli ActiveX (*.ocx)|*.ocx
+
+
+ Tutti i file (*.*)|*.*
+
+
+ File di Microsoft Excel ({0})|{0}
+
+
+ File eseguibili (*.exe;*.dll)|*.exe;*.dll
+
+
+ File VBA di Outlook ({0})|{0}
+
+
+ File Addin di PowerPoint({0})|{0}
+
+
+ File di Publisher ({0}|{0}
+
+
+ Tipi Libreria (*.olb;*.tlb;*.dll)|*.olb;*.tlb;*.dll
+
+
+ Tutti i file di Visio ({0})|{0}
+
+
+ Documenti di Word ({0})|{0}
+
+
+ Aggiungi/Rimuovi Riferimento...
+
+
+ Aggiungi/Rimuovi Riferimenti - {0}
+
+
+ Standard
+
+
+ Lingua:
+
+
+ Sposta sotto
+
+
+ Sposta sopra
+
+
+ Bloccati
+
+
+ Blocca riferimento
+
+
+ Progetti
+
+
+ Recenti
+
+
+ Rimuovi dal progetto
+
+
+ Cerca riferimenti...
+
+
+ Selezionare i tipi libreria e progetti VB da aggiungere o rimuovere.
+
+
+ Tipi Libreria
+
+
+ Versione:
+
+
+ Riferimenti
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.resx b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.resx
new file mode 100644
index 0000000000..33cc5e3d34
--- /dev/null
+++ b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesUI.resx
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 1.3
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ References
+
+
+ Could not add reference
+
+
+ Add to project
+
+
+ Browse...
+
+
+ Browse for reference
+
+
+ Microsoft Access Databases({0})|{0}
+ {0} = semi-colon delimited extension list in the format of *.ext
+
+
+ ActiveX Controls (*.ocx)|*.ocx
+
+
+ All files (*.*)|*.*
+
+
+ Microsoft Excel Files ({0})|{0}
+ {0} = semi-colon delimited extension list in the format of *.ext
+
+
+ Executable Files (*.exe;*.dll)|*.exe;*.dll
+
+
+ Outlook VBA Files ({0})|{0}
+ {0} = semi-colon delimited extension list in the format of *.ext
+
+
+ PowerPoint Addin Files({0})|{0}
+ {0} = semi-colon delimited extension list in the format of *.ext
+
+
+ Publisher Files ({0}|{0}
+ {0} = semi-colon delimited extension list in the format of *.ext
+
+
+ Type Libraries (*.olb;*.tlb;*.dll)|*.olb;*.tlb;*.dll
+
+
+ All Visio Files ({0})|{0}
+ {0} = semi-colon delimited extension list in the format of *.ext
+
+
+ Word Documents ({0})|{0}
+ {0} = semi-colon delimited extension list in the format of *.ext
+
+
+ Add/Remove References...
+
+
+ Add/Remove References - {0}
+ {0} = Project name
+
+
+ Standard
+ Displayed as LCID description when locale is not specified.
+
+
+ Locale:
+
+
+ Move down
+
+
+ Move up
+
+
+ Pinned
+
+
+ Pin reference
+
+
+ Projects
+
+
+ Recent
+
+
+ Remove from project
+
+
+ Search for reference...
+
+
+ Select type libraries and VB projects to add or remove.
+
+
+ Type Libraries
+
+
+ Version:
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesViewModel.cs b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesViewModel.cs
index 923de4bb95..48ba14bf16 100644
--- a/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesViewModel.cs
+++ b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesViewModel.cs
@@ -45,21 +45,21 @@ public class AddRemoveReferencesViewModel : ViewModelBase
private static readonly Dictionary HostFilters = new Dictionary
{
- { "EXCEL.EXE", string.Format(RubberduckUI.References_BrowseFilterExcel, string.Join(";", HostFileFilters["EXCEL.EXE"].Select(_ => $"*.{_}"))) },
- { "WINWORD.EXE", string.Format(RubberduckUI.References_BrowseFilterWord, string.Join(";", HostFileFilters["WINWORD.EXE"].Select(_ => $"*.{_}"))) },
- { "MSACCESS.EXE", string.Format(RubberduckUI.References_BrowseFilterAccess, string.Join(";", HostFileFilters["MSACCESS.EXE"].Select(_ => $"*.{_}"))) },
- { "POWERPNT.EXE", string.Format(RubberduckUI.References_BrowseFilterPowerPoint, string.Join(";", HostFileFilters["POWERPNT.EXE"].Select(_ => $"*.{_}"))) },
- { "OUTLOOK.EXE", string.Format(RubberduckUI.References_BrowseFilterOutlook, string.Join(";", HostFileFilters["OUTLOOK.EXE"].Select(_ => $"*.{_}"))) },
- { "MSPUB.EXE", string.Format(RubberduckUI.References_BrowseFilterOutlook, string.Join(";", HostFileFilters["MSPUB.EXE"].Select(_ => $"*.{_}"))) },
- { "VISIO.EXE", string.Format(RubberduckUI.References_BrowseFilterVisio, string.Join(";", HostFileFilters["VISIO.EXE"].Select(_ => $"*.{_}"))) },
+ { "EXCEL.EXE", string.Format(AddRemoveReferencesUI.BrowseFilterExcel, string.Join(";", HostFileFilters["EXCEL.EXE"].Select(_ => $"*.{_}"))) },
+ { "WINWORD.EXE", string.Format(AddRemoveReferencesUI.BrowseFilterWord, string.Join(";", HostFileFilters["WINWORD.EXE"].Select(_ => $"*.{_}"))) },
+ { "MSACCESS.EXE", string.Format(AddRemoveReferencesUI.BrowseFilterAccess, string.Join(";", HostFileFilters["MSACCESS.EXE"].Select(_ => $"*.{_}"))) },
+ { "POWERPNT.EXE", string.Format(AddRemoveReferencesUI.BrowseFilterPowerPoint, string.Join(";", HostFileFilters["POWERPNT.EXE"].Select(_ => $"*.{_}"))) },
+ { "OUTLOOK.EXE", string.Format(AddRemoveReferencesUI.BrowseFilterOutlook, string.Join(";", HostFileFilters["OUTLOOK.EXE"].Select(_ => $"*.{_}"))) },
+ { "MSPUB.EXE", string.Format(AddRemoveReferencesUI.BrowseFilterOutlook, string.Join(";", HostFileFilters["MSPUB.EXE"].Select(_ => $"*.{_}"))) },
+ { "VISIO.EXE", string.Format(AddRemoveReferencesUI.BrowseFilterVisio, string.Join(";", HostFileFilters["VISIO.EXE"].Select(_ => $"*.{_}"))) },
};
private static readonly List FileFilters = new List
{
- RubberduckUI.References_BrowseFilterExecutable,
- RubberduckUI.References_BrowseFilterTypes,
- RubberduckUI.References_BrowseFilterActiveX,
- RubberduckUI.References_BrowseFilterAllFiles,
+ AddRemoveReferencesUI.BrowseFilterExecutable,
+ AddRemoveReferencesUI.BrowseFilterTypes,
+ AddRemoveReferencesUI.BrowseFilterActiveX,
+ AddRemoveReferencesUI.BrowseFilterAllFiles,
};
public static bool HostHasProjects { get; }
@@ -127,14 +127,14 @@ public string ProjectCaption
{
if (string.IsNullOrEmpty(Model?.Project?.IdentifierName))
{
- return RubberduckUI.References_Caption;
+ return AddRemoveReferencesUI.Caption;
}
var project = _projectsProvider.Project(Model.Project.ProjectId);
if (project == null)
{
- return RubberduckUI.References_Caption;
+ return AddRemoveReferencesUI.Caption;
}
return project.ProjectDisplayName;
@@ -277,7 +277,7 @@ private void ExecuteBrowseCommand(object parameter)
using (var dialog = _browser.CreateOpenFileDialog())
{
dialog.Filter = string.Join("|", FileFilters);
- dialog.Title = RubberduckUI.References_BrowseCaption;
+ dialog.Title = AddRemoveReferencesUI.BrowseCaption;
var result = dialog.ShowDialog();
if (result != DialogResult.OK || string.IsNullOrEmpty(dialog.FileName))
{
diff --git a/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesWindow.xaml b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesWindow.xaml
index 96135d1c2d..88588ffc8b 100644
--- a/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesWindow.xaml
+++ b/Rubberduck.Core/UI/AddRemoveReferences/AddRemoveReferencesWindow.xaml
@@ -108,7 +108,7 @@
-
+
@@ -123,7 +123,7 @@
-
+
@@ -131,7 +131,7 @@
-
+
@@ -139,7 +139,7 @@
-
+
@@ -147,7 +147,7 @@
-
+
@@ -157,7 +157,7 @@
Command="{Binding BrowseCommand}">
-
+
@@ -180,7 +180,7 @@
Background="{x:Static SystemColors.WindowBrush}"
Width="Auto"
Text="{Binding Search, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
- Hint="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=References_SearchPlaceholder}" />
+ Hint="{Resx ResxName=Rubberduck.UI.AddRemoveReferences.AddRemoveReferencesUI, Key=SearchPlaceholder}" />
+ ToolTip="{Resx ResxName=Rubberduck.UI.AddRemoveReferences.AddRemoveReferencesUI, Key=PinToolTip}" ToolTipService.InitialShowDelay="{StaticResource ToolTipDelay}">
@@ -230,12 +230,12 @@
@@ -265,7 +265,7 @@
-
+
diff --git a/Rubberduck.Core/UI/Settings/AutoCompleteSettings.xaml b/Rubberduck.Core/UI/Settings/AutoCompleteSettings.xaml
index d5d5f6b5dd..18fa9f3f3f 100644
--- a/Rubberduck.Core/UI/Settings/AutoCompleteSettings.xaml
+++ b/Rubberduck.Core/UI/Settings/AutoCompleteSettings.xaml
@@ -55,9 +55,8 @@
-
-
-
+
-
+
-
+
diff --git a/Rubberduck.Core/UI/Settings/Converters/DelimiterToTextConverter.cs b/Rubberduck.Core/UI/Settings/Converters/DelimiterToTextConverter.cs
index ac195e8353..917c2f3033 100644
--- a/Rubberduck.Core/UI/Settings/Converters/DelimiterToTextConverter.cs
+++ b/Rubberduck.Core/UI/Settings/Converters/DelimiterToTextConverter.cs
@@ -3,8 +3,6 @@
using System.Globalization;
using System.Linq;
using System.Windows.Data;
-using Rubberduck.Resources;
-
namespace Rubberduck.UI.Settings.Converters
{
@@ -13,7 +11,7 @@ public class DelimiterToTextConverter : IValueConverter
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var modes = (IEnumerable)value;
- return modes.Select(s => RubberduckUI.ResourceManager.GetString("GeneralSettings_" + s + "Delimiter", CultureInfo.CurrentUICulture)).ToArray();
+ return modes.Select(s => GeneralSettingsUI.ResourceManager.GetString(s + "Delimiter", CultureInfo.CurrentUICulture)).ToArray();
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
diff --git a/Rubberduck.Core/UI/Settings/Converters/DelimiterValueToTextConverter.cs b/Rubberduck.Core/UI/Settings/Converters/DelimiterValueToTextConverter.cs
index 07a02dde81..afb1754afc 100644
--- a/Rubberduck.Core/UI/Settings/Converters/DelimiterValueToTextConverter.cs
+++ b/Rubberduck.Core/UI/Settings/Converters/DelimiterValueToTextConverter.cs
@@ -13,9 +13,9 @@ public object Convert(object value, Type targetType, object parameter, CultureIn
switch (mode)
{
case DelimiterOptions.Period:
- return RubberduckUI.GeneralSettings_PeriodDelimiter;
+ return GeneralSettingsUI.PeriodDelimiter;
case DelimiterOptions.Slash:
- return RubberduckUI.GeneralSettings_SlashDelimiter;
+ return GeneralSettingsUI.SlashDelimiter;
default:
return value;
}
@@ -24,7 +24,7 @@ public object Convert(object value, Type targetType, object parameter, CultureIn
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
var text = (string)value;
- return text == RubberduckUI.GeneralSettings_PeriodDelimiter
+ return text == GeneralSettingsUI.PeriodDelimiter
? DelimiterOptions.Period
: DelimiterOptions.Slash;
}
diff --git a/Rubberduck.Core/UI/Settings/Converters/EmptyLineHandlingToTextConverter.cs b/Rubberduck.Core/UI/Settings/Converters/EmptyLineHandlingToTextConverter.cs
index 1fab534b1c..c254e2b140 100644
--- a/Rubberduck.Core/UI/Settings/Converters/EmptyLineHandlingToTextConverter.cs
+++ b/Rubberduck.Core/UI/Settings/Converters/EmptyLineHandlingToTextConverter.cs
@@ -3,7 +3,7 @@
using System.Globalization;
using System.Linq;
using System.Windows.Data;
-using Rubberduck.Resources;
+using Rubberduck.CodeAnalysis;
using Rubberduck.SmartIndenter;
namespace Rubberduck.UI.Settings.Converters
@@ -13,7 +13,7 @@ public class EmptyLineHandlingToTextConverter : IValueConverter
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var styles = (IEnumerable)value;
- return styles.Select(s => RubberduckUI.ResourceManager.GetString("EmptyLineHandling_" + s, CultureInfo.CurrentUICulture)).ToArray();
+ return styles.Select(s => CodeAnalysisUI.ResourceManager.GetString("EmptyLineHandling_" + s, CultureInfo.CurrentUICulture)).ToArray();
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
diff --git a/Rubberduck.Core/UI/Settings/Converters/EmptyLineHandlingValueTextToEnumValueConverter.cs b/Rubberduck.Core/UI/Settings/Converters/EmptyLineHandlingValueTextToEnumValueConverter.cs
index c991657977..3b3e23787f 100644
--- a/Rubberduck.Core/UI/Settings/Converters/EmptyLineHandlingValueTextToEnumValueConverter.cs
+++ b/Rubberduck.Core/UI/Settings/Converters/EmptyLineHandlingValueTextToEnumValueConverter.cs
@@ -2,7 +2,7 @@
using System.Globalization;
using System.Linq;
using System.Windows.Data;
-using Rubberduck.Resources;
+using Rubberduck.CodeAnalysis;
using Rubberduck.SmartIndenter;
namespace Rubberduck.UI.Settings.Converters
@@ -12,7 +12,7 @@ public class EmptyLineHandlingValueTextToEnumValueConverter : IValueConverter
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var enumValue = (EmptyLineHandling)value;
- return RubberduckUI.ResourceManager.GetString("EmptyLineHandling_" + enumValue, CultureInfo.CurrentUICulture);
+ return CodeAnalysisUI.ResourceManager.GetString("EmptyLineHandling_" + enumValue, CultureInfo.CurrentUICulture);
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
@@ -22,7 +22,7 @@ public object ConvertBack(object value, Type targetType, object parameter, Cultu
var values = Enum.GetValues(typeof(EmptyLineHandling)).OfType();
foreach (var v in values.Where(v =>
- RubberduckUI.ResourceManager.GetString("EmptyLineHandling_" + v, CultureInfo.CurrentUICulture) == selectedString))
+ CodeAnalysisUI.ResourceManager.GetString("EmptyLineHandling_" + v, CultureInfo.CurrentUICulture) == selectedString))
{
return v;
}
diff --git a/Rubberduck.Core/UI/Settings/GeneralSettings.xaml b/Rubberduck.Core/UI/Settings/GeneralSettings.xaml
index 55094ccb1e..ab1626eae6 100644
--- a/Rubberduck.Core/UI/Settings/GeneralSettings.xaml
+++ b/Rubberduck.Core/UI/Settings/GeneralSettings.xaml
@@ -72,49 +72,52 @@
-
-
+
-
-
-
-
-
-
-
-
-
+
-
-
+
-
-
+
@@ -146,11 +149,11 @@
@@ -161,25 +164,25 @@
@@ -190,7 +193,7 @@
@@ -202,12 +205,12 @@
-
+
+// 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.
+//
+//------------------------------------------------------------------------------
+
+namespace Rubberduck.UI.Settings {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // 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()]
+ public class GeneralSettingsUI {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal GeneralSettingsUI() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ public static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Rubberduck.UI.Settings.GeneralSettingsUI", typeof(GeneralSettingsUI).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ public static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Check if a newer version is available at startup..
+ ///
+ public static string CheckVersion {
+ get {
+ return ResourceManager.GetString("CheckVersion", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Compile code before parsing.
+ ///
+ public static string CompileBeforeParse {
+ get {
+ return ResourceManager.GetString("CompileBeforeParse", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to The VBE setting "Compile On Demand" is currently enabled. It is strongly recommended that you disable the setting via the VBE Options dialog under General tab in order to use the Compile Before Parse feature. Do you want to disable it now?
+ ///
+ ///NOTE: Restart is required for the setting to take effect..
+ ///
+ public static string CompileBeforeParse_WarnCompileOnDemandEnabled {
+ get {
+ return ResourceManager.GetString("CompileBeforeParse_WarnCompileOnDemandEnabled", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Compile On Demand currently enabled.
+ ///
+ public static string CompileBeforeParse_WarnCompileOnDemandEnabled_Caption {
+ get {
+ return ResourceManager.GetString("CompileBeforeParse_WarnCompileOnDemandEnabled_Caption", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Debug.
+ ///
+ public static string DebugLogLevel {
+ get {
+ return ResourceManager.GetString("DebugLogLevel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Enable drag and drop in Code Explorer.
+ ///
+ public static string EnableDragAndDrop {
+ get {
+ return ResourceManager.GetString("EnableDragAndDrop", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Error.
+ ///
+ public static string ErrorLogLevel {
+ get {
+ return ResourceManager.GetString("ErrorLogLevel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Experimental Features (Requires a restart to take effect):.
+ ///
+ public static string ExperimentalFeatures {
+ get {
+ return ResourceManager.GetString("ExperimentalFeatures", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Only enable these if you know what you're doing. Enabling and/or using features from this section may result in things breaking unexpectedly and irrevocable data loss..
+ ///
+ public static string ExperimentalFeaturesWarning {
+ get {
+ return ResourceManager.GetString("ExperimentalFeaturesWarning", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Fatal.
+ ///
+ public static string FatalLogLevel {
+ get {
+ return ResourceManager.GetString("FatalLogLevel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Folder Delimiter:.
+ ///
+ public static string FolderDelimiterLabel {
+ get {
+ return ResourceManager.GetString("FolderDelimiterLabel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Alt.
+ ///
+ public static string HotkeyAlt {
+ get {
+ return ResourceManager.GetString("HotkeyAlt", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Ctrl.
+ ///
+ public static string HotkeyCtrl {
+ get {
+ return ResourceManager.GetString("HotkeyCtrl", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Description.
+ ///
+ public static string HotkeyDescription {
+ get {
+ return ResourceManager.GetString("HotkeyDescription", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Enabled.
+ ///
+ public static string HotkeyEnabled {
+ get {
+ return ResourceManager.GetString("HotkeyEnabled", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Key1.
+ ///
+ public static string HotkeyKey1 {
+ get {
+ return ResourceManager.GetString("HotkeyKey1", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Key2.
+ ///
+ public static string HotkeyKey2 {
+ get {
+ return ResourceManager.GetString("HotkeyKey2", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Hotkeys should include either Alt and/or Ctrl..
+ ///
+ public static string HotkeyRestrictionLabel {
+ get {
+ return ResourceManager.GetString("HotkeyRestrictionLabel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to This hotkey configuration may cause undesirable side effects..
+ ///
+ public static string HotkeyRestrictionToolTip {
+ get {
+ return ResourceManager.GetString("HotkeyRestrictionToolTip", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Shift.
+ ///
+ public static string HotkeyShift {
+ get {
+ return ResourceManager.GetString("HotkeyShift", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Hotkeys:.
+ ///
+ public static string HotkeysLabel {
+ get {
+ return ResourceManager.GetString("HotkeysLabel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Tell me if a newer pre-release build is available..
+ ///
+ public static string IncludePreRelease {
+ get {
+ return ResourceManager.GetString("IncludePreRelease", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Info.
+ ///
+ public static string InfoLogLevel {
+ get {
+ return ResourceManager.GetString("InfoLogLevel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Display l_anguage:.
+ ///
+ public static string LanguageLabel {
+ get {
+ return ResourceManager.GetString("LanguageLabel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Minimum Log Level:.
+ ///
+ public static string MinimumLogLevelLabel {
+ get {
+ return ResourceManager.GetString("MinimumLogLevelLabel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Modifier Warning.
+ ///
+ public static string ModifierWarning {
+ get {
+ return ResourceManager.GetString("ModifierWarning", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to No Logging.
+ ///
+ public static string OffLogLevel {
+ get {
+ return ResourceManager.GetString("OffLogLevel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Period (.).
+ ///
+ public static string PeriodDelimiter {
+ get {
+ return ResourceManager.GetString("PeriodDelimiter", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Correction for high-resolution display scalings.
+ ///
+ public static string SetDpiUnaware {
+ get {
+ return ResourceManager.GetString("SetDpiUnaware", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Show Log Folder.
+ ///
+ public static string ShowLogFolder {
+ get {
+ return ResourceManager.GetString("ShowLogFolder", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Show splash screen at startup.
+ ///
+ public static string ShowSplash {
+ get {
+ return ResourceManager.GetString("ShowSplash", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Slash (/).
+ ///
+ public static string SlashDelimiter {
+ get {
+ return ResourceManager.GetString("SlashDelimiter", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Trace.
+ ///
+ public static string TraceLogLevel {
+ get {
+ return ResourceManager.GetString("TraceLogLevel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Warn.
+ ///
+ public static string WarnLogLevel {
+ get {
+ return ResourceManager.GetString("WarnLogLevel", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/Rubberduck.Core/UI/Settings/GeneralSettingsUI.cs.resx b/Rubberduck.Core/UI/Settings/GeneralSettingsUI.cs.resx
new file mode 100644
index 0000000000..7d73e4d91c
--- /dev/null
+++ b/Rubberduck.Core/UI/Settings/GeneralSettingsUI.cs.resx
@@ -0,0 +1,224 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Tato konfigurace klávesové zkratky může vyvolat nežádoucí vedlejší účinky.
+
+
+ Varování
+
+
+ Trace
+
+
+ Lomeno (/)
+
+
+ Zobrazit úvodní obrazovku po spuštění
+
+
+ Otevřít Log Složku
+
+
+ Korekce pro displaye s vysokým rozlišením a škálováním
+
+
+ Tečka (.)
+
+
+ Žádné Logování
+
+
+ Varování Modifikátoru
+
+
+ Minimální Úroveň Logu:
+
+
+ Jazyk zobrazení:
+
+
+ Info
+
+
+ Oznámení, pokud je k dispozici novější verze předběžného vydání.
+
+
+ Klávesové Zkratky:
+
+
+ Shift
+
+
+ Klávesové zkratky by měly obsahovat buď Alt a/nebo Ctrl.
+
+
+ Klíč2
+
+
+ Klíč1
+
+
+ Povoleno
+
+
+ Popis
+
+
+ Ctrl
+
+
+ Alt
+
+
+ Oddělovač složky:
+
+
+ Fatální
+
+
+ Toto nastavení povolte jen pokud více, to děláte. Povolením a/nebo užíváním věcí z této sekce může skončit nečekanými obtížemi, poruchami kódu a nenávratnou ztrátou dat.
+
+
+ Experimentální Funkce (Je třeba restartovat Excel, aby se změny projevily):
+
+
+ Chyba
+
+
+ Povolit drag and drop v Code Exploreru
+
+
+ Debug
+
+
+ Zkompilovat na Žádost je aktuálně povoleno
+
+
+ VBE nastavení "Zkompilovat Na Žádost" je aktuálně povoleno. Je silně doporučeno toto nastavení zakázat přes dialog VBE Nastavení nacházející se v panelu Obecné a změnit na Kompilování Před Parsováním. Přejete si toto nastavení nyní zakázat?
+
+POZNÁMKA: Pro aplikování tohoto nastavení je třeba restartovat Excel.
+
+
+ Zkompilovat kód před parsováním
+
+
+ Při startu zkontrolovat, zda je dostupná nová verze.
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/Settings/GeneralSettingsUI.de.resx b/Rubberduck.Core/UI/Settings/GeneralSettingsUI.de.resx
new file mode 100644
index 0000000000..6f27a18061
--- /dev/null
+++ b/Rubberduck.Core/UI/Settings/GeneralSettingsUI.de.resx
@@ -0,0 +1,224 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Die aktuellen Tastenkürzeleinstellungen könnten ungewollte Nebeneffekte haben.
+
+
+ Warnung
+
+
+ Spuren
+
+
+ Schrägstrich (/)
+
+
+ Ein Startlogo zu Beginn zeigen
+
+
+ Logging-Ordner anzeigen
+
+
+ Korrektur für hochauflösende Displayskalierung
+
+
+ Punkte (.)
+
+
+ Kein Logging
+
+
+ Warnung
+
+
+ Minimale Logging-Empfindlichkeit:
+
+
+ Anzeigesprache:
+
+
+ Informationen
+
+
+ Informiere mich, wenn ein neuer Prerelease verfügbar ist.
+
+
+ Tastenkürzel:
+
+
+ Umschalt
+
+
+ Tastenkürzel sollten Alt und/oder Strg verwenden.
+
+
+ Taste2
+
+
+ Taste1
+
+
+ Aktiv
+
+
+ Beschreibung
+
+
+ Strg
+
+
+ Alt
+
+
+ Ordner-Trennzeichen:
+
+
+ Fatal
+
+
+ Auf eigene Verantwortung und Gefahr aktivieren. Aktivierung und / oder Verwendung von Funktionalitäten in dieser Sektion kann zu unvorhergesehenen Fehlern und unwiederbringlichem Datenverlust führen.
+
+
+ Experimentelle Funktionalität:
+
+
+ Fehler
+
+
+ Drag and Drop im Code Explorer aktivieren
+
+
+ Debugging
+
+
+ "Bei Bedarf Kompilieren" ist aktuell eingeschalten
+
+
+ Die VBE-Einstellung "Bei Bedarf Kompilieren" ist aktuell eingeschalten. Wir raten stark dazu, diese Option über den Einstellungsdialog unter "Allgemein" auszuschalten, um das "Vor dem Parsen kompilieren"-Feature zu nutzen. Die Einstellung jetzt anpassen?
+
+ACHTUNG: Ein Neustart ist nötig, damit die Änderungen wirksam werden.
+
+
+ Code vor dem Parsen kompilieren
+
+
+ Beim Start prüfen, ob eine neuere Version verfügbar ist.
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/Settings/GeneralSettingsUI.es.resx b/Rubberduck.Core/UI/Settings/GeneralSettingsUI.es.resx
new file mode 100644
index 0000000000..52e51611eb
--- /dev/null
+++ b/Rubberduck.Core/UI/Settings/GeneralSettingsUI.es.resx
@@ -0,0 +1,224 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Esta configuración de teclas de acceso rápido puede causar efectos secundarios no deseados.
+
+
+ Advertir
+
+
+ Rastro
+
+
+ Barra (/)
+
+
+ Mostrar pantalla de bienvenida al inicio
+
+
+ Mostrar carpeta de registro
+
+
+ Corrección para escalas de pantalla de alta resolución
+
+
+ Punto (.)
+
+
+ Sin registro
+
+
+ Advertencia para modificador
+
+
+ Nivel de registro mínimo:
+
+
+ Idioma de visualización:
+
+
+ Información
+
+
+ Avisarme cuando un pre-release build nuevo esté disponible
+
+
+ Teclas de acceso rápido:
+
+
+ Shift
+
+
+ Las teclas de acceso rápido deben incluir Alt y / o Ctrl.
+
+
+ Tecla2
+
+
+ Tecla1
+
+
+ Habilitado
+
+
+ Descripción
+
+
+ Ctrl
+
+
+ Alt
+
+
+ Delimitador de carpeta:
+
+
+ Fatal
+
+
+ Solo habilítar si sabe lo que está haciendo. La habilitación y/o el uso de las funciones de esta sección pueden hacer que las cosas se rompan de forma inesperada e irrevocable.
+
+
+ Características experimentales (requiere un reinicio para que tenga efecto):
+
+
+ Error
+
+
+ Habilitar arrastrar y soltar en Explorador de Código
+
+
+ Depurar
+
+
+ "Compilar A Demanda" actualmente habilitado
+
+
+ La configuración de VBE "Compile On Demand" está actualmente habilitada. Se recomienda encarecidamente que deshabilite la configuración a través del cuadro de diálogo Opciones de VBE en la pestaña General para utilizar la función Compilar antes de analizar. ¿Quieres desactivarlo ahora?
+
+NOTA: Es necesario reiniciar para que la configuración tenga efecto.
+
+
+ Compilar código antes de analizar
+
+
+ Compruebe si hay una versión más nueva disponible en el inicio
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/Settings/GeneralSettingsUI.fr.resx b/Rubberduck.Core/UI/Settings/GeneralSettingsUI.fr.resx
new file mode 100644
index 0000000000..a258f4b59e
--- /dev/null
+++ b/Rubberduck.Core/UI/Settings/GeneralSettingsUI.fr.resx
@@ -0,0 +1,224 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Cette configuration peut entraîner des effets indésirables.
+
+
+ Avertissement
+
+
+ Trace
+
+
+ Barre oblique (/)
+
+
+ Afficher l'écran d'initialisation
+
+
+ Afficher dans le dossier
+
+
+ Correction pour l'affichage haute définition
+
+
+ Point (.)
+
+
+ Désactivé
+
+
+ Avertissement
+
+
+ Niveau minimum du journal:
+
+
+ Langue d'affichage:
+
+
+ Info
+
+
+ M'avertir lorsqu'une nouvelle version "pre-release" est disponible.
+
+
+ Raccourcis:
+
+
+ Maj
+
+
+ Les raccourcis doivent inclure Alt et/ou Ctrl.
+
+
+ Touche2
+
+
+ Touche1
+
+
+ Active
+
+
+ Description
+
+
+ Ctrl
+
+
+ Alt
+
+
+ Délimiteur de dossiers:
+
+
+ Fatal
+
+
+ Ces fonctionnalités sont présentement en phase de tests et/ou diagnostics. Activer ces fonctionnalités peut produire des erreurs inattendues qui peuvent résulter en pertes de données.
+
+
+ Fonctionnalités expérimentales:
+
+
+ Erreur
+
+
+ Permettre glisser-déposer dans l'Explorateur de Code
+
+
+ Debug
+
+
+ 'Compile on demand' est activé
+
+
+ L'option VBE "Compile on demand" est activée. Il est fortement recommandé de désactiver cette option afin d'utiliser l'option "Compiler avant l'analyse". Voulez-vous désactiver "Compile on demand"?
+
+NOTE: Un redémarrage de l'application sera requis pour que la nouvelle configuration prenne effet.
+
+
+ Compiler le code avant d'analyser
+
+
+ Vérifier si une nouvelle version est diponible au démarrage.
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/Settings/GeneralSettingsUI.it.resx b/Rubberduck.Core/UI/Settings/GeneralSettingsUI.it.resx
new file mode 100644
index 0000000000..1f9746a354
--- /dev/null
+++ b/Rubberduck.Core/UI/Settings/GeneralSettingsUI.it.resx
@@ -0,0 +1,224 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Verifica se è disponibile una versione più recente all'avvio.
+
+
+ Compilare il codice prima dell'analisi
+
+
+ L'impostazione "Compila su richiesta" di VBE è attualmente abilitata. E' fortemente raccomandato disabilitare l'impostazione dalla finestra Opzioni di VBE nella scheda Generale per usare la funzionalità Compila Prima di Analizzare. Disabilitare ora?
+
+NOTA: è necessario un riavvio perché l'impostazione abbia effetto.
+
+
+ Compila su richiesta attualmente abilitata
+
+
+ Debug
+
+
+ Abilità drag and drop in Explorer del Codice
+
+
+ Errore
+
+
+ Funzionalità Sperimentali (è necessario un riavvio perché abbia effetto):
+
+
+ Abilitare solo se si sa cosa si sta facendo. Abilitare e/o usare funzionalità da questa sezione può causare chiusure improvvise e perdita di dati irreparabile.
+
+
+ Fatale
+
+
+ Delimitatore di Cartella:
+
+
+ Alt
+
+
+ Ctrl
+
+
+ Descrizione
+
+
+ Abilitato
+
+
+ Tasto1
+
+
+ Tasto2
+
+
+ Le combinazioni dovrebbero includere Alt e/o Ctrl.
+
+
+ Questa configurazione di combinazioni può causare effetti collaterali indesiderati.
+
+
+ Maiuscolo
+
+
+ Combinazioni:
+
+
+ Avvertimi se una build pre-release più recente è disponibile.
+
+
+ Info
+
+
+ Lingua di visualizzazione:
+
+
+ Livello Minimo di Registrazione:
+
+
+ Avvertimento di Modificatore
+
+
+ Nessuna registrazione
+
+
+ Punto (.)
+
+
+ Correzione per il ridimensionamento nei display ad alta risoluzione
+
+
+ Mostra la cartella dei log
+
+
+ Mostra la schermata di presentazione all'avvio
+
+
+ Barra (/)
+
+
+ Traccia
+
+
+ Avvertimento
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/Settings/GeneralSettingsUI.resx b/Rubberduck.Core/UI/Settings/GeneralSettingsUI.resx
new file mode 100644
index 0000000000..381b187ff2
--- /dev/null
+++ b/Rubberduck.Core/UI/Settings/GeneralSettingsUI.resx
@@ -0,0 +1,224 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ This hotkey configuration may cause undesirable side effects.
+
+
+ Warn
+
+
+ Trace
+
+
+ Slash (/)
+
+
+ Show _splash screen at startup
+
+
+ Show Log Folder
+
+
+ Correction for high-_resolution display scalings
+
+
+ Period (.)
+
+
+ No Logging
+
+
+ Modifier Warning
+
+
+ Minimum _Log Level:
+
+
+ Display l_anguage:
+
+
+ Info
+
+
+ Tell me if a newer _pre-release build is available.
+
+
+ Hotkeys:
+
+
+ Shift
+
+
+ Hotkeys should include either Alt and/or Ctrl.
+
+
+ Key2
+
+
+ Key1
+
+
+ Enabled
+
+
+ Description
+
+
+ Ctrl
+
+
+ Alt
+
+
+ Folder Delimiter:
+
+
+ Fatal
+
+
+ Only enable these if you know what you're doing. Enabling and/or using features from this section may result in things breaking unexpectedly and irrevocable data loss.
+
+
+ Experimental Features (Requires a restart to take effect):
+
+
+ Error
+
+
+ Enable _drag and drop in Code Explorer
+
+
+ Debug
+
+
+ Compile On Demand currently enabled
+
+
+ The VBE setting "Compile On Demand" is currently enabled. It is strongly recommended that you disable the setting via the VBE Options dialog under General tab in order to use the Compile Before Parse feature. Do you want to disable it now?
+
+NOTE: Restart is required for the setting to take effect.
+
+
+ _Compile code before parsing
+
+
+ Check if a newer _version is available at startup.
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/Settings/GeneralSettingsViewModel.cs b/Rubberduck.Core/UI/Settings/GeneralSettingsViewModel.cs
index f441f45b15..ff43bca6f6 100644
--- a/Rubberduck.Core/UI/Settings/GeneralSettingsViewModel.cs
+++ b/Rubberduck.Core/UI/Settings/GeneralSettingsViewModel.cs
@@ -235,8 +235,8 @@ public bool SetDpiUnawareEnabled
private bool SynchronizeVbeSettings()
{
- if (!_messageBox.ConfirmYesNo(RubberduckUI.GeneralSettings_CompileBeforeParse_WarnCompileOnDemandEnabled,
- RubberduckUI.GeneralSettings_CompileBeforeParse_WarnCompileOnDemandEnabled_Caption, true))
+ if (!_messageBox.ConfirmYesNo(GeneralSettingsUI.CompileBeforeParse_WarnCompileOnDemandEnabled,
+ GeneralSettingsUI.CompileBeforeParse_WarnCompileOnDemandEnabled_Caption, true))
{
return false;
}
diff --git a/Rubberduck.Core/UI/Settings/IndenterSettings.xaml b/Rubberduck.Core/UI/Settings/IndenterSettings.xaml
index 2c9f5a5793..2871af1370 100644
--- a/Rubberduck.Core/UI/Settings/IndenterSettings.xaml
+++ b/Rubberduck.Core/UI/Settings/IndenterSettings.xaml
@@ -98,86 +98,61 @@
BorderBrush="{StaticResource ExpanderBorderBrush}"
Margin="0,0,0,3">
-
+
-
-
-
-
-
+
-
-
-
-
-
+
-
-
-
-
-
+
-
-
-
-
-
+
-
-
-
-
-
+
-
-
-
-
-
+
-
-
-
-
-
+
-
-
-
-
+ HorizontalAlignment="Left"
+ TextWrapping="WrapWithOverflow"
+ Text="{Resx ResxName=Rubberduck.UI.Settings.IndenterSettingsUI, Key=IndentSpaces}" />
-
+
-
-
-
-
-
+
-
-
-
-
-
+
-
-
-
-
-
+
-
-
-
-
-
+
-
+
-
+
-
-
-
-
-
+
-
-
-
-
-
+
-
+
-
+
@@ -342,11 +294,8 @@
Margin="5,0,0,5"
HorizontalAlignment="Left"
IsChecked="{Binding VerticallySpaceProcedures,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}">
-
-
-
-
-
+
-
+
@@ -376,9 +325,8 @@
BorderBrush="{StaticResource ExpanderBorderBrush}"
Margin="0,0,0,3">
-
+
+// 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.
+//
+//------------------------------------------------------------------------------
+
+namespace Rubberduck.UI.Settings {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // 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 IndenterSettingsUI {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal IndenterSettingsUI() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [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("Rubberduck.UI.Settings.IndenterSettingsUI", typeof(IndenterSettingsUI).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Align comments with code.
+ ///
+ internal static string AlignCommentsWithCode {
+ get {
+ return ResourceManager.GetString("AlignCommentsWithCode", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Align continuations.
+ ///
+ internal static string AlignContinuations {
+ get {
+ return ResourceManager.GetString("AlignContinuations", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Align dims.
+ ///
+ internal static string AlignDims {
+ get {
+ return ResourceManager.GetString("AlignDims", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Alignment Options.
+ ///
+ internal static string AlignmentOptionsLabel {
+ get {
+ return ResourceManager.GetString("AlignmentOptionsLabel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Indented Code Sample.
+ ///
+ internal static string CodeSampleHeader {
+ get {
+ return ResourceManager.GetString("CodeSampleHeader", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Empty line handling:.
+ ///
+ internal static string EmptyLineHeading {
+ get {
+ return ResourceManager.GetString("EmptyLineHeading", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Enable Options.
+ ///
+ internal static string EnableOptionsLabel {
+ get {
+ return ResourceManager.GetString("EnableOptionsLabel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Enable undo.
+ ///
+ internal static string EnableUndo {
+ get {
+ return ResourceManager.GetString("EnableUndo", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to End-of-line comment style:.
+ ///
+ internal static string EndOfLineCommentStyle {
+ get {
+ return ResourceManager.GetString("EndOfLineCommentStyle", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Force compiler directives to column 1.
+ ///
+ internal static string ForceCompilerDirectivesToColumn1 {
+ get {
+ return ResourceManager.GetString("ForceCompilerDirectivesToColumn1", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Force debug directives to column 1.
+ ///
+ internal static string ForceDebugDirectivesToColumn1 {
+ get {
+ return ResourceManager.GetString("ForceDebugDirectivesToColumn1", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Ignore empty lines when locating first comment and declaration blocks.
+ ///
+ internal static string IgnoreEmptyLinesInFirstBlocks {
+ get {
+ return ResourceManager.GetString("IgnoreEmptyLinesInFirstBlocks", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Ignore operators.
+ ///
+ internal static string IgnoreOperators {
+ get {
+ return ResourceManager.GetString("IgnoreOperators", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Indent case.
+ ///
+ internal static string IndentCase {
+ get {
+ return ResourceManager.GetString("IndentCase", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Indent compiler directives.
+ ///
+ internal static string IndentCompilerDirectives {
+ get {
+ return ResourceManager.GetString("IndentCompilerDirectives", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Indent entire procedure body.
+ ///
+ internal static string IndentEntireProcedureBody {
+ get {
+ return ResourceManager.GetString("IndentEntireProcedureBody", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Indent comments in Enum and Type blocks like in procedures.
+ ///
+ internal static string IndentEnumTypeAsProcedure {
+ get {
+ return ResourceManager.GetString("IndentEnumTypeAsProcedure", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Indent first comment block.
+ ///
+ internal static string IndentFirstCommentBlock {
+ get {
+ return ResourceManager.GetString("IndentFirstCommentBlock", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Indent first declaration block.
+ ///
+ internal static string IndentFirstDeclarationBlock {
+ get {
+ return ResourceManager.GetString("IndentFirstDeclarationBlock", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Indent Options.
+ ///
+ internal static string IndentOptionsLabel {
+ get {
+ return ResourceManager.GetString("IndentOptionsLabel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Indent spaces:.
+ ///
+ internal static string IndentSpaces {
+ get {
+ return ResourceManager.GetString("IndentSpaces", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Public Enum ExampleEnum
+ ///' Enum comment.
+ ///Foo
+ ///Bar ' Member comment.
+ ///End Enum
+ ///
+ ///' Example Procedure
+ ///Sub ExampleProc()
+ ///
+ ///' SMART INDENTER
+ ///' Original VB6 code graciously offered to Rubberduck by Stephen Bullen & Rob Bovey
+ ///' © 2016 by Rubberduck VBA.
+ ///
+ ///Dim count As Integer
+ ///Static name As String
+ ///
+ ///If YouLikeRubberduck Then
+ ///' Star us on GitHub http://github.com/rubberduck-vba/Rubberduck
+ ///' Follow us on Twitter @rubberduckvba
+ ///' Visit http://rubberduckvba.com for news and updates
+ ///
+ ///Select Case X
+ ///Case [rest of string was truncated]";.
+ ///
+ internal static string PreviewCode {
+ get {
+ return ResourceManager.GetString("PreviewCode", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Special Options.
+ ///
+ internal static string SpecialOptionsLabel {
+ get {
+ return ResourceManager.GetString("SpecialOptionsLabel", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Maintain vertical spacing.
+ ///
+ internal static string VerticalSpacing {
+ get {
+ return ResourceManager.GetString("VerticalSpacing", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Vertical Spacing.
+ ///
+ internal static string VerticalSpacingLabel {
+ get {
+ return ResourceManager.GetString("VerticalSpacingLabel", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/Rubberduck.Core/UI/Settings/IndenterSettingsUI.cs.resx b/Rubberduck.Core/UI/Settings/IndenterSettingsUI.cs.resx
new file mode 100644
index 0000000000..79df5f589e
--- /dev/null
+++ b/Rubberduck.Core/UI/Settings/IndenterSettingsUI.cs.resx
@@ -0,0 +1,202 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Ignorovat operátory
+
+
+ Zarovnat komenty s kódem
+
+
+ Zarovnat pokračování
+
+
+ Zarovnat 'dimy'
+
+
+ Nastavení Zarovnání
+
+
+ Příklad Odsazeného Kódu
+
+
+ Zacházení s prázdnými řádky:
+
+
+ Povolit Nastavení
+
+
+ Povolit 'zpět'
+
+
+ Styl komentářů na konci řádku:
+
+
+ Vynutit pokyny kompilátoru do sloupce 1
+
+
+ Vynutit debugovací pokyny do sloupce 1
+
+
+ Ignoruj prázdné řádky při vyhledávání prvních poznámek a deklaračních bloků
+
+
+ Odsadit 'Case'
+
+
+ Odsadit pokyny kompilátoru
+
+
+ Odsadit celý vnitřek procedury
+
+
+ Odsadit komentáře v Enum a Type blocích tak, jako v procedurách
+
+
+ Odsadit první blok komentáře
+
+
+ Odsadit první blok deklarace
+
+
+ Nastavení odsazení
+
+
+ Odsadit mezery:
+
+
+ Public Enum ExampleEnum
+' Enum komentář.
+Foo
+Bar ' Komentář člena.
+End Enum
+
+
+ Speciální nastavení
+
+
+ Udržovat vertikální vzdálenosti
+
+
+ Vertikální vzdálenosti
+
+
+ Odeberte vertikální mezeru mezi souvisejícími property členy
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/Settings/IndenterSettingsUI.de.resx b/Rubberduck.Core/UI/Settings/IndenterSettingsUI.de.resx
new file mode 100644
index 0000000000..320dd9603f
--- /dev/null
+++ b/Rubberduck.Core/UI/Settings/IndenterSettingsUI.de.resx
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Ignoriere Operatoren
+
+
+ Richte Kommentare am Code aus
+
+
+ Richte Fortsetzung aus
+
+
+ Ausrichtung der Deklarationen
+
+
+ Ausrichtungsoptionen
+
+
+ Eingerücktes Codebeispiel
+
+
+ Leerzeilenbehandlung:
+
+
+ Optionen freigeben
+
+
+ Rückgängig freigeben
+
+
+ Zeilenende Kommentarstil:
+
+
+ Erzwinge Kompilerdirektiven in Spalte 1
+
+
+ Erzwinge Debugdirektiven in Spalte 1
+
+
+ Leerzeilen bei der Suche nach dem ersten Kommentar und nach Deklarationsblöcken ignorieren
+
+
+ Rücke 'Case' ein
+
+
+ Rücke Kompilerdirektiven ein
+
+
+ Rücke gesamten Prozedurblock ein
+
+
+ Kommentare in Enums und Typen wie in Prozeduren einrücken
+
+
+ Rücke ersten Kommentarblock ein
+
+
+ Rücke ersten Deklarationsblock ein
+
+
+ Rücke Optionen ein
+
+
+ Einrückungsleerzeichen:
+
+
+ Public Enum BeispielEnum
+' Enum Kommentar.
+Foo
+Bar ' Element-Kommentar.
+End Enum
+
+' Beispielprozedur
+Sub BeispielProc()
+
+' SMART INDENTER
+' Der originale VB6-Code wurde Rubberduck gnädigerweise von Stephen Bullen & Rob Bovey angeboten
+' © 2016 by Rubberduck VBA.
+
+Dim zaehler As Integer
+Static name As String
+
+If SieMoegenRubberduck Then
+' Einen Stern auf GitHub geben: http://github.com/rubberduck-vba/Rubberduck
+' Auf Twitter folgen @rubberduckvba
+' http://rubberduckvba.com für Neuigkeiten und Aktualisierungen
+
+Select Case X
+Case "A"
+' Falls sie Kommentare oder Vorschläge haben, _
+oder validen VBA code gefunden haben, der nicht korrekt eingerückt wird,
+
+#If VBA6 Then
+MsgBox "Kontaktieren Sie contact@rubberduck-vba.com"
+#End If
+
+Case "Fortgeführte Strings und Parameter können" _
+& "zur Lesbarkeit aufgereiht werden. Optional können" _
+& "beliebige Operatoren (&+, usw.) am Zeilenbeginn ignoriert werden."
+
+Debug.Print "X<>1"
+End Select 'Case X
+End If 'Mehr Werkzeuge? Vorschläge an http://github.com/rubberduck-vba/Rubberduck/Issues/New
+
+End Sub
+
+
+ Spezielle Optionen
+
+
+ Vertikalen Abstand aufrecht erhalten
+
+
+ Vertikalen Abstand
+
+
+ Entferne vertikalen Zwischenraum zwischen verwandten Eigenschaften
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/Settings/IndenterSettingsUI.es.resx b/Rubberduck.Core/UI/Settings/IndenterSettingsUI.es.resx
new file mode 100644
index 0000000000..1ccd0fe394
--- /dev/null
+++ b/Rubberduck.Core/UI/Settings/IndenterSettingsUI.es.resx
@@ -0,0 +1,233 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Ignorar a los operadores
+
+
+ Alinear comentarios con código
+
+
+ Alinear continuaciones
+
+
+ Alinear dims
+
+
+ Opciones de alineación
+
+
+ Ejemplo de código indentado
+
+
+ Manejo de línea vacía:
+
+
+ Habilitar opciones
+
+
+ Habilitar Deshacer
+
+
+ Estilo de comentario de fin de línea:
+
+
+ Forzar las directivas del compilador a la columna 1
+
+
+ Forzar las directivas de depuración a la columna 1
+
+
+ Ignore las líneas vacías al ubicar los bloques de primer comentario y declaración
+
+
+ Indentar case
+
+
+ Indentar directivas de compilación
+
+
+ Indentar todo el cuerpo del procedimiento
+
+
+ Indentar comentarios en bloques Enum y Type como en procedimientos
+
+
+ Indentar primer bloque de comentarios
+
+
+ Indentar primer bloque de declaración
+
+
+ Opciones de indentación
+
+
+ Indentar espacios:
+
+
+ Public Enum ExampleEnum
+' Enum comment.
+Foo
+Bar ' Member comment.
+End Enum
+
+' Example Procedure
+Sub ExampleProc()
+
+' SMART INDENTER
+' Original VB6 code graciously offered to Rubberduck by Stephen Bullen & Rob Bovey
+' © 2016 by Rubberduck VBA.
+
+Dim count As Integer
+Static name As String
+
+If YouLikeRubberduck Then
+' Star us on GitHub http://github.com/rubberduck-vba/Rubberduck
+' Follow us on Twitter @rubberduckvba
+' Visit http://rubberduckvba.com for news and updates
+
+Select Case X
+Case "A"
+' If you have any comments or suggestions, _
+or find valid VBA code that isn't indented correctly,
+
+#If VBA6 Then
+MsgBox "Contact contact@rubberduck-vba.com"
+#End If
+
+Case "Continued strings and parameters can be" _
+& "lined up for easier reading, optionally ignoring" _
+& "any operators (&+, etc) at the start of the line."
+
+Debug.Print "X<>1"
+End Select 'Case X
+End If 'More Tools? Suggestions http://github.com/rubberduck-vba/Rubberduck/Issues/New
+
+End Sub
+
+
+ Opciones especiales
+
+
+ Mantener el espaciamiento vertical
+
+
+ Espaciamiento vertical
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/Settings/IndenterSettingsUI.fr.resx b/Rubberduck.Core/UI/Settings/IndenterSettingsUI.fr.resx
new file mode 100644
index 0000000000..bcc917ab44
--- /dev/null
+++ b/Rubberduck.Core/UI/Settings/IndenterSettingsUI.fr.resx
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Ignorer les opérateurs
+
+
+ Aligner les commentaires avec le code
+
+
+ Aligner les continuations
+
+
+ Aligner les déclarations (Dim)
+
+
+ Aligner les options
+
+
+ Échantillon de code indenté
+
+
+ Traitement des lignes vides:
+
+
+ Activer les options
+
+
+ Activer l'annulation
+
+
+ Style des commentaires de fin de ligne:
+
+
+ Forcer les directives du préprocesseur à la colonne 1
+
+
+ Forcer les instructions Debug à la ligne 1
+
+
+ Ignorer les lignes vides lors de la recherche du premier bloc de commentaire ou de déclarations
+
+
+ Indenter les blocs Case
+
+
+ Indenter les directives du préprocesseur
+
+
+ Indenter le contenu entier de la procédure
+
+
+ Indenter les commentaires des blocs Enum et Type comme dans les procédures
+
+
+ Indenter le premier bloc de commentaires
+
+
+ Indenter le premier bloc de déclarations
+
+
+ Indenter les options
+
+
+ Nombre d'espaces:
+
+
+ Public Enum ExempleEnum
+' commentaire enum.
+Foo
+Bar ' commentaire membre enum.
+End Enum
+
+' Procédure exemple
+Sub ExampleProc()
+
+' SMART INDENTER
+' Code VB6 original gracieusement offert au projet Rubberduck par Stephen Bullen et Rob Bovey
+' © 2016 Rubberduck VBA.
+
+Dim count As Integer
+Static name As String
+
+If VousAimezRubberduck Then
+' Donnez-nous une étoile sur GitHub http://github.com/rubberduck-vba/Rubberduck
+' Suivez-nous sur Twitter @rubberduckvba
+' Visitez http://rubberduckvba.com pour les nouvelles et mises à jour
+
+Select Case X
+Case "A"
+' Si vous avez des commentaires ou suggestions, _
+ou si vous trouvez du code VBA valide qui ne s'indente pas correctement,
+
+#If VBA6 Then
+MsgBox "Contactez contact@rubberduck-vba.com"
+#End If
+
+Case "Les chaînes de caractères et paramètres peuvent être" _
+& "alignés pour une lecture plus facile, en ignorant facultativement" _
+& "les opérateurs (&+, etc) au début d'une ligne."
+
+Debug.Print "X<>1"
+End Select 'Case X
+End If 'Plus d'outils? Suggestions http://github.com/rubberduck-vba/Rubberduck/Issues/New
+
+End Sub
+
+
+ Options spéciales
+
+
+ Maintenir l'espacement vertical
+
+
+ Espacement vertical
+
+
+ Supprime l'espacement vertical entre les membres d'une même propriété
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/Settings/IndenterSettingsUI.it.resx b/Rubberduck.Core/UI/Settings/IndenterSettingsUI.it.resx
new file mode 100644
index 0000000000..c622b150d5
--- /dev/null
+++ b/Rubberduck.Core/UI/Settings/IndenterSettingsUI.it.resx
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Allinea i commenti con il codice
+
+
+ Allinea le continuazioni
+
+
+ Allinea i dimensionamenti (Dim)
+
+
+ Opzioni di allineamento
+
+
+ Esempio di Codice indentato
+
+
+ Trattamento delle righe vuote:
+
+
+ Opzioni di Abilitazione
+
+
+ Abilita annullamenti
+
+
+ Stile dei commenti di fine riga:
+
+
+ Forza le direttive di compilazione nella colonna 1
+
+
+ Forza le direttive di debug nella colonna 1
+
+
+ Ignorare le righe vuote per individuare il primo commento e i blocchi di dichiarazione
+
+
+ Ignorare gli operatori
+
+
+ Indenta Case
+
+
+ Indenta le direttive di compilazione
+
+
+ Indenta l'intero corpo della procedura
+
+
+ Indenta i commenti nei blocchi Enum e Type come nelle procedure
+
+
+ Indenta il primo blocco dei commenti
+
+
+ Indenta il primo blocco di dichiarazione
+
+
+ Opzioni di indentazione
+
+
+ Spazi di indentazione:
+
+
+ Public Enum EsempioEnum
+' Commento di Enum
+Foo
+Bar ' commento del Membro.
+End Enum
+
+' Esempio di Procedura
+Sub EsempioProc()
+
+' SMART INDENTER
+' Original VB6 code graciously offered to Rubberduck by Stephen Bullen & Rob Bovey
+' © 2016 by Rubberduck VBA.
+
+Dim count As Integer
+Static name As String
+
+If YouLikeRubberduck Then
+' Mettici una Stella su GitHub http://github.com/rubberduck-vba/Rubberduck
+' Seguici su Twitter @rubberduckvba
+' Visita http://rubberduckvba.com per novità ed aggiornamenti
+
+Select Case X
+Case "A"
+' Se hai qualche commento o suggerimento, _
+o trovi codice VBA valido con indentazione non corretta,
+
+#If VBA6 Then
+MsgBox "Contatta contact@rubberduck-vba.com"
+#End If
+
+Case "Stringhe e parametri continuati possono essere" _
+& "allineati in verticale per una più facile lettura, ignorando eventualmente" _
+& "qualsiasi operatore (&+, ecc) all'inizio della riga."
+
+Debug.Print "X<>1"
+End Select 'Case X
+End If 'Più Strumenti? Suggerimenti http://github.com/rubberduck-vba/Rubberduck/Issues/New
+
+End Sub
+
+
+ Opzioni Speciali
+
+
+ Preserva la spaziatura verticale
+
+
+ Spaziatura Verticale
+
+
+ Rimuovi gli spazi verticali tra membri proprietà collegati
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/Settings/IndenterSettingsUI.resx b/Rubberduck.Core/UI/Settings/IndenterSettingsUI.resx
new file mode 100644
index 0000000000..19d8d6a177
--- /dev/null
+++ b/Rubberduck.Core/UI/Settings/IndenterSettingsUI.resx
@@ -0,0 +1,216 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 1.3
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Ignore operators
+
+
+ Align comments with code
+
+
+ Align continuations
+
+
+ Align dims
+
+
+ Alignment Options
+
+
+ Indented Code Sample
+
+
+ Empty line handling:
+
+
+ Enable Options
+
+
+ Enable undo
+
+
+ End-of-line comment style:
+
+
+ Force compiler directives to column 1
+
+
+ Force debug directives to column 1
+
+
+ Ignore empty lines when locating first comment and declaration blocks
+
+
+ Indent case
+
+
+ Indent compiler directives
+
+
+ Indent entire procedure body
+
+
+ Indent comments in Enum and Type blocks like in procedures
+
+
+ Indent first comment block
+
+
+ Indent first declaration block
+
+
+ Indent Options
+
+
+ Indent spaces:
+
+
+ Public Enum ExampleEnum
+' Enum comment.
+Foo
+Bar ' Member comment.
+End Enum
+
+' Example Procedure
+Sub ExampleProc()
+
+' SMART INDENTER
+' Original VB6 code graciously offered to Rubberduck by Stephen Bullen & Rob Bovey
+' © 2016 by Rubberduck VBA.
+
+Dim count As Integer
+Static name As String
+
+If YouLikeRubberduck Then
+' Star us on GitHub http://github.com/rubberduck-vba/Rubberduck
+' Follow us on Twitter @rubberduckvba
+' Visit http://rubberduckvba.com for news and updates
+
+Select Case X
+Case "A"
+' If you have any comments or suggestions, _
+or find valid VBA code that isn't indented correctly,
+
+#If VBA6 Then
+MsgBox "Contact contact@rubberduck-vba.com"
+#End If
+
+Case "Continued strings and parameters can be" _
+& "lined up for easier reading, optionally ignoring" _
+& "any operators (&+, etc) at the start of the line."
+
+Debug.Print "X<>1"
+End Select 'Case X
+End If 'More Tools? Suggestions http://github.com/rubberduck-vba/Rubberduck/Issues/New
+
+End Sub
+
+
+ Special Options
+
+
+ Maintain vertical spacing
+
+
+ Vertical Spacing
+
+
+ Remove vertical space between related property members
+
+
\ No newline at end of file
diff --git a/Rubberduck.Core/UI/Settings/IndenterSettingsViewModel.cs b/Rubberduck.Core/UI/Settings/IndenterSettingsViewModel.cs
index 117c6b8a27..ac4467a30b 100644
--- a/Rubberduck.Core/UI/Settings/IndenterSettingsViewModel.cs
+++ b/Rubberduck.Core/UI/Settings/IndenterSettingsViewModel.cs
@@ -418,7 +418,7 @@ public string PreviewSampleCode
{
var indenter = new Indenter(null, GetCurrentSettings);
- var lines = RubberduckUI.IndenterSettings_PreviewCode.Split(new[] { Environment.NewLine }, StringSplitOptions.None);
+ var lines = IndenterSettingsUI.PreviewCode.Split(new[] { Environment.NewLine }, StringSplitOptions.None);
lines = indenter.Indent(lines).ToArray();
return string.Join(Environment.NewLine, lines);
}
diff --git a/Rubberduck.Core/UI/Settings/InspectionSettings.xaml b/Rubberduck.Core/UI/Settings/InspectionSettings.xaml
index a91363f8b6..54e0f40337 100644
--- a/Rubberduck.Core/UI/Settings/InspectionSettings.xaml
+++ b/Rubberduck.Core/UI/Settings/InspectionSettings.xaml
@@ -52,7 +52,7 @@
+ Content="{Resx ResxName=Rubberduck.CodeAnalysis.CodeAnalysisUI,Key=CodeInspectionSettingsPage_InspectionSeveritySettingsLabel}" Margin="5,5,0,5" Width="127" />