diff options
Diffstat (limited to 'konq-plugins/uachanger')
-rw-r--r-- | konq-plugins/uachanger/uachangerplugin.cpp | 18 | ||||
-rw-r--r-- | konq-plugins/uachanger/uachangerplugin.desktop | 22 |
2 files changed, 20 insertions, 20 deletions
diff --git a/konq-plugins/uachanger/uachangerplugin.cpp b/konq-plugins/uachanger/uachangerplugin.cpp index a9efc26..dc241b7 100644 --- a/konq-plugins/uachanger/uachangerplugin.cpp +++ b/konq-plugins/uachanger/uachangerplugin.cpp @@ -116,13 +116,13 @@ void UAChangerPlugin::parseDescFiles() for ( ; it != lastItem; ++it ) { - TQString tmp = UA_PTOS("X-KDE-UA-FULL"); - TQString tag = UA_PTOS("X-KDE-UA-TAG"); + TQString tmp = UA_PTOS("X-TDE-UA-FULL"); + TQString tag = UA_PTOS("X-TDE-UA-TAG"); if(tag != "IE" && tag != "NN" && tag != "MOZ") tag = "OTHER"; - if ( (*it)->property("X-KDE-UA-DYNAMIC-ENTRY").toBool() ) + if ( (*it)->property("X-TDE-UA-DYNAMIC-ENTRY").toBool() ) { tmp.replace( TQFL1("appSysName"), TQFL1(utsn.sysname) ); tmp.replace( TQFL1("appSysRelease"), TQFL1(utsn.release) ); @@ -135,21 +135,21 @@ void UAChangerPlugin::parseDescFiles() continue; // Ignore dups! m_lstIdentity << tmp; - tmp = TQString("%1 %2").arg(UA_PTOS("X-KDE-UA-SYSNAME")).arg(UA_PTOS("X-KDE-UA-SYSRELEASE")); + tmp = TQString("%1 %2").arg(UA_PTOS("X-TDE-UA-SYSNAME")).arg(UA_PTOS("X-TDE-UA-SYSRELEASE")); if ( tmp.stripWhiteSpace().isEmpty() ) { if(tag == "NN" || tag == "IE" || tag == "MOZ") - tmp = i18n("Version %1").arg(UA_PTOS("X-KDE-UA-VERSION")); + tmp = i18n("Version %1").arg(UA_PTOS("X-TDE-UA-VERSION")); else - tmp = TQString("%1 %2").arg(UA_PTOS("X-KDE-UA-NAME")).arg(UA_PTOS("X-KDE-UA-VERSION")); + tmp = TQString("%1 %2").arg(UA_PTOS("X-TDE-UA-NAME")).arg(UA_PTOS("X-TDE-UA-VERSION")); } else { if(tag == "NN" || tag == "IE" || tag == "MOZ") - tmp = i18n("Version %1 on %2").arg(UA_PTOS("X-KDE-UA-VERSION")).arg(tmp); + tmp = i18n("Version %1 on %2").arg(UA_PTOS("X-TDE-UA-VERSION")).arg(tmp); else - tmp = i18n("%1 %2 on %3").arg(UA_PTOS("X-KDE-UA-NAME")).arg(UA_PTOS("X-KDE-UA-VERSION")).arg(tmp); + tmp = i18n("%1 %2 on %3").arg(UA_PTOS("X-TDE-UA-NAME")).arg(UA_PTOS("X-TDE-UA-VERSION")).arg(tmp); } m_lstAlias << tmp; @@ -174,7 +174,7 @@ void UAChangerPlugin::parseDescFiles() if(tag == "OTHER") m_mapBrowser[tag] = i18n("Other"); else - m_mapBrowser[tag] = UA_PTOS("X-KDE-UA-NAME"); + m_mapBrowser[tag] = UA_PTOS("X-TDE-UA-NAME"); } } diff --git a/konq-plugins/uachanger/uachangerplugin.desktop b/konq-plugins/uachanger/uachangerplugin.desktop index 9b15127..962b2f1 100644 --- a/konq-plugins/uachanger/uachangerplugin.desktop +++ b/konq-plugins/uachanger/uachangerplugin.desktop @@ -1,14 +1,14 @@ [Desktop Entry] -X-KDE-Library=UserAgentChanger -X-KDE-PluginInfo-Author=Dawit Alemayehu -X-KDE-PluginInfo-Email=adawit@kde.org -X-KDE-PluginInfo-Name=UserAgentChanger -X-KDE-PluginInfo-Version=3.3 -X-KDE-PluginInfo-Website= -X-KDE-PluginInfo-Category=Tools -X-KDE-PluginInfo-Depends= -X-KDE-PluginInfo-License=GPL -X-KDE-PluginInfo-EnabledByDefault=true +X-TDE-Library=UserAgentChanger +X-TDE-PluginInfo-Author=Dawit Alemayehu +X-TDE-PluginInfo-Email=adawit@kde.org +X-TDE-PluginInfo-Name=UserAgentChanger +X-TDE-PluginInfo-Version=3.3 +X-TDE-PluginInfo-Website= +X-TDE-PluginInfo-Category=Tools +X-TDE-PluginInfo-Depends= +X-TDE-PluginInfo-License=GPL +X-TDE-PluginInfo-EnabledByDefault=true Name=UserAgent Changer Name[bs]=Promjena identifikacije preglednika Name[ca]=Canvia l'agent d'usuari @@ -116,6 +116,6 @@ Comment[vi]=Bổ sung thay đổi tác nhân người dùng Comment[xh]=Plagela ngaphakathi utshintsho lomsebenzisiwomntu omele omnye Comment[zh_CN]=用来更换用户代理的插件 Comment[zh_TW]=改變使用者代理人的外掛程式 -X-KDE-ParentApp=konqueror +X-TDE-ParentApp=konqueror Icon=agent DocPath=konq-plugins/uachanger/index.html |