Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
kdebase4-wallpapers
pam-translate.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pam-translate.diff of Package kdebase4-wallpapers
Subject: Translate messages from PAM From: Lubos Lunak Patch-upstream: not yet Bug: bnc#533189 --- libs/kdm/kgreet_generic.cpp.sav 2010-03-09 11:52:17.000000000 +0100 +++ libs/kdm/kgreet_generic.cpp 2010-03-09 15:04:49.000000000 +0100 @@ -152,7 +152,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_label->setText( qtext ); @@ -180,7 +182,10 @@ KGenericGreeter::textPrompt( const char m_infoMsgs.clear(); 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