Translations:Help:Contents/7/fr: Difference between revisions

From KDE TechBase
(Created page with "; Mise en forme de la syntaxe : Entourez vos sections de code C++ Qt ou KDE avec <code><tt><syntaxhighlight lang="cpp"></tt>, <tt><syntaxhighlight lang="cpp" line="...")
 
No edit summary
Line 1: Line 1:
; Mise en forme de la syntaxe  
; Mise en forme de la syntaxe  
: Entourez vos sections de code C++ Qt ou KDE  avec <code><tt>&lt;syntaxhighlight lang="cpp"&gt;</tt>, <tt>&lt;syntaxhighlight lang="cpp" line=""&gt;</tt>, <tt>&lt;syntaxhighlight lang="cpp-qt"&gt;</tt></code> et  <tt>&lt;/syntaxhighlight&gt;</tt> to get syntax highlighting (<tt>cpp</tt> for C++, <tt>cpp-qt</tt> for Qt) and numbered lines (<tt>line=""</tt>). Replace <tt>cpp</tt> with [http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Supported_languages the language used], e.g. <tt>ruby</tt> for Ruby and <tt>python</tt> for Python (soon). Use <tt>ini</tt> for {{path|.desktop}} files, <tt>xml</tt> for XML files.
: Entourez vos sections de code C++ Qt ou KDE  avec <code><tt>&lt;syntaxhighlight lang="cpp"&gt;</tt>, <tt>&lt;syntaxhighlight lang="cpp" line=""&gt;</tt>, <tt>&lt;syntaxhighlight lang="cpp-qt"&gt;</tt></code> et  <code><tt>&lt;/syntaxhighlight&gt;</tt></code> pour obtenir la mise en forme (<tt>cpp</tt> pour C++, <tt>cpp-qt</tt> pour Qt) et la numérotation des lignes (<tt>line=""</tt>). Remplacez <tt>cpp</tt> par le [http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Supported_languages the langage utilisé], par exemple <tt>ruby</tt> pour Ruby et <tt>python</tt> pour Python (bientôt). Utilisez <tt>ini</tt> pour les fichiers {{path|.desktop}}, <tt>xml</tt> pour les fichiers XML.

Revision as of 13:00, 18 May 2019

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Help:Contents)
; Syntax highlighting
: Wrap your C++ Qt/KDE code snippets in <tt>&lt;syntaxhighlight lang="cpp"&gt;</tt>, <tt>&lt;syntaxhighlight lang="cpp" line=""&gt;</tt>, <tt>&lt;syntaxhighlight lang="cpp-qt"&gt;</tt> and <tt>&lt;/syntaxhighlight&gt;</tt> to get syntax highlighting (<tt>cpp</tt> for C++, <tt>cpp-qt</tt> for Qt) and numbered lines (<tt>line=""</tt>). Replace <tt>cpp</tt> with [http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Supported_languages the language used], e.g. <tt>ruby</tt> for Ruby and <tt>python</tt> for Python (soon). Use <tt>ini</tt> for {{path|.desktop}} files, <tt>xml</tt> for XML files.
Mise en forme de la syntaxe
Entourez vos sections de code C++ Qt ou KDE avec <syntaxhighlight lang="cpp">, <syntaxhighlight lang="cpp" line="">, <syntaxhighlight lang="cpp-qt"> et </syntaxhighlight> pour obtenir la mise en forme (cpp pour C++, cpp-qt pour Qt) et la numérotation des lignes (line=""). Remplacez cpp par le the langage utilisé, par exemple ruby pour Ruby et python pour Python (bientôt). Utilisez ini pour les fichiers .desktop, xml pour les fichiers XML.