Skip to content
Extraits de code Groupes Projets
Valider 12bfee33 rédigé par Fil's avatar Fil
Parcourir les fichiers

traductions

parent 6c80d8db
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -399,7 +399,7 @@ if ($connect_statut == "0minirezo" AND $statut_article == 'publie' AND $visites
}
if ($articles_versions AND $id_version>1 AND $options == "avancees") {
icone_horizontale(_L('Afficher l\'historique'), "articles_versions.php3?id_article=$id_article", "historique-24.gif", "rien.gif");
icone_horizontale(_T('info_historique_lien'), "articles_versions.php3?id_article=$id_article", "historique-24.gif", "rien.gif");
}
echo "</div>\n";
......
......@@ -526,14 +526,6 @@ echo "<P><HR><P>";
echo $texte;
echo "</TEXTAREA>\n";
/* // traitement automatique des sauts de ligne : pas mur
if ($proposer_autobr AND ($options == "avancees")) {
echo '<div class="verdana2">';
echo '<input type="checkbox" class="checkbox" name="post_autobr" id="autobr" value="1" />';
echo '<label for="autobr">'._L("prendre en compte les sauts de ligne simples").'</label></div>';
}
*/
if (($articles_ps != "non" AND $options == "avancees") OR $ps) {
echo "<P><B>"._T('info_post_scriptum')."</B><BR>";
echo "<TEXTAREA NAME='ps' CLASS='forml' ROWS='5' COLS='40' wrap=soft>";
......
......@@ -79,7 +79,7 @@ foreach ($textes as $var => $t) $$var = $t;
debut_page(_L('R&eacute;visions :')." &laquo; $titre &raquo;", "documents", "articles");
debut_page(_T('info_historique')." &laquo; $titre &raquo;", "documents", "articles");
debut_grand_cadre();
......@@ -163,7 +163,7 @@ if ($descriptif OR $url_site OR $nom_site) {
echo "</td>";
echo "<td align='center'>";
icone(_L("Retour &agrave; l'article"), "articles.php3?id_article=$id_article", "", "article-24.gif");
icone(_T('icone_retour_article'), "articles.php3?id_article=$id_article", "", "article-24.gif");
echo "</td>";
echo "</tr></table>";
......@@ -188,7 +188,7 @@ while ($row = spip_fetch_array($result)) {
$link = new Link();
$link->addVar('id_version', $version_aff);
$link->delVar('id_diff');
echo "<a href='".$link->getUrl('diff')."' title=\""._L("Afficher cette version")."\">$date</a>";
echo "<a href='".$link->getUrl('diff')."' title=\""._T('info_historique_affiche')."\">$date</a>";
}
else {
echo "<b>$date</b>";
......@@ -199,13 +199,14 @@ while ($row = spip_fetch_array($result)) {
if ($version_aff != $id_version) {
echo " <span class='verdana2'>";
if ($version_aff == $id_diff) {
echo "<b>("._L("comparaison").")</b>";
echo "<b>("._T('info_historique_comparaison').")</b>";
}
else {
$link = new Link();
$link->addVar('id_version', $id_version);
$link->addVar('id_diff', $version_aff);
echo "(<a href='".$link->getUrl('diff')."' title=\""._L("Afficher les modifications d'avec cette version")."\">"._L("comparaison")."</a>)";
echo "(<a href='".$link->getUrl('diff').
"'>"._T('info_historique_comparaison')."</a>)";
}
echo "</span>";
}
......
......@@ -209,13 +209,13 @@ class DiffTexte {
}
function ajouter($p) {
$this->r .= "\n\n\n<div class=\"diff-para-ajoute\" title=\""._L('Paragraphe ajout&eacute;')."\">".$p."</div>";
$this->r .= "\n\n\n<div class=\"diff-para-ajoute\" title=\""._T('diff_para_ajoute')."\">".$p."</div>";
}
function supprimer($p_old) {
$this->r .= "\n\n\n<div class=\"diff-para-supprime\" title=\""._L('Paragraphe supprim&eacute;')."\">".$p_old."</div>";
$this->r .= "\n\n\n<div class=\"diff-para-supprime\" title=\""._T('diff_para_supprime')."\">".$p_old."</div>";
}
function deplacer($p, $p_old) {
$this->r .= "\n\n\n<div class=\"diff-para-deplace\" title=\""._L('Paragraphe d&eacute;plac&eacute;')."\">";
$this->r .= "\n\n\n<div class=\"diff-para-deplace\" title=\""._T('diff_para_deplace')."\">";
$this->r .= $this->_diff($p, $p_old);
$this->r .= "</div>";
}
......@@ -256,13 +256,13 @@ class DiffPara {
}
function ajouter($p) {
$this->r .= "<span class=\"diff-ajoute\" title=\""._L('Texte ajout&eacute;')."\">".$p."</span>";
$this->r .= "<span class=\"diff-ajoute\" title=\""._T('diff_texte_ajoute')."\">".$p."</span>";
}
function supprimer($p_old) {
$this->r .= "<span class=\"diff-supprime\" title=\""._L('Texte supprim&eacute;')."\">".$p_old."</span>";
$this->r .= "<span class=\"diff-supprime\" title=\""._T('diff_texte_supprime')."\">".$p_old."</span>";
}
function deplacer($p, $p_old) {
$this->r .= "<span class=\"diff-deplace\" title=\""._L('Texte d&eacute;plac&eacute;')."\">".$this->_diff($p, $p_old)."</span>";
$this->r .= "<span class=\"diff-deplace\" title=\""._T('diff_texte_deplace')."\">".$this->_diff($p, $p_old)."</span>";
}
function comparer($p, $p_old) {
$this->r .= $this->_diff($p, $p_old);
......@@ -321,10 +321,10 @@ class DiffPhrase {
}
function ajouter($p) {
$this->r .= "<span class=\"diff-ajoute\" title=\""._L('Texte ajout&eacute;')."\">".$p."</span> ";
$this->r .= "<span class=\"diff-ajoute\" title=\""._T('diff_texte_ajoute')."\">".$p."</span> ";
}
function supprimer($p_old) {
$this->r .= "<span class=\"diff-supprime\" title=\""._L('Texte supprim&eacute;')."\">".$p_old."</span> ";
$this->r .= "<span class=\"diff-supprime\" title=\""._T('diff_texte_supprime')."\">".$p_old."</span> ";
}
function comparer($p, $p_old) {
$this->r .= $p;
......
......@@ -13,11 +13,11 @@ define("_ECRIRE_INC_VERSION", "1");
function magic_unquote($table) {
if (is_array($GLOBALS[$table])) {
reset($GLOBALS[$table]);
while (list($key, $val) = each($GLOBALS[$table])) {
if (is_string($val))
reset($GLOBALS[$table]);
while (list($key, $val) = each($GLOBALS[$table])) {
if (is_string($val))
$GLOBALS[$table][$key] = stripslashes($val);
}
}
}
}
......
......@@ -150,7 +150,7 @@ VALUES (NOW(), \"".addslashes($titre)."\", \"$REMOTE_ADDR\", \"redac\")
."<div class='spip_encadrer'><b>" .
_T('forum_texte') .
"</b>\n<br />" .
_T('forum_creer_paragraphes') .
_T('info_creation_paragraphe') .
"\n<br /> " .
afficher_barre('formulaire', 'texte', true) .
"<textarea name='texte' " .
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter