tr()-fixes in fakevim.

Change-Id: I17c16616a6d28dbf08f0de8dba57bb37568aab02
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Friedemann Kleint
2013-06-10 11:50:12 +02:00
committed by hjk
parent 96a0920440
commit 6e2c3c4257
2 changed files with 4 additions and 4 deletions

View File

@@ -272,7 +272,7 @@
<item row="2" column="0">
<widget class="QCheckBox" name="checkBoxReadVimRc">
<property name="text">
<string>Read .vimrc, from location:</string>
<string>Read .vimrc from location:</string>
</property>
</widget>
</item>

View File

@@ -270,9 +270,9 @@ QWidget *FakeVimOptionPage::createPage(QWidget *parent)
{
QWidget *w = new QWidget(parent);
m_ui.setupUi(w);
m_ui.lineEditVimRcPath->setPlaceholderText(
Utils::HostOsInfo::isAnyUnixHost() ? tr("Default: $HOME/.vimrc")
: tr("Default: %USERPROFILE%\\_vimrc"));
const QString vimrcDefault = Utils::HostOsInfo::isAnyUnixHost() ?
QLatin1String("$HOME/.vimrc") : QLatin1String("%USERPROFILE%\\_vimrc");
m_ui.lineEditVimRcPath->setPlaceholderText(tr("Default: %1").arg(vimrcDefault));
m_group.clear();
m_group.insert(theFakeVimSetting(ConfigUseFakeVim),