Disambiguate "Executable:"

"the executable" versus "the file is executable"

Fix translations where both variants were available (i.e. that used the
adjective for the translation in Core, but the noun elsewhere).

Fixes: QTCREATORBUG-31059
Change-Id: Id140612f201cea1feca007557bbedf030cfdf504
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Eike Ziller
2024-06-18 15:36:19 +02:00
parent 267f392977
commit 987d292414
6 changed files with 21 additions and 3 deletions

View File

@@ -21936,8 +21936,14 @@ Doppelklicken Sie einen Eintrag um ihn zu ändern.</translation>
</message>
<message>
<source>Executable:</source>
<comment>adjective</comment>
<translation>Ausführbar:</translation>
</message>
<message>
<source>Executable:</source>
<comment>noun</comment>
<translation>Ausführbare Datei:</translation>
</message>
<message>
<source>Symbolic link:</source>
<translation>Symbolischer Link:</translation>

View File

@@ -2133,8 +2133,14 @@ Međutim, korištenje opuštenih i proširenih pravila također znači da nije m
</message>
<message>
<source>Executable:</source>
<comment>adjective</comment>
<translation>Izvršavajuća:</translation>
</message>
<message>
<source>Executable:</source>
<comment>noun</comment>
<translation>Izvršna datoteka:</translation>
</message>
<message>
<source>Symbolic link:</source>
<translation>Simbolička poveznica:</translation>

View File

@@ -18313,8 +18313,14 @@ will also disable the following plugins:
</message>
<message>
<source>Executable:</source>
<comment>adjective</comment>
<translation>Можно запускать:</translation>
</message>
<message>
<source>Executable:</source>
<comment>noun</comment>
<translation>Программа:</translation>
</message>
<message>
<source>Symbolic link:</source>
<translation>Символьная ссылка:</translation>

View File

@@ -563,7 +563,7 @@ ExternalToolConfig::ExternalToolConfig()
Form {
Tr::tr("Description:"), m_description, br,
Tr::tr("Executable:"), m_executable, br,
Tr::tr("Executable:", "noun"), m_executable, br,
Tr::tr("Arguments:"), m_arguments, br,
Tr::tr("Working directory:"), m_workingDirectory, br,
outputLabel, m_outputBehavior, br,

View File

@@ -79,7 +79,7 @@ FilePropertiesDialog::FilePropertiesDialog(const FilePath &filePath, QWidget *pa
Tr::tr("Last modified:"), m_lastModified, br,
Tr::tr("Readable:"), m_readable, br,
Tr::tr("Writable:"), m_writable, br,
Tr::tr("Executable:"), m_executable, br,
Tr::tr("Executable:", "adjective"), m_executable, br,
Tr::tr("Symbolic link:"), m_symLink, br
},
buttonBox

View File

@@ -220,7 +220,7 @@ bool SpotlightLocatorFilter::openConfigDialog(QWidget *parent, bool &needsRefres
caseSensitiveArgumentsEdit->setText(m_caseSensitiveArguments);
auto sortResults = new QCheckBox(Tr::tr("Sort results"));
sortResults->setChecked(m_sortResults);
layout->addRow(Tr::tr("Executable:"), commandEdit);
layout->addRow(Tr::tr("Executable:", "noun"), commandEdit);
layout->addRow(Tr::tr("Arguments:"), argumentsEdit);
layout->addRow(Tr::tr("Case sensitive:"), caseSensitiveArgumentsEdit);
layout->addRow({}, sortResults);