Browse Source

Fix references to user profile directory.

pull/1/head
Darrell Anderson 10 years ago
parent
commit
32b35bafbc
  1. 4
      po/bg.po
  2. 8
      po/ca.po
  3. 4
      po/da.po
  4. 4
      po/de.po
  5. 8
      po/es.po
  6. 4
      po/fr.po
  7. 8
      po/hu.po
  8. 4
      po/it.po
  9. 8
      po/ja.po
  10. 2
      po/kvpnc.pot
  11. 8
      po/nl.po
  12. 8
      po/pl.po
  13. 8
      po/pt_BR.po
  14. 8
      po/ru.po
  15. 8
      po/sk.po
  16. 8
      po/sv.po
  17. 4
      po/tr.po
  18. 8
      po/zh_CN.po
  19. 2
      src/configdebugoptionsbase.ui
  20. 10
      src/importopenvpnprofiledialog.cpp
  21. 2
      src/kvpnc.cpp

4
po/bg.po

@ -3346,9 +3346,9 @@ msgstr "Alt+C"
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
#, fuzzy
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr ""
"Разрешете това за запис в журнален файл. Може да го намерите в /root/.kde/"
"Разрешете това за запис в журнален файл. Може да го намерите в /root/.trinity/"
"share/apps/kvpnc/kvpnc.log"
#. i18n: file: configdebugoptionsbase.ui:143

8
po/ca.po

@ -3309,9 +3309,9 @@ msgstr ""
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
#, fuzzy
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr ""
"Activi això per escriure un arxiu de registre. Es troba a /root/.kde/share/"
"Activi això per escriure un arxiu de registre. Es troba a /root/.trinity/share/"
"apps/kvpnc/kvpnc.log"
#. i18n: file: configdebugoptionsbase.ui:143
@ -17212,10 +17212,10 @@ msgstr "error"
#~ msgstr "&Escriure arxiu de registre"
#~ msgid ""
#~ "Enable this to do writing a log file. Its located at /root/.kde/share/"
#~ "Enable this to do writing a log file. Its located at /root/.trinity/share/"
#~ "apps/kvpnc/kvpnc.log"
#~ msgstr ""
#~ "Activi això per escriure un arxiu de registre. Es troba a /root/.kde/"
#~ "Activi això per escriure un arxiu de registre. Es troba a /root/.trinity/"
#~ "share/apps/kvpnc/kvpnc.log"
#~ msgid "This is the debug level of vpnc"

4
po/da.po

@ -3307,8 +3307,8 @@ msgstr "Alt+F"
#. i18n: file: configdebugoptionsbase.ui:93
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgstr "Skriv log til fil: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr "Skriv log til fil: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
#. i18n: file: configdebugoptionsbase.ui:143
#. i18n: ectx: property (toolTip), widget (QSpinBox)

4
po/de.po

@ -3271,8 +3271,8 @@ msgstr "Alt+F"
#. i18n: file: configdebugoptionsbase.ui:93
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgstr "Schreibt Log-Datei in $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr "Schreibt Log-Datei in $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
#. i18n: file: configdebugoptionsbase.ui:143
#. i18n: ectx: property (toolTip), widget (QSpinBox)

8
po/es.po

@ -3314,9 +3314,9 @@ msgstr "Alt+E"
#. i18n: file: configdebugoptionsbase.ui:93
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr ""
"Guardar los registros en el archivo: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
"Guardar los registros en el archivo: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
#. i18n: file: configdebugoptionsbase.ui:143
#. i18n: ectx: property (toolTip), widget (QSpinBox)
@ -17111,11 +17111,11 @@ msgstr "error"
#~ msgstr "&Escribir el registro en un archivo"
#~ msgid ""
#~ "Enable this to do writing a log file. Its located at /root/.kde/share/"
#~ "Enable this to do writing a log file. Its located at /root/.trinity/share/"
#~ "apps/kvpnc/kvpnc.log"
#~ msgstr ""
#~ "Active esta opción para escribir el registro en un archivo. Su ruta será /"
#~ "root/.kde/share/apps/kvpnc/kvpnc.log"
#~ "root/.trinity/share/apps/kvpnc/kvpnc.log"
#~ msgid "This is the debug level of vpnc"
#~ msgstr "Este es el nivel de depuración de vpnc"

4
po/fr.po

@ -3337,9 +3337,9 @@ msgstr "Alt+F"
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
#, fuzzy
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr ""
"Activer ceci pour créer un fichier de log. Il est situé dans /root/.kde/"
"Activer ceci pour créer un fichier de log. Il est situé dans /root/.trinity/"
"share/apps/kvpnc/kvpnc.log"
#. i18n: file: configdebugoptionsbase.ui:143

8
po/hu.po

@ -3352,9 +3352,9 @@ msgstr "Alt+C"
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
#, fuzzy
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr ""
"Engedélyezd ezt, hogy naplófájlt írjon. Ennek a helye /root/.kde/share/apps/"
"Engedélyezd ezt, hogy naplófájlt írjon. Ennek a helye /root/.trinity/share/apps/"
"kvpnc/kvpnc.log"
#. i18n: file: configdebugoptionsbase.ui:143
@ -17307,10 +17307,10 @@ msgstr "hiba"
#~ msgstr "A naplófájl írása"
#~ msgid ""
#~ "Enable this to do writing a log file. Its located at /root/.kde/share/"
#~ "Enable this to do writing a log file. Its located at /root/.trinity/share/"
#~ "apps/kvpnc/kvpnc.log"
#~ msgstr ""
#~ "Engedélyezd ezt, hogy naplófájlt írjon. Ennek a helye /root/.kde/share/"
#~ "Engedélyezd ezt, hogy naplófájlt írjon. Ennek a helye /root/.trinity/share/"
#~ "apps/kvpnc/kvpnc.log"
#~ msgid "This is the debug level of vpnc"

4
po/it.po

@ -3284,9 +3284,9 @@ msgstr "Alt+F"
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
#, fuzzy
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr ""
"Abilita questo se vuoi scrivere un file di log in /root/.kde/share/apps/"
"Abilita questo se vuoi scrivere un file di log in /root/.trinity/share/apps/"
"kvpnc/kvpnc.log"
#. i18n: file: configdebugoptionsbase.ui:143

8
po/ja.po

@ -3298,8 +3298,8 @@ msgstr "Alt+F"
#. i18n: file: configdebugoptionsbase.ui:93
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgstr "ログを以下に出力します: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr "ログを以下に出力します: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
#. i18n: file: configdebugoptionsbase.ui:143
#. i18n: ectx: property (toolTip), widget (QSpinBox)
@ -16906,12 +16906,12 @@ msgstr "エラー"
#~ msgstr "ログファイルに出力(&W)"
#~ msgid ""
#~ "Enable this to do writing a log file. Its located at /root/.kde/share/"
#~ "Enable this to do writing a log file. Its located at /root/.trinity/share/"
#~ "apps/kvpnc/kvpnc.log"
#~ msgstr ""
#~ "ログをファイルに出力するには、このオプションを有効にしてください。ファイル"
#~ "は以下にあります。\n"
#~ "/root/.kde/share/apps/kvpnc/kvpnc.log"
#~ "/root/.trinity/share/apps/kvpnc/kvpnc.log"
#~ msgid "This is the debug level of vpnc"
#~ msgstr "これは vpnc のデバッグレベルです。"

2
po/kvpnc.pot

@ -3200,7 +3200,7 @@ msgstr ""
#. i18n: file: configdebugoptionsbase.ui:93
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr ""
#. i18n: file: configdebugoptionsbase.ui:143

8
po/nl.po

@ -3323,8 +3323,8 @@ msgstr "Alt+F"
#. i18n: file: configdebugoptionsbase.ui:93
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgstr "Logs schrijven naar bestand: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr "Logs schrijven naar bestand: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
#. i18n: file: configdebugoptionsbase.ui:143
#. i18n: ectx: property (toolTip), widget (QSpinBox)
@ -17109,11 +17109,11 @@ msgstr "error"
#~ msgstr "Logbestand schrij&ven"
#~ msgid ""
#~ "Enable this to do writing a log file. Its located at /root/.kde/share/"
#~ "Enable this to do writing a log file. Its located at /root/.trinity/share/"
#~ "apps/kvpnc/kvpnc.log"
#~ msgstr ""
#~ "Schakel dit in om naar een logbestand te schrijven. Het logbestand kan "
#~ "gevonden worden in /root/.kde/share/apps/kvpnc/kvpnc.log"
#~ "gevonden worden in /root/.trinity/share/apps/kvpnc/kvpnc.log"
#~ msgid "This is the debug level of vpnc"
#~ msgstr "Dit is het debuglevel van vpnc"

8
po/pl.po

@ -3297,8 +3297,8 @@ msgstr ""
#. i18n: file: configdebugoptionsbase.ui:93
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgstr "Zapisuj plik dziennika w: /root/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr "Zapisuj plik dziennika w: /root/.trinity/share/apps/kvpnc/kvpnc.log"
#. i18n: file: configdebugoptionsbase.ui:143
#. i18n: ectx: property (toolTip), widget (QSpinBox)
@ -16853,10 +16853,10 @@ msgstr "błąd"
#~ msgstr "Zapisuj plik dziennika"
#~ msgid ""
#~ "Enable this to do writing a log file. Its located at /root/.kde/share/"
#~ "Enable this to do writing a log file. Its located at /root/.trinity/share/"
#~ "apps/kvpnc/kvpnc.log"
#~ msgstr ""
#~ "Zaznacz aby zapisywać plik dziennika w /root/.kde/share/apps/kvpnc/kvpnc."
#~ "Zaznacz aby zapisywać plik dziennika w /root/.trinity/share/apps/kvpnc/kvpnc."
#~ "log"
#~ msgid "This is the debug level of vpnc"

8
po/pt_BR.po

@ -3310,9 +3310,9 @@ msgstr "Alt+C"
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
#, fuzzy
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr ""
"Habilitar isto para escrever um arquivo de log. Localizado em /root/.kde/"
"Habilitar isto para escrever um arquivo de log. Localizado em /root/.trinity/"
"share/apps/kvpnc/kvpnc.log"
#. i18n: file: configdebugoptionsbase.ui:143
@ -16971,10 +16971,10 @@ msgstr ""
#~ msgstr "Escrever aquivo de log"
#~ msgid ""
#~ "Enable this to do writing a log file. Its located at /root/.kde/share/"
#~ "Enable this to do writing a log file. Its located at /root/.trinity/share/"
#~ "apps/kvpnc/kvpnc.log"
#~ msgstr ""
#~ "Habilitar isto para escrever um arquivo de log. Localizado em /root/.kde/"
#~ "Habilitar isto para escrever um arquivo de log. Localizado em /root/.trinity/"
#~ "share/apps/kvpnc/kvpnc.log"
#~ msgid "This is the debug level of vpnc"

8
po/ru.po

@ -3318,9 +3318,9 @@ msgstr ""
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
#, fuzzy
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr ""
"Включите это для записи журнала в файл. Он находится в /root/.kde/share/apps/"
"Включите это для записи журнала в файл. Он находится в /root/.trinity/share/apps/"
"kvpnc/kvpnc.log"
#. i18n: file: configdebugoptionsbase.ui:143
@ -17172,10 +17172,10 @@ msgstr "ошибка"
#~ msgstr "&Записывать в файл журнала"
#~ msgid ""
#~ "Enable this to do writing a log file. Its located at /root/.kde/share/"
#~ "Enable this to do writing a log file. Its located at /root/.trinity/share/"
#~ "apps/kvpnc/kvpnc.log"
#~ msgstr ""
#~ "Включите это для записи журнала в файл. Он находится в /root/.kde/share/"
#~ "Включите это для записи журнала в файл. Он находится в /root/.trinity/share/"
#~ "apps/kvpnc/kvpnc.log"
#~ msgid "This is the debug level of vpnc"

8
po/sk.po

@ -3309,8 +3309,8 @@ msgstr "Alt+F"
#. i18n: file: configdebugoptionsbase.ui:93
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgstr "Zapísať logy do súboru: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr "Zapísať logy do súboru: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
#. i18n: file: configdebugoptionsbase.ui:143
#. i18n: ectx: property (toolTip), widget (QSpinBox)
@ -16953,10 +16953,10 @@ msgstr "chyba"
#~ msgstr "Zapísať logovací súbor"
#~ msgid ""
#~ "Enable this to do writing a log file. Its located at /root/.kde/share/"
#~ "Enable this to do writing a log file. Its located at /root/.trinity/share/"
#~ "apps/kvpnc/kvpnc.log"
#~ msgstr ""
#~ "Povoliť zapisovanie do logovacieho súboru. Je umiestnený /root/.kde/share/"
#~ "Povoliť zapisovanie do logovacieho súboru. Je umiestnený /root/.trinity/share/"
#~ "apps/kvpnc/kvpnc.log"
#~ msgid "This is the debug level of vpnc"

8
po/sv.po

@ -3355,9 +3355,9 @@ msgstr "Alt+1"
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
#, fuzzy
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr ""
"Aktivera denna för att skriva en loggfil. Den skrivs som /root/.kde/share/"
"Aktivera denna för att skriva en loggfil. Den skrivs som /root/.trinity/share/"
"apps/kvpnc/kvpnc.log"
#. i18n: file: configdebugoptionsbase.ui:143
@ -17221,10 +17221,10 @@ msgstr "fel"
#~ msgstr "Skriv loggfil"
#~ msgid ""
#~ "Enable this to do writing a log file. Its located at /root/.kde/share/"
#~ "Enable this to do writing a log file. Its located at /root/.trinity/share/"
#~ "apps/kvpnc/kvpnc.log"
#~ msgstr ""
#~ "Aktivera denna för att skriva en loggfil. Den skrivs som /root/.kde/share/"
#~ "Aktivera denna för att skriva en loggfil. Den skrivs som /root/.trinity/share/"
#~ "apps/kvpnc/kvpnc.log"
#~ msgid "This is the debug level of vpnc"

4
po/tr.po

@ -3321,7 +3321,7 @@ msgstr ""
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
#, fuzzy
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr ""
"Kayıt dosyasını yazdırmak için burayı aktifleştirin. Kayıt dosyası /root/."
"kde/share/apps/kvpnc/kvpnc.log olarak oluşacaktır"
@ -17206,7 +17206,7 @@ msgstr "hata"
#~ msgstr "Kayıt dosyasını &yaz"
#~ msgid ""
#~ "Enable this to do writing a log file. Its located at /root/.kde/share/"
#~ "Enable this to do writing a log file. Its located at /root/.trinity/share/"
#~ "apps/kvpnc/kvpnc.log"
#~ msgstr ""
#~ "Kayıt dosyasını yazdırmak için burayı aktifleştirin. Kayıt dosyası /root/."

8
po/zh_CN.po

@ -3320,8 +3320,8 @@ msgstr "Alt+C"
#. i18n: ectx: property (toolTip), widget (QCheckBox)
#: rc.cpp:1070 configdebugoptionsbase.cpp:104
#, fuzzy
msgid "Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log"
msgstr "启用此项来写入日志文件。文件位于 /root/.kde/share/apps/kvpnc/kvpnc.log"
msgid "Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log"
msgstr "启用此项来写入日志文件。文件位于 /root/.trinity/share/apps/kvpnc/kvpnc.log"
#. i18n: file: configdebugoptionsbase.ui:143
#. i18n: ectx: property (toolTip), widget (QSpinBox)
@ -17017,10 +17017,10 @@ msgstr ""
#~ msgstr "写入日志文件"
#~ msgid ""
#~ "Enable this to do writing a log file. Its located at /root/.kde/share/"
#~ "Enable this to do writing a log file. Its located at /root/.trinity/share/"
#~ "apps/kvpnc/kvpnc.log"
#~ msgstr ""
#~ "启用此项来写入日志文件。文件位于 /root/.kde/share/apps/kvpnc/kvpnc.log"
#~ "启用此项来写入日志文件。文件位于 /root/.trinity/share/apps/kvpnc/kvpnc.log"
#~ msgid "This is the debug level of vpnc"
#~ msgstr "这是 vpnc 的调试级别"

2
src/configdebugoptionsbase.ui

@ -90,7 +90,7 @@
<string>Alt+F</string>
</property>
<property name="toolTip" stdset="0">
<string>Write logs to file: $HOME/.kde/share/apps/kvpnc/kvpnc.log</string>
<string>Write logs to file: $HOME/.trinity/share/apps/kvpnc/kvpnc.log</string>
</property>
<property name="whatsThis" stdset="0">
<string></string>

10
src/importopenvpnprofiledialog.cpp

@ -508,7 +508,7 @@ void ImportOpenvpnProfileDialog::canAccept()
if ( TQFile ( TQString ( importprefix+"/"+cert ) ).exists() )
{
// copy to ~/.kde/share/apps/kvpnc/ and rename it
// copy to ~/.trinity/share/apps/kvpnc/ and rename it
if ( config->KvpncDebugLevel > 0 )
config->appendLogEntry ( i18n ( "OpenVPN import: copy %1 to %2" ).arg ( TQString ( importprefix+"/"+cert ) ).arg ( TQString ( certprefix+"/"+"openvpn_cert_"+profilename+"_"+cert ) ), config->debug );
TQProcess CopyProcess ( this );
@ -548,7 +548,7 @@ void ImportOpenvpnProfileDialog::canAccept()
if ( TQFile ( TQString ( importprefix+"/"+privatekey ) ).exists() )
{
// copy to ~/.kde/share/apps/kvpnc/ and rename it
// copy to ~/.trinity/share/apps/kvpnc/ and rename it
if ( config->KvpncDebugLevel > 0 )
config->appendLogEntry ( i18n ( "OpenVPN import: copy %1 to %2" ).arg ( TQString ( importprefix+"/"+privatekey ) ).arg ( TQString ( certprefix+"/"+"openvpn_privatekey_"+profilename+"_"+privatekey ) ), config->debug );
TQProcess CopyProcess ( this );
@ -589,7 +589,7 @@ void ImportOpenvpnProfileDialog::canAccept()
if ( TQFile ( TQString ( importprefix+"/"+privatekey ) ).exists() )
{
// copy to ~/.kde/share/apps/kvpnc/ and rename it
// copy to ~/.trinity/share/apps/kvpnc/ and rename it
if ( config->KvpncDebugLevel > 0 )
config->appendLogEntry ( i18n ( "OpenVPN import: copy %1 to %2" ).arg ( TQString ( importprefix+"/"+privatekey ) ).arg ( TQString ( certprefix+"/"+"openvpn_privatekey_"+profilename+"_"+privatekey ) ), config->debug );
TQProcess CopyProcess ( this );
@ -631,7 +631,7 @@ void ImportOpenvpnProfileDialog::canAccept()
if ( TQFile ( TQString ( importprefix+"/"+ca ) ).exists() )
{
// copy to ~/.kde/share/apps/kvpnc/ and rename it
// copy to ~/.trinity/share/apps/kvpnc/ and rename it
if ( config->KvpncDebugLevel > 0 )
config->appendLogEntry ( i18n ( "OpenVPN import: copy %1 to %2" ).arg ( TQString ( importprefix+"/"+ca ) ).arg ( TQString ( certprefix+"/"+"openvpn_privatekey_"+profilename+"_"+ca ) ), config->debug );
TQProcess CopyProcess ( this );
@ -727,7 +727,7 @@ void ImportOpenvpnProfileDialog::canAccept()
if ( TQFile ( TQString ( importprefix+"/"+tlsauth ) ).exists() )
{
// copy to ~/.kde/share/apps/kvpnc/ and rename it
// copy to ~/.trinity/share/apps/kvpnc/ and rename it
if ( config->KvpncDebugLevel > 0 )
config->appendLogEntry ( i18n ( "OpenVPN import: copy %1 to %2" ).arg ( TQString ( importprefix+"/"+tlsauth ) ).arg ( TQString ( certprefix+"/"+"openvpn_privatekey_"+profilename+"_"+tlsauth ) ), config->debug );
TQProcess CopyProcess ( this );

2
src/kvpnc.cpp

@ -11847,7 +11847,7 @@ void KVpnc::readOutputFrom_vpnc()
// stream << "chmod u+w /etc/resolv.conf\n";
// stream << "if [ -f /sbin/resolvconf ] ; then\n";
// stream << "sbin/resolvconf -d "+GlobalConfig->DnsDevice+"\n";
// oldProfileName=OldDefaultroute.section('/',-2,-1); // /root/.kde/share/apps/kvpnc/default-route.<name> -> <name>
// oldProfileName=OldDefaultroute.section('/',-2,-1); // /root/.trinity/share/apps/kvpnc/default-route.<name> -> <name>
// if (!oldProfileName.isEmpty() &&TQFile("/etc/resolv.conf.before.kvpnc_"+oldProfileName).exists() )
// {
// if ( GlobalConfig->KvpncDebugLevel > 0 )

Loading…
Cancel
Save