2016-07-28 23:14:52 +02:00
|
|
|
const messages = [
|
|
|
|
{
|
|
|
|
id: "app.login.username",
|
|
|
|
defaultMessage: "Username",
|
2016-08-10 23:50:23 +02:00
|
|
|
description: "Username input placeholder",
|
2016-07-28 23:14:52 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "app.login.password",
|
|
|
|
defaultMessage: "Password",
|
2016-08-10 23:50:23 +02:00
|
|
|
description: "Password input placeholder",
|
2016-07-28 23:14:52 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "app.login.signIn",
|
|
|
|
defaultMessage: "Sign in",
|
2016-08-10 23:50:23 +02:00
|
|
|
description: "Sign in",
|
2016-07-28 23:14:52 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "app.login.endpointInputAriaLabel",
|
|
|
|
defaultMessage: "URL of your Ampache instance (e.g. http://ampache.example.com)",
|
2016-08-10 23:50:23 +02:00
|
|
|
description: "ARIA label for the endpoint input",
|
2016-07-28 23:14:52 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "app.login.rememberMe",
|
|
|
|
description: "Remember me checkbox label",
|
2016-08-10 23:50:23 +02:00
|
|
|
defaultMessage: "Remember me",
|
2016-07-28 23:14:52 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "app.login.greeting",
|
|
|
|
description: "Greeting to welcome the user to the app",
|
2016-08-10 23:50:23 +02:00
|
|
|
defaultMessage: "Welcome back on Ampache, let's go!",
|
2016-07-31 01:05:08 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
// From the auth reducer
|
|
|
|
{
|
|
|
|
id: "app.login.connecting",
|
|
|
|
defaultMessage: "Connecting…",
|
2016-08-10 23:50:23 +02:00
|
|
|
description: "Info message while trying to connect",
|
2016-07-31 01:05:08 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "app.login.success",
|
|
|
|
defaultMessage: "Successfully logged in as { username }!",
|
2016-08-10 23:50:23 +02:00
|
|
|
description: "Info message on successful login.",
|
2016-07-31 01:05:08 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "app.login.byebye",
|
|
|
|
defaultMessage: "See you soon!",
|
2016-08-10 23:50:23 +02:00
|
|
|
description: "Info message on successful logout",
|
2016-08-01 00:26:52 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "app.login.expired",
|
|
|
|
defaultMessage: "Your session expired… =(",
|
2016-08-10 23:50:23 +02:00
|
|
|
description: "Error message on expired session",
|
|
|
|
},
|
2016-07-28 23:14:52 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
export default messages;
|