2
0

Sync up description of variants.

This commit is contained in:
Maarten Billemont 2017-03-26 09:05:31 -04:00
parent ee0ca569f5
commit 4903df21f8
2 changed files with 6 additions and 6 deletions

View File

@ -22,11 +22,11 @@
//// Types. //// Types.
typedef enum( unsigned int, MPSiteVariant ) { typedef enum( unsigned int, MPSiteVariant ) {
/** Generate the password to log in with. */ /** Generate a key for authentication. */
MPSiteVariantPassword, MPSiteVariantPassword,
/** Generate the login name to log in as. */ /** Generate a name for identification. */
MPSiteVariantLogin, MPSiteVariantLogin,
/** Generate the answer to a security question. */ /** Generate an answer to a security question. */
MPSiteVariantAnswer, MPSiteVariantAnswer,
}; };

View File

@ -11,11 +11,11 @@ import org.jetbrains.annotations.Contract;
* @author lhunath, 14-12-02 * @author lhunath, 14-12-02
*/ */
public enum MPSiteVariant { public enum MPSiteVariant {
Password( "The password to log in with.", "Doesn't currently use a context.", // Password( "Generate a key for authentication.", "Doesn't currently use a context.", //
ImmutableList.of( "p", "password" ), "com.lyndir.masterpassword" ), ImmutableList.of( "p", "password" ), "com.lyndir.masterpassword" ),
Login( "The username to log in as.", "Doesn't currently use a context.", // Login( "Generate a name for identification.", "Doesn't currently use a context.", //
ImmutableList.of( "l", "login" ), "com.lyndir.masterpassword.login" ), ImmutableList.of( "l", "login" ), "com.lyndir.masterpassword.login" ),
Answer( "The answer to a security question.", "Empty for a universal site answer or\nthe most significant word(s) of the question.", // Answer( "Generate an answer to a security question.", "Empty for a universal site answer or\nthe most significant word(s) of the question.", //
ImmutableList.of( "a", "answer" ), "com.lyndir.masterpassword.answer" ); ImmutableList.of( "a", "answer" ), "com.lyndir.masterpassword.answer" );
static final Logger logger = Logger.get( MPSiteType.class ); static final Logger logger = Logger.get( MPSiteType.class );