Chrisspitz
Member
Hello.
I'm attempting to create my first plugin.
For my plugin i'm attempting to make changes to the languages\english.php file.. I'm not adding new lines or 'deffinitions' i'm just trying to change all the phrases that say site or sites to servers.
I have gone through and edited all the lines to what I want them changed to.
Currently I have the files in my plugins directory:
index.html (blank file)
info.php (contains the plugin info
languages\english.php
Inside my english.php file I know is where the issue is. First of all I have tried uploading the plugin just to see if it worked with what I did, and only the 'delete' image in the plugin manager shows up, not the install button.. Not surprised because in my english.php file i'm not "telling" it to make any changes I just defined a bunch of things that are already in the english.php file... Anyway here is my english.php file hope someone understands and can help
EDIT: Lol learned my first lesson. I tried using a str replace command and tested it with one of those.. It sort of worked, but it ended up replacing my entire english.php file with what I had put in it.. Learning a little more about the plugin manager.. I'll mess with it more in a few hours after I get home from work.
I'm attempting to create my first plugin.
For my plugin i'm attempting to make changes to the languages\english.php file.. I'm not adding new lines or 'deffinitions' i'm just trying to change all the phrases that say site or sites to servers.
I have gone through and edited all the lines to what I want them changed to.
Currently I have the files in my plugins directory:
index.html (blank file)
info.php (contains the plugin info
languages\english.php
Inside my english.php file I know is where the issue is. First of all I have tried uploading the plugin just to see if it worked with what I did, and only the 'delete' image in the plugin manager shows up, not the install button.. Not surprised because in my english.php file i'm not "telling" it to make any changes I just defined a bunch of things that are already in the english.php file... Anyway here is my english.php file hope someone understands and can help
Code:
<?php
if (!defined('ATSPHP')) {
die("This file cannot be accessed directly.");
}
// When you make a new translation, fill out the following four variables to
// get credit for you work.
$translation = 'English';
$translator_name = 'Chrisspitz';
$translator_email = 'spitzchriz@gmail.com';
$translator_url = 'http://www.rubikscraft.com/';
// Set this to the character encoding of your translation
$LNG['charset'] = "iso-8859-1";
$LNG['search_no_sites'] = "Sorry, no servers matching your criteria were found."; // 5.0
$LNG['ssi_top'] = "Top %s Servers"; // 4.0
$LNG['ssi_all'] = "All Servers"; // 4.0
$LNG['a_main_approves'] = "There are %s servers waiting to be approved."; // 5.0
$LNG['a_main_approve_edit'] = "There is 1 server edit waiting to be approved."; // 5.2.0
$LNG['a_main_approve_edits'] = "There are %s server edits waiting to be approved."; // 5.2.0
$LNG['a_man_ban_instructions'] = "To ban sites and users from your VisioList, fill out the form below. When a member joins, the URL, email address, username, and IP address are checked. When a server is edited, the URL and email address are checked.<br /><br />The blacklist will not affect your existing members."; // 5.2.0
$LNG['a_s_button_info'] = "Would you like to count pageviews on your members servers?";
$LNG['a_s_button_url_static'] = "If Yes - URL to the default button you want to appear on members' servers";
$LNG['a_s_button_url_rank'] = "If Yes - URL to the default button you want to appear on members' servers ( for Members without Rank on button )";
$LNG['premium_sites'] = 'Premium Servers';
$LNG['edit_delay'] = "Changes to your server's title and URL must be approved by the administrator before taking effect."; // 5.2.0
$LNG['join_header'] = "Add Server";
$LNG['join_error_title'] = "Enter a title for your server name.";
$LNG['join_approve'] = "Thank you for joining! Your server will be listed when the admin approves it. You will receive an email with more information when your server is approved."; // 5.2.0
$LNG['lost_pw_email'] = "To pick a new password for your server, just go to this URL:"; // 5.0
$LNG['main_menu_join'] = "Add Your Server";
$LNG['table_your_site_here'] = "Your Server Here"; // 5.2.0
$LNG['rate_error'] = "You have already rated this server.";
$LNG['stats_rate'] = "Rate and Review This Server";
$LNG['a_edit_site_is'] = "This server is"; // 4.0
?>