Commit 6c197d85 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

subversion: add more UI context marker for strings, fix some style

GIT_SILENT
parent d39d52ed
......@@ -335,14 +335,14 @@ KDevelop::ContextMenuExtension KDevSvnPlugin::contextMenuExtension(KDevelop::Con
if( !copy_action )
{
copy_action = new QAction(i18n("Copy..."), this);
copy_action = new QAction(i18nc("@action:inmenu", "Copy..."), this);
connect(copy_action, &QAction::triggered, this, &KDevSvnPlugin::ctxCopy);
}
svnmenu->addAction(copy_action);
if( !move_action )
{
move_action = new QAction(i18n("Move..."), this);
move_action = new QAction(i18nc("@action:inmenu", "Move..."), this);
connect(move_action, &QAction::triggered, this, &KDevSvnPlugin::ctxMove);
}
svnmenu->addAction(move_action);
......@@ -371,7 +371,7 @@ void KDevSvnPlugin::ctxCopy()
dir = dir.adjusted(QUrl::RemoveFilename|QUrl::StripTrailingSlash);
}
KUrlRequesterDialog dlg(dir, i18n("Destination file/directory"), nullptr);
KUrlRequesterDialog dlg(dir, i18nc("@label", "Destination file/directory"), nullptr);
if (isFile) {
dlg.urlRequester()->setMode(KFile::File | KFile::Directory | KFile::LocalOnly);
......
......@@ -29,10 +29,10 @@ SvnSSLTrustDialog::SvnSSLTrustDialog( QWidget *parent )
{
d->ui.setupUi( this );
d->temporarily = true;
setWindowTitle( i18n( "Ssl Server Certificate" ) );
setWindowTitle(i18nc("@title:window", "SSL Server Certificate"));
buttonBox = new QDialogButtonBox(QDialogButtonBox::Cancel);
buttonBox->addButton(i18n("Trust Permanently"), QDialogButtonBox::YesRole);
buttonBox->addButton(i18n("Trust Temporarily"), QDialogButtonBox::AcceptRole)->setDefault(true);
buttonBox->addButton(i18nc("@action:button", "Trust Permanently"), QDialogButtonBox::YesRole);
buttonBox->addButton(i18nc("@action:button", "Trust Temporarily"), QDialogButtonBox::AcceptRole)->setDefault(true);
auto layout = new QVBoxLayout();
setLayout(layout);
layout->addWidget(buttonBox);
......@@ -63,7 +63,7 @@ void SvnSSLTrustDialog::setCertInfos( const QString& hostname,
d->ui.validUntil->setText( validuntil );
d->ui.validFrom->setText( validfrom );
d->ui.issuer->setText( issuerName );
setWindowTitle( i18n( "Ssl Server Certificate: %1", realm ) );
setWindowTitle(i18nc("@title:window", "SSL Server Certificate: %1", realm));
}
......
......@@ -17,27 +17,24 @@
<item row="0" column="0">
<widget class="QLabel" name="labelForSrc">
<property name="text">
<string>Source directory:</string>
<string comment="@label:textbox">Source directory:</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Repository:</string>
<string comment="@label:textbox">Repository:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="dest">
<property name="toolTip">
<string>Repository Location</string>
</property>
<property name="statusTip">
<string>Repository Location to import into</string>
<string comment="@info:tooltip">Repository location</string>
</property>
<property name="whatsThis">
<string>Choose the repository into which the source directory is imported</string>
<string comment="@info:whatsthis">Choose the repository into which the source directory is imported</string>
</property>
</widget>
</item>
......@@ -57,7 +54,7 @@
<item row="2" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Commit message:</string>
<string comment="@label:textbox">Commit message:</string>
</property>
</widget>
</item>
......
......@@ -9,9 +9,6 @@
<height>500</height>
</rect>
</property>
<property name="windowTitle" >
<string>SSL Server Certificate</string>
</property>
<layout class="QVBoxLayout" >
<item>
<widget class="QLabel" name="msgLabel" >
......@@ -52,7 +49,7 @@ Do you want to trust this certificate?</string>
<item>
<widget class="QGroupBox" name="groupBox_2" >
<property name="title" >
<string>Certificate Information</string>
<string comment="@title:group">Certificate Information</string>
</property>
<layout class="QGridLayout" >
<property name="horizontalSpacing" >
......@@ -64,7 +61,7 @@ Do you want to trust this certificate?</string>
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>Hostname:</string>
<string comment="@label:textbox">Hostname:</string>
</property>
</widget>
</item>
......@@ -84,7 +81,7 @@ Do you want to trust this certificate?</string>
<item row="1" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Issuer:</string>
<string comment="@label:textbox">Issuer:</string>
</property>
</widget>
</item>
......@@ -104,7 +101,7 @@ Do you want to trust this certificate?</string>
<item row="2" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>Valid From:</string>
<string comment="@label:textbox">Valid from:</string>
</property>
</widget>
</item>
......@@ -124,7 +121,7 @@ Do you want to trust this certificate?</string>
<item row="3" column="0" >
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>Valid Until:</string>
<string comment="@label:textbox">Valid until:</string>
</property>
</widget>
</item>
......@@ -144,7 +141,7 @@ Do you want to trust this certificate?</string>
<item row="4" column="0" >
<widget class="QLabel" name="label_5" >
<property name="text" >
<string>Fingerprint:</string>
<string comment="@label:textbox">Fingerprint:</string>
</property>
</widget>
</item>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment