diff options
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/textreader/BookPager.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/textreader/BookPager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/textreader/BookPager.java b/Essentials/src/com/earth2me/essentials/textreader/BookPager.java index 1a2d80e9e..58dde6ca5 100644 --- a/Essentials/src/com/earth2me/essentials/textreader/BookPager.java +++ b/Essentials/src/com/earth2me/essentials/textreader/BookPager.java @@ -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 |