1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

Issue #5465 Plugin language file conversion.

This commit is contained in:
camer0n
2025-04-11 07:23:45 -07:00
parent 9de234324c
commit bea796463e
74 changed files with 1787 additions and 2263 deletions

View File

@@ -23,81 +23,78 @@
* @version $Id$;
*/
if (!defined("e107_INIT")) { exit; }
//define("LAN_CONTINUE","Continue"); Now global definition
// define("LAN_CONVERT_01","Import into e107");
// define("LAN_CONVERT_02","Import data from Wordpress, Joomla, Drupal, Blogspot, RSS and other formats.");
define("LAN_CONVERT_03","You must start with a clean E107 database, other than the main admin user (ID=1)");
define("LAN_CONVERT_04","Field(s) left blank, please go back and re-enter values.");
define("LAN_CONVERT_05","Running this script may empty many of your E107 tables - make sure you have a full backup before continuing!");
define("LAN_CONVERT_06","Import data type");
define("LAN_CONVERT_07","CSV Format Specification");
define("LAN_CONVERT_08","Existing database");
define("LAN_CONVERT_09","Connection details for source database");
define("LAN_CONVERT_10","Passwords in source file are not encrypted");
define("LAN_CONVERT_11","Source data details");
define("LAN_CONVERT_12","Basic username and password");
define("LAN_CONVERT_13","CSV File");
define("LAN_CONVERT_14","Format of import database");
define("LAN_CONVERT_15","No import converters available");
define("LAN_CONVERT_16","Initial user class(es)");
define("LAN_CONVERT_17","Password in CSV file is not already encrypted");
define("LAN_CONVERT_18","(Password must be stored with MD5 encryption)");
define("LAN_CONVERT_19","Database Host");
define("LAN_CONVERT_20","Database Username");
define("LAN_CONVERT_21","Database Password");
define("LAN_CONVERT_22","Database Name");
define("LAN_CONVERT_23","Database Table Prefix");
define("LAN_CONVERT_24","Areas to import");
define("LAN_CONVERT_25","Users");
define("LAN_CONVERT_26","Forum Definitions");
define("LAN_CONVERT_27","Polls");
define("LAN_CONVERT_28","News");
define("LAN_CONVERT_29","Database import completed");
define("LAN_CONVERT_30","Import routine Information");
define("LAN_CONVERT_31","CSV data file does not exist, or invalid permissions");
define("LAN_CONVERT_32","Error reading CSV data file");
define("LAN_CONVERT_33","Error in CSV data line ");
define("LAN_CONVERT_34","Error: [x] while writing to user database, line ");
define("LAN_CONVERT_35","CSV import completed. [x] read, [y] users added, [z] errors");
define("LAN_CONVERT_36","Filename for CSV data");
define("LAN_CONVERT_37","Invalid format specification for import type");
define("LAN_CONVERT_38","Delete existing data");
define("LAN_CONVERT_39","(If you don't, the posters of imported data will be shown as 'Anonymous')");
define("LAN_CONVERT_40","Existing data deleted");
define("LAN_CONVERT_41","Required database access field is empty");
define("LAN_CONVERT_42","Error in definition file - required class does not exist");
define("LAN_CONVERT_43","Error connecting to source database");
define("LAN_CONVERT_44","Query setup error for ");
define("LAN_CONVERT_45","Cannot read import code file");
define("LAN_CONVERT_46","Error: [x] while writing to [y] database, line ");
define("LAN_CONVERT_47","Batch [w] import completed. [x] read, [y] added, [z] errors");
define("LAN_CONVERT_48","Forum posts");
define("LAN_CONVERT_49","Drupal");
define("LAN_CONVERT_50","Basic import");
define("LAN_CONVERT_51","The version of targeted Drupal.");
define("LAN_CONVERT_52","Drupal Version");
define("LAN_CONVERT_53","The base URL of Drupal website (e.g., http://mydrupalsite.com).");
define("LAN_CONVERT_54","Drupal Base URL");
define("LAN_CONVERT_55","The base URL path (i.e., directory) of the Drupal installation (e.g., /drupal/).");
define("LAN_CONVERT_56","Drupal Base Path");
define("LAN_CONVERT_57", "No error");
define("LAN_CONVERT_58", "Can't change main admin data");
define("LAN_CONVERT_59", "invalid field passed");
define("LAN_CONVERT_60", "Mandatory field not set");
define("LAN_CONVERT_61", "User already exists");
define("LAN_CONVERT_62", "Invalid characters in user or login name");
define("LAN_CONVERT_63", "Error saving extended user fields");
define("LAN_CONVERT_64", "Select");
define("LAN_CONVERT_65", "Pages");
define("LAN_CONVERT_66", "Page Chapters");
define("LAN_CONVERT_67", "Links");
define("LAN_CONVERT_68", "Media");
define("LAN_CONVERT_69", "Forum");
define("LAN_CONVERT_70", "Forum Topics/Threads");
define("LAN_CONVERT_71", "Forum Posts");
define("LAN_CONVERT_72", "Forum Track");
define("LAN_CONVERT_73", "Userclasses");
define("LAN_CONVERT_74", "News Categories");
return [
'LAN_CONVERT_03' => "You must start with a clean E107 database, other than the main admin user (ID=1)",
'LAN_CONVERT_04' => "Field(s) left blank, please go back and re-enter values.",
'LAN_CONVERT_05' => "Running this script may empty many of your E107 tables - make sure you have a full backup before continuing!",
'LAN_CONVERT_06' => "Import data type",
'LAN_CONVERT_07' => "CSV Format Specification",
'LAN_CONVERT_08' => "Existing database",
'LAN_CONVERT_09' => "Connection details for source database",
'LAN_CONVERT_10' => "Passwords in source file are not encrypted",
'LAN_CONVERT_11' => "Source data details",
'LAN_CONVERT_12' => "Basic username and password",
'LAN_CONVERT_13' => "CSV File",
'LAN_CONVERT_14' => "Format of import database",
'LAN_CONVERT_15' => "No import converters available",
'LAN_CONVERT_16' => "Initial user class(es)",
'LAN_CONVERT_17' => "Password in CSV file is not already encrypted",
'LAN_CONVERT_18' => "(Password must be stored with MD5 encryption)",
'LAN_CONVERT_19' => "Database Host",
'LAN_CONVERT_20' => "Database Username",
'LAN_CONVERT_21' => "Database Password",
'LAN_CONVERT_22' => "Database Name",
'LAN_CONVERT_23' => "Database Table Prefix",
'LAN_CONVERT_24' => "Areas to import",
'LAN_CONVERT_25' => "Users",
'LAN_CONVERT_26' => "Forum Definitions",
'LAN_CONVERT_27' => "Polls",
'LAN_CONVERT_28' => "News",
'LAN_CONVERT_29' => "Database import completed",
'LAN_CONVERT_30' => "Import routine Information",
'LAN_CONVERT_31' => "CSV data file does not exist, or invalid permissions",
'LAN_CONVERT_32' => "Error reading CSV data file",
'LAN_CONVERT_33' => "Error in CSV data line",
'LAN_CONVERT_34' => "Error: [x] while writing to user database, line",
'LAN_CONVERT_35' => "CSV import completed. [x] read, [y] users added, [z] errors",
'LAN_CONVERT_36' => "Filename for CSV data",
'LAN_CONVERT_37' => "Invalid format specification for import type",
'LAN_CONVERT_38' => "Delete existing data",
'LAN_CONVERT_39' => "(If you don't, the posters of imported data will be shown as 'Anonymous')",
'LAN_CONVERT_40' => "Existing data deleted",
'LAN_CONVERT_41' => "Required database access field is empty",
'LAN_CONVERT_42' => "Error in definition file - required class does not exist",
'LAN_CONVERT_43' => "Error connecting to source database",
'LAN_CONVERT_44' => "Query setup error for",
'LAN_CONVERT_45' => "Cannot read import code file",
'LAN_CONVERT_46' => "Error: [x] while writing to [y] database, line",
'LAN_CONVERT_47' => "Batch [w] import completed. [x] read, [y] added, [z] errors",
'LAN_CONVERT_48' => "Forum posts",
'LAN_CONVERT_49' => "Drupal",
'LAN_CONVERT_50' => "Basic import",
'LAN_CONVERT_51' => "The version of targeted Drupal.",
'LAN_CONVERT_52' => "Drupal Version",
'LAN_CONVERT_53' => "The base URL of Drupal website (e.g., http://mydrupalsite.com).",
'LAN_CONVERT_54' => "Drupal Base URL",
'LAN_CONVERT_55' => "The base URL path (i.e., directory) of the Drupal installation (e.g., /drupal/).",
'LAN_CONVERT_56' => "Drupal Base Path",
'LAN_CONVERT_57' => "No error",
'LAN_CONVERT_58' => "Can't change main admin data",
'LAN_CONVERT_59' => "invalid field passed",
'LAN_CONVERT_60' => "Mandatory field not set",
'LAN_CONVERT_61' => "User already exists",
'LAN_CONVERT_62' => "Invalid characters in user or login name",
'LAN_CONVERT_63' => "Error saving extended user fields",
'LAN_CONVERT_64' => "Select",
'LAN_CONVERT_65' => "Pages",
'LAN_CONVERT_66' => "Page Chapters",
'LAN_CONVERT_67' => "Links",
'LAN_CONVERT_68' => "Media",
'LAN_CONVERT_69' => "Forum",
'LAN_CONVERT_70' => "Forum Topics/Threads",
'LAN_CONVERT_71' => "Forum Posts",
'LAN_CONVERT_72' => "Forum Track",
'LAN_CONVERT_73' => "Userclasses",
'LAN_CONVERT_74' => "News Categories",
];

View File

@@ -5,5 +5,8 @@
*
* 'Import plugin' global language defines
*/
define("LAN_PLUGIN_IMPORT_NAME", "Import into e107");
define("LAN_PLUGIN_IMPORT_DESCRIPTION", "Import data from Wordpress, Joomla, Drupal, Blogpost, RSS and other formats.");
return [
'LAN_PLUGIN_IMPORT_NAME' => "Import into e107",
'LAN_PLUGIN_IMPORT_DESCRIPTION' => "Import data from Wordpress, Joomla, Drupal, Blogpost, RSS and other formats.",
];