1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-02-24 08:22:56 +01:00

Fix book meta error message.

This commit is contained in:
KHobbits 2013-01-20 20:41:15 +00:00
parent 4f46e71b98
commit 3f38677952

View File

@ -1,5 +1,6 @@
package com.earth2me.essentials.textreader;
import static com.earth2me.essentials.I18n._;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
@ -25,7 +26,7 @@ public class BookPager
//This checks to see if we have the chapter in the index
if (!bookmarks.containsKey(pageStr.toLowerCase(Locale.ENGLISH)))
{
throw new Exception("No such /einfo chapter!");
throw new Exception(_("infoUnknownChapter"));
}
//Since we have a valid chapter, count the number of lines in the chapter