Skip to content

Commit 2463273

Browse files
committed
translation: added new phrase
1 parent 66dfaf7 commit 2463273

File tree

4 files changed

+21
-6
lines changed

4 files changed

+21
-6
lines changed

Rubberduck.VBEEditor/Selection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ public bool Equals(Selection other)
7878
public override string ToString()
7979
{
8080
return (_startLine == _endLine && _startColumn == _endColumn)
81-
? string.Format("L{0}C{1}", _startLine, _startColumn)
82-
: string.Format("L{0}C{1} - L{2}C{3}", _startLine, _startColumn, _endLine, _endColumn);
81+
? string.Format(Rubberduck.VBEditor.VBEEditorText.SelectionLocationPosition, _startLine, _startColumn)
82+
: string.Format(Rubberduck.VBEditor.VBEEditorText.SelectionLocationRange, _startLine, _startColumn, _endLine, _endColumn);
8383
}
8484

8585
public override bool Equals(object obj)

Rubberduck.VBEEditor/VBEEditorText.Designer.cs

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

Rubberduck.VBEEditor/VBEEditorText.de.resx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,10 @@
9797
<resheader name="writer">
9898
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
9999
</resheader>
100-
<data name="SelectionLocationInfo" xml:space="preserve">
100+
<data name="SelectionLocationRange" xml:space="preserve">
101101
<value>Z{0}S{1} - Z{2}S{3}</value>
102102
</data>
103+
<data name="SelectionLocationPosition" xml:space="preserve">
104+
<value>Z{0}S{1}</value>
105+
</data>
103106
</root>

Rubberduck.VBEEditor/VBEEditorText.resx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,10 @@
9797
<resheader name="writer">
9898
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
9999
</resheader>
100-
<data name="SelectionLocationInfo" xml:space="preserve">
100+
<data name="SelectionLocationRange" xml:space="preserve">
101101
<value>L{0}C{1} - L{2}C{3}</value>
102102
</data>
103+
<data name="SelectionLocationPosition" xml:space="preserve">
104+
<value>L{0}C{1}</value>
105+
</data>
103106
</root>

0 commit comments

Comments
 (0)