ACTION_CONVERT_AUXILIARY_USER_ROLES_DESCRIPTION = 'Convert auxiliary user roles'
ACTION_CONVERT_AUXILIARY_USER_ROLES_FAILURE = 'Failed to convert auxiliary user roles'
ACTION_CONVERT_AUXILIARY_USERS = 'Convert auxiliary users'
ACTION_CONVERT_AUXILIARY_USERS_FAILURE = 'Failed to convert auxiliary users'
CONVERTER_UNABLE_FIND_CLIENT_WITH_LOGIN = u'Unable to find a client with login "%s"'

ALLOWED_PLAN_PERMISSIONS = 'Allowed service template permissions: %s'
ACTION_CREATE_HOSTING_PLANS_FAILURE = 'Failed to create hosting plans'
CREATE_PLAN_OWNED_BY = "Create %s '%s' owned by %s"
ALLOWED_PLAN_HOSTING_SETTINGS = 'Allowed service template hosting settings: %s'
FAILED_TO_CREATE_SERVICE_TEMPLATE = "Failed to create %s '%s' of %s: %s"
FAILED_TO_CREATE_SERVICE_TEMPLATES_ON_TARGET = 'Failed to create the following plans on target panel:\n%s\n\nMigration will be stopped. Check the log above and debug.log for more details. \nTo continue migration, create these plans manually on target panel, \nor assign subscriptions to another plans with the help of migration list'
HOSTING_ADDON_PLAN = 'hosting addon plan'
ACTION_CREATE_HOSTING_PLANS_DESCRIPTION = 'Create hosting plans'
PLAN_ALREADY_EXISTS = "%s '%s' owned by %s already exists on the target panel, no need to create"
HOSTING_PLAN = 'hosting plan'
ALLOWED_SERVICE_TEMPLATE_LIMITS = 'Allowed service template limits: %s'
PLAN_SETTINGS = 'Plan settings: %s'
RESELLER_TITLE = "'%s' reseller"
PLAN_TITLE = "%s '%s' owned by %s"

ACTION_CREATE_RESELLER_PLANS_DESCRIPTION = "Create admin's reseller plans"
ACTION_CREATE_RESELLER_PLANS_FAILURE = "Failed to create admin's reseller plans"
CREATE_RESELLER_PLAN_CONVERSION_ERRORS = u"Unable to continue migration until there are no issues at 'error' level when creating admin's reseller plans. Please review the report tree above and fix the errors. "
FAILED_TO_CREATE_RESELLER_PLAN_SOLUTION = 'Check the log above and debug.log for more details.\nTo continue migration, create the plan manually on target panel\nor assign resellers to another plan with the help of migration list.'
FAILED_TO_CREATE_RESELLER_PLAN_ISSUE = "Failed to create reseller plan '%s': %s"
RESELLER_PLANS_CONVERSION_REPORT_TITLE = "Admin's reseller plans migration status"

ACTION_LIVE_MIGRATION_DESCRIPTION = "Migrate Subscription's process via CRIU"
ACTION_LIVE_MIGRATION_FAILURE = "Failed to migrate subscription's process"
LIVE_MIGRATION_CHECKING_APACHE_MODULES = 'Checking apache modules...'
LIVE_MIGRATION_CRIU_TOOLS_NOT_INSTALLED_SOLUTION = u'More information about CRIU described at http://criu.org'
LIVE_MIGRATION_CHECKING_SELINUX = 'Checking SElinux...'
LIVE_MIGRATION_APACHE_STARTED_ISSUE = u'The apache service is started. You must stop it to continue migration'
LIVE_MIGRATION_NOT_EQUAL_SYSUSER_ID_ISSUE = u'The identifications of sysuser on source node and on the target node are unequal.'
LIVE_MIGRATION_NOT_EQUAL_IPS_ISSUE = u'The IP addresses of source subscription and of target subscription are unequal.'
LIVE_MIGRATION_KERNEL_DOES_NOT_SUPPORT_CRIU_ISSUE = u'The kernel does not support CRIU:\n%s'
LIVE_MIGRATION_APACHE_STARTED_SOLUTION = u"To stop 'httpd' service: connect to target server using SSH and run 'apachectl stop'."
LIVE_MIGRATION_SELINUX_ENABLED_ISSUE = u'SELinux status is Enforcing. You must switch off SELinux.'
LIVE_MIGRATION_SELINUX_ENABLED_SOLUTION = 'The solution is described at http://kb.parallels.com/en/115626'
LIVE_MIGRATION_MODULES_NOT_INSTALLED_ISSUE = u'Some modules (%s) have not been installed. You must install them to continue migration.'
LIVE_MIGRATION_IP_ADDRESS_NOT_EXCLUSIVE_SOLUTION = u'Switch IP address of subscription to exclusive.'
LIVE_MIGRATION_UNSUPPORTED_APACHE_MODULES_ENABLED_ISSUE = u'Some modules (%s) are enabled. You must disable them to continue migration.'
LIVE_MIGRATION_CRITICAL_ERRORS = u"Unable to continue migration via CRIU until there are issues at the 'error' level in pre-migration checks. Please review issues tree above and fix the errors. "
LIVE_MIGRATION_UNSUPPORTED_PHP_HANDLER_TYPE_ISSUE = u"Unable to apply live migration for domain '%s': wrong PHP handler type."
LIVE_MIGRATION_NO_SUITABLE_DOMAIN_ISSUE = u'There is no suitable domain for live migration.'
LIVE_MIGRATION_PRE_CHECK_SOURCE_SERVER_REPORT_TITLE = 'Source server'
LIVE_MIGRATION_IP_ADDRESS_NOT_EXCLUSIVE_ISSUE = u'The IP address of subscription is not exclusive.'
LIVE_MIGRATION_CHECKING_PHAUL = 'Checking p.haul...'
LIVE_MIGRATION_NOT_EQUAL_IPS_SOLUTION = u'Please use IP mapping to migrate a subscription to the expected IP address.'
LIVE_MIGRATION_PRE_CHECK_REPORT_TITLE = 'Live migrations status'
LIVE_MIGRATION_KERNEL_DOES_NOT_SUPPORT_CRIU_SOLUTION = u'More information about CRIU described at http://criu.org'
LIVE_MIGRATION_NOT_EQUAL_SYSUSER_ID_SOLUTION = u'You can change sysuser id manually.'
LIVE_MIGRATION_TOOL_NOT_INSTALLED_ISSUE = u"The tool '%s' is not installed or not specified in the system PATH."
LIVE_MIGRATION_UNSUPPORTED_PHP_HANDLER_TYPE_SOLUTION = u' You must switch PHP handler to "Apache mode".'
LIVE_MIGRATION_CHECKING_CRIU = 'Checking criu...'
LIVE_MIGRATION_TOOL_NOT_CONFIGURED_ISSUE = u"The tool '%s' is not configured: %s"
LIVE_MIGRATION_PRE_CHECK_TARGET_SERVER_REPORT_TITLE = 'Target server'
LIVE_MIGRATION_CRIU_TOOLS_NOT_INSTALLED_ISSUE = u'The criu tools are not installed. You must install them to continue migration'
LIVE_MIGRATION_MOD_RUID2_NOT_ENABLED_ISSUE = u"Unable to apply live migration for domain '%s': mod_ruid2 is not enabled. ."
LIVE_MIGRATION_MOD_RUID2_NOT_ENABLED_SOLUTION = u' You must switch on mod_ruid2 in the "Additional directives for HTTP" in Web Server Settings for %s.'

ACTION_RESYNC_WEB_FILES_AFTER_LIVE_MIGRATION_DESCRIPTION = 'Re-sync web content'
ACTION_RESYNC_WEB_FILES_AFTER_LIVE_MIGRATION_FAILURE = 'Failed to re-sync web content'

GET_OS_TYPE_FOR_EXTERNAL_DB_SERVER_ISSUE = u'Trying to get OS type for external database server. Getting OS type for external database server is not implemented.'

TARGET_PLESK_SERVER_TITLE = 'target Plesk server'
TARGET_PLESK_SERVER_TITLE_WITH_IP = 'target Plesk server (%s)'

CLIENT_MAPPED_TO_RESELLER_THAT_DOES_NOT_EXIST_SOLUTION = u'Create this reseller in destination panel, or map client to some existing reseller'
CUSTOMER_BELONGS_TO_DIFFERENT_OWNER_RESELLER_SOLUTION = u'Fix migration list so customer belongs to the actual reseller'
CLIENT_IS_NOT_LISTED_IN_MIGRATION_LIST = u"Client '%s' is not listed in migration list, not including it into target model"
CREATE_TARGET_MODEL_OBJECTS = u'Form up target model objects based on source backups'
SUBSCRIPTION_NOT_LISTED_IN_MIGRATION_LIST = u"Subscription '%s' is not listed in migration list, not including it into target model"
CUSTOMER_BELONGS_TO_DIFFERENT_OWNER_RESELLER_ISSUE = u'According to migration list customer belongs to %s, but actually on target panel it belongs to another reseller'
CUSTOMER_BELONGS_TO_DIFFERENT_OWNER_ADMIN_RESELLER_ISSUE_SOLUTION = u'Fix migration list so customer belongs to administrator'
PLAN_DOES_NOT_EXIST_SOLUTION = u'Create a service template with this name, or assign subscription to other service template'
CUSTOMER_BELONGS_TO_DIFFERENT_OWNER_ADMIN_RESELLER_ISSUE = u"Customer belongs to administrator on target panel, but according to migration list it belongs to reseller '%s'"
RESELLER_TITLE_LOWERCASE = u"reseller '%s'"
PLAN_DOES_NOT_EXIST_ISSUE = u"%s does not have a service template named '%s', unable to make a subscription on it. Subscription will not be transferred."
CONVERT_BACKUP = u'Convert backup'
CUSTOMER_DOES_NOT_EXIST_ISSUE = u"Customer '%s' does not exist in source or in destination panel, subscription will not be transferred."
CUSTOMER_DOES_NOT_EXIST_ISSUE_SOLUTION = u'Create the customer with such login manually, or map subscription to any other existing customer.'
CLIENT_MAPPED_TO_RESELLER_THAT_DOES_NOT_EXIST_ISSUE = u"Client is mapped to an unexisting reseller '%s'"

IP_MAPPING_NO_SUCH_IP_SOLUTION = "Either add such IP address to the target Plesk server, or migrate subscription to another address by specifying '%s: <ip>' in the migration list. Also you can change IP address after migration is finished."
IP_MAPPING_NO_MORE_SHARED_IP_SOLUTION = 'Add more shared IP addresses to target panel or change IP addresses of migrated subscriptions after migration'
IP_MAPPING_IP_ASSIGNED_TO_ANOTHER_OWNER_SOLUTION = "Migrate subscription to another address by specifying '%s: <ip>' in the migration list. Also you can change IP address after migration is finished."
IP_MAPPING_NO_MORE_EXCLUSIVE_IP_ISSUE = 'There is not enough free exclusive %s addresses on target Plesk to map all source exclusive IP addresses. This subscription will be migrated to default shared IP address'
IP_MAPPING_NO_MORE_EXCLUSIVE_IP_SOLUTION = 'Add more free exclusive IP addresses to target panel or change IP addresses of migrated subscriptions after migration'
IP_MAPPING_NO_FREE_EXCLUSIVE_IP_SOLUTION = 'To migrate subscription to exclusive %s, add more free exclusive IP addresses on the target Plesk server. Also you can change IP address after migration is finished.'
IP_MAPPING_NO_SHARED_IP_ISSUE = 'There is no shared %s address on target Plesk. Subscription can not be migrated.'
IP_MAPPING_NO_SUCH_IP_ISSUE = "Subscription is assigned to %s address '%s' which does not exist on the target Plesk server. Subscription will be migrated to default shared IP."
IP_MAPPING_NO_FREE_EXCLUSIVE_IP_ISSUE = 'Subscription is assigned to exclusive IP address, but there are no free exclusive IP addresses left. Subscription will be migrated to default shared IP address.'
IP_MAPPING_NO_SHARED_IP_SOLUTION = 'Fix Plesk configuration so there is at least one shared %s address'
IP_MAPPING_NO_MORE_SHARED_IP_ISSUE = 'There is not enough shared %s addresses on target Plesk to map all source shared IP addresses. This subscription will be migrated to default shared IP address'
IP_MAPPING_IP_ASSIGNED_TO_ANOTHER_OWNER_ISSUE = "Subscription is assigned to %s address '%s'which is also assigned to another reseller/client. Subscription will be migrated to default shared IP."

NO_SUCH_ADMIN_RESELLER_PLAN_ISSUE = "Reseller plan '%s' specified in migration list file does not exist"
NO_SUCH_ADMIN_RESELLER_PLAN_SOLUTION = 'Fix migration list so existing plan is used, or create reseller plan with such name'
ADMIN_RESELLER_PLAN_ON_MULTIPLE_SOURCES_ISSUE = "Reseller plan '%s' specified in migration list file exists on multiple source panels.Plan from '%s' will be used during migration"
LOG_RESELLER_ADMIN_PLAN_ALREADY_EXISTS = "Reseller plan '%s' already exists on target panel, it will be used during migration"
LOG_CONVERT_SOURCE_PANEL_ADMIN_RESELLER_PLANS = u"Convert source panel's admin's reseller plans"
LOG_MERGE_ADMIN_RESELLER_PLANS = u"Merge admin's reseller plans"
LOG_CONVERT_TARGET_ADMIN_RESELLER_PLANS = u"Convert target panel admin's reseller plans"
LOG_CONVERT_ADMIN_RESELLER_PLANS = u"Convert admin's reseller plans"

SKIPPED_CREATING_EXISTING_AUXILIARY_USER = "Skipped creating an existing auxuser '%s'."
USER_PASSWORD_DOES_NOT_MEET_PLESK_REQUIREMENTS = "User password does not meet Plesk requirements. A temporary password is generated: '%s'"
TARGET_PANEL_PLESK_TITLE = 'Plesk'

UNIX_IMPORT_API_REPAIR_WEBSPACE_NOT_APPLICABLE = u'Repair webspace security is a Windows-specific function and can not be applied to Plesk for Unix'
UNIX_IMPORT_API_REFRESH_NODE_COMPONENTS_NOT_APPLICABLE = u'Refresh node components is a Windows-specific function and can not be applied to Plesk for Unix'
UNIX_IMPORT_API_GET_DEDICATED_APP_POOL_USER_NOT_APPLICABLE = u'Get dedicated application pool user is a Windows-specific function and can not be applied to Plesk for Unix'
UNIX_IMPORT_API_UPDATE_SECURITY_METADATA_LOCATION_NOT_APPLICABLE = u'Update webspace subdomains security metadata location is a Windows-specific function and can not be applied to Plesk for Unix'

TARGET_PLESK_VERSION_NOT_SUPPORTED = 'Migration to Plesk %s is not supported. We strongly recommend that you install Plesk 12.0 or later for migration, or upgrade the current installation to the latest version. If you still want to migrate to a Plesk version earlier than 12.0, use the migration tools bundled with Plesk (not recommended).'
UNABLE_TO_FIND_DB_SERVER_ON_TARGET_ISSUE = 'Unable to find %s database server on target panel'

LOG_EXCEPTION = 'Exception: '
SUBSCRIPTION_WAS_ALREADY_CREATED = (
	"Subscription already exists on target server: most probably it was created at the previous attempt, "
	"but migration tools are not sure if it was created correctly. It is recommended to:\n"
	"1) Resolve the original issue that caused subscription creation to fail, "
	"delete subscription, and then run migration again.\n"
	"OR\n"
	"2) Ensure that created subscription is fine, or the original issue is minor, "
	"then simply run migration for that subscription again."
)

ACTION_CHECK_TARGET_LICENSE_LIMIT_DESCRIPTION = 'Check license limits on target Plesk server'
ACTION_CHECK_TARGET_LICENSE_LIMIT_FAILURE = 'Failed to check license limits on target Plesk server'
LOG_DOMAINS_ON_TARGET = 'Domains on target server: {domains_count}'
LOG_LICENSE_LIMIT_ON_TARGET = 'License limit for domains on target server: {domains_count}'
LOG_DOMAINS_ON_SOURCE = 'Domains on source server: {domains_count}'
NOT_ENOUGH_DOMAINS_IN_LICENSE_ISSUE = (
	"Target Plesk server license has less available domains that required for migration. "
	"Number of available domains according to license limitations: {available}. "
	"Number of domains we are going to migrate: {required}."
)
NOT_ENOUGH_DOMAINS_IN_LICENSE_SOLUTION = (
	"Obtain and install license on target Plesk server that have more domains available."
)