<?php

namespace Yalogica\NinjaDraw\System;

use Yalogica\NinjaDraw\Models\SettingsModel;

defined('ABSPATH') || exit;

class I18n
{
  public function __construct() {}

  public static function getTranslation()
  {
    $translation = [
      'error_network_response' => esc_html__('Network response was not ok', 'ninjadraw'),
      'error_unknown' => esc_html__('An unknown error occurred', 'ninjadraw'),
      'operation_failed' => esc_html__('The operation failed', 'ninjadraw'),
      'operation_success' => esc_html__('The operation completed successfully', 'ninjadraw'),
      'upgrade' => esc_html__('This is the pro feature.', 'ninjadraw') . " <a target='_blank' href='" . NINJADRAW_UPGRADE_URL . "' rel='noreferrer'>" . esc_html__('Upgrade to get the full power.', 'ninjadraw') . '</a>',
      'limits_diagrams' => esc_html__('You can create only 5 diagrams. If you need more, upgrade to the pro version.', 'ninjadraw'),
      'limits_settings_save' => esc_html__('The ability to change and save settings is a pro feature.', 'ninjadraw'),
      'limits_settings_info' => esc_html__('You are currently using the Lite version of our plugin. Please note that this version does not support saving global settings. To access this feature and enjoy additional functionality, please consider upgrading to the pro version.', 'ninjadraw'),
      'close' => esc_html__('Close', 'ninjadraw'),
      'publish' => esc_html__('Publish', 'ninjadraw'),
      'switch_to_draft' => esc_html__('Switch to draft', 'ninjadraw'),
      'save' => esc_html__('Save', 'ninjadraw'),
      'sup' => SettingsModel::getSup(),
      'settings_header' => esc_html__('Settings', 'ninjadraw'),
      'editor_header' => esc_html__('Diagram', 'ninjadraw'),
      'editor_placeholder_title' => esc_html__('Add title...', 'ninjadraw'),
      'access'  => esc_html__('Permissions', 'ninjadraw'),
      'access_desc' => esc_html__('Use this section to control who can view and edit NinjaDraw diagrams. You can choose from three distinct access types to tailor permissions for selected roles:', 'ninjadraw'),
      'access_type_all' => esc_html__('All', 'ninjadraw'),
      'access_type_by_role' => esc_html__('By Role', 'ninjadraw'),
      'access_type_private' => esc_html__('Private', 'ninjadraw'),
      'access_type_all_desc' => esc_html__('When this option is selected, users have the ability to view and edit all diagrams based on their rights (view, create, edit, delete, publish).', 'ninjadraw'),
      'access_type_by_role_desc' => esc_html__('Users can view and edit diagrams based on their assigned role. For example, an editor can see diagrams created by other editors.', 'ninjadraw'),
      'access_type_private_desc' => esc_html__('This option ensures that only you, as the owner, can view and edit the diagrams. Rights are also taken into account.', 'ninjadraw'),
      'access_role' => esc_html__('Role', 'ninjadraw'),
      'access_type' => esc_html__('Access Type', 'ninjadraw'),
      'access_right_view' => esc_html__('View', 'ninjadraw'),
      'access_right_create' => esc_html__('Create', 'ninjadraw'),
      'access_right_edit' => esc_html__('Edit', 'ninjadraw'),
      'access_right_delete' => esc_html__('Delete', 'ninjadraw'),
      'access_right_publish' => esc_html__('Publish', 'ninjadraw'),
      'block_settings' => esc_html__('Settings', 'ninjadraw'),
      'block_select_item' => esc_html__('Diagram', 'ninjadraw'),
      'block_show_title' =>  esc_html__('Show Title', 'ninjadraw'),
      'block_edit' => esc_html__('Edit', 'ninjadraw'),
      'info_title_pro' => esc_html__('Congratulations!!!', 'ninjadraw'),
      'info_text_pro' => esc_html__('You are using the NinjaDraw Pro version.', 'ninjadraw'),
      'info_title_get_pro' => esc_html__('Get NinjaDraw Pro', 'ninjadraw'),
      'info_text_get_pro' => esc_html__('Unlock all features and premium support.', 'ninjadraw'),
      'info_title_youtube' => esc_html__('YouTube Channel', 'ninjadraw'),
      'info_text_youtube' => esc_html__('Watch our video to learn about all the features of NinjaDraw.', 'ninjadraw'),
      'info_title_support' => esc_html__('Support', 'ninjadraw'),
      'info_text_support' => esc_html__('Quickly get direct help from our qualified support team.', 'ninjadraw'),
      'info_title_docs' => esc_html__('Documentation', 'ninjadraw'),
      'info_text_docs' => esc_html__('Explore our comprehensive knowledge base to easily navigate and master all plugin features.', 'ninjadraw'),
      'info_title_suggest' => esc_html__('Suggest a Feature', 'ninjadraw'),
      'info_text_suggest' => esc_html__('Do you have ideas or suggestions for NinjaDraw? We would love to hear them.', 'ninjadraw'),
      'info_title_happyvr' => esc_html__('HappyVR', 'ninjadraw'),
      'info_text_happyvr' => esc_html__('Creates immersive 360 virtual tours for WordPress for real estate, museums, hotels and etc.', 'ninjadraw'),
      'info_title_picpoints' => esc_html__('PicPoints', 'ninjadraw'),
      'info_text_picpoints' => esc_html__('Generates interactive maps and multi-level floor plans for real estate, malls, resorts and etc.', 'ninjadraw'),
      'info_title_mediacommander' => esc_html__('MediaCommander', 'ninjadraw'),
      'info_text_mediacommander' => esc_html__('Organizes media, posts, pages in WordPress with folders simply and quickly.', 'ninjadraw'),
    ];

    return $translation;
  }
}
