Skip to content

Commit

Permalink
Added more strings to be localized.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 4, 2001
1 parent e50de02 commit ec68b47
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions last/toby/util/TobyLanguage.java
Expand Up @@ -138,13 +138,12 @@ public class TobyLanguage


// Constants representing error messages...
public static String INTERNAL_ERROR = "Internal Error";
public static String INTERNAL_ERROR = "Internal error";
public static String EXPECTED_TOKEN = "Expected token";
public static String SYNTAX_ERROR = "Syntax error";
public static String BAD_ASSIGNMENT = "Assignment not allowed";
public static String DOUBLE_DEF = "Duplicate Definition";
public static String DOUBLE_DEF = "Duplicate definition";
public static String ORPHAN_CODE = "Code outside function";
public static String INTERNAL = "Internal error";
public static String BAD_TYPE = "Bad variable type";
public static String NOT_VAR = "Expected variable";
public static String NO_MAINLINE = "Expected mainline";
Expand All @@ -171,9 +170,15 @@ public class TobyLanguage
public static String ELSE_AFTER_ELSE = "Multiple ELSE statements";
public static String NO_VAR_DECL = "Can't declare variables here";
public static String FUNC_IN_FUNC = "FUNCTION within function";
public static String DIV_BY_ZERO = "Division by Zero";
public static String DIV_BY_ZERO = "Division by zero";
public static String NOCURTURTLE = "No current turtle";
public static String TURTLE_FENCED = "Turtle past fence";
public static String OUT_OF_RANGE = "Out of range";
public static String OVERFLOW = "Overflow";
public static String NOT_AN_ARRAY = "Expected array";
public static String NO_RARRAY = "Expected \"]\"";
public static String NO_LARRAY = "Expected \"[\"";
public static String NOT_WHOLE_NUM = "Expected whole number";

public static String LANGIOEXCEPT = "LANGUAGE: IOException reading" +
" language data.";
Expand Down

0 comments on commit ec68b47

Please sign in to comment.