[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kexi/widget
From: Jarosław Staniek <staniek () kde ! org>
Date: 2009-05-10 22:54:04
Message-ID: 1241996044.043722.10837.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 966326 by staniek:
Widgets
- info label: use i18n for constructing info text
M +6 -3 kexipropertyeditorview.cpp
--- trunk/koffice/kexi/widget/kexipropertyeditorview.cpp #966325:966326
@@ -76,10 +76,13 @@
void KexiObjectInfoLabel::updateName()
{
QString txt(m_className);
- if (txt.isEmpty())
+ if (txt.isEmpty()) {
txt = m_objectName;
- else if (!m_objectName.isEmpty())
- txt += QString(" \"%1\"").arg(m_objectName);
+ }
+ else if (!m_objectName.isEmpty()) {
+ txt = i18nc("Object class \"objectName\", e.g. Text editor \"text\"", "%1 \"%2\"",
+ txt, m_objectName);
+ }
m_objectNameLabel->setText(txt);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic