Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
python-kdebase4
pam-translate.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pam-translate.diff of Package python-kdebase4
Index: libs/kdm/kgreet_generic.cpp =================================================================== --- libs/kdm/kgreet_generic.cpp.orig +++ libs/kdm/kgreet_generic.cpp @@ -164,7 +164,9 @@ KGenericGreeter::textMessage(const char if (m_infoMsgs.isEmpty()) revive(); - QString qtext = QString::fromUtf8(text); + // PAM does not translate these + //(void) I18N_NOOP(""); + QString qtext = i18n( text ); m_infoMsgs.append(qtext); m_messageLabel->setText( m_infoMsgs.join( "\n" )); @@ -193,7 +195,11 @@ KGenericGreeter::textPrompt(const char * m_children.append(m_label); m_echo = echo; - m_label->setText( QString::fromUtf8( prompt ).trimmed()); + // PAM does not translate these + ( void ) I18N_NOOP( "Password: " ); + ( void ) I18N_NOOP( "Password or swipe finger: " ); + m_label->setText( i18n( prompt ).trimmed()); + m_lineEdit->setContextMenuPolicy( Qt::NoContextMenu ); m_lineEdit->setCompletionObject( 0 ); m_lineEdit->disconnect( this );
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor