Skip to content

Commit 63716f5

Browse files
committed
translationHotkey: added one new phrase and fixed one German translation
1 parent 31a8cc3 commit 63716f5

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

RetailCoder.VBE/Common/Hotkeys/Hotkey.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ private void HookKey(Keys key, uint shift)
8383
var success = User32.RegisterHotKey(_hWndVbe, hookId, shift, (uint)key);
8484
if (!success)
8585
{
86-
Debug.WriteLine("Hotkey ({0}) not registered.", key);
87-
//throw new Win32Exception("HotKey was not registered.");
86+
Debug.WriteLine(Rubberduck.UI.RubberduckUI.CommonHotkey_KeyNotRegistered, key);
87+
//throw new Win32Exception(Rubberduck.UI.RubberduckUI.CommonHotkey_KeyNotRegistered, key);
8888
}
8989

9090
HotkeyInfo = new HotkeyInfo(hookId, Combo);

RetailCoder.VBE/UI/RubberduckUI.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

RetailCoder.VBE/UI/RubberduckUI.de.resx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,12 +1463,12 @@ Allen Sternguckern, Likern & Followern, für das warme Kribbeln
14631463
<value>Ungültiges Zeichen.</value>
14641464
</data>
14651465
<data name="CommonHotkey_HookDetached" xml:space="preserve">
1466-
<value>Hook ist schon abgehängt.</value>
1466+
<value>Hook ist nicht mehr aktiv.</value>
14671467
</data>
14681468
<data name="CommonHotkey_HookAttached" xml:space="preserve">
14691469
<value>Hook ist schon hinzugefügt.</value>
14701470
</data>
14711471
<data name="CommonHotkey_KeyNotRegistered" xml:space="preserve">
1472-
<value>Hotkey wurde nicht registriert.</value>
1472+
<value>Hotkey ({0}) ist nicht registriert.</value>
14731473
</data>
14741474
</root>

RetailCoder.VBE/UI/RubberduckUI.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1487,6 +1487,6 @@ All our stargazers, likers &amp; followers, for the warm fuzzies
14871487
<value>Hook is already attached.</value>
14881488
</data>
14891489
<data name="CommonHotkey_KeyNotRegistered" xml:space="preserve">
1490-
<value>HotKey was not registered.</value>
1490+
<value>Hotkey ({0}) not registered.</value>
14911491
</data>
14921492
</root>

0 commit comments

Comments
 (0)