OSDN Git Service

show warning when be.2ch.net is clicked.
authorikemo <ikemo@56b19765-1e22-0410-a548-a0f45d66c51a>
Fri, 31 Dec 2004 03:41:44 +0000 (03:41 +0000)
committerikemo <ikemo@56b19765-1e22-0410-a548-a0f45d66c51a>
Fri, 31 Dec 2004 03:41:44 +0000 (03:41 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/kita/kita/trunk@1618 56b19765-1e22-0410-a548-a0f45d66c51a

kita/src/kita.cpp
kita/src/part/po/kitapart.pot

index 76709d1..ecf779b 100644 (file)
@@ -787,6 +787,14 @@ void KitaMainWindow::slotOpenURLRequestExt(
     const KURL& usrUrl1, const KURL& usrUrl2,
     const QString& usrStr1, const QString& usrStr2 )
 {
+    // FIXME: support be.2ch.net
+    if ( url.host() == "be.2ch.net" ) {
+        QMessageBox::warning( this,
+                              "Kita",
+                              i18n( "be.2ch.net is currently not supported." ) );
+        return;
+    }
+
     kdDebug() << QString( "Requested OpenURL: \"%1\"" ).arg( url.url() ) << endl;
     kdDebug() << QString( "content type: \"%1\"" ).arg( args.contentType() ) << endl;
     kdDebug() << QString( "service type: \"%1\"" ).arg( args.serviceType ) << endl;
index f87897b..3572fb6 100644 (file)
@@ -7,7 +7,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2004-12-30 04:39+0900\n"
+"POT-Creation-Date: 2004-12-31 12:28+0900\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -63,7 +63,7 @@ msgstr ""
 msgid "Copy Link Location"
 msgstr ""
 
-#: kitahtmlpart.cpp:1213 kitahtmlpart.cpp:1643 kitahtmlpart.cpp:1707
+#: kitahtmlpart.cpp:1213 kitahtmlpart.cpp:1642 kitahtmlpart.cpp:1706
 msgid "Do you want to add '%1' to abone list ?"
 msgstr ""
 
@@ -119,15 +119,15 @@ msgstr ""
 msgid "add name to abone list"
 msgstr ""
 
-#: kitahtmlpart.cpp:1694
+#: kitahtmlpart.cpp:1693
 msgid "extract by ID"
 msgstr ""
 
-#: kitahtmlpart.cpp:1695
+#: kitahtmlpart.cpp:1694
 msgid "add id to abone list"
 msgstr ""
 
-#: kitahtmlpart.cpp:1978 kitahtmlpart.cpp:1993
+#: kitahtmlpart.cpp:1977 kitahtmlpart.cpp:1992
 msgid "None"
 msgstr ""