Skip to content

Commit a8a6069

Browse files
committed
Merge pull request #1337 from INOPIAE/translation
Translation
2 parents 7b4201f + 26c00ae commit a8a6069

17 files changed

+1248
-623
lines changed

RetailCoder.VBE/Inspections/ConvertToProcedureQuickFix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public override void Fix()
3434
var context = functionContext ?? propertyGetContext;
3535
if (context == null)
3636
{
37-
throw new InvalidOperationException(string.Format("Context type '{0}' is not valid for {1}.", Context.GetType(), GetType()));
37+
throw new InvalidOperationException(string.Format(InspectionsUI.InvalidContextTypeInspectionFix, Context.GetType(), GetType()));
3838
}
3939

4040
string token = functionContext != null

RetailCoder.VBE/Inspections/InspectionResultBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public override string ToString()
100100
{
101101
var module = QualifiedSelection.QualifiedName;
102102
return string.Format(
103-
"{0}: {1} - {2}.{3}, line {4}",
103+
InspectionsUI.QualifiedSelectionInspection,
104104
Inspection.Severity,
105105
Description,
106106
module.ProjectName,

RetailCoder.VBE/Inspections/InspectionsUI.Designer.cs

Lines changed: 158 additions & 140 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

RetailCoder.VBE/Inspections/InspectionsUI.de.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,4 +503,10 @@
503503
<data name="EmptyStringLiteralInspectionResultFormat" xml:space="preserve">
504504
<value>vbNullString' sollte statt einem leeren String-Literal verwendet werden.</value>
505505
</data>
506+
<data name="InvalidContextTypeInspectionFix" xml:space="preserve">
507+
<value>Kontexttyp '{0}' ist nicht gültig für {1}.</value>
508+
</data>
509+
<data name="QualifiedSelectionInspection" xml:space="preserve">
510+
<value>{0}: {1} - {2}.{3}, Zeile {4}</value>
511+
</data>
506512
</root>

RetailCoder.VBE/Inspections/InspectionsUI.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,4 +503,10 @@
503503
<data name="DisableThisInspection" xml:space="preserve">
504504
<value>Disable this inspection</value>
505505
</data>
506+
<data name="InvalidContextTypeInspectionFix" xml:space="preserve">
507+
<value>Context type '{0}' is not valid for {1}.</value>
508+
</data>
509+
<data name="QualifiedSelectionInspection" xml:space="preserve">
510+
<value>{0}: {1} - {2}.{3}, line {4}</value>
511+
</data>
506512
</root>

RetailCoder.VBE/Settings/HotkeySetting.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ public string Prompt
3434
public string ToMenuHotkeyString()
3535
{
3636
return string.Format("{0}{1}{2}+{3}",
37-
HasCtrlModifier ? "Ctrl" : string.Empty,
38-
HasShiftModifier ? (HasCtrlModifier ? "+" : string.Empty) + "Shift" : string.Empty,
39-
HasAltModifier ? (HasCtrlModifier | HasShiftModifier ? "+" : string.Empty) + "Alt" : string.Empty,
37+
HasCtrlModifier ? RubberduckUI.GeneralSettings_HotkeyCtrl : string.Empty,
38+
HasShiftModifier ? (HasCtrlModifier ? "+" : string.Empty) + RubberduckUI.GeneralSettings_HotkeyShift : string.Empty,
39+
HasAltModifier ? (HasCtrlModifier | HasShiftModifier ? "+" : string.Empty) + RubberduckUI.GeneralSettings_HotkeyAlt : string.Empty,
4040
Key1);
4141
}
4242

0 commit comments

Comments
 (0)