Compare commits

...

118 Commits

Author SHA1 Message Date
Michele Calgaro ee7ac691a8
Remove unnecessary backup translations.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 14a2b6214f)
2 years ago
TDE Gitea 90b13e5b13 Merge translation files from master branch. 3 years ago
TDE Gitea 5c3e899ec1 Update translation template. 3 years ago
Michele Calgaro 91e21b65d1
Remove unnecessary accelerator from .ui files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit bb53dc16ae)
3 years ago
Michele Calgaro d5d9df80e6
Use TDE cmake macro to set version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 78e1c99f52)
3 years ago
Michele Calgaro bb55580588
Remove obsolete setting of CMAKE_MODULE_PATH in cmake files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko e3e2f0e72c
Update version number to the upcoming R14.0.13.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko b599582315
Added translation of .desktop files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 7834ac7e98)
3 years ago
Slávek Banko 3006d757e0
Drop automake build support.
Rework the README and INSTALL files.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 2804b98494)
3 years ago
TDE Gitea 869bfcd978 Reset submodule main/applications/internet/kopete-otr/admin to latest HEAD 3 years ago
Slávek Banko b43f977f0d
Raise the minimum required version of CMake to 3.1 in CMakeL10n rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 62e4743639)
3 years ago
Michele Calgaro 6d31a95cce
Replaced 'includehints' with 'includes' in *.ui files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 85f54fed6b)
3 years ago
Slávek Banko ce0f0fd3ac
Raise the minimum required version of CMake to 3.1.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 317cff1913)
3 years ago
Slávek Banko e07af2eb95
Update version number to R14.0.12.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
TDE Gitea 886ae9421d Update translation template. 4 years ago
TDE Gitea bddb049de9 Merge translation files from master branch. 4 years ago
TDE Gitea 3c7f691bcb Update translation template. 4 years ago
Slávek Banko 0815aa940a
Fix FTBFS with Clang.
Use TQStringList instead of TQString[5].

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 707963c264)
4 years ago
TDE Gitea 44b86b7c6f Merge translation files from master branch. 4 years ago
TDE Gitea 09f55888bc Update translation template. 4 years ago
Slávek Banko 036880495c
Create a custom OTRPluginFactory object instead of using the KGenericFactory
template. This prevents an unwanted creation of a hidden second instance
if the library is built with enabled hidden visibility.

This resolves issue #3.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 186deab80c)
4 years ago
TDE Gitea f389a60aad Merge translation files from master branch. 4 years ago
TDE Gitea fe1faa4907 Update translation template. 4 years ago
Slávek Banko f847965384
Fix location of translation template in CMakeL10n rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit d4167959a0)
4 years ago
Slávek Banko 22e68f8c11
Removed original 'po' translation folder.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 2d7bee10d5)
4 years ago
Slávek Banko e58420018d
Copy translation files to new translations folder.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit be29265df0)
4 years ago
gregory guy 4b5b36ca6c
Conversion to the cmake building system.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit e6036101ea)
4 years ago
Slávek Banko 1558cdbbf7
Added controlled conversions to char* instead of automatic ascii conversions.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 07a5ffc33a)
4 years ago
gregory guy 3659f9e329
Fix build with TQT_NO_COMPAT.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit efa509c5a4)
4 years ago
Slávek Banko e203448056
Separate OTRPlugin object code from the OTRPluginFactory definition.
This resolves bug 1153.

Fix support for GCC hidden visibility.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8403288e01)
4 years ago
Slávek Banko 83e511dfa6
Remove cmake submodule since it has now been replaced by cmake-trinity dependency.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
TDE Gitea 129cd2e305 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 4 years ago
TDE Gitea 12508d021f Reset submodule main/applications/kopete-otr/cmake to latest HEAD 4 years ago
TDE Gitea f8085d130c Reset submodule main/applications/kopete-otr/admin to latest HEAD 4 years ago
TDE Gitea 4641713be1 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 4 years ago
TDE Gitea c9a48e115a Reset submodule main/applications/kopete-otr/cmake to latest HEAD 4 years ago
TDE Gitea 82d979182f Reset submodule main/applications/kopete-otr/admin to latest HEAD 4 years ago
TDE Gitea 71aaae09c3 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 4 years ago
TDE Gitea 35bb11e22d Reset submodule main/applications/kopete-otr/cmake to latest HEAD 4 years ago
TDE Gitea 6831718bc6 Reset submodule main/applications/kopete-otr/admin to latest HEAD 4 years ago
TDE Gitea bb6c144f1d Reset submodule main/applications/kopete-otr/cmake to latest HEAD 4 years ago
TDE Gitea 3234772629 Reset submodule main/applications/kopete-otr/admin to latest HEAD 4 years ago
Michele Calgaro 76ad023b22
Removed code formatting modelines.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5609e2b0b6)
4 years ago
TDE Gitea 210588cadb Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
TDE Gitea 042969ce36 Reset submodule main/applications/kopete-otr/admin to latest HEAD 5 years ago
TDE Gitea f2a6239262 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
TDE Gitea 4448c0c6b5 Reset submodule main/applications/kopete-otr/admin to latest HEAD 5 years ago
TDE Gitea 4ebdfb0fb6 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
TDE Gitea 0b70e25947 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
TDE Gitea 9577e514e6 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
TDE Gitea 94b81400a6 Reset submodule main/applications/kopete-otr/admin to latest HEAD 5 years ago
TDE Gitea 0bbc820779 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
TDE Gitea 2b5dd52d98 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
TDE Gitea a6b8d9c0ad Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
TDE Gitea e7b58f3994 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
TDE Gitea a8e35c5a97 Reset submodule main/applications/kopete-otr/admin to latest HEAD 5 years ago
TDE Gitea f18acff1e4 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
TDE Gitea 826a7f12fd Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
TDE Gitea 161d88b825 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
Slávek Banko 4f47fad72e Merge translation files from master branch. 5 years ago
Slávek Banko cd33b4b15c Update translation template. 5 years ago
TDE Gitea 6c9cdf360e Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
TDE Gitea dcc78d691b Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
TDE Gitea 863322acfd Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
TDE Gitea af3e8b3fc7 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
TDE Gitea 58e1e77e64 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
TDE Gitea bc548e439f Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
Slávek Banko 0e7f1b9293 Merge translation files from master branch. 5 years ago
TDE Gitea d969977037 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 5 years ago
Slávek Banko 026b54d92f
Switch all submodules to https.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro 65513b9a21
Removed .lsm files. lsm database is outdated and unmaintained.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
TDE Gitea acfa1d306e Reset submodule main/applications/kopete-otr/cmake to latest HEAD 6 years ago
TDE Gitea 747dceeed9 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 6 years ago
TDE Gitea 1d1e7c5d23 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 6 years ago
Michele Calgaro bbc9f6ea72
Updated date and version to R14.0.6 in .lsm files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
TDE Gitea f1fd1638b9 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 6 years ago
TDE Gitea 90e732f33a Reset submodule main/applications/kopete-otr/admin to latest HEAD 6 years ago
TDE Gitea d14d070238 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 6 years ago
TDE Gitea 971379b094 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 6 years ago
TDE Weblate 03123122ac
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/kopete-otr
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/kopete-otr/
(cherry picked from commit 6e86fc6a25)
6 years ago
Slávek Banko 87554aed61
Update translation template.
(cherry picked from commit bb04f5856b)
6 years ago
TDE Gitea 8eacf103f1 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 6 years ago
TDE Gitea 597ada396f Reset submodule main/applications/kopete-otr/cmake to latest HEAD 6 years ago
TDE Weblate 1c0f1bbaea
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/kopete-otr
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/kopete-otr/
(cherry picked from commit c010997a72)
6 years ago
Slávek Banko 167d4b9d4d
Add CMakeL10n rules.
Create translation template.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 4f92cf4941)
6 years ago
TDE Gitea 99e5dd93b1 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 6 years ago
TDE Gitea abec162f76 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 6 years ago
TDE Gitea a7d4185de4 Reset submodule main/applications/kopete-otr/admin to latest HEAD 6 years ago
TDE Gitea f247045fba Reset submodule main/applications/kopete-otr/cmake to latest HEAD 6 years ago
TDE Gitea ef54531541 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 6 years ago
TDE Gitea 7c5b264148 Reset submodule main/applications/kopete-otr/admin to latest HEAD 7 years ago
Slávek Banko c6dd5230d1 Update version numbers and date for R14.0.5 final release 7 years ago
Slávek Banko ec7523166c Reset submodule main/applications/kopete-otr/admin to latest HEAD 7 years ago
Slávek Banko 32bfe7fe3d Fix OtrlChatInterface visibility
This resolves bug 2472

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit bbbc786294)
7 years ago
Slávek Banko 36f24a89f8 Reset submodule main/applications/kopete-otr/admin to latest HEAD 7 years ago
Slávek Banko 794e1e59fb Reset submodule main/applications/kopete-otr/admin to latest HEAD 7 years ago
Slávek Banko ff09f7ee73 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 8 years ago
Slávek Banko ad625df6c1 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 8 years ago
Slávek Banko 036e5e743e Reset submodule main/applications/kopete-otr/cmake to latest HEAD 8 years ago
Slávek Banko 602e12c811 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 8 years ago
Slávek Banko ab46a37b5e Reset submodule main/applications/kopete-otr/admin to latest HEAD 8 years ago
Slávek Banko d1d066bcaa cmake: add tde_add_check_executable macro 8 years ago
Slávek Banko 35745cabf3 Update version number for new target R14.0.5 8 years ago
Slávek Banko a63fcf0d11 Update date in lsm files 8 years ago
Slávek Banko 6fa9a6825f Reset submodule main/applications/kopete-otr/admin to latest HEAD 9 years ago
Timothy Pearson 6268a5f015 Fix invalid headers in PNG files and optimize for size
(cherry picked from commit 4875bae56f)
9 years ago
Slávek Banko 4c5ca5fb93 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 9 years ago
Slávek Banko 9ca726534e Reset submodule main/applications/kopete-otr/cmake to latest HEAD 9 years ago
Slávek Banko ad0158201f Update version number for new target R14.0.4 9 years ago
Slávek Banko c7d6612985 Update date in lsm files 9 years ago
Slávek Banko 1cf8a2b57f Update version number for new target R14.0.3 9 years ago
Slávek Banko 86257c682d Update date in lsm files 9 years ago
Slávek Banko dea8ebe340 Update version number for new target R14.0.2 10 years ago
Slávek Banko 7cd5549a30 Update date in lsm files 10 years ago
Slávek Banko 87a97f1472 Update version in lsm files 10 years ago
Slávek Banko 5be42bf47a Reset submodule main/applications/kopete-otr/cmake to latest HEAD 10 years ago
Slávek Banko b01787b4a8 Reset submodule main/applications/kopete-otr/cmake to latest HEAD 10 years ago
Slávek Banko 6170377509 Reset submodule main/applications/kopete-otr/admin to latest HEAD 10 years ago

6
.gitmodules vendored

@ -1,6 +0,0 @@
[submodule "admin"]
path = admin
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-admin
[submodule "cmake"]
path = cmake
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake

@ -0,0 +1,22 @@
#################################################
#
# (C) 2019 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
cmake_minimum_required( VERSION 3.1 )
##### include our cmake modules #################
include( TDEL10n )
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,85 @@
############################################
# #
# Improvements and feedbacks are welcome #
# #
# This file is released under GPL >= 3 #
# #
############################################
cmake_minimum_required( VERSION 3.1 )
#### general package setup
project( kopete_otr )
#### include essential cmake modules
include( FindPkgConfig )
include( CheckFunctionExists )
include( CheckSymbolExists )
include( CheckIncludeFile )
include( CheckLibraryExists )
include( CheckCSourceCompiles )
include( CheckCXXSourceCompiles )
#### include our cmake modules
include( TDEMacros )
##### set version number ########################
tde_set_project_version( )
##### setup install paths
include( TDESetupPaths )
tde_setup_paths( )
##### optional stuff
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
##### user requested modules
option( BUILD_ALL "Build all" ON )
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
##### configure checks
include( ConfigureChecks.cmake )
###### global compiler settings
add_definitions( -DHAVE_CONFIG_H )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
##### directories
add_subdirectory( src )
##### other data
tde_conditional_add_project_docs( BUILD_DOC )
tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
##### write configure files
configure_file( config.h.cmake config.h @ONLY )

@ -0,0 +1,53 @@
###########################################
# #
# Improvements and feedback are welcome #
# #
# This file is released under GPL >= 3 #
# #
###########################################
# required stuff
find_package( TQt )
find_package( TDE )
tde_setup_architecture_flags( )
include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
tde_setup_largefiles( )
##### check for gcc visibility support
if( WITH_GCC_VISIBILITY )
tde_setup_gcc_visibility( )
endif( WITH_GCC_VISIBILITY )
#### check for libotr
pkg_search_module( LIBOTR libotr )
if( LIBOTR_FOUND )
if( NOT LIBOTR_VERSION VERSION_LESS 4.0.0 )
set( HAVE_LIBOTR_0400 1 )
endif()
else()
tde_message_fatal( "Libotr is required but was not found on your system" )
endif( LIBOTR_FOUND )
##### check for kopete
find_library( KOPETE_LIBRARY kopete )
find_path( KOPETE_INCLUDE_DIR kopetemetacontact.h
PATH_SUFFIXES kopete
)
if( KOPETE_INCLUDE_DIR AND KOPETE_LIBRARY )
set( KOPETE_INCLUDE_DIRS "${KOPETE_INCLUDE_DIR}" )
set( KOPETE_LIBRARIES ${KOPETE_LIBRARY} )
else()
tde_message_fatal( "kopete (tdenetwork) is required but was not found on your system" )
endif( KOPETE_INCLUDE_DIR AND KOPETE_LIBRARY )

@ -1,167 +1,22 @@
Basic Installation
==================
These are generic installation instructions.
kopete-otr relies on cmake to build.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, a file
`config.cache' that saves the results of its tests to speed up
reconfiguring, and a file `config.log' containing compiler output
(useful mainly for debugging `configure').
Here are suggested default options:
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If at some point `config.cache'
contains results you don't want to keep, you may remove or edit it.
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DBUILD_ALL="ON" \
-DWITH_ALL_OPTIONS="ON"
The file `configure.in' is used to create `configure' by a program
called `autoconf'. You only need `configure.in' if you want to change
it or regenerate `configure' using a newer version of `autoconf'.
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes a while. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Type `make install' to install the programs and any data files and
documentation.
4. You can remove the program binaries and object files from the
source code directory by typing `make clean'.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. You can give `configure'
initial values for variables by setting them in the environment. Using
a Bourne-compatible shell, you can do that on the command line like
this:
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
Or on systems that have the `env' program, you can do it like this:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you must use a version of `make' that
supports the `VPATH' variable, such as GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.
If you have to use a `make' that does not supports the `VPATH'
variable, you have to compile the package for one architecture at a time
in the source code directory. After you have installed the package for
one architecture, use `make distclean' before reconfiguring for another
architecture.
Installation Names
==================
By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc. You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
give `configure' the option `--exec-prefix=PATH', the package will use
PATH as the prefix for installing programs and libraries.
Documentation and other data files will still use the regular prefix.
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Optional Features
=================
Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
Specifying the System Type
==========================
There may be some features `configure' can not figure out
automatically, but needs to determine by the type of host the package
will run on. Usually `configure' can figure that out, but if it prints
a message saying it can not guess the host type, give it the
`--host=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name with three fields:
CPU-COMPANY-SYSTEM
See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the host type.
If you are building compiler tools for cross-compiling, you can also
use the `--target=TYPE' option to select the type of system they will
produce code for and the `--build=TYPE' option to select the type of
system on which you are compiling the package.
Sharing Defaults
================
If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.
Operation Controls
==================
`configure' recognizes the following options to control how it
operates.
`--cache-file=FILE'
Use and save the results of the tests in FILE instead of
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
debugging `configure'.
`--help'
Print a summary of the options to `configure', and exit.
`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made.
`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
`--version'
Print the version of Autoconf used to generate the `configure'
script, and exit.
`configure' also accepts some other, not widely useful, options.
Requirements:
=============
- libotr

@ -1,23 +0,0 @@
SUBDIRS = $(TOPSUBDIRS)
$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
$(top_srcdir)/subdirs:
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
package-messages:
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common package-messages
$(MAKE) -C po merge
EXTRA_DIST = admin COPYING configure.in.in
dist-hook:
cd $(top_distdir) && perl admin/am_edit -padmin
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
METASOURCES = AUTO

@ -1,10 +0,0 @@
all:
@echo "This Makefile is only for the CVS repository"
@echo "This will be deleted before making the distribution"
@echo ""
$(MAKE) -f admin/Makefile.common cvs
dist:
$(MAKE) -f admin/Makefile.common dist
.SILENT:

@ -0,0 +1,32 @@
Kopete-OTR - Off-The-Record encryption for Kopete.
This plugin enables Off-The-Record encryption for the TDE instant
messenger Kopete. Using this plugin you can encrypt chatsessions to other
users with IM-Cients supporting the OTR encryption method.
.
Contributing
--------------
If you wish to contribute to kopete-otr, you might do so:
- TDE Gitea Workspace (TGW) collaboration tool.
https://mirror.git.trinitydesktop.org/gitea
- TDE Weblate Translation Workspace (TWTW) collaboration tool.
https://mirror.git.trinitydesktop.org/weblate
Translations status
---------------------
### messages
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/kopete-otr/multi-auto.svg
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/kopete-otr/)
### desktop files
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/kopete-otr-desktop-files/multi-auto.svg
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/kopete-otr-desktop-files/)

@ -1 +0,0 @@
Subproject commit 04db460623e1f235e7239f08fdcc2d0ef72636af

@ -1 +0,0 @@
Subproject commit 1994b808819fd74446cb8f1a0491b3e10244f463

@ -0,0 +1,11 @@
#define VERSION "@VERSION@"
// Defined if you have fvisibility and fvisibility-inlines-hidden support.
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
/* Defined if libotr >= 4.0.0 */
#cmakedefine HAVE_LIBOTR_0400 1

@ -1,2 +0,0 @@
./admin/configure.in.min
configure.in.in

@ -1,32 +0,0 @@
#MIN_CONFIG(3.2.0)
AM_INIT_AUTOMAKE(kopete_otr, 0.1)
AC_C_BIGENDIAN
AC_CHECK_KDEMAXPATHLEN
# Make sure that kde includes, etc. are part of the CPPFLAGS ...
CPPFLAGS="$CPPFLAGS $all_includes -I$kde_includes/kopete -I$kde_includes/tde/kopete"
# check for libkopete headers and library
KDE_CHECK_HEADER(kopeteversion.h,,
AC_MSG_ERROR([libkopete header files missing]))
#AC_CHECK_LIB([kopete], [_ZN6Kopete7AccountD0Ev],,
# AC_MSG_ERROR([libkopete library missing]))
#Check for libotr
KDE_CHECK_HEADERS([libotr/version.h],,
AC_MSG_ERROR([Could not find OTR header files!]))
m4_pattern_allow([AM_PATH_LIBOTR])
AM_PATH_LIBOTR(4.0.0,
[ AC_DEFINE([HAVE_LIBOTR_0400], 1, [Defines if your system has libotr greater than or equal to v4.0.0]) ],
[ AM_PATH_LIBOTR(3.1.0,
[ AC_DEFINE([HAVE_LIBOTR_0310], 1, [Define if you use libotr3]) ],
[ AC_MSG_ERROR(libotr 3.1.0 or newer is required.) ] )
])

@ -1,6 +0,0 @@
# the SUBDIRS is filled automatically by am_edit. If files are
# in this directory they are installed into the english dir
KDE_LANG = en
KDE_DOCS = kopete_otr
SUBDIRS = $(AUTODIRS)

@ -1,2 +0,0 @@
KDE_DOCS = kopete_otr
KDE_LANG = en

@ -1 +0,0 @@
POFILES = AUTO

@ -1,413 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-11-07 19:37+0100\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"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: otrguiclient.cpp:61
msgid "OTR Settings"
msgstr "OTR Einstellungen"
#: otrguiclient.cpp:63 otrguiclient.cpp:100 otrguiclient.cpp:118
msgid "Start OTR session"
msgstr "OTR Sitzung starten"
#: otrguiclient.cpp:64
msgid "End OTR session"
msgstr "OTR Sitzung beenden"
#: otrguiclient.cpp:65
msgid "Authenticate Contact"
msgstr "Kontakt authentifizieren"
#: otrguiclient.cpp:106 otrguiclient.cpp:112
msgid "Refresh OTR session"
msgstr "OTR Sitzung erneuern"
#: otrlchatinterface.cpp:96 otrlconfinterface.cpp:86 rc.cpp:3
#, no-c-format
msgid "Generating private key"
msgstr "Erzeuge privaten Schlüssel"
#: otrlchatinterface.cpp:178
msgid ""
"<b>Received a new fingerprint from <a>%1</a>. You should authenticate this "
"contact.</b>"
msgstr "<b>Neuen Fingerabdruck von <a>%1</a> erhalten. Bitte authentifizieren Sie diesen Kontakt.</b>"
#: otrlchatinterface.cpp:192
msgid "<b>Private OTR session started.</b>"
msgstr "<b>Private OTR Sitzung gestartet.</b>"
#: otrlchatinterface.cpp:196
msgid "<b>Unverified OTR session started.</b>"
msgstr "<b>Nicht überprüfte OTR Sitzung gestartet.</b>"
#: otrlchatinterface.cpp:209
msgid "<b>OTR Session ended. The conversation is now insecure!</b>"
msgstr "<b>OTR Sitzung beendet. Die Unterhaltung ist jetzt unsicher!<b>"
#: otrlchatinterface.cpp:216
msgid "<b>OTR connection refreshed successfully.</b>"
msgstr "<b>OTR Sitzung erfolgreich erneuert.</b>"
#: otrlchatinterface.cpp:303
msgid "<b>%1</b> has ended the OTR session. You should do the same."
msgstr "<b>%1</b> hat die OTR Sitzung beendet. Beenden Sie diese ebenfalls oder bauen Sie eine neue auf."
#: otrlchatinterface.cpp:318 otrlchatinterface.cpp:490 rc.cpp:121
#, no-c-format
msgid "Enter authentication secret"
msgstr "Geben Sie das Geheimnis zum authentifizieren ein"
#: otrlchatinterface.cpp:337 otrlchatinterface.cpp:355
msgid "<b>Authentication successful. The conversation is now secure!</b>"
msgstr "<b>Kontakt erfolgreich authentifiziert. Die Sitzung ist jetzt sicher!</b>"
#: otrlchatinterface.cpp:341 otrlchatinterface.cpp:359
msgid "<b>Authentication failed. The conversation is now insecure!</b>"
msgstr "<b>Authentifizierung fehlgeschlagen. Die Sitzung ist jetzt unsicher!</b>"
#: otrlchatinterface.cpp:368
msgid "<b>Authentication error!</b>"
msgstr "<b>Fehler beim Authentifizieren!</b>"
#: otrlchatinterface.cpp:398
msgid "Encryption error"
msgstr "Verschlüsselungsfehler"
#: otrlchatinterface.cpp:425
msgid "Terminating OTR session."
msgstr "Beende OTR Sitzung."
#: otrlchatinterface.cpp:652
msgid "<b>Authentication aborded. The conversation is now insecure!</b>"
msgstr "<b>Authenfizierung abgebrochen. Die Sitzung ist jetzt unsicher!</b>"
#: otrlchatinterface.cpp:667
msgid "<b>Authenticating contact...</b>"
msgstr "<b>Authentifiziere Kontakt...</b>"
#: otrlconfinterface.cpp:72
msgid "No fingerprint present."
msgstr "Kein Fingerabdruck vorhanden."
#: otrlconfinterface.cpp:115
msgid "Unused"
msgstr "Unbenutzt"
#: otrlconfinterface.cpp:119
msgid "Private"
msgstr "Privat"
#: otrlconfinterface.cpp:121
msgid "Unverified"
msgstr "Nicht überprüft"
#: otrlconfinterface.cpp:124
msgid "Finished"
msgstr "Beendet"
#: otrlconfinterface.cpp:126
msgid "Not Private"
msgstr "Nicht Privat"
#: otrlconfinterface.cpp:129
msgid "Yes"
msgstr "Ja"
#: otrlconfinterface.cpp:129
msgid "No"
msgstr "Nein"
#: otrplugin.cpp:145
msgid "&Default"
msgstr "&Voreinstellung"
#: otrplugin.cpp:145 rc.cpp:63
#, no-c-format
msgid "Al&ways"
msgstr "&Immer"
#: otrplugin.cpp:145 rc.cpp:36
#, no-c-format
msgid "&Opportunistic"
msgstr "&Automatisch"
#: otrplugin.cpp:145 rc.cpp:54
#, no-c-format
msgid "&Manual"
msgstr "&Manuell"
#: otrplugin.cpp:145 rc.cpp:45
#, no-c-format
msgid "Ne&ver"
msgstr "&Nie"
#: otrplugin.cpp:146
msgid "&OTR Policy"
msgstr "&OTR Einstellung"
#: otrplugin.cpp:219
msgid "Your policy settings do not allow encrypted sessions to this contact."
msgstr "Ihre OTR Einstellungen erlauben keine verschlüsselte Verbindung zu diesem Kontakt"
#: otrplugin.cpp:225
msgid "Attempting to refresh the OTR session with <b>%1</b>..."
msgstr "Versuche die OTR Sitzung mit <b>%1</b> zu erneuern..."
#: otrplugin.cpp:227
msgid "Attempting to start a private OTR session with <b>%1</b>..."
msgstr "Versuche eine private OTR Sitzung mit <b>%1</b> aufzubauen..."
#: otrpreferences.cpp:119
msgid "Selected account already has a key. Do you want to create a new one?"
msgstr "Das ausgewählte Konto hat bereits einen Schlüssel. Möchten Sie einen neuen erzeugen?"
#: otrpreferences.cpp:119
msgid "Overwrite key?"
msgstr "Schlüssel überschreiben?"
#: otrpreferences.cpp:156
msgid ""
"Please contact %1 via another secure way and verify that the following "
"Fingerprint is correct:"
msgstr ""
"Bitte kontaktieren Sie %1 über eine andere sichere Verbindung und überprüfen Sie ob der folgende"
"Fingerabdruck korrekt ist:"
#: otrpreferences.cpp:156
msgid "Are you sure you want to trust this fingerprint?"
msgstr ""
#: otrpreferences.cpp:156
msgid "Verify fingerprint"
msgstr ""
#: rc.cpp:6
#, no-c-format
msgid "Please wait while generating the private key"
msgstr "Bitte warten Sie während der private Schlüssel erzeugt wird"
#: rc.cpp:9
#, no-c-format
msgid "&Edit"
msgstr "&Bearbeiten"
#: rc.cpp:12
#, no-c-format
msgid "Form1"
msgstr "Form1"
#: rc.cpp:15
#, no-c-format
msgid "&Settings"
msgstr "&Einstellungen"
#: rc.cpp:18
#, no-c-format
msgid "Private Keys"
msgstr "Private Schlüssel"
#: rc.cpp:21
#, no-c-format
msgid "&Generate"
msgstr "&Erzeugen"
#: rc.cpp:24
#, no-c-format
msgid "Alt+G"
msgstr "Alt+E"
#: rc.cpp:27
#, no-c-format
msgid "Account:"
msgstr "Konto:"
#: rc.cpp:30
#, no-c-format
msgid "No Fingerprint"
msgstr "Kein Fingerabdruck"
#: rc.cpp:33
#, no-c-format
msgid "Default Policy"
msgstr "Voreinstellung für Verschlüsselung"
#: rc.cpp:39 rc.cpp:99 rc.cpp:108 rc.cpp:127
#, no-c-format
msgid "Alt+O"
msgstr "Alt+O"
#: rc.cpp:42
#, no-c-format
msgid "Encrypt messages automatically if the other side supports OTR"
msgstr "Nachrichten automatisch verschlüsseln wenn die andere Seite OTR unterstützt"
#: rc.cpp:48 rc.cpp:93
#, no-c-format
msgid "Alt+V"
msgstr "Alt+V"
#: rc.cpp:51
#, no-c-format
msgid "Never encrypt messages"
msgstr "Nachrichten nie verschlüsseln"
#: rc.cpp:57 rc.cpp:142
#, no-c-format
msgid "Alt+M"
msgstr "Alt+M"
#: rc.cpp:60
#, no-c-format
msgid "Encrypt messages if the other side requests an OTR connection"
msgstr "Nachrichten auf Anfrage verschlüsseln"
#: rc.cpp:66
#, no-c-format
msgid "Alt+W"
msgstr "Alt+I"
#: rc.cpp:69
#, no-c-format
msgid "Always encrypt messages"
msgstr "Nachrichten immer verschlüsseln"
#: rc.cpp:72
#, no-c-format
msgid "K&nown Fingerprints"
msgstr "&Bekannte Fingerabdrücke"
#: rc.cpp:75
#, no-c-format
msgid "User"
msgstr "Benutzer"
#: rc.cpp:78
#, no-c-format
msgid "Status"
msgstr "Status"
#: rc.cpp:81
#, no-c-format
msgid "Verified"
msgstr "Überprüft"
#: rc.cpp:84
#, no-c-format
msgid "Fingerprint"
msgstr "Fingerabdruck"
#: rc.cpp:87
#, no-c-format
msgid "Protocol"
msgstr "Protokoll"
#: rc.cpp:90
#, no-c-format
msgid "&Verify Fingerprint"
msgstr "Fingerabdruck &überprüfen"
#: rc.cpp:96
#, no-c-format
msgid "F&orget Fingerprint"
msgstr "Fingerabdruck &löschen"
#: rc.cpp:102 smppopup.cpp:65
#, no-c-format
msgid "Verify Fingerprint"
msgstr "Fingerabdruck überprüfen"
#: rc.cpp:105 rc.cpp:124
#, no-c-format
msgid "&OK"
msgstr "&OK"
#: rc.cpp:112
#, no-c-format
msgid "&Tools"
msgstr "&Extras"
#: rc.cpp:115 rc.cpp:118
#, no-c-format
msgid "OTR Encryption"
msgstr "OTR Verschlüsselung"
#: rc.cpp:130
#, no-c-format
msgid "&Cancel"
msgstr "&Abbrechen"
#: rc.cpp:133
#, no-c-format
msgid "Alt+C"
msgstr "Alt+C"
#: rc.cpp:136
#, no-c-format
msgid "Please enter the secret passphrase to authenticate this contact."
msgstr "Bitte geben Sie das Geheimnis um diesen Kontakt zu authentifizieren ein."
#: rc.cpp:139
#, no-c-format
msgid "&Manual Authentication"
msgstr "&Manuelle Überprüfung"
#: rc.cpp:145
#, no-c-format
msgid "&Help"
msgstr "&Hilfe"
#: rc.cpp:148
#, no-c-format
msgid "Alt+H"
msgstr "Alt+H"
#: smppopup.cpp:38
msgid "Please enter the secret passphrase to authenticate %1:"
msgstr "Bitte geben Sie das Geheimnis ein um %1 zu authentifizieren:"
#: verifypopup.cpp:39
msgid "Verify fingerprint for %1."
msgstr "Fingerabdruck für %1 überprüfen"
#: verifypopup.cpp:40
msgid ""
"The received fingerprint is:\n"
"\n"
"%1\n"
"\n"
"Contact %2 via another secure channel and verify that this fingerprint is "
"correct."
msgstr ""
"Der empfangene Fingerabdruck ist:\n"
"\n"
"%1\n"
"\n"
"Kontaktieren Sie %2 über einen anderen sicheren Kanal und überprüfen Sie, ob der fogende Fingerabdruck korrekt ist."
#: verifypopup.cpp:41
msgid "verified that this is in fact the correct fingerprint for %1"
msgstr "überprüft, dass dieser Fingerabdruck wirklich von %1 stammt."
#: verifypopup.cpp:42
msgid "I have not"
msgstr "Ich habe nicht"
#: verifypopup.cpp:43
msgid "I have"
msgstr "Ich habe"

@ -0,0 +1,8 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/kopete_otr" )
tde_l10n_create_template(
CATALOG "desktop_files/kopete-otr-desktops"
SOURCES *.desktop
)

@ -0,0 +1,122 @@
add_subdirectory( pics )
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_BINARY_DIR}/src
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${LIBOTR_INCLUDE_DIRS}
${KOPETE_INCLUDE_DIRS}
${KOPETE_INCLUDE_DIRS}/ui
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
)
##### kotr_kcfgc (static)
tde_add_library( kotr_kcfgc STATIC_PIC AUTOMOC
SOURCES
kopete_otr.kcfgc
)
##### kotr (shared)
tde_add_library( kotr SHARED AUTOMOC
SOURCES
otrplugin.cpp
otrguiclient.cpp
otrlchatinterface.cpp
otrlconfinterface.cpp
privkeypopup.cpp
privkeypopupui.ui
smppopup.cpp
smppopupui.ui
verifypopup.cpp
verifypopupui.ui
LINK
kotr_kcfgc-static
tdecore-shared
tdeui-shared
tdeio-shared
${LIBOTR_LIBRARIES}
${KOPETE_LIBRARIES}
VERSION 0.0.0
DESTINATION ${LIB_INSTALL_DIR}
)
##### kcm_kopete_otr (kpart)
tde_add_kpart( kcm_kopete_otr AUTOMOC
SOURCES
otrpreferences.cpp
otrprefs.ui
LINK
kotr_kcfgc-static
kotr-shared
tdecore-shared
tdeui-shared
tdehtml-shared
${LIBOTR_LIBRARIES}
${KOPETE_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### kopete_otr (kpart)
tde_add_kpart( ${PROJECT_NAME} AUTOMOC
SOURCES
otrplugin-factory.cpp
LINK
kotr-shared
tdecore-shared
tdeui-shared
tdehtml-shared
${LIBOTR_LIBRARIES}
${KOPETE_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### other data
install(
FILES otrchatui.rc otrui.rc
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)
install(
FILES kopete_otr.kcfg
DESTINATION ${KCFG_INSTALL_DIR}
)
#### desktop files
tde_create_translated_desktop(
SOURCE kopete_otr.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
)
tde_create_translated_desktop(
SOURCE kopete_otr_config.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/tdeconfiguredialog
)

@ -1,48 +0,0 @@
METASOURCES = AUTO
messages:
extractrc `find . -name \*.ui -o -name \*.rc` > rc.cpp
$(XGETTEXT) --keyword=i18n *.cpp -o $(top_srcdir)/po/kopete_otr.pot
INCLUDES = $(all_includes) -I$(kde_includes)/kopete -I$(kde_includes)/tde/kopete -I$(kde_includes)/kopete/ui -I$(kde_includes)/tde/kopete/ui
kde_module_LTLIBRARIES = kcm_kopete_otr.la kopete_otr.la
kopete_otr_la_SOURCES = kopete_otr.kcfgc otrguiclient.cpp otrplugin.cpp
kopete_otr_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) $(all_libraries) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) \
-lkopete
kcm_kopete_otr_la_SOURCES = kopete_otr.kcfgc otrpreferences.cpp otrprefs.ui
kcm_kopete_otr_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) \
$(all_libraries) -lkopete
kcm_kopete_otr_la_LIBADD = libkotr.la -lotr $(LIB_TDEUTILS)
service_DATA = kopete_otr.desktop
servicedir = $(kde_servicesdir)
kde_kcfg_DATA = kopete_otr.kcfg
kcm_DATA = kopete_otr_config.desktop
kcmdir = $(kde_servicesdir)/tdeconfiguredialog
kopete_otr_la_LIBADD = libkotr.la -lotr
noinst_HEADERS = otrguiclient.h otrlchatinterface.h otrlconfinterface.h \
otrplugin.h otrpreferences.h otrprefs.h privkeypopup.h smppopup.h verifypopup.h
rcdir = $(kde_datadir)/kopete_otr
rc_DATA = otrchatui.rc otrui.rc
lib_LTLIBRARIES = libkotr.la
libkotr_la_LDFLAGS = $(all_libraries) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI)
libkotr_la_SOURCES = otrlchatinterface.cpp otrlconfinterface.cpp \
privkeypopup.cpp privkeypopupui.ui smppopup.cpp smppopupui.ui verifypopup.cpp \
verifypopupui.ui
libkotr_la_LIBADD = -lotr
SUBDIRS = pics

@ -1,8 +1,12 @@
[Desktop Entry]
Name=OTR
Comment=Encrypt chat sessions with Off-The-Record encryption
Encoding=UTF-8
Type=Service
X-Kopete-Version=1000900
Icon=kopete_otr
X-Kopete-Version=1000900
X-TDE-ServiceTypes=Kopete/Plugin
X-TDE-Library=kopete_otr
X-TDE-PluginInfo-Author=Michael Zanetti
@ -14,7 +18,3 @@ X-TDE-PluginInfo-Category=Plugins
X-TDE-PluginInfo-Depends=
X-TDE-PluginInfo-License=GPL
X-TDE-PluginInfo-EnabledByDefault=false
Comment=Encrypt chat sessions with Off-The-Record encryption
Comment[de]=Verschlüsselt Chat-Sitzungen mit Off-The-Record Verschlüsselung
Name=OTR
Name[de]=OTR

@ -1,14 +0,0 @@
Begin4
Title: kopete-otr
Version: R14.0.0
Entered-date: 2010-05-10
Description: Off-The-Record encryption plugin for Kopete
Keywords: TDE Qt
Author: Michael Zanetti <michael_zanetti@gmx.net>
Maintained-by: The Trinity Desktop Environment (TDE) http://www.trinitydesktop.org/
Primary-site: http://git.trinitydesktop.org/cgit/
Alternate-site:
Original-site: http://kde-apps.org/content/show.php?content=55002
Platforms: Linux and other Unices running TDE
Copying-policy: GPL
End

@ -1,16 +1,14 @@
[Desktop Entry]
Name=OTR
Comment=Encrypt chat sessions with Off-The-Record encryption
Encoding=UTF-8
Type=Service
Icon=kopete_otr
X-TDE-ServiceTypes=TDECModule
X-TDE-ModuleType=Library
X-TDE-Library=kopete_otr
X-TDE-FactoryName=OTRPreferencesFactory
X-TDE-ParentApp=kopete_otr
X-TDE-ParentComponents=kopete_otr
Comment=Encrypt chat sessions with Off-The-Record encryption
Comment[de]=Verschlüsselt Chat-Sitzungen mit Off-The-Record Verschlüsselung
Name=OTR
Name[de]=OTR

@ -18,6 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include <tdeaction.h>
#include <tdelocale.h>
@ -124,5 +127,3 @@ void OtrGUIClient::encryptionEnabled(Kopete::ChatSession *session, int state){
}
#include "otrguiclient.moc"
// vim: set noet ts=4 sts=4 sw=4:

@ -45,12 +45,9 @@ namespace Kopete { class ChatSession; }
*/
class OtrGUIClient : public TQObject , public KXMLGUIClient
class OtrGUIClient : public TQObject, public KXMLGUIClient
{
Q_OBJECT
public:
@ -70,7 +67,7 @@ private slots:
void slotDisableOtr();
void encryptionEnabled( Kopete::ChatSession* session, int state );
void slotVerifyFingerprint();
signals:
void signalOtrChatsession( Kopete::ChatSession* session, bool enable );
void signalVerifyFingerprint( Kopete::ChatSession *session );

@ -24,6 +24,10 @@
* @author Michael Zanetti
*/
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include <sys/types.h>
#include <sys/stat.h>
@ -60,8 +64,6 @@
#include "privkeypopup.h"
#include "smppopup.h"
#include "config.h"
OtrlChatInterface *OtrlChatInterface::mSelf = 0;
static OtrlUserState userstate;
static OtrlPolicy confPolicy;
@ -96,7 +98,7 @@ static void create_privkey(void *opdata, const char *accountname, const char *pr
Kopete::ChatSession *session= ((Kopete::ChatSession*)opdata);
PrivKeyPopup *popup = new PrivKeyPopup( session->view()->mainWidget(), i18n("Generating private key"), TQt::WStyle_Dialog | TQt::WStyle_StaysOnTop );
PrivKeyPopup *popup = new PrivKeyPopup( session->view()->mainWidget(), i18n("Generating private key").utf8(), TQt::WType_Dialog | TQt::WStyle_StaysOnTop );
KAnimWidget *anim = new KAnimWidget( "kde", 72, popup->animFrame, "kopete" );
anim->start();
anim->show();
@ -192,7 +194,7 @@ static void new_fingerprint(void *opdata, OtrlUserState us, const char *accountn
static void write_fingerprints(void *opdata){
kdDebug() << "Writing fingerprints" << endl;
otrl_privkey_write_fingerprints( userstate, TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "fingerprints" );
otrl_privkey_write_fingerprints( userstate, TQString("%1%2").arg(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )).arg("fingerprints").local8Bit() );
}
static void gone_secure(void *opdata, ConnContext *context){
@ -340,12 +342,12 @@ void handle_smp_event(void *opdata, OtrlSMPEvent smp_event, ConnContext *context
case OTRL_SMPEVENT_NONE:
break;
case OTRL_SMPEVENT_ASK_FOR_SECRET: {
SMPPopup *popup = new SMPPopup( chatSession->view()->mainWidget(), i18n("Enter authentication secret"), TQString::null, TQt::WStyle_Dialog | TQt::WStyle_StaysOnTop, context, chatSession, false );
SMPPopup *popup = new SMPPopup( chatSession->view()->mainWidget(), i18n("Enter authentication secret").utf8(), TQString::null, TQt::WType_Dialog | TQt::WStyle_StaysOnTop, context, chatSession, false );
popup->show();
break;
}
case OTRL_SMPEVENT_ASK_FOR_ANSWER: {
SMPPopup *popup = new SMPPopup( chatSession->view()->mainWidget(), question, question, TQt::WStyle_Dialog | TQt::WStyle_StaysOnTop, context, chatSession, false );
SMPPopup *popup = new SMPPopup( chatSession->view()->mainWidget(), question, question, TQt::WType_Dialog | TQt::WStyle_StaysOnTop, context, chatSession, false );
popup->show();
break;
}
@ -487,7 +489,7 @@ void handle_msg_event(void *opdata, OtrlMessageEvent msg_event, ConnContext *con
void create_instag(void *opdata, const char *accountname, const char *protocol){
Q_UNUSED(opdata)
otrl_instag_generate(OtrlChatInterface::self()->getUserstate(), TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "instags", accountname, protocol);
otrl_instag_generate(OtrlChatInterface::self()->getUserstate(), TQString("%1%2").arg(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )).arg("instags").local8Bit(), accountname, protocol);
}
#endif // HAVE_LIBOTR_0400
@ -576,12 +578,12 @@ OtrlChatInterface::OtrlChatInterface(){
userstate = otrl_userstate_create();
otrl_privkey_read( userstate, TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "privkeys" );
otrl_privkey_read( userstate, TQString("%1%2").arg(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )).arg("privkeys").local8Bit() );
otrl_privkey_read_fingerprints(userstate, TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "fingerprints", NULL, NULL);
otrl_privkey_read_fingerprints(userstate, TQString("%1%2").arg(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )).arg("fingerprints").local8Bit(), NULL, NULL);
#ifdef HAVE_LIBOTR_0400
otrl_instag_read(userstate, TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "instags");
otrl_instag_read(userstate, TQString("%1%2").arg(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )).arg("instags").local8Bit());
unsigned int interval = otrl_message_poll_get_default_interval(userstate);
forwardSecrecyTimerStart(interval);
@ -661,7 +663,7 @@ int OtrlChatInterface::decryptMessage( TQString *msg, TQString accountId,
if (nextMsg != OTRL_SMP_EXPECT1){
abortSMP( context, chatSession );
} else {
SMPPopup *popup = new SMPPopup( chatSession->view()->mainWidget(), i18n("Enter authentication secret"), TQString::null, TQt::WStyle_Dialog | TQt::WStyle_StaysOnTop, context, chatSession, false );
SMPPopup *popup = new SMPPopup( chatSession->view()->mainWidget(), i18n("Enter authentication secret").utf8(), TQString::null, TQt::WType_Dialog | TQt::WStyle_StaysOnTop, context, chatSession, false );
popup->show();
}
}
@ -736,7 +738,7 @@ TQString OtrlChatInterface::encryptMessage( TQString msg, TQString accountId,
TQString protocol, TQString contactId , Kopete::ChatSession *chatSession ){
int err;
char * newMessage;
if( otrl_proto_message_type( msg ) == OTRL_MSGTYPE_NOTOTR ){
if( otrl_proto_message_type( msg.latin1() ) == OTRL_MSGTYPE_NOTOTR ){
msg.replace( TQString("<"), TQString("&lt;"), false );
#ifdef HAVE_LIBOTR_0400
otrl_instag_t instance = chatSession->property("otr-instag").toUInt();
@ -754,7 +756,7 @@ TQString OtrlChatInterface::encryptMessage( TQString msg, TQString accountId,
}
}
}
OtrlMessageType type = otrl_proto_message_type( msg );
OtrlMessageType type = otrl_proto_message_type( msg.latin1() );
if( type == OTRL_MSGTYPE_NOTOTR | type == OTRL_MSGTYPE_TAGGEDPLAINTEXT ){
msg.replace( "&lt;", "<", false );
}
@ -772,9 +774,9 @@ TQString OtrlChatInterface::getDefaultQuery( TQString accountId ){
void OtrlChatInterface::disconnectSession( Kopete::ChatSession *chatSession ){
#ifdef HAVE_LIBOTR_0400
otrl_instag_t instance = chatSession->property("otr-instag").toUInt();
otrl_message_disconnect( userstate, &ui_ops, chatSession, chatSession->account()->accountId().latin1(), chatSession->account()->protocol()->displayName().latin1(), chatSession->members().getFirst()->contactId(), instance );
otrl_message_disconnect( userstate, &ui_ops, chatSession, chatSession->account()->accountId().latin1(), chatSession->account()->protocol()->displayName().latin1(), chatSession->members().getFirst()->contactId().latin1(), instance );
#else // HAVE_LIBOTR_0400
otrl_message_disconnect( userstate, &ui_ops, chatSession, chatSession->account()->accountId().latin1(), chatSession->account()->protocol()->displayName().latin1(), chatSession->members().getFirst()->contactId() );
otrl_message_disconnect( userstate, &ui_ops, chatSession, chatSession->account()->accountId().latin1(), chatSession->account()->protocol()->displayName().latin1(), chatSession->members().getFirst()->contactId().latin1() );
#endif // HAVE_LIBOTR_0400
OTRPlugin::plugin()->emitGoneSecure( chatSession, false );
@ -810,9 +812,9 @@ int OtrlChatInterface::privState( Kopete::ChatSession *session ){
#ifdef HAVE_LIBOTR_0400
otrl_instag_t instance = session->property("otr-instag").toUInt();
context = otrl_context_find(userstate, session->members().getFirst()->contactId(), session->account()->accountId(), session->account()->protocol()->displayName(), instance, 0, NULL, NULL, NULL);
context = otrl_context_find(userstate, session->members().getFirst()->contactId().latin1(), session->account()->accountId().latin1(), session->account()->protocol()->displayName().latin1(), instance, 0, NULL, NULL, NULL);
#else // HAVE_LIBOTR_0400
context = otrl_context_find(userstate, session->members().getFirst()->contactId(), session->account()->accountId(), session->account()->protocol()->displayName(), 0, NULL, NULL, NULL);
context = otrl_context_find(userstate, session->members().getFirst()->contactId().latin1(), session->account()->accountId().latin1(), session->account()->protocol()->displayName().latin1(), 0, NULL, NULL, NULL);
#endif // HAVE_LIBOTR_0400
if( context ){
@ -853,7 +855,7 @@ void OtrlChatInterface::verifyFingerprint( Kopete::ChatSession *session ){
context = otrl_context_find( userstate, session->members().getFirst()->contactId().latin1(), session->account()->accountId().latin1(), session->protocol()->displayName().latin1(), 0, NULL, NULL, NULL);
#endif // HAVE_LIBOTR_0400
SMPPopup *popup = new SMPPopup( session->view()->mainWidget(), i18n("Enter authentication secret"), TQString::null, TQt::WStyle_Dialog | TQt::WStyle_StaysOnTop, context, session, true );
SMPPopup *popup = new SMPPopup( session->view()->mainWidget(), i18n("Enter authentication secret").utf8(), TQString::null, TQt::WType_Dialog | TQt::WStyle_StaysOnTop, context, session, true );
popup->show();
}
@ -868,7 +870,7 @@ void OtrlChatInterface::setTrust( Kopete::ChatSession *session, bool trust ){
otrl_context_set_trust( fingerprint, NULL );
}
kdDebug() << "Writing fingerprints" << endl;
otrl_privkey_write_fingerprints( userstate, TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "fingerprints" );
otrl_privkey_write_fingerprints( userstate, TQString("%1%2").arg(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )).arg("fingerprints").local8Bit() );
OTRPlugin::plugin()->emitGoneSecure( session, privState( session ) );
} else {
kdDebug() << "could not find fingerprint" << endl;
@ -880,7 +882,8 @@ Fingerprint *OtrlChatInterface::findFingerprint( TQString account ){
for( context = userstate->context_root; context != NULL; context = context->next ){
kdDebug() << context->username << endl;
if( strcmp( context->username, account ) == 0 ){
if (context->username == account)
{
kdDebug() << "found Context" << endl;
return context->active_fingerprint ? context->active_fingerprint : NULL;
}
@ -894,7 +897,8 @@ TQString OtrlChatInterface::findActiveFingerprint( Kopete::ChatSession *session
for( context = userstate->context_root; context != NULL; context = context->next ){
kdDebug() << context->username << endl;
if( strcmp( context->username, session->members().getFirst()->contactId() ) == 0 ){
if (context->username == session->members().getFirst()->contactId())
{
// otrl_privkey_hash_to_human( hash, context->fingerprint_root.next->fingerprint );
otrl_privkey_hash_to_human( hash, context->active_fingerprint->fingerprint );
return hash;
@ -940,13 +944,13 @@ void OtrlChatInterface::updateKeyfile( Kopete::Account *account ){
keyfile.writeBlock( file.latin1(), file.length() );
keyfile.close();
otrl_privkey_forget_all( userstate );
otrl_privkey_read( userstate, TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "privkeys" );
otrl_privkey_read( userstate, TQString("%1%2").arg(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )).arg("privkeys").local8Bit() );
file = "";
line = "";
// Updating fingerprints from <=0.3
kdDebug() << "updating fingerprints" << endl;
TQFile fingerprintfile( TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "fingerprints" );
TQFile fingerprintfile( TQString("%1%2").arg(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )).arg("fingerprints").local8Bit() );
if( fingerprintfile.open( IO_ReadWrite ) ){
kdDebug() << "file open" << endl;
@ -964,7 +968,7 @@ void OtrlChatInterface::updateKeyfile( Kopete::Account *account ){
fingerprintfile.writeBlock( file.latin1(), file.length() );
fingerprintfile.close();
otrl_context_forget_all( userstate );
otrl_privkey_read_fingerprints(userstate, TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "fingerprints", NULL, NULL);
otrl_privkey_read_fingerprints(userstate, TQString("%1%2").arg(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )).arg("fingerprints").local8Bit(), NULL, NULL);
}
@ -980,7 +984,7 @@ void OtrlChatInterface::checkFilePermissions( TQString file ){
privkeysInfo.permission( TQFileInfo::WriteOther ) |
privkeysInfo.permission( TQFileInfo::ExeOther ) ){
kdDebug() << "Permissions of OTR storage file are wrong! Correcting..." << endl;
chmod( file, 0600);
chmod( file.local8Bit(), 0600);
}
}
@ -1065,7 +1069,8 @@ KeyGenThread::KeyGenThread( TQString accountname, TQString protocol ){
void KeyGenThread::run()
{
kdDebug() << "Creating private key... Storing to: " + TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true)) + "privkeys" << endl;
otrl_privkey_generate(OtrlChatInterface::self()->getUserstate(), TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "privkeys", accountname, protocol);
OtrlChatInterface::self()->checkFilePermissions( TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "privkeys" );
otrl_privkey_generate(OtrlChatInterface::self()->getUserstate(), TQString("%1%2").arg(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )).arg("privkeys").local8Bit(), accountname.latin1(), protocol.latin1());
OtrlChatInterface::self()->checkFilePermissions( TQString("%1%2").arg(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )).arg("privkeys").local8Bit() );
}
#include "otrlchatinterface.moc"

@ -41,7 +41,7 @@ extern "C" {
#include <libotr/userstate.h>
}
class OtrlChatInterface: public TQObject
class KDE_EXPORT OtrlChatInterface: public TQObject
{
Q_OBJECT
@ -82,7 +82,7 @@ private:
TQTimer m_forwardSecrecyTimer;
};
class KeyGenThread : public TQThread {
class KeyGenThread : public TQThread {
private:
TQString accountname;

@ -23,6 +23,10 @@
* @author Michael Zanetti
*/
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include <tqapplication.h>
#include <tqeventloop.h>
@ -83,7 +87,7 @@ bool OtrlConfInterface::hasPrivFingerprint( TQString accountId, TQString protoco
void OtrlConfInterface::generateNewPrivKey( TQString accountId, TQString protocol ){
PrivKeyPopup *popup = new PrivKeyPopup( preferencesDialog, i18n("Generating private key"), TQt::WStyle_Dialog | TQt::WStyle_StaysOnTop );
PrivKeyPopup *popup = new PrivKeyPopup( preferencesDialog, i18n("Generating private key").utf8(), TQt::WType_Dialog | TQt::WStyle_StaysOnTop );
KAnimWidget *anim = new KAnimWidget( "kde", 72, popup->animFrame, "kopete" );
anim->start();
anim->show();
@ -99,37 +103,38 @@ void OtrlConfInterface::generateNewPrivKey( TQString accountId, TQString protoco
popup->close();
}
TQValueList<TQString[5]> OtrlConfInterface::readAllFingerprints(){
TQValueList<TQStringList> OtrlConfInterface::readAllFingerprints(){
ConnContext *context;
Fingerprint *fingerprint;
TQString entry[5];
TQStringList entry;
char hash[45];
TQValueList<TQString[5]> list;
TQValueList<TQStringList> list;
for( context = userstate->context_root; context != NULL; context = context->next ){
fingerprint = context->fingerprint_root.next;
while( fingerprint ){
entry[0] = context->username;
entry.clear();
entry << context->username;
if( ( context->msgstate == OTRL_MSGSTATE_ENCRYPTED ) && ( context->active_fingerprint != fingerprint ) ){
entry[1] = i18n("Unused");
entry << i18n("Unused");
} else {
if (context && context->msgstate == OTRL_MSGSTATE_ENCRYPTED) {
if (context->active_fingerprint->trust && context->active_fingerprint->trust[0] != NULL) {
entry[1] = i18n("Private");
if (context->active_fingerprint->trust && context->active_fingerprint->trust[0] != 0) {
entry << i18n("Private");
} else {
entry[1] = i18n("Unverified");
entry << i18n("Unverified");
}
} else if (context && context->msgstate == OTRL_MSGSTATE_FINISHED) {
entry[1] = i18n("Finished");
entry << i18n("Finished");
} else {
entry[1] = i18n("Not Private");
entry << i18n("Not Private");
}
}
entry[2] = ( fingerprint->trust && fingerprint->trust[0] ) ? i18n("Yes") : i18n("No") ;
entry << ((fingerprint->trust && fingerprint->trust[0]) ? i18n("Yes") : i18n("No"));
otrl_privkey_hash_to_human( hash, fingerprint->fingerprint );
entry[3] = hash;
entry[4] = context->protocol;
entry << hash;
entry << context->protocol;
list << entry;
fingerprint = fingerprint->next;
}
@ -149,7 +154,7 @@ void OtrlConfInterface::verifyFingerprint( TQString strFingerprint, bool trust )
otrl_context_set_trust( fingerprint, NULL );
}
kdDebug() << "Writing fingerprints" << endl;
otrl_privkey_write_fingerprints( userstate, TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "fingerprints" );
otrl_privkey_write_fingerprints( userstate, TQString("%1%2").arg(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )).arg("fingerprints").local8Bit() );
} else {
kdDebug() << "could not find fingerprint" << endl;
}
@ -158,7 +163,7 @@ void OtrlConfInterface::verifyFingerprint( TQString strFingerprint, bool trust )
bool OtrlConfInterface::isVerified( TQString strFingerprint ){
Fingerprint *fingerprint;
fingerprint = findFingerprint( strFingerprint );
fingerprint = findFingerprint( strFingerprint.latin1() );
if( fingerprint->trust && fingerprint->trust[0] ){
kdDebug() << "found trust" << endl;
@ -175,7 +180,7 @@ void OtrlConfInterface::forgetFingerprint( TQString strFingerprint ){
fingerprint = findFingerprint( strFingerprint );
otrl_context_forget_fingerprint( fingerprint, 1 );
otrl_privkey_write_fingerprints( userstate, TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "fingerprints" );
otrl_privkey_write_fingerprints( userstate, TQString("%1%2").arg(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )).arg("fingerprints").local8Bit() );
}
Fingerprint *OtrlConfInterface::findFingerprint( TQString strFingerprint ){

@ -40,7 +40,7 @@ extern "C" {
#include <libotr/context.h>
}
class OtrlConfInterface
class KDE_EXPORT OtrlConfInterface
{
public:
@ -49,7 +49,7 @@ public:
TQString getPrivFingerprint( TQString accountId, TQString protocol );
void generateNewPrivKey( TQString accountId, TQString protocol );
TQValueList<TQString[5]> readAllFingerprints();
TQValueList<TQStringList> readAllFingerprints();
bool hasPrivFingerprint( TQString accountId, TQString protocol);
void forgetFingerprint( TQString strFingerprint );
void verifyFingerprint( TQString strFingerprint, bool trust );
@ -60,7 +60,7 @@ private:
OtrlUserState userstate;
TQWidget *preferencesDialog;
Fingerprint *findFingerprint( TQString strFingerprint );
Fingerprint *findFingerprint( TQString strFingerprint );
};
#endif

@ -0,0 +1,58 @@
/***************************************************************************
* Copyright (C) 2021 by Slávek Banko *
* *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include <kgenericfactory.h>
#include <tdeaboutdata.h>
#include "otrplugin-factory.h"
#include "otrplugin.h"
// typedef KGenericFactory<OTRPlugin> OTRPluginFactory;
static const TDEAboutData aboutdata("kopete_otr", I18N_NOOP("OTR") , "0.7" );
K_EXPORT_COMPONENT_FACTORY( kopete_otr, OTRPluginFactory( &aboutdata ) )
TDEInstance *OTRPluginFactory::s_instance = 0;
OTRPluginFactory::OTRPluginFactory( const TDEAboutData *aboutdata )
{
s_instance = new TDEInstance( aboutdata );
}
OTRPluginFactory::~OTRPluginFactory()
{
delete s_instance;
}
KParts::Part *OTRPluginFactory::createPartObject( TQWidget * /*parentWidget*/,
const char * /*widgetName*/,
TQObject *parent,
const char *name,
const char * /*className*/,
const TQStringList & args )
{
return (KParts::Part*) new OTRPlugin( instance(), parent, name, args);
}
#include "otrplugin-factory.moc"

@ -1,6 +1,6 @@
/***************************************************************************
* Copyright (C) 2007 by Michael Zanetti *
* michael_zanetti@gmx.net *
* Copyright (C) 2021 by Slávek Banko *
* *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@ -15,5 +15,31 @@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#if !defined(OTRPLUGIN_FACTORY_H)
#define OTRPLUGIN_FACTORY_H
#include <tdeparts/factory.h>
class OTRPluginFactory : public KParts::Factory
{
Q_OBJECT
public:
OTRPluginFactory( const TDEAboutData* );
virtual ~OTRPluginFactory();
virtual KParts::Part *createPartObject( TQWidget *parentWidget, const char *widgetName,
TQObject *parent, const char *name,
const char *className, const TQStringList &args );
static TDEInstance *instance() { return s_instance; }
private:
static TDEInstance *s_instance;
};
#endif /* OTRPLUGIN_FACTORY_H */

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include <tqstylesheet.h>
#include <tqtimer.h>
#include <tqregexp.h>
@ -31,7 +35,6 @@
#include <tdeconfig.h>
#include <kgenericfactory.h>
#include <tdeversion.h>
#include <tdeaboutdata.h>
#include <kstandarddirs.h>
#include <tdemessagebox.h>
@ -57,13 +60,8 @@
*/
typedef KGenericFactory<OTRPlugin> OTRPluginFactory;
static const TDEAboutData aboutdata("kopete_otr", I18N_NOOP("OTR") , "0.7" );
K_EXPORT_COMPONENT_FACTORY( kopete_otr, OTRPluginFactory( &aboutdata ) )
OTRPlugin::OTRPlugin( TQObject *parent, const char *name, const TQStringList & /* args */ )
: Kopete::Plugin( OTRPluginFactory::instance(), parent, name )
OTRPlugin::OTRPlugin( TDEInstance *instance, TQObject *parent, const char *name, const TQStringList & /* args */ )
: Kopete::Plugin( instance, parent, name )
{
if( !pluginStatic_ )
pluginStatic_=this;
@ -339,6 +337,3 @@ void OTRPlugin::accountReady( Kopete::Account *account ){
#include "otrplugin.moc"
// vim: set noet ts=4 sts=4 sw=4:

@ -19,7 +19,7 @@
#define OTRPLUGIN_H
#include "kdebug.h"
#include <kdebug.h>
#include <kopeteplugin.h>
#include <kopetemessagehandler.h>
@ -65,16 +65,15 @@ public:
}
};
class OTRPlugin : public Kopete::Plugin
class KDE_EXPORT OTRPlugin : public Kopete::Plugin
{
Q_OBJECT
public:
static OTRPlugin *plugin();
OTRPlugin( TQObject *parent, const char *name, const TQStringList &args );
OTRPlugin( TDEInstance *instance, TQObject *parent, const char *name, const TQStringList &args );
~OTRPlugin();
void emitGoneSecure( Kopete::ChatSession *session, int status );
@ -113,7 +112,6 @@ private:
signals:
void goneSecure( Kopete::ChatSession *session, int state );
};
#endif

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include <tqlayout.h>
#include <tqlabel.h>
#include <tqmap.h>
@ -135,13 +139,14 @@ void OTRPreferences::showPrivFingerprint( int accountnr )
void OTRPreferences::fillFingerprints(){
TQTable *fingerprintsTable = preferencesDialog->tbFingerprints;
preferencesDialog->tbFingerprints->setNumRows(0);
TQValueList<TQString[5]> list = otrlConfInterface->readAllFingerprints();
TQValueList<TQString[5]>::iterator it;
TQValueList<TQStringList> list = otrlConfInterface->readAllFingerprints();
TQValueList<TQStringList>::iterator it;
int j = 0;
for( it = list.begin(); it != list.end(); ++it ){
preferencesDialog->tbFingerprints->setNumRows( preferencesDialog->tbFingerprints->numRows() +1 );
(*it)[0] = OtrlChatInterface::self()->formatContact((*it)[0]);
for( int i = 0; i < 5; i++ ){
fingerprintsTable->setItem(j, 0, new TQAlignTableItem(fingerprintsTable, TQTableItem::Never,
OtrlChatInterface::self()->formatContact((*it)[0]), TQt::AlignLeft));
for( int i = 1; i < 5; i++ ){
//preferencesDialog->tbFingerprints->setText(j, i, (*it)[i] );
fingerprintsTable->setItem(j,i, new TQAlignTableItem(fingerprintsTable, TQTableItem::Never,(*it)[i],TQt::AlignLeft));
}
@ -195,5 +200,3 @@ TQAlignTableItem :: TQAlignTableItem( TQTable *table, EditType editType, const T
#include "otrpreferences.moc"
// vim: set noet ts=4 sts=4 sw=4:

@ -31,7 +31,6 @@
class OTRPreferences : public TDECModule {
Q_OBJECT
public:
OTRPreferences(TQWidget *parent = 0, const char *name = 0, const TQStringList &args = TQStringList());

@ -52,9 +52,6 @@
<property name="text">
<string>&amp;Generate</string>
</property>
<property name="accel">
<string>Alt+G</string>
</property>
</widget>
<widget class="TQComboBox" row="0" column="1">
<property name="name">
@ -111,9 +108,6 @@
<property name="text">
<string>&amp;Opportunistic</string>
</property>
<property name="accel">
<string>Alt+O</string>
</property>
<property name="toolTip" stdset="0">
<string>Encrypt messages automatically if the other side supports OTR</string>
</property>
@ -125,9 +119,6 @@
<property name="text">
<string>Ne&amp;ver</string>
</property>
<property name="accel">
<string>Alt+V</string>
</property>
<property name="toolTip" stdset="0">
<string>Never encrypt messages</string>
</property>
@ -139,9 +130,6 @@
<property name="text">
<string>&amp;Manual</string>
</property>
<property name="accel">
<string>Alt+M</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
@ -159,9 +147,6 @@
<property name="text">
<string>Al&amp;ways</string>
</property>
<property name="accel">
<string>Alt+W</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
@ -262,9 +247,6 @@
<property name="text">
<string>&amp;Verify Fingerprint</string>
</property>
<property name="accel">
<string>Alt+V</string>
</property>
</widget>
<widget class="TQPushButton" row="1" column="1">
<property name="name">
@ -276,9 +258,6 @@
<property name="text">
<string>F&amp;orget Fingerprint</string>
</property>
<property name="accel">
<string>Alt+O</string>
</property>
</widget>
</grid>
</widget>
@ -289,7 +268,7 @@
<slot access="private">generateFingerprint()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kactivelabel.h</includehint>
</includehints>
<includes>
<include location="global" impldecl="in implementation">kactivelabel.h</include>
</includes>
</UI>

@ -0,0 +1,5 @@
##### icons
tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/icons )
tde_install_icons( ${PROJECT_NAME} )

@ -1,4 +0,0 @@
icondir = $(kde_datadir)/kopete_otr/icons
icon_ICON = AUTO
KDE_ICON = kopete_otr

Binary file not shown.

Before

Width:  |  Height:  |  Size: 923 B

After

Width:  |  Height:  |  Size: 815 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 956 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 750 B

After

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 689 B

After

Width:  |  Height:  |  Size: 687 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 767 B

After

Width:  |  Height:  |  Size: 758 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 750 B

After

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 939 B

After

Width:  |  Height:  |  Size: 812 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 873 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 882 B

After

Width:  |  Height:  |  Size: 853 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

@ -22,6 +22,11 @@
* @author Michael Zanetti
*/
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include <kdemacros.h>
#include "privkeypopup.h"

@ -30,7 +30,6 @@
class PrivKeyPopup : public PrivKeyPopupUI
{
Q_OBJECT
public:
PrivKeyPopup(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
@ -53,4 +52,3 @@ protected slots:
};
#endif

@ -18,13 +18,17 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include "tqlabel.h"
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include "kdebug.h"
#include "tdelocale.h"
#include "klineedit.h"
#include "kurl.h"
#include "krun.h"
#include <tqlabel.h>
#include <kdebug.h>
#include <tdelocale.h>
#include <klineedit.h>
#include <kurl.h>
#include <krun.h>
#include "smppopup.h"
#include "verifypopup.h"
@ -74,7 +78,7 @@ void SMPPopup::openHelp()
}
void SMPPopup::manualAuth(){
VerifyPopup *vfPopup = new VerifyPopup(this, i18n("Verify Fingerprint"), session);
VerifyPopup *vfPopup = new VerifyPopup(this, i18n("Verify Fingerprint").utf8(), session);
vfPopup->show();
this->close();
}

@ -33,7 +33,6 @@ extern "C"{
class SMPPopup : public SMPPopupUI
{
Q_OBJECT
public:
SMPPopup(TQWidget* parent = 0, const char* name = 0, TQString title = TQString::null, WFlags fl = 0, ConnContext *context = 0, Kopete::ChatSession *session = 0, bool initiate = true );
@ -61,4 +60,3 @@ protected slots:
};
#endif

@ -30,9 +30,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
<property name="accel">
<string>Alt+O</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
@ -49,9 +46,6 @@
<property name="text">
<string>&amp;Cancel</string>
</property>
<property name="accel">
<string>Alt+C</string>
</property>
</widget>
<widget class="KLineEdit">
<property name="name">
@ -119,9 +113,6 @@
<property name="text">
<string>&amp;Manual Authentication</string>
</property>
<property name="accel">
<string>Alt+M</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
@ -138,9 +129,6 @@
<property name="text">
<string>&amp;Help</string>
</property>
<property name="accel">
<string>Alt+H</string>
</property>
</widget>
</widget>
<images>
@ -181,11 +169,8 @@
<slot>cancelSMP()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>klineedit.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint>
</includehints>
<includes>
<include location="global" impldecl="in implementation">klineedit.h</include>
<include location="global" impldecl="in implementation">kpushbutton.h</include>
</includes>
</UI>

@ -18,6 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include "verifypopup.h"
#include "otrlchatinterface.h"

@ -27,7 +27,6 @@
class VerifyPopup : public VerifyPopupUI
{
Q_OBJECT
public:
VerifyPopup(TQWidget* parent = 0, const char* name = 0, Kopete::ChatSession *session = NULL, bool modal = FALSE, WFlags fl = 0 );
@ -48,4 +47,3 @@ protected slots:
};
#endif

@ -26,9 +26,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
<property name="accel">
<string>Alt+O</string>
</property>
</widget>
<spacer row="3" column="0" rowspan="1" colspan="2">
<property name="name">
@ -104,10 +101,9 @@
<slot>cbChanged()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kpushbutton.h</includehint>
<includehint>kactivelabel.h</includehint>
<includehint>kcombobox.h</includehint>
<includehint>kactivelabel.h</includehint>
</includehints>
<includes>
<include location="global" impldecl="in implementation">kactivelabel.h</include>
<include location="global" impldecl="in implementation">kcombobox.h</include>
<include location="global" impldecl="in implementation">kpushbutton.h</include>
</includes>
</UI>

@ -1,3 +0,0 @@
doc
po
src

@ -1,19 +0,0 @@
/***************************************************************************
* Copyright (C) 2007 by Michael Zanetti *
* michael_zanetti@gmx.net *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/

@ -0,0 +1,27 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-01-31 03:03+0100\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"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kopete_otr.desktop:2 kopete_otr_config.desktop:2
msgid "OTR"
msgstr "OTR"
#. Comment
#: kopete_otr.desktop:4 kopete_otr_config.desktop:4
msgid "Encrypt chat sessions with Off-The-Record encryption"
msgstr "Verschlüsselt Chat-Sitzungen mit Off-The-Record Verschlüsselung"

@ -0,0 +1,27 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-01-31 03:03+0100\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"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kopete_otr.desktop:2 kopete_otr_config.desktop:2
msgid "OTR"
msgstr ""
#. Comment
#: kopete_otr.desktop:4 kopete_otr_config.desktop:4
msgid "Encrypt chat sessions with Off-The-Record encryption"
msgstr ""

@ -0,0 +1,510 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-08 18:28+0000\n"
"PO-Revision-Date: 2019-12-21 13:56+0000\n"
"Last-Translator: Chris <xchrisx@uber.space>\n"
"Language-Team: German <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/kopete-otr/de/>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.9.1\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Chris (TDE)"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "(Keine Email)"
#: otrguiclient.cpp:64
msgid "OTR Settings"
msgstr "OTR Einstellungen"
#: otrguiclient.cpp:66 otrguiclient.cpp:103 otrguiclient.cpp:121
msgid "Start OTR session"
msgstr "OTR Sitzung starten"
#: otrguiclient.cpp:67
msgid "End OTR session"
msgstr "OTR Sitzung beenden"
#: otrguiclient.cpp:68
msgid "Authenticate Contact"
msgstr "Kontakt authentifizieren"
#: otrguiclient.cpp:109 otrguiclient.cpp:115
msgid "Refresh OTR session"
msgstr "OTR Sitzung erneuern"
#: otrlchatinterface.cpp:101 otrlconfinterface.cpp:90 privkeypopupui.ui:16
#, no-c-format
msgid "Generating private key"
msgstr "Erzeuge privaten Schlüssel"
#: otrlchatinterface.cpp:191
msgid ""
"<b>Received a new fingerprint from <a>%1</a>. You should authenticate this "
"contact.</b>"
msgstr ""
"<b>Neuen Fingerabdruck von <a>%1</a> erhalten. Bitte authentifizieren Sie "
"diesen Kontakt.</b>"
#: otrlchatinterface.cpp:205
msgid "<b>Private OTR session started.</b>"
msgstr "<b>Private OTR Sitzung gestartet.</b>"
#: otrlchatinterface.cpp:209
msgid "<b>Unverified OTR session started.</b>"
msgstr "<b>Nicht überprüfte OTR Sitzung gestartet.</b>"
#: otrlchatinterface.cpp:226
msgid "<b>OTR Session ended. The conversation is now insecure!</b>"
msgstr "<b>OTR Sitzung beendet. Die Unterhaltung ist jetzt unsicher!</b>"
#: otrlchatinterface.cpp:233
msgid "<b>OTR connection refreshed successfully.</b>"
msgstr "<b>OTR Sitzung erfolgreich erneuert.</b>"
#: otrlchatinterface.cpp:265
msgid "Error occurred encrypting message."
msgstr "Beim Verschlüsseln der Nachricht ist ein Fehler aufgetreten."
#: otrlchatinterface.cpp:273
#, c-format
msgid "You sent encrypted data to %s, who wasn't expecting it."
msgstr ""
"Sie haben verschlüsselte Daten an %s gesendet, der diese nicht erwartet hat."
#: otrlchatinterface.cpp:280
msgid "You transmitted an unreadable encrypted message."
msgstr "Sie haben eine nicht lesbare verschlüsselte Nachricht gesendet."
#: otrlchatinterface.cpp:287
msgid "You transmitted a malformed data message."
msgstr "Sie haben eine fehlerhafte Datennachricht gesendet."
#: otrlchatinterface.cpp:313
msgid "[resent]"
msgstr "[erneut gesendet]"
#: otrlchatinterface.cpp:345 otrlchatinterface.cpp:666
#: otrlchatinterface.cpp:858 smppopupui.ui:16
#, no-c-format
msgid "Enter authentication secret"
msgstr "Geben Sie das Geheimnis zum authentifizieren ein"
#: otrlchatinterface.cpp:355 otrlchatinterface.cpp:1039
#: otrlchatinterface.cpp:1057
msgid "<b>Authenticating contact...</b>"
msgstr "<b>Authentifiziere Kontakt...</b>"
#: otrlchatinterface.cpp:361 otrlchatinterface.cpp:685
#: otrlchatinterface.cpp:703
msgid "<b>Authentication successful. The conversation is now secure!</b>"
msgstr ""
"<b>Kontakt erfolgreich authentifiziert. Die Sitzung ist jetzt sicher!</b>"
#: otrlchatinterface.cpp:366 otrlchatinterface.cpp:373
#: otrlchatinterface.cpp:689 otrlchatinterface.cpp:707
msgid "<b>Authentication failed. The conversation is now insecure!</b>"
msgstr ""
"<b>Authentifizierung fehlgeschlagen. Die Sitzung ist jetzt unsicher!</b>"
#: otrlchatinterface.cpp:381 otrlchatinterface.cpp:716
msgid "<b>Authentication error!</b>"
msgstr "<b>Fehler beim Authentifizieren!</b>"
#: otrlchatinterface.cpp:400
msgid "You attempted to send an unencrypted message to <b>%1</b>"
msgstr ""
"Sie haben versucht, eine unverschlüsselte Nachricht an <b>%1</b> zu senden."
#: otrlchatinterface.cpp:405
msgid ""
"An error occurred when encrypting your message. The message was not sent."
msgstr ""
"Beim Verschlüsseln Ihrer Nachricht ist ein Fehler aufgetreten. Die Nachricht "
"wurde nicht gesendet."
#: otrlchatinterface.cpp:410 otrlchatinterface.cpp:647
msgid "<b>%1</b> has ended the OTR session. You should do the same."
msgstr ""
"<b>%1</b> hat die OTR Sitzung beendet. Beenden Sie diese ebenfalls oder "
"bauen Sie eine neue auf."
#: otrlchatinterface.cpp:425
msgid "OTR error"
msgstr "OTR-Fehler"
#: otrlchatinterface.cpp:430
msgid ""
"We are receiving our own OTR messages. You are either trying to talk to "
"yourself, or someone is reflecting your messages back at you."
msgstr ""
"Wir empfangen unsere eigenen OTR-Nachrichten. Sie versuchen entweder, mit "
"sich selbst zu sprechen, oder jemand reflektiert Ihre Nachrichten an Sie "
"zurück."
#: otrlchatinterface.cpp:435
msgid "The last message to <b>%1</b> was resent."
msgstr "Die letzte Nachricht an <b>%1</b> wurde erneut gesendet."
#: otrlchatinterface.cpp:440
msgid ""
"The encrypted message received from <b>%1</b> is unreadable, as you are not "
"currently communicating privately."
msgstr ""
"Die von <b>%1</b> empfangene verschlüsselte Nachricht kann nicht gelesen "
"werden, da Sie derzeit nicht privat kommunizieren."
#: otrlchatinterface.cpp:446
msgid "We received an unreadable encrypted message from <b>%1</b>."
msgstr ""
"Wir haben eine nicht lesbare verschlüsselte Nachricht von <b>%1</b> erhalten."
#: otrlchatinterface.cpp:451
msgid "We received a malformed data message from <b>%1</b>."
msgstr "Wir haben eine fehlerhafte Datennachricht von <b>%1</b> erhalten."
#: otrlchatinterface.cpp:469
msgid ""
"<b>The following message received from <b>%1</b> was <i>not</i> encrypted: "
"[</b>%2<b>]</b>"
msgstr ""
"<b>Die folgende Nachricht von <b>%1</b> wurde <i>nicht</i> verschlüsselt: [</"
"b>%2<b>]</b>"
#: otrlchatinterface.cpp:479
msgid ""
"<b>%1</b> has sent an encrypted message intended for a different session. If "
"you are logged in multiple times, another session may have received the "
"message."
msgstr ""
"<b>%1</b> hat eine verschlüsselte Nachricht für eine andere Sitzung "
"gesendet. Wenn Sie mehrfach angemeldet sind, hat möglicherweise eine andere "
"Sitzung die Nachricht erhalten."
#: otrlchatinterface.cpp:751
msgid "Encryption error"
msgstr "Verschlüsselungsfehler"
#: otrlchatinterface.cpp:783
msgid "Terminating OTR session."
msgstr "Beende OTR Sitzung."
#: otrlchatinterface.cpp:1020
msgid "<b>Authentication aborded. The conversation is now insecure!</b>"
msgstr "<b>Authenfizierung abgebrochen. Die Sitzung ist jetzt unsicher!</b>"
#: otrlconfinterface.cpp:76
msgid "No fingerprint present."
msgstr "Kein Fingerabdruck vorhanden."
#: otrlconfinterface.cpp:120
msgid "Unused"
msgstr "Unbenutzt"
#: otrlconfinterface.cpp:124
msgid "Private"
msgstr "Privat"
#: otrlconfinterface.cpp:126
msgid "Unverified"
msgstr "Nicht überprüft"
#: otrlconfinterface.cpp:129
msgid "Finished"
msgstr "Beendet"
#: otrlconfinterface.cpp:131
msgid "Not Private"
msgstr "Nicht Privat"
#: otrplugin-factory.cpp:33
msgid "OTR"
msgstr "OTR"
#: otrplugin.cpp:143
msgid "&Default"
msgstr "&Voreinstellung"
#: otrplugin.cpp:143 otrprefs.ui:148
#, no-c-format
msgid "Al&ways"
msgstr "&Immer"
#: otrplugin.cpp:143 otrprefs.ui:109
#, no-c-format
msgid "&Opportunistic"
msgstr "&Automatisch"
#: otrplugin.cpp:143 otrprefs.ui:131
#, no-c-format
msgid "&Manual"
msgstr "&Manuell"
#: otrplugin.cpp:143 otrprefs.ui:120
#, no-c-format
msgid "Ne&ver"
msgstr "&Nie"
#: otrplugin.cpp:144
msgid "&OTR Policy"
msgstr "&OTR Einstellung"
#: otrplugin.cpp:217
msgid "Your policy settings do not allow encrypted sessions to this contact."
msgstr ""
"Ihre OTR-Einstellungen erlauben keine verschlüsselte Verbindung zu diesem "
"Kontakt."
#: otrplugin.cpp:223
msgid "Attempting to refresh the OTR session with <b>%1</b>..."
msgstr "Versuche die OTR Sitzung mit <b>%1</b> zu erneuern..."
#: otrplugin.cpp:225
msgid "Attempting to start a private OTR session with <b>%1</b>..."
msgstr "Versuche eine private OTR Sitzung mit <b>%1</b> aufzubauen..."
#: otrpreferences.cpp:124
msgid "Selected account already has a key. Do you want to create a new one?"
msgstr ""
"Das ausgewählte Konto hat bereits einen Schlüssel. Möchten Sie einen neuen "
"erzeugen?"
#: otrpreferences.cpp:124
msgid "Overwrite key?"
msgstr "Schlüssel überschreiben?"
#: otrpreferences.cpp:162
msgid ""
"Please contact %1 via another secure way and verify that the following "
"Fingerprint is correct:"
msgstr ""
"Bitte kontaktieren Sie %1 über eine andere sichere Verbindung und überprüfen "
"Sie ob der folgendeFingerabdruck korrekt ist:"
#: otrpreferences.cpp:162
msgid "Are you sure you want to trust this fingerprint?"
msgstr "Möchten Sie diesem Fingerabdruck wirklich vertrauen?"
#: otrpreferences.cpp:162
msgid "Verify fingerprint"
msgstr "Fingerabdruck überprüfen"
#: smppopup.cpp:44
msgid "Please enter the secret passphrase to authenticate %1:"
msgstr "Bitte geben Sie das Passwort ein um %1 zu authentifizieren:"
#: smppopup.cpp:81 verifypopupui.ui:16
#, no-c-format
msgid "Verify Fingerprint"
msgstr "Fingerabdruck überprüfen"
#: verifypopup.cpp:42
#, c-format
msgid "Verify fingerprint for %1."
msgstr "Fingerabdruck für %1 überprüfen."
#: verifypopup.cpp:43
msgid ""
"The received fingerprint is:\n"
"\n"
"%1\n"
"\n"
"Contact %2 via another secure channel and verify that this fingerprint is "
"correct."
msgstr ""
"Der empfangene Fingerabdruck ist:\n"
"\n"
"%1\n"
"\n"
"Kontaktieren Sie %2 über einen anderen sicheren Kanal und überprüfen Sie, ob "
"der fogende Fingerabdruck korrekt ist."
#: verifypopup.cpp:44
#, c-format
msgid "verified that this is in fact the correct fingerprint for %1"
msgstr "überprüft, dass dieser Fingerabdruck wirklich von %1 stammt."
#: verifypopup.cpp:45
msgid "I have not"
msgstr "Ich habe nicht"
#: verifypopup.cpp:46
msgid "I have"
msgstr "Ich habe"
#: kopete_otr.kcfg:7
#, no-c-format
msgid "Always encrypt outgoing messages"
msgstr "Ausgehende Nachrichten immer verschlüsseln"
#: kopete_otr.kcfg:11
#, no-c-format
msgid "Automatically encrypt mesages if the other side supports OTR"
msgstr ""
"Nachrichten automatisch verschlüsseln wenn die andere Seite OTR unterstützt"
#: kopete_otr.kcfg:15
#, no-c-format
msgid "Encrypt mesages if the other side requests an OTR connection"
msgstr ""
"Nachrichten verschlüsseln, wenn die andere Seite eine OTR-Verbindung "
"anfordert"
#: kopete_otr.kcfg:19
#, no-c-format
msgid "Never encrypt outgoing messages"
msgstr "Ausgehende Nachrichten niemals verschlüsseln"
#: otrchatui.rc:5 otrchatui.rc:14
#, no-c-format
msgid "OTR Encryption"
msgstr "OTR Verschlüsselung"
#: otrprefs.ui:16
#, no-c-format
msgid "Form1"
msgstr "Form1"
#: otrprefs.ui:42
#, no-c-format
msgid "Private Keys"
msgstr "Private Schlüssel"
#: otrprefs.ui:53
#, no-c-format
msgid "&Generate"
msgstr "&Erzeugen"
#: otrprefs.ui:72
#, no-c-format
msgid "Account:"
msgstr "Konto:"
#: otrprefs.ui:88
#, no-c-format
msgid "No Fingerprint"
msgstr "Kein Fingerabdruck"
#: otrprefs.ui:98
#, no-c-format
msgid "Default Policy"
msgstr "Voreinstellung für Verschlüsselung"
#: otrprefs.ui:112
#, no-c-format
msgid "Encrypt messages automatically if the other side supports OTR"
msgstr ""
"Nachrichten automatisch verschlüsseln wenn die andere Seite OTR unterstützt"
#: otrprefs.ui:123
#, no-c-format
msgid "Never encrypt messages"
msgstr "Nachrichten nie verschlüsseln"
#: otrprefs.ui:137
#, no-c-format
msgid "Encrypt messages if the other side requests an OTR connection"
msgstr "Nachrichten auf Anfrage verschlüsseln"
#: otrprefs.ui:154
#, no-c-format
msgid "Always encrypt messages"
msgstr "Nachrichten immer verschlüsseln"
#: otrprefs.ui:183
#, no-c-format
msgid "K&nown Fingerprints"
msgstr "&Bekannte Fingerabdrücke"
#: otrprefs.ui:192
#, no-c-format
msgid "User"
msgstr "Benutzer"
#: otrprefs.ui:197
#, no-c-format
msgid "Status"
msgstr "Status"
#: otrprefs.ui:202
#, no-c-format
msgid "Verified"
msgstr "Überprüft"
#: otrprefs.ui:207
#, no-c-format
msgid "Fingerprint"
msgstr "Fingerabdruck"
#: otrprefs.ui:212
#, no-c-format
msgid "Protocol"
msgstr "Protokoll"
#: otrprefs.ui:248
#, no-c-format
msgid "&Verify Fingerprint"
msgstr "Fingerabdruck &überprüfen"
#: otrprefs.ui:259
#, no-c-format
msgid "F&orget Fingerprint"
msgstr "Fingerabdruck &löschen"
#: privkeypopupui.ui:33
#, no-c-format
msgid "Please wait while generating the private key"
msgstr "Bitte warten Sie während der private Schlüssel erzeugt wird"
#: smppopupui.ui:76
#, no-c-format
msgid "Please enter the secret passphrase to authenticate this contact."
msgstr ""
"Bitte geben Sie das Passwort um diesen Kontakt zu authentifizieren ein."
#: smppopupui.ui:114
#, no-c-format
msgid "&Manual Authentication"
msgstr "&Manuelle Überprüfung"
#~ msgid "Yes"
#~ msgstr "Ja"
#~ msgid "No"
#~ msgstr "Nein"
#~ msgid "&Tools"
#~ msgstr "&Extras"
#~ msgid "&Settings"
#~ msgstr "&Einstellungen"
#~ msgid "&Edit"
#~ msgstr "&Bearbeiten"
#~ msgid "&OK"
#~ msgstr "&OK"
#~ msgid "&Cancel"
#~ msgstr "&Abbrechen"
#~ msgid "&Help"
#~ msgstr "&Hilfe"

@ -0,0 +1,444 @@
# SOME DESCRIPTIVE TITLE.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2022-09-08 20:25+0000\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"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#, ignore-inconsistent
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr ""
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#, ignore-inconsistent
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr ""
#: otrguiclient.cpp:64
msgid "OTR Settings"
msgstr ""
#: otrguiclient.cpp:66 otrguiclient.cpp:103 otrguiclient.cpp:121
msgid "Start OTR session"
msgstr ""
#: otrguiclient.cpp:67
msgid "End OTR session"
msgstr ""
#: otrguiclient.cpp:68
msgid "Authenticate Contact"
msgstr ""
#: otrguiclient.cpp:109 otrguiclient.cpp:115
msgid "Refresh OTR session"
msgstr ""
#: otrlchatinterface.cpp:101 otrlconfinterface.cpp:90 privkeypopupui.ui:16
#, no-c-format
msgid "Generating private key"
msgstr ""
#: otrlchatinterface.cpp:191
msgid ""
"<b>Received a new fingerprint from <a>%1</a>. You should authenticate this "
"contact.</b>"
msgstr ""
#: otrlchatinterface.cpp:205
msgid "<b>Private OTR session started.</b>"
msgstr ""
#: otrlchatinterface.cpp:209
msgid "<b>Unverified OTR session started.</b>"
msgstr ""
#: otrlchatinterface.cpp:226
msgid "<b>OTR Session ended. The conversation is now insecure!</b>"
msgstr ""
#: otrlchatinterface.cpp:233
msgid "<b>OTR connection refreshed successfully.</b>"
msgstr ""
#: otrlchatinterface.cpp:265
msgid "Error occurred encrypting message."
msgstr ""
#: otrlchatinterface.cpp:273
#, c-format
msgid "You sent encrypted data to %s, who wasn't expecting it."
msgstr ""
#: otrlchatinterface.cpp:280
msgid "You transmitted an unreadable encrypted message."
msgstr ""
#: otrlchatinterface.cpp:287
msgid "You transmitted a malformed data message."
msgstr ""
#: otrlchatinterface.cpp:313
msgid "[resent]"
msgstr ""
#: otrlchatinterface.cpp:345 otrlchatinterface.cpp:666
#: otrlchatinterface.cpp:858 smppopupui.ui:16
#, no-c-format
msgid "Enter authentication secret"
msgstr ""
#: otrlchatinterface.cpp:355 otrlchatinterface.cpp:1039
#: otrlchatinterface.cpp:1057
msgid "<b>Authenticating contact...</b>"
msgstr ""
#: otrlchatinterface.cpp:361 otrlchatinterface.cpp:685
#: otrlchatinterface.cpp:703
msgid "<b>Authentication successful. The conversation is now secure!</b>"
msgstr ""
#: otrlchatinterface.cpp:366 otrlchatinterface.cpp:373
#: otrlchatinterface.cpp:689 otrlchatinterface.cpp:707
msgid "<b>Authentication failed. The conversation is now insecure!</b>"
msgstr ""
#: otrlchatinterface.cpp:381 otrlchatinterface.cpp:716
msgid "<b>Authentication error!</b>"
msgstr ""
#: otrlchatinterface.cpp:400
msgid "You attempted to send an unencrypted message to <b>%1</b>"
msgstr ""
#: otrlchatinterface.cpp:405
msgid ""
"An error occurred when encrypting your message. The message was not sent."
msgstr ""
#: otrlchatinterface.cpp:410 otrlchatinterface.cpp:647
msgid "<b>%1</b> has ended the OTR session. You should do the same."
msgstr ""
#: otrlchatinterface.cpp:425
msgid "OTR error"
msgstr ""
#: otrlchatinterface.cpp:430
msgid ""
"We are receiving our own OTR messages. You are either trying to talk to "
"yourself, or someone is reflecting your messages back at you."
msgstr ""
#: otrlchatinterface.cpp:435
msgid "The last message to <b>%1</b> was resent."
msgstr ""
#: otrlchatinterface.cpp:440
msgid ""
"The encrypted message received from <b>%1</b> is unreadable, as you are not "
"currently communicating privately."
msgstr ""
#: otrlchatinterface.cpp:446
msgid "We received an unreadable encrypted message from <b>%1</b>."
msgstr ""
#: otrlchatinterface.cpp:451
msgid "We received a malformed data message from <b>%1</b>."
msgstr ""
#: otrlchatinterface.cpp:469
msgid ""
"<b>The following message received from <b>%1</b> was <i>not</i> encrypted: "
"[</b>%2<b>]</b>"
msgstr ""
#: otrlchatinterface.cpp:479
msgid ""
"<b>%1</b> has sent an encrypted message intended for a different session. If "
"you are logged in multiple times, another session may have received the "
"message."
msgstr ""
#: otrlchatinterface.cpp:751
msgid "Encryption error"
msgstr ""
#: otrlchatinterface.cpp:783
msgid "Terminating OTR session."
msgstr ""
#: otrlchatinterface.cpp:1020
msgid "<b>Authentication aborded. The conversation is now insecure!</b>"
msgstr ""
#: otrlconfinterface.cpp:76
msgid "No fingerprint present."
msgstr ""
#: otrlconfinterface.cpp:120
msgid "Unused"
msgstr ""
#: otrlconfinterface.cpp:124
msgid "Private"
msgstr ""
#: otrlconfinterface.cpp:126
msgid "Unverified"
msgstr ""
#: otrlconfinterface.cpp:129
msgid "Finished"
msgstr ""
#: otrlconfinterface.cpp:131
msgid "Not Private"
msgstr ""
#: otrplugin-factory.cpp:33
msgid "OTR"
msgstr ""
#: otrplugin.cpp:143
msgid "&Default"
msgstr ""
#: otrplugin.cpp:143 otrprefs.ui:148
#, no-c-format
msgid "Al&ways"
msgstr ""
#: otrplugin.cpp:143 otrprefs.ui:109
#, no-c-format
msgid "&Opportunistic"
msgstr ""
#: otrplugin.cpp:143 otrprefs.ui:131
#, no-c-format
msgid "&Manual"
msgstr ""
#: otrplugin.cpp:143 otrprefs.ui:120
#, no-c-format
msgid "Ne&ver"
msgstr ""
#: otrplugin.cpp:144
msgid "&OTR Policy"
msgstr ""
#: otrplugin.cpp:217
msgid "Your policy settings do not allow encrypted sessions to this contact."
msgstr ""
#: otrplugin.cpp:223
msgid "Attempting to refresh the OTR session with <b>%1</b>..."
msgstr ""
#: otrplugin.cpp:225
msgid "Attempting to start a private OTR session with <b>%1</b>..."
msgstr ""
#: otrpreferences.cpp:124
msgid "Selected account already has a key. Do you want to create a new one?"
msgstr ""
#: otrpreferences.cpp:124
msgid "Overwrite key?"
msgstr ""
#: otrpreferences.cpp:162
msgid ""
"Please contact %1 via another secure way and verify that the following "
"Fingerprint is correct:"
msgstr ""
#: otrpreferences.cpp:162
msgid "Are you sure you want to trust this fingerprint?"
msgstr ""
#: otrpreferences.cpp:162
msgid "Verify fingerprint"
msgstr ""
#: smppopup.cpp:44
msgid "Please enter the secret passphrase to authenticate %1:"
msgstr ""
#: smppopup.cpp:81 verifypopupui.ui:16
#, no-c-format
msgid "Verify Fingerprint"
msgstr ""
#: verifypopup.cpp:42
#, c-format
msgid "Verify fingerprint for %1."
msgstr ""
#: verifypopup.cpp:43
msgid ""
"The received fingerprint is:\n"
"\n"
"%1\n"
"\n"
"Contact %2 via another secure channel and verify that this fingerprint is "
"correct."
msgstr ""
#: verifypopup.cpp:44
#, c-format
msgid "verified that this is in fact the correct fingerprint for %1"
msgstr ""
#: verifypopup.cpp:45
msgid "I have not"
msgstr ""
#: verifypopup.cpp:46
msgid "I have"
msgstr ""
#: kopete_otr.kcfg:7
#, no-c-format
msgid "Always encrypt outgoing messages"
msgstr ""
#: kopete_otr.kcfg:11
#, no-c-format
msgid "Automatically encrypt mesages if the other side supports OTR"
msgstr ""
#: kopete_otr.kcfg:15
#, no-c-format
msgid "Encrypt mesages if the other side requests an OTR connection"
msgstr ""
#: kopete_otr.kcfg:19
#, no-c-format
msgid "Never encrypt outgoing messages"
msgstr ""
#: otrchatui.rc:5 otrchatui.rc:14
#, no-c-format
msgid "OTR Encryption"
msgstr ""
#: otrprefs.ui:16
#, no-c-format
msgid "Form1"
msgstr ""
#: otrprefs.ui:42
#, no-c-format
msgid "Private Keys"
msgstr ""
#: otrprefs.ui:53
#, no-c-format
msgid "&Generate"
msgstr ""
#: otrprefs.ui:72
#, no-c-format
msgid "Account:"
msgstr ""
#: otrprefs.ui:88
#, no-c-format
msgid "No Fingerprint"
msgstr ""
#: otrprefs.ui:98
#, no-c-format
msgid "Default Policy"
msgstr ""
#: otrprefs.ui:112
#, no-c-format
msgid "Encrypt messages automatically if the other side supports OTR"
msgstr ""
#: otrprefs.ui:123
#, no-c-format
msgid "Never encrypt messages"
msgstr ""
#: otrprefs.ui:137
#, no-c-format
msgid "Encrypt messages if the other side requests an OTR connection"
msgstr ""
#: otrprefs.ui:154
#, no-c-format
msgid "Always encrypt messages"
msgstr ""
#: otrprefs.ui:183
#, no-c-format
msgid "K&nown Fingerprints"
msgstr ""
#: otrprefs.ui:192
#, no-c-format
msgid "User"
msgstr ""
#: otrprefs.ui:197
#, no-c-format
msgid "Status"
msgstr ""
#: otrprefs.ui:202
#, no-c-format
msgid "Verified"
msgstr ""
#: otrprefs.ui:207
#, no-c-format
msgid "Fingerprint"
msgstr ""
#: otrprefs.ui:212
#, no-c-format
msgid "Protocol"
msgstr ""
#: otrprefs.ui:248
#, no-c-format
msgid "&Verify Fingerprint"
msgstr ""
#: otrprefs.ui:259
#, no-c-format
msgid "F&orget Fingerprint"
msgstr ""
#: privkeypopupui.ui:33
#, no-c-format
msgid "Please wait while generating the private key"
msgstr ""
#: smppopupui.ui:76
#, no-c-format
msgid "Please enter the secret passphrase to authenticate this contact."
msgstr ""
#: smppopupui.ui:114
#, no-c-format
msgid "&Manual Authentication"
msgstr ""
Loading…
Cancel
Save