forked from qt-creator/qt-creator
tr()-fixes in fakevim.
Change-Id: I17c16616a6d28dbf08f0de8dba57bb37568aab02 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -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>
|
||||
|
@@ -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),
|
||||
|
Reference in New Issue
Block a user