diff --git a/honoka/plugins/wordsprediction.cpp b/honoka/plugins/wordsprediction.cpp index bf3fbb3..e766ca6 100644 --- a/honoka/plugins/wordsprediction.cpp +++ b/honoka/plugins/wordsprediction.cpp @@ -77,6 +77,10 @@ l.Title = utf8_mbstowcs(String(_("too many prediction results!"))); l.kType = PREDICTION; l.kouho.push_back(ResultEntry(str,word)); + } else if (res.size() == 0) { + l.Title = utf8_mbstowcs(String(_("no prediction results!"))); + l.kType = PREDICTION; + l.kouho.push_back(ResultEntry(str,word)); } else { l.Title = utf8_mbstowcs(String(_("lookup result"))); l.kType = PREDICTION; diff --git a/honoka/po/honoka.pot b/honoka/po/honoka.pot index 708cdc3..fcfb55b 100644 --- a/honoka/po/honoka.pot +++ b/honoka/po/honoka.pot @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-02-04 15:05+0900\n" +"POT-Creation-Date: 2006-02-04 15:19+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -558,7 +558,7 @@ #: plugins/wnnconversion.cpp:412 plugins/anthyconversion.cpp:169 #: plugins/anthyprediction.cpp:60 plugins/simpleprediction.cpp:91 #: plugins/primeprediction.cpp:179 plugins/skkdicconversion.cpp:122 -#: plugins/cannaconversion.cpp:201 plugins/wordsprediction.cpp:80 +#: plugins/cannaconversion.cpp:201 plugins/wordsprediction.cpp:85 msgid "lookup result" msgstr "" @@ -787,11 +787,15 @@ msgid "AsciiInput" msgstr "" -#: plugins/wordsprediction.cpp:76 +#: plugins/wordsprediction.cpp:77 msgid "too many prediction results!" msgstr "" -#: plugins/wordsprediction.cpp:123 +#: plugins/wordsprediction.cpp:81 +msgid "no prediction results!" +msgstr "" + +#: plugins/wordsprediction.cpp:128 msgid "WordsPrediction" msgstr "" diff --git a/honoka/po/ja.po b/honoka/po/ja.po index 1164c25..bb84267 100644 --- a/honoka/po/ja.po +++ b/honoka/po/ja.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: ja\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-02-04 15:05+0900\n" +"POT-Creation-Date: 2006-02-04 15:19+0900\n" "PO-Revision-Date: 2004-12-01 14:29+0900\n" "Last-Translator: TAM (Teppei Tamra) \n" "Language-Team: Japanese\n" @@ -566,7 +566,7 @@ #: plugins/wnnconversion.cpp:412 plugins/anthyconversion.cpp:169 #: plugins/anthyprediction.cpp:60 plugins/simpleprediction.cpp:91 #: plugins/primeprediction.cpp:179 plugins/skkdicconversion.cpp:122 -#: plugins/cannaconversion.cpp:201 plugins/wordsprediction.cpp:80 +#: plugins/cannaconversion.cpp:201 plugins/wordsprediction.cpp:85 msgid "lookup result" msgstr "候補一覧" @@ -755,8 +755,8 @@ "set the getting limit of prediction results. it doesn't display the results " "when the count of prediction results is more than this." msgstr "" -"取得する予測結果の限度を設定してください。" -"これを越える数の予測結果の場合は表示しません。" +"取得する予測結果の限度を設定してください。これを越える数の予測結果の場合は表" +"示しません。" #: plugins/asciiplugin.cpp:66 msgid "Low priority key: " @@ -801,11 +801,15 @@ msgid "AsciiInput" msgstr "英数字入力" -#: plugins/wordsprediction.cpp:76 +#: plugins/wordsprediction.cpp:77 msgid "too many prediction results!" -msgstr "候補多過ぎなので表示しません" +msgstr "予測候補多過ぎなので表示しません" -#: plugins/wordsprediction.cpp:123 +#: plugins/wordsprediction.cpp:81 +msgid "no prediction results!" +msgstr "予測候補はありません" + +#: plugins/wordsprediction.cpp:128 msgid "WordsPrediction" msgstr "英単語予測"