Localization enUS.php

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

Localization enUS.php

Postby tinboye » Sun Aug 01, 2010 10:25 pm

Hello,

I need a bit of help understanding part of the code within this file.
I wanted to add to the updating instructions with my own links and descriptions
I have already added the queries into the database
Code: Select all
INSERT INTO `roster_config`
VALUES ( 6101, 'guildprofiler', 'http://www.rpgoutfitter.com/downloads/rpgo-GuildProfiler-latest.zip', 'text{128|30', 'data_links' ) ;# 1 row(s) affected.
INSERT INTO `roster_config`
VALUES ( 6102, 'PVPlog', 'http://www.wowroster.net/Downloads/WoW%20AddOns/PvPLog-3.1.0.zip', 'text{128|30', 'data_links' ) ;# 1 row(s) affected.


and within the enUS.php
I added
Code: Select all
$lang['admin']['guildprofiler'] = "GuildProfiler download link|URL to download GuildProfiler";
$lang['admin']['PVPlog'] = "PVP Log download link|URL to download PVP Log";


the part i do not get is how its echoe'd
the code shows
Code: Select all
<li>Use <a href="%1$s" target="_blank">UniUploader</a><br />
%2$s</li>


which in turn shows
Use UniUploader
then the instructions from

then
<li>Download <a href="%3$s" target="_blank">Character Profiler</a></li>
which links to the data from the sql

but how do i have it so i can have the other links i added associate to the rest

the code i have now is
Code: Select all
<li>Use <a href="%1$s" target="_blank">UniUploader</a><br />
%2$s</li>
</ul>
<strong>Updating instructions:</strong>
<ol>
<li>Download <a href="%3$s" target="_blank">Character Profiler</a></li>
<li>Download <a href="%4$s" target="_blank">Guild Profiler</a></li>
<li>Download <a href="%5$s" target="_blank">PVP Log</a></li>
<li>Extract zips into its own directory in C:\Program Files\World of Warcraft\Interface\Addons\</li>


the <a href="%4$s" target="_blank"> and <a href="%5$s" target="_blank"> is where i need to know what numbers would associate to those sql queries i added. I dont see how that part of the coding works.

how does "%3$s" know to look at
Code: Select all
INSERT INTO `renprefix_config` VALUES (6100, 'profiler', 'http://www.rpgoutfitter.com/Addons/CharacterProfiler.cfm', 'text{128|30', 'data_links');
within the database

any help would be appreciated

thanks
tinboye
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Sat Nov 03, 2007 9:29 am

Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron