diff options
author | KHobbits <rob@khobbits.co.uk> | 2013-01-20 20:41:15 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2013-01-20 20:41:15 +0000 |
commit | aee2cff57fbe1d6228475534a17c20cdeb11d241 (patch) | |
tree | 24a4b278c25c73556a564ae23271dde2901f7c88 | |
parent | f5364907e5f793c038d92a442f646cdd35c8c922 (diff) | |
download | Essentials-aee2cff57fbe1d6228475534a17c20cdeb11d241.tar Essentials-aee2cff57fbe1d6228475534a17c20cdeb11d241.tar.gz Essentials-aee2cff57fbe1d6228475534a17c20cdeb11d241.tar.lz Essentials-aee2cff57fbe1d6228475534a17c20cdeb11d241.tar.xz Essentials-aee2cff57fbe1d6228475534a17c20cdeb11d241.zip |
Fix book meta error message.
-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 |