Skip to content

Commit 94e44f6

Browse files
committed
Some text fixes
2 parents d5e1987 + d5e1987 commit 94e44f6

File tree

2 files changed

+28
-21
lines changed

2 files changed

+28
-21
lines changed

src/main/java/com/jagex/runescape/language/English.java

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,27 @@
44
import tech.henning.fourthreefive.Configuration;
55

66
public class English {
7+
8+
public static final String[] createAccountText = {
9+
"To create a new account, all you need",
10+
"to do is ",
11+
"and choose the 'create account'",
12+
"button near the top of that page."
13+
};
14+
15+
public static final String[] runejsLoginText = {
16+
17+
};
18+
19+
public static final String newUser = "New User";
20+
public static final String existingUser = "Existing user";
21+
public static final String cancel = "Cancel";
22+
public static final String login = "Login";
23+
public static final String welcomeTo = "Welcome to " + Configuration.SERVER_DISPLAY_NAME;
24+
public static final String createAFreeAccount = "Create a free account";
25+
public static final String enterYourUsernameAndPassword = "Enter your username & password.";
26+
27+
728
public static String suffixFromYourIgnoreListFirst = " from your ignore list first";
829
public static String suffixHasLoggedIn = " has logged in.";
930
public static String suffixHasLoggedOut = " has logged out.";
@@ -14,24 +35,20 @@ public class English {
1435
public static String addIgnore = "Add ignore";
1536
public static String asItWasUsedToBreakOurRules = "as it was used to break our rules.";
1637
public static String attack = "Attack";
17-
public static String suffixButtonNearTheTopOfThatPage = "button near the top of that page.";
1838
public static String cabbage = "Cabbage";
1939
public static String checkingForUpdates = "Checking for updates - ";
2040
public static String clickToContinue = "Click to continue";
2141
public static String connectingToFriendserver = "Connecting to friendserver";
2242
public static String connectingToServer = "Connecting to server...";
23-
public static String createAFreeAccount = "Create a free account";
2443
public static String prefixEnterMessageToSendTo = "Enter message to send to ";
2544
public static String enterNameOfFriendToDeleteFromList = "Enter name of friend to delete from list";
2645
public static String enterNameOfPlayerToAddToList = "Enter name of player to add to list";
2746
public static String enterNameOfPlayerToDeleteFromList = "Enter name of player to delete from list";
2847
public static String enterName = "Enter name:";
2948
public static String enterObjectName = "Enter object name";
30-
public static String enterYourUsernameAndPassword = "Enter your username & password.";
3149
public static String errorConnectingToServer = "Error connecting to server.";
3250
public static String errorLoadingYourProfile = "Error loading your profile.";
3351
public static String examine = "Examine";
34-
public static String existingUser = "Existing user";
3552
public static String effectFlash3 = "flash3:";
3653
public static String friends = "Friends";
3754
public static String from = "From";
@@ -86,7 +103,6 @@ public class English {
86103
public static String take = "Take";
87104
public static String thisComputersAddressHasBeenBlocked = "This computers address has been blocked";
88105
public static String theWorldIsFull = "This world is full.";
89-
public static String toCreateANewAccountYouNeedTo = "To create a new account you need to";
90106
public static String toPlayOnThisWorldMoveToFreeArea = "To play on this world move to a free area first";
91107
public static String to = "To";
92108
public static String trade = "Trade";
@@ -107,7 +123,6 @@ public class English {
107123
public static String loginLimitExceeded = "Login limit exceeded.";
108124
public static String pleaseWaitAttemptingToReestablish = "Please wait - attempting to reestablish";
109125
public static String connectionTimedOut = "Connection timed out.";
110-
public static String newUser = "New User";
111126
public static String pleaseTryUsingDifferentWorld = "Please try using a different world.";
112127
public static String invalidUsernameOrPassword = "Invalid username or password.";
113128
public static String pleaseCheckYourMessageCenterForDetails = "Please check your message-centre for details.";
@@ -117,14 +132,12 @@ public class English {
117132
public static String couldNotCompleteLogin = "Could not complete login.";
118133
public static String membersObject = "Members object";
119134
public static String badSessionId = "Bad session id.";
120-
public static String login = "Login";
121135
public static String pleaseSubscribeOrUseDifferentWorld = "Please subscribe, or use a different world.";
122136
public static String youNeedMembersAccountToLoginToThisWorld = "You need a members account to login to this world.";
123137
public static String serviceUnavailable = "Service unavailable.";
124138
public static String malformedLoginPacket = "Malformed login packet.";
125139
public static String pleaseTryAgain = "Please try again.";
126140
public static String pleaseWait1MinuteAndTryAgain = "Please wait 1 minute and try again.";
127-
public static String welcomeToRunescape = "Welcome to " + Configuration.SERVER_DISPLAY_NAME;
128141
public static String use = "Use";
129142
public static String accountLockedAsWeSuspectItHasBeenStolen = "Account locked as we suspect it has been stolen.";
130143
public static String loadedWordpack = "Loaded wordpack";
@@ -170,12 +183,9 @@ public class English {
170183
public static String publicChat = "Public chat";
171184
public static String connectingToUpdateServer = "Connecting to update server";
172185
public static String addFriend = "Add friend";
173-
public static String andChooseTheCreateAccount = "and choose the 'create account'";
174-
public static String goBackToTheMainRunescapeWebPage = "go back to the main " + Configuration.SERVER_DISPLAY_NAME + " webpage";
175186
public static String sContinue = "Continue";
176187
public static String ok = "Ok";
177188
public static String commandFpson = "::fpson";
178-
public static String cancel = "Cancel";
179189
public static String select = "Select";
180190
public static String pleaseWait = "Please wait...";
181191
}

src/main/java/com/jagex/runescape/scene/tile/WallDecoration.java

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import com.jagex.runescape.net.IncomingPackets;
2424
import com.jagex.runescape.net.PacketBuffer;
2525
import com.jagex.runescape.scene.InteractiveObject;
26-
import tech.henning.fourthreefive.whitelabel.Images;
2726

2827
import java.awt.*;
2928

@@ -345,7 +344,7 @@ public static void drawLoadingScreen(int arg0, TypeFace fontBold, TypeFace fontS
345344
if (Class51.currentAction == 10) {
346345
Class40_Sub5_Sub15.loginScreenBox.drawImage(0, 0);
347346
if (Class26.loginScreenState == 0) {
348-
fontBold.drawShadowedStringCenter(English.welcomeToRunescape, 180, 80, 16776960, true);
347+
fontBold.drawShadowedStringCenter(English.welcomeTo, 180, 80, 16776960, true);
349348
int drawX = 100;
350349
int drawY = 120;
351350
Class59.imgLoginScreenButton.drawImage(drawX - 73, drawY - 20);
@@ -391,16 +390,14 @@ public static void drawLoadingScreen(int arg0, TypeFace fontBold, TypeFace fontS
391390
int i = 180;
392391
int i_92_ = 150;
393392
int i_93_ = 65;
394-
fontBold.drawShadowedStringCenter(English.toCreateANewAccountYouNeedTo, 180, i_93_, 16777215, true);
395-
i_93_ += 15;
396-
fontBold.drawShadowedStringCenter(English.goBackToTheMainRunescapeWebPage, 180, i_93_, 16777215, true);
397-
i_93_ += 15;
398-
fontBold.drawShadowedStringCenter(English.andChooseTheCreateAccount, 180, i_93_, 16777215, true);
399-
i_93_ += 15;
400-
fontBold.drawShadowedStringCenter(English.suffixButtonNearTheTopOfThatPage, 180, i_93_, 16777215, true);
393+
394+
for(int textIndex = 0; textIndex < English.createAccountText.length; textIndex++) {
395+
fontBold.drawShadowedStringCenter(English.createAccountText[textIndex], 180, i_93_, 16777215, true);
396+
i_93_ += 15;
397+
}
398+
401399
Class59.imgLoginScreenButton.drawImage(-73 + i, i_92_ - 20);
402400
fontBold.drawShadowedStringCenter(English.cancel, i, 5 + i_92_, 16777215, true);
403-
i_93_ += 15;
404401
}
405402
}
406403
ProducingGraphicsBuffer.muteButton.prepareRasterizer();

0 commit comments

Comments
 (0)