|
|
|
@ -18,11 +18,11 @@
|
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
|
|
|
|
|
***************************************************************************/
|
|
|
|
|
#include "ccontextlistener.h"
|
|
|
|
|
#include "src/settings/tdesvnsettings.h"
|
|
|
|
|
#include "src/ksvnwidgets/authdialogimpl.h"
|
|
|
|
|
#include "src/ksvnwidgets/logmsg_impl.h"
|
|
|
|
|
#include "src/ksvnwidgets/ssltrustprompt_impl.h"
|
|
|
|
|
#include "src/ksvnwidgets/pwstorage.h"
|
|
|
|
|
#include "tdesvnsettings.h"
|
|
|
|
|
#include "authdialogimpl.h"
|
|
|
|
|
#include "logmsg_impl.h"
|
|
|
|
|
#include "ssltrustprompt_impl.h"
|
|
|
|
|
#include "pwstorage.h"
|
|
|
|
|
|
|
|
|
|
#include <klocale.h>
|
|
|
|
|
#include <kapp.h>
|
|
|
|
@ -104,13 +104,13 @@ TQString CContextListener::NotifyAction(svn_wc_notify_action_t action)
|
|
|
|
|
if (action>=smax_actionstring||action<0) {
|
|
|
|
|
return TQString();
|
|
|
|
|
}
|
|
|
|
|
return action_strings[action].isEmpty()?TQString():i18n(action_strings[action]);
|
|
|
|
|
return action_strings[action].isEmpty()?TQString():i18n(action_strings[action].ascii());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TQString CContextListener::NotifyState(svn_wc_notify_state_t state)
|
|
|
|
|
{
|
|
|
|
|
if (state > svn_wc_notify_state_conflicted || state<0) return TQString();
|
|
|
|
|
return notify_state_strings[state].isEmpty()?TQString():i18n(notify_state_strings[state]);
|
|
|
|
|
return notify_state_strings[state].isEmpty()?TQString():i18n(notify_state_strings[state].ascii());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CContextListener::CContextListener(TQObject *parent, const char *name)
|
|
|
|
@ -339,7 +339,7 @@ TQStringList CContextListener::failure2Strings(apr_uint32_t acceptedFailures)
|
|
|
|
|
|
|
|
|
|
TQString CContextListener::translate(const TQString&what)
|
|
|
|
|
{
|
|
|
|
|
return i18n(what);
|
|
|
|
|
return i18n(what.ascii());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|