From 62f934b6b16996a94c20172af1f8bb367e674fc8 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 11 Sep 2017 23:25:11 -0400 Subject: [PATCH] colemak typo --- src/Core/Utilities/CoreHelpers.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Core/Utilities/CoreHelpers.cs b/src/Core/Utilities/CoreHelpers.cs index a44b77933a..237e40e450 100644 --- a/src/Core/Utilities/CoreHelpers.cs +++ b/src/Core/Utilities/CoreHelpers.cs @@ -24,8 +24,8 @@ namespace Bit.Core.Utilities "P{}ASDFGHJKL:\"ZXCVBNM<>?"; private static readonly string _dvorakMap = "[]',.pyfgcrl/=aoeuidhtns-;qjkxbmwvz{}\"<>PYFGC" + "RL?+AOEUIDHTNS_:QJKXBMWVZ"; - private static readonly string _qwertyColmakMap = "qwertyuiopasdfghjkl;zxcvbnmQWERTYUIOPASDFGHJKL:ZXCVBNM"; - private static readonly string _colmakMap = "qwfpgjluy;arstdhneiozxcvbkmQWFPGJLUY:ARSTDHNEIOZXCVBKM"; + private static readonly string _qwertyColemakMap = "qwertyuiopasdfghjkl;zxcvbnmQWERTYUIOPASDFGHJKL:ZXCVBNM"; + private static readonly string _colemakMap = "qwfpgjluy;arstdhneiozxcvbkmQWFPGJLUY:ARSTDHNEIOZXCVBKM"; /// /// Generate sequential Guid for Sql Server. @@ -397,9 +397,9 @@ namespace Bit.Core.Utilities return Other2Qwerty(value, _dvorakMap, _qwertyDvorakMap); } - public static string Colmak2Qwery(string value) + public static string Colemak2Qwery(string value) { - return Other2Qwerty(value, _colmakMap, _qwertyColmakMap); + return Other2Qwerty(value, _colemakMap, _qwertyColemakMap); } private static string Other2Qwerty(string value, string otherMap, string qwertyMap)