<?php

/**
 * Repository of all the string resources used in Dropbox integration
 * for easy translation and management. 
 *
 */

class RM_MailPoet_UI_Strings
{
    public static function get($identifier)
    {
        switch($identifier)
        {
            
            case 'NAME_MAILPOET':
                return __('MailPoet','registrationmagic-addon');
                
            case 'LABEL_MAILPOET_INTEGRATION':
                return __('MailPoet Integration','registrationmagic-addon');
             
            case 'HELP_OPTIONS_THIRDPARTY_MC_ENABLE':
                return sprintf(__("This will allow you to fetch your MailPoet lists in individual form settings and map selective fields to your MailPoet fields. <a target='_blank' class='rm-more' href='%s'>More</a>", 'registrationmagic-addon'),'https://registrationmagic.com/knowledgebase/mailpoet-integration/#htmpintegration');
                
           case 'LABEL_MAILPOET_LIST':
                return __('Send To MailPoet Form', 'registrationmagic-addon');
   
            case 'HELP_ADD_FORM_MP_LIST':
                return sprintf(__("Required for connecting the form with a MailPoet Form(List). To make it work, please set MailPoet in Global Settings &#8594; <a target='blank' class='rm_help_link' href='%s'>External Integration</a>. <a target='_blank' class='rm-more' href='%s'>More</a>", 'registrationmagic-addon'),'admin.php?page=rm_options_thirdparty','https://registrationmagic.com/knowledgebase/mailpoet-integration/#htmplist');

            case 'HELP_OPTIONS_THIRDPARTY_MP_ENABLE':
                return __('Enable MailPoet Integration', 'registrationmagic-addon');
                
            case 'MP_ERROR':
                return sprintf(__("<div class='rmnotice'><ul class='rm-notice-info'><div class='rm-notice-head'>Oops!! Something went wrong.</div><li>Possible causes:-</li><li><a target='_blank' href='%s'>MailPoet</a> is not installed/active.</li></ul></div>", 'registrationmagic-addon'),'https://wordpress.org/plugins/mailpoet/');
    
            case 'HELP_SUPP_DATE_FIELDS':
                 return __("Supports RM date format with dd,mm,yy", 'registrationmagic-addon');
    
            default:
                return __("NO STRING FOUND (rmdpx)", 'registrationmagic-addon');
        }
    }
}
