mirror of
https://github.com/bitwarden/server.git
synced 2025-04-07 05:58:13 -05:00
colemak typo
This commit is contained in:
parent
0233c2e49c
commit
62f934b6b1
@ -24,8 +24,8 @@ namespace Bit.Core.Utilities
|
|||||||
"P{}ASDFGHJKL:\"ZXCVBNM<>?";
|
"P{}ASDFGHJKL:\"ZXCVBNM<>?";
|
||||||
private static readonly string _dvorakMap = "[]',.pyfgcrl/=aoeuidhtns-;qjkxbmwvz{}\"<>PYFGC" +
|
private static readonly string _dvorakMap = "[]',.pyfgcrl/=aoeuidhtns-;qjkxbmwvz{}\"<>PYFGC" +
|
||||||
"RL?+AOEUIDHTNS_:QJKXBMWVZ";
|
"RL?+AOEUIDHTNS_:QJKXBMWVZ";
|
||||||
private static readonly string _qwertyColmakMap = "qwertyuiopasdfghjkl;zxcvbnmQWERTYUIOPASDFGHJKL:ZXCVBNM";
|
private static readonly string _qwertyColemakMap = "qwertyuiopasdfghjkl;zxcvbnmQWERTYUIOPASDFGHJKL:ZXCVBNM";
|
||||||
private static readonly string _colmakMap = "qwfpgjluy;arstdhneiozxcvbkmQWFPGJLUY:ARSTDHNEIOZXCVBKM";
|
private static readonly string _colemakMap = "qwfpgjluy;arstdhneiozxcvbkmQWFPGJLUY:ARSTDHNEIOZXCVBKM";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Generate sequential Guid for Sql Server.
|
/// Generate sequential Guid for Sql Server.
|
||||||
@ -397,9 +397,9 @@ namespace Bit.Core.Utilities
|
|||||||
return Other2Qwerty(value, _dvorakMap, _qwertyDvorakMap);
|
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)
|
private static string Other2Qwerty(string value, string otherMap, string qwertyMap)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user