Skip to content

Commit

Permalink
Remove references to kvirc.de and kvirc.ru (#2559)
Browse files Browse the repository at this point in the history
* Remove reference to kvirc.de and kvirc.ru

* Fix directive #23
  • Loading branch information
ctrlaltca authored Oct 21, 2023
1 parent 4a51c0e commit 8bf47fd
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 29 deletions.
6 changes: 1 addition & 5 deletions data/defscript/toolbars.kvs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ toolbar.show options

toolbar.create help $tr("Help","defscript") $icon("help")
toolbar.additem help kvirc.helpindex
if($lang(short)==en)
toolbar.additem help kvirc.kvirchomepage
else
toolbar.additem help kvirc.kvircruhomepage
toolbar.additem help kvirc.separator
toolbar.additem help kvirc.kvirchomepage
toolbar.show help

toolbar.create scripting $tr("Scripting","defscript") $icon("scriptcenter")
Expand Down
2 changes: 1 addition & 1 deletion dist/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Build-Depends: debhelper (>= 9),
python-dev,
libenchant-dev
Standards-Version: 4.2.1
Homepage: http://www.kvirc.de/
Homepage: http://www.kvirc.net/

Package: kvirc
Architecture: any
Expand Down
1 change: 0 additions & 1 deletion src/kvirc/kernel/KviCoreActionNames.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
#define KVI_COREACTION_IRCACTIONS (KVI_COREACTION_NAME_PREFIX "ircactions")
#define KVI_COREACTION_HELPINDEX (KVI_COREACTION_NAME_PREFIX "helpindex")
#define KVI_COREACTION_KVIRCHOMEPAGE (KVI_COREACTION_NAME_PREFIX "kvirchomepage")
#define KVI_COREACTION_KVIRCRUHOMEPAGE (KVI_COREACTION_NAME_PREFIX "kvircruhomepage")
#define KVI_COREACTION_EDITREGUSERS (KVI_COREACTION_NAME_PREFIX "editregusers")
#define KVI_COREACTION_MANAGEADDONS (KVI_COREACTION_NAME_PREFIX "manageaddons")
#define KVI_COREACTION_THEMEOPTIONS (KVI_COREACTION_NAME_PREFIX "themeoptions")
Expand Down
11 changes: 0 additions & 11 deletions src/kvirc/kernel/KviCoreActions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,17 +329,6 @@ void register_core_actions(KviActionManager * m)
0,
QString());

SCRIPT_ACTION(
KVI_COREACTION_KVIRCRUHOMEPAGE,
"openurl http://www.kvirc.ru",
__tr2qs("KVIrc Russian WWW"),
__tr2qs("Opens the KVIrc homepage in Russian"),
KviActionManager::categoryGeneric(),
"kvi_bigicon_homepage.png",
KviIconManager::HomePage,
0,
QString());

SCRIPT_ACTION(
KVI_COREACTION_SCREENSHOT,
"theme.screenshot",
Expand Down
1 change: 0 additions & 1 deletion src/kvirc/kernel/KviInternalCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ static const char * internalCommandTable[KVI_NUM_INTERNAL_COMMANDS] = {
"dialog.file(open,$tr(\"Select a File - KVIrc\")){ if(!$str.isEmpty($0))parse $0; }",
"actioneditor.open",
"quit",
"openurl http://www.kvirc.ru",
JOIN_CHANNEL_ON_NETWORK("#KVIrc", "LiberaChat")
};

Expand Down
5 changes: 2 additions & 3 deletions src/kvirc/kernel/KviInternalCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@
#define KVI_INTERNALCOMMAND_EXECUTE_SCRIPT_FROM_DISK 25 // Unused
#define KVI_INTERNALCOMMAND_ACTIONEDITOR_OPEN 26 // Unused
#define KVI_INTERNALCOMMAND_QUIT 27
#define KVI_INTERNALCOMMAND_KVIRC_HOMEPAGE_RU 28
#define KVI_INTERNALCOMMAND_JOIN_KVIRC_ON_FREENODE 29
#define KVI_INTERNALCOMMAND_JOIN_KVIRC_ON_FREENODE 28

#define KVI_NUM_INTERNAL_COMMANDS 30
#define KVI_NUM_INTERNAL_COMMANDS 29

extern KVIRC_API const char * kvi_getInternalCommandBuffer(int idx);

Expand Down
5 changes: 0 additions & 5 deletions src/kvirc/ui/KviMenuBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,6 @@ void KviMenuBar::setupHelpPopup(QMenu * pop)
help->addSeparator();
pAction = help->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::HomePage)), __tr2qs("KVIrc Home&page"));
pAction->setData(KVI_INTERNALCOMMAND_KVIRC_HOMEPAGE);
if(QString::compare(KviLocale::instance()->localeName(), QLatin1String("ru"), Qt::CaseInsensitive) == 0)
{
pAction = help->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::HomePage)), __tr2qs("KVIrc Russian Home&page"));
pAction->setData(KVI_INTERNALCOMMAND_KVIRC_HOMEPAGE_RU);
}
help->addSeparator();
pAction = help->addAction(*(g_pIconManager->getSmallIcon(KviIconManager::Bug)), __tr2qs("Report a Bug / Propose Improvements"));
pAction->setData(KVI_INTERNALCOMMAND_OPENURL_KVIRC_BUGTRACK);
Expand Down
4 changes: 2 additions & 2 deletions src/modules/tip/libkvitip_ru.kvc
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ TranslatorHint=This-file-MUST-be-encoded-in-UTF8
20=KVIrc имеет встроенный клиент HTTP, и вы можете загрузить файлы из интернета используя команду <b>/http.get</b>.
21=Вам не нравится окно с деревом панели задач? Вы можете выбрать традиционную панель задач (такую же как в mIRC) в секции настроек панели задач.
22=Вы можете открыть соединения для многих серверов в одном окне KVIrc, просто выберите "Новый IRC контекст" в меню KVIrc.
23=KVIrc имеет встроенный гибкий механизм идентификации на NickServ. Если вы заинтересованы в его использовании, но не можете настроить самостоятельно, советуем прочитать инструкции на сайте http://www.kvirc.ru в разделе статьи.
24=Это последний совет. Вы можете добавлять свои собственные советы - наберите <b>/help tip.open</b>. Вы можете отослать свои советы (на любом языке) по адресу <b>alexey@kvirc.ru</b>.
23=KVIrc имеет встроенный гибкий механизм идентификации на NickServ. Настроить его можно в списке серверов: в свойстве IRC-сервера на вкладке Дополнительно в разделе SASL, а также в свойстве IRC-сети на вкладке NickServ.
24=Это последний совет. Вы можете добавлять свои собственные советы - наберите <b>/help tip.open</b>.

0 comments on commit 8bf47fd

Please sign in to comment.