1
0
mirror of https://github.com/bitwarden/server synced 2025-12-06 00:03:34 +00:00

colemak typo

This commit is contained in:
Kyle Spearrin
2017-09-11 23:25:11 -04:00
parent 0233c2e49c
commit 62f934b6b1

View File

@@ -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";
/// <summary>
/// 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)