Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
kdebase4-workspace
pam-translate.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pam-translate.diff of Package kdebase4-workspace
Index: libs/kdm/kgreet_generic.cpp =================================================================== --- libs/kdm/kgreet_generic.cpp.orig 2010-07-06 08:54:28.000000000 +0200 +++ libs/kdm/kgreet_generic.cpp 2010-11-21 20:47:03.809718230 +0100 @@ -141,7 +141,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); QLabel *label = new QLabel(qtext, m_parentWidget); m_grid->addWidget(label, m_line++, 0, 1, 2); @@ -169,7 +171,10 @@ KGenericGreeter::textPrompt(const char * else m_infoMsgs.clear(); - QLabel *label = new QLabel(QString::fromUtf8(prompt).trimmed()); + // PAM does not translate these + ( void ) I18N_NOOP( "Password: " ); + ( void ) I18N_NOOP( "Password or swipe finger: " ); + QLabel *label = new QLabel(i18n( prompt ).trimmed()); m_grid->addWidget(label, m_line, 0); m_children.append(label); m_echo = echo;
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