// (C) Copyright 2020 Hewlett-Packard Enterprise Company, L.P.
define([], function() {"use strict";
    return {
        "waiting" : {
            restarting : "Restarting",
            "waiting" : "Waiting",       
            "unreachable"  : "Temporarily unavailable",            
            "stopped" : "Waiting",
            "restartConfirmMsg" : "Are you sure you want to restart?",
            "confirmButton" : "Yes, restart",
            "cancelButton" : "Cancel",
            "title" : "Please wait...",
            "supportDumpConfirmMsg" : "A support dump is being created. The download will start automatically when it is ready."
        },
        "recovery" : {
            "message" : "This is where you will be able to recover the appliance when cluster quorum problems are encountered.",
            "title" : "Appliance Recovery"
        },
        "error" : {
            "title" : "Appliance Error",           
            "oops_message" : "Oops!",
            "kiosk_message" : "Restart the appliance. Contact your authorized support representative for assistance.",
            "broadcast_message" : "Restart the appliance and/or create a support dump.Contact your authorized support representative for assistance.",   
            restart_link : "Restart",
            "reset_link" : "Perform a factory reset",
            "support_dump_link" : "Create a support dump",
            restart : {
                failure : {
                    title : "Restart Failed",
                    message : "There was an error restarting the appliance.",
                    resolution : "Refer to the user guide for details."
                }
              },
              supportDump: {
                  title : "Create Support Dump",
                  message : "Creating a support dump may take a few minutes after which the file download will begin automatically.",
                  prompt : "Do you want to create a support dump now?",
                  confirm : "Yes, create",
                  failure : {
                      title : "Support Dump Creation Failed",
                      message : "There was an error creating the support dump.",
                      resolution : "Refer to the user guide for details."
                }
            },
            factoryReset : {
                title : "Reset Appliance",
                message : "This will erase data and settings. After restarting, restore from the last good backup.",
                prompt : "Are you sure you want to reset the appliance?",
                confirm : "Yes, reset",
                failure : {
                    title : "Factory Reset Failed",
                    message : "Factory Reset failed to start.",
                    resolution : "Refer to the user guide for details."
                }
            },
            cancel : "Cancel",
            close : "Close"
        },
        "restore" : {
            "message" : "Restoring",
            "title" : "Restore",
            "restoring_files" : "Restoring files",
            "restoring_db" : "Restoring database",
            "starting_services" : "Starting services",
            "completed" : "Restore completed successfully.",
            "failed" : "Failed to restore from backup.",
            "unknown" : "Failed to retrieve restore status."
        },

       "reset" : {           
            "title" : "Reset",
            "resetConfirmMsg" : "Are you sure you want to reset the appliance?",
            "confirmButton" : "Yes, reset",
            "cancelButton" : "Cancel",
            "closeButton" : "Close",
            "message" : "Resetting",
            "resetSuccess": "Factory reset successfully completed.",
            "resetFailure": "Factory reset failed to complete."           
            
        },

        "restoreError" : {
            "restoreFailMsg" : "Unable to restore from backup.",
            "restoreFailDetails" : "Appliance has been reset to factory settings.  Login with original, factory-set credentials.",
            "restoreCloseButton" : "Close"
        },

        "restoreNoResetError" : {
            "restoreFailMsg" : "Unable to restore from backup.",
            "restoreFailDetails" : "Create a new appliance from an HP-provided virtual machine image."
        },
        
        "starting" : {
            "startingMessage" : "Starting",
            "startingProgress" : "{0}%"
        },
        
        restarting : {
            title : "Restarting",
            message : "Restarting"
        },
        shutdown1 : {
            title : "Shutting down",
            message : "Shutting down"
        },
        shutdown2 : {
            title : "Unavailable",
            message : "Unavailable"
        },
        
        "upgrade" : {
            "message" : "Updating",
            "title" : "Update"
            
        },
        "unavailable" : {
            "message" : "Temporarily unavailable.",
            "title" : "Temporarily Unavailable"
        },
        "useFloating" : {
            "message" : "Please use an appliance floating address ({0}) - the fixed addresses should be used for setup and troubleshooting only.",
            "title" : "Use Floating Address"
        },
        "supportDump" : {
            "created_message" : "Support Dump created successfully.",
            "title" : "Support Dump Available",
            "error" : {
                "message" : "There was an error creating the support dump.",
                "title" : "Support Dump Creation Failed",
                "closeButton" : "Close"
            }
        }
    };
});
