source: spip-zone/_plugins_/coloration_code/trunk/lang/paquet-coloration_code_en.php @ 101999

Last change on this file since 101999 was 101999, checked in by salvatore@…, 4 years ago

[Salvatore] paquet-coloration_code Export depuis http://trad.spip.net

File size: 1.5 KB
Line 
1<?php
2// This is a SPIP language file  --  Ceci est un fichier langue de SPIP
3// extrait automatiquement de https://trad.spip.net/tradlang_module/paquet-coloration_code?lang_cible=en
4// ** ne pas modifier le fichier **
5
6if (!defined('_ECRIRE_INC_VERSION')) {
7        return;
8}
9
10$GLOBALS[$GLOBALS['idx_lang']] = array(
11
12        // C
13        'coloration_code_description' => 'You just have to put it between the tags:
14_ {{&lt;code class="language"&gt;...&lt;/code&gt;}}
15_ or with a frame
16_ {{&lt;cadre class="langage"&gt;...&lt;/cadre&gt;}}.
17
18The possible languages are the ones supported by [->http://sourceforge.net/projects/geshi/] with an extra class: "spip".
19
20
21By default, when the highlighted code has more than one line, il will be put in cache as text and proposed to upload. This feature may be controlled globaly through the constant PLUGIN_COLORATION_CODE_TELECHARGE default true. It may also be forced locally by adding a class "sans_telechargement" in a way or "chargement" in the other as
22_ {{&lt;code class="php sans_telechargement"&gt;}}
23
24You may also use {coloration_code_color} as a filter in a squelette as
25_ <code>#TEXTE**|coloration_code_color{spip,code}</code>: highlights #TEXTE with langage "spip" in format code (without frame), see example lecode.html. From article url would be <code>#URL_SITE_SPIP/spip.php?page=lecode&id_article=#ENV{id_article}</code>',
26        'coloration_code_nom' => 'Code higlighting',
27        'coloration_code_slogan' => 'Syntax higlighting of code placed in articles'
28);
Note: See TracBrowser for help on using the repository browser.