upport last nl2br changes
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<?php # $Id$
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version $Revision$
|
||||
* @version
|
||||
* @author Ivan Cenov jwalker@hotmail.bg
|
||||
*/
|
||||
|
||||
@ -9,3 +9,4 @@
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', 'Заменя новите редове в текста с HTML BR тагове');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS', 'Списък на HTML-тагове, в които няма да се използва това форматиране');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS_DESC', 'Препоръка: "code,pre,geshi,textarea". Използвайте "," за да укажете повече от един таг. Забележка: Въведените тагове се изчисляват като регулярни изрази.');
|
||||
|
||||
|
@ -1,6 +1,14 @@
|
||||
<?php
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version
|
||||
* @file
|
||||
* @author
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_EVENT_NL2BR_NAME', '标记语言: NL2BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', '将换行转换成HTML的BR标签');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS', '在下列HTML标签所含内容中,不转换换行');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS_DESC', '推荐的HTML标签: "code,pre,geshi,textarea". 不同HTML标签使用逗号分割。小提示:Serendipity使用正则表达式(regular expressions)来处理、分析这里输入的标签。');
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php # lang_cs.inc.php 1501.2 2012-01-08 19:58:45 VladaAjgl $
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @version 1501.2
|
||||
* @file lang_cs.inc.php 1501.2 2012-01-08 19:58:45 VladaAjgl
|
||||
* @author Vladimír Ajgl <vlada@ajgl.cz>
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
* Translated on 2007/11/30
|
||||
@ -27,4 +27,5 @@
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOBR_TAG_DESC', 'Tento nový NE-HTML tag <nl> </nl> umožňuje vypnout převod nových řádků na tag BR v kusu textu uzavřeném uvnitř tagů. Můžete ho použít vícekrát v jednom příspěvku, ale nemůžete ho vnořovat! Příklad: <nl>v tomto textu nebudou převáděny znaky nového řádku na tag BR</nl>');
|
||||
@define('PLUGIN_EVENT_NL2BR_CLEANTAGS', 'Použít BR-čisté-tagy jak návratovou hodnotu, pokud je ISOBR zakázáno');
|
||||
@define('PLUGIN_EVENT_NL2BR_CLEANTAGS_DESC', 'Pokud používáte v příspěvku <html-tagy>, které nelze úspěšně použít společně s nastavením ISOBR, pak tato volba zapnutá bude mít za následek ignorování znaků nových řádků bezprostředně za <html-tagy>. Výchozí: (table|thead|tbody|tfoot|th|tr|td|caption|colgroup|col|ol|ul|li|dl|dt|dd)');
|
||||
@define('PLUGIN_EVENT_NL2BR_CONFIG_ERROR', 'Varování: Nepořádek v nastavení! Nastavení "%s" bylo nastaveno zpět na "NE", pokud je aktivní \'%s\'! Je přípustné použít pouze jednu z těchto voleb.');
|
||||
@define('PLUGIN_EVENT_NL2BR_CONFIG_ERROR', 'Varování: Nepořádek v nastavení! Nastavení "čisté tagy" bylo nastaveno zpět na "NE", pokud je aktivní \'ISOBR\'! Je přípustné použít pouze jednu z těchto voleb.');
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php # lang_cz.inc.php 1501.2 2012-01-08 19:58:45 VladaAjgl $
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @version 1501.2
|
||||
* @file lang_cz.inc.php 1501.2 2012-01-08 19:58:45 VladaAjgl
|
||||
* @author Vladimír Ajgl <vlada@ajgl.cz>
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
* Translated on 2007/11/30
|
||||
@ -27,4 +27,5 @@
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOBR_TAG_DESC', 'Tento nový NE-HTML tag <nl> </nl> umožňuje vypnout převod nových řádků na tag BR v kusu textu uzavřeném uvnitř tagů. Můžete ho použít vícekrát v jednom příspěvku, ale nemůžete ho vnořovat! Příklad: <nl>v tomto textu nebudou převáděny znaky nového řádku na tag BR</nl>');
|
||||
@define('PLUGIN_EVENT_NL2BR_CLEANTAGS', 'Použít BR-čisté-tagy jak návratovou hodnotu, pokud je ISOBR zakázáno');
|
||||
@define('PLUGIN_EVENT_NL2BR_CLEANTAGS_DESC', 'Pokud používáte v příspěvku <html-tagy>, které nelze úspěšně použít společně s nastavením ISOBR, pak tato volba zapnutá bude mít za následek ignorování znaků nových řádků bezprostředně za <html-tagy>. Výchozí: (table|thead|tbody|tfoot|th|tr|td|caption|colgroup|col|ol|ul|li|dl|dt|dd)');
|
||||
@define('PLUGIN_EVENT_NL2BR_CONFIG_ERROR', 'Varování: Nepořádek v nastavení! Nastavení "%s" bylo nastaveno zpět na "NE", pokud je aktivní \'%s\'! Je přípustné použít pouze jednu z těchto voleb.');
|
||||
@define('PLUGIN_EVENT_NL2BR_CONFIG_ERROR', 'Varování: Nepořádek v nastavení! Nastavení "čisté tagy" bylo nastaveno zpět na "NE", pokud je aktivní \'ISOBR\'! Je přípustné použít pouze jednu z těchto voleb.');
|
||||
|
||||
|
@ -1,4 +1,11 @@
|
||||
<?php # $Id: lang_de.inc.php 2492 2011-03-22 17:56:40Z ian $
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version
|
||||
* @file
|
||||
* @author
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_EVENT_NL2BR_NAME', 'Textformatierung: NL2BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', 'Konvertiert Zeilenumbrüche zu HTML');
|
||||
@ -13,3 +20,4 @@
|
||||
@define('PLUGIN_EVENT_NL2BR_CLEANTAGS', 'Nutze BR-Clean-Tags fallback, wenn ISOBR false');
|
||||
@define('PLUGIN_EVENT_NL2BR_CLEANTAGS_DESC', 'Bei Benutzung von <HTML-Tags> in den Einträgen, die nicht zufriedenstellend mit der ISOBR Config-Option gelöst werden können, lösche nl2br Umbruch nach <tag>. Dies gilt für alle <tags>, die mit > oder >\n enden! Default (table|thead|tbody|tfoot|th|tr|td|caption|colgroup|col|ol|ul|li|dl|dt|dd)');
|
||||
@define('PLUGIN_EVENT_NL2BR_CONFIG_ERROR', 'Konfigurations Fehler! Die Option: "%s" wurde zurückgesetzt, weil die Option \'%s\' aktiv geschaltet war! Benutzen sie bitte nur eine dieser Optionen.');
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?php # $Id$
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version $Revision$
|
||||
* @version
|
||||
* @author Rodrigo Lazo Paz <rlazo.paz@gmail.com>
|
||||
* EN-Revision: 690
|
||||
*/
|
||||
@ -8,4 +9,3 @@
|
||||
@define('PLUGIN_EVENT_NL2BR_NAME', 'Formato: NL2BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', 'Convierte los saltos de linea en etiquetas BR');
|
||||
|
||||
?>
|
||||
|
@ -1,20 +1,12 @@
|
||||
<?php # $Id$
|
||||
<?php #
|
||||
|
||||
##########################################################################
|
||||
# serendipity - another blogger... #
|
||||
##########################################################################
|
||||
# #
|
||||
# (c) 2003 Jannis Hermanns <J@hacked.it> #
|
||||
# http://www.jannis.to/programming/serendipity.html #
|
||||
# #
|
||||
# Translated by #
|
||||
# Sebastian Mordziol <argh@php-tools.net> #
|
||||
# http://sebastian.mordziol.de #
|
||||
# #
|
||||
##########################################################################
|
||||
/**
|
||||
* @version
|
||||
* @file
|
||||
* @author Sebastian Mordziol <argh@php-tools.net> http://sebastian.mordziol.de
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_EVENT_NL2BR_NAME', 'Balises: NL2BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', 'Convertit les retours à la ligne en balises BR');
|
||||
|
||||
/* vim: set sts=4 ts=4 expandtab : */
|
||||
?>
|
@ -1,7 +1,7 @@
|
||||
<?php # $Id$
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version $Revision$
|
||||
* @version
|
||||
* @author Tadashi Jokagi <elf2000@users.sourceforge.net>
|
||||
* EN-Revision: 1501
|
||||
*/
|
||||
@ -11,4 +11,4 @@
|
||||
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS', '改行を変換しない HTML タグの一覧');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS_DESC', '提案: "code,pre,geshi,textarea". 複数のタグをカンマ(「,」)で分けます。ヒント: 入力されたタグは正規表現として評価されます。');
|
||||
?>
|
||||
|
||||
|
@ -1,8 +1,12 @@
|
||||
<?php # $Id$
|
||||
# Translated by: Wesley Hwang-Chung <wesley96@gmail.com>
|
||||
# (c) 2005 http://www.tool-box.info/
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version
|
||||
* @file
|
||||
* @author Wesley Hwang-Chung <wesley96@gmail.com> http://www.tool-box.info/
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_EVENT_NL2BR_NAME', '마크업: NL2BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', '새 줄을 BR 태그로 변환함');
|
||||
|
||||
?>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php # $Id$
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version $Revision$
|
||||
* @version
|
||||
* @author Kostas CoSTa Brzezinski <costa@kofeina.net>
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
@ -10,4 +10,4 @@
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', 'Zmieniaj znaki nowych linii na tagi BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS', 'Lista tagów HTML, w których znacznik nie powinien być stosowany');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS_DESC', 'Sugestia: "code,pre,geshi,textarea". Rozdzielaj tagi przecinkiem. Podpowiedź: wpisane tagi są traktowane jako zwykłe wyrażenia.');
|
||||
?>
|
||||
|
||||
|
@ -1,19 +1,12 @@
|
||||
<?php # $Id:$
|
||||
<?php #
|
||||
|
||||
##########################################################################
|
||||
# serendipity - another blogger... #
|
||||
##########################################################################
|
||||
# #
|
||||
# (c) 2003 Jannis Hermanns <J@hacked.it> #
|
||||
# http://www.jannis.to/programming/serendipity.html #
|
||||
# #
|
||||
# Translated by #
|
||||
# João P Matos <jmatos@math.ist.utl.pt> #
|
||||
# #
|
||||
##########################################################################
|
||||
/**
|
||||
* @version
|
||||
* @file
|
||||
* @author João P Matos <jmatos@math.ist.utl.pt>
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_EVENT_NL2BR_NAME', 'Código: NL2BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', 'Converte os fins de linha em etiquetas BR');
|
||||
|
||||
/* vim: set sts=4 ts=4 expandtab : */
|
||||
?>
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version 1
|
||||
@ -12,3 +12,4 @@
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS_DESC', 'Návrhy: "code,pre,geshi,textarea". Názvy tagov oddeľovať čiarkou. Tip: Zadané tagy sú vyhodnocované ako regulárny výraz.');
|
||||
@define('PLUGIN_EVENT_NL2BR_PTAGS', 'Použíť tagy <p>');
|
||||
@define('PLUGIN_EVENT_NL2BR_PTAGS_DESC', 'Vkladať tagy <p> namiesto tagov <br />');
|
||||
|
||||
|
@ -1,17 +1,12 @@
|
||||
<?php # $Id$
|
||||
##########################################################################
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity #
|
||||
# Developer Team) All rights reserved. See LICENSE file for licensing #
|
||||
# details #
|
||||
# #
|
||||
# (c) 2003 Jannis Hermanns <J@hacked.it> #
|
||||
# http://www.jannis.to/programming/serendipity.html #
|
||||
# #
|
||||
# Translated by #
|
||||
# (c) 2004-2005 CapriSkye <admin@capriskye.com> #
|
||||
# http://open.38.com #
|
||||
##########################################################################
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version
|
||||
* @file
|
||||
* @author CapriSkye <admin@capriskye.com> http://open.38.com
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_EVENT_NL2BR_NAME', '標記語言: NL2BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', '轉換新行成 BR 標籤');
|
||||
?>
|
||||
|
||||
|
@ -1,6 +1,14 @@
|
||||
<?php
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version
|
||||
* @file
|
||||
* @author
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_EVENT_NL2BR_NAME', '标记语言: NL2BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', '将换行转换成HTML的BR标签');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS', '在下列HTML标签所含内容中,不转换换行');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS_DESC', '推荐的HTML标签: "code,pre,geshi,textarea". 不同HTML标签使用逗号分割。小提示:Serendipity使用正则表达式(regular expressions)来处理、分析这里输入的标签。');
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php # $Id$
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version $Revision$
|
||||
* @version
|
||||
* @author Ivan Cenov jwalker@hotmail.bg
|
||||
*/
|
||||
|
||||
@ -9,3 +9,4 @@
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> HTML BR <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> HTML-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS_DESC', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: "code,pre,geshi,textarea". <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "," <20><> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.');
|
||||
|
||||
|
@ -1,6 +1,14 @@
|
||||
<?php
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version
|
||||
* @file
|
||||
* @author
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_EVENT_NL2BR_NAME', '标记语言: NL2BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', '将换行转换成HTML的BR标签');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS', '在下列HTML标签所含内容中,不转换换行');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS_DESC', '推荐的HTML标签: "code,pre,geshi,textarea". 不同HTML标签使用逗号分割。小提示:Serendipity使用正则表达式(regular expressions)来处理、分析这里输入的标签。');
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php # lang_cs.inc.php 1501.2 2012-01-08 19:58:45 VladaAjgl $
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @version 1501.2
|
||||
* @file lang_cs.inc.php 1501.2 2012-01-08 19:58:45 VladaAjgl
|
||||
* @author Vladim<69>r Ajgl <vlada@ajgl.cz>
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
* Translated on 2007/11/30
|
||||
@ -27,4 +27,5 @@
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOBR_TAG_DESC', 'Tento nov<6F> NE-HTML tag <nl> </nl> umo<6D><6F>uje vypnout p<>evod nov<6F>ch <20><>dk<64> na tag BR v kusu textu uzav<61>en<65>m uvnit<69> tag<61>. M<><4D>ete ho pou<6F><75>t v<>cekr<6B>t v jednom p<><70>sp<73>vku, ale nem<65><6D>ete ho vno<6E>ovat! P<><50>klad: <nl>v tomto textu nebudou p<>ev<65>d<EFBFBD>ny znaky nov<6F>ho <20><>dku na tag BR</nl>');
|
||||
@define('PLUGIN_EVENT_NL2BR_CLEANTAGS', 'Pou<6F><75>t BR-<2D>ist<73>-tagy jak n<>vratovou hodnotu, pokud je ISOBR zak<61>z<EFBFBD>no');
|
||||
@define('PLUGIN_EVENT_NL2BR_CLEANTAGS_DESC', 'Pokud pou<6F><75>v<EFBFBD>te v p<><70>sp<73>vku <html-tagy>, kter<65> nelze <20>sp<73><70>n<EFBFBD> pou<6F><75>t spole<6C>n<EFBFBD> s nastaven<65>m ISOBR, pak tato volba zapnut<75> bude m<>t za n<>sledek ignorov<6F>n<EFBFBD> znak<61> nov<6F>ch <20><>dk<64> bezprost<73>edn<64> za <html-tagy>. V<>choz<6F>: (table|thead|tbody|tfoot|th|tr|td|caption|colgroup|col|ol|ul|li|dl|dt|dd)');
|
||||
@define('PLUGIN_EVENT_NL2BR_CONFIG_ERROR', 'Varov<6F>n<EFBFBD>: Nepo<70><6F>dek v nastaven<65>! Nastaven<65> "%s" bylo nastaveno zp<7A>t na "NE", pokud je aktivn<76> \'%s\'! Je p<><70>pustn<74> pou<6F><75>t pouze jednu z t<>chto voleb.');
|
||||
@define('PLUGIN_EVENT_NL2BR_CONFIG_ERROR', 'Varov<6F>n<EFBFBD>: Nepo<70><6F>dek v nastaven<65>! Nastaven<65> "<EFBFBD>ist<EFBFBD> tagy" bylo nastaveno zp<7A>t na "NE", pokud je aktivn<76> \'ISOBR\'! Je p<><70>pustn<74> pou<6F><75>t pouze jednu z t<>chto voleb.');
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php # lang_cz.inc.php 1501.2 2012-01-08 19:58:45 VladaAjgl $
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @version 1501.2
|
||||
* @file lang_cz.inc.php 1501.2 2012-01-08 19:58:45 VladaAjgl
|
||||
* @author Vladim<69>r Ajgl <vlada@ajgl.cz>
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
* Translated on 2007/11/30
|
||||
@ -27,4 +27,5 @@
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOBR_TAG_DESC', 'Tento nov<6F> NE-HTML tag <nl> </nl> umo<6D><6F>uje vypnout p<>evod nov<6F>ch <20><>dk<64> na tag BR v kusu textu uzav<61>en<65>m uvnit<69> tag<61>. M<><4D>ete ho pou<6F><75>t v<>cekr<6B>t v jednom p<><70>sp<73>vku, ale nem<65><6D>ete ho vno<6E>ovat! P<><50>klad: <nl>v tomto textu nebudou p<>ev<65>d<EFBFBD>ny znaky nov<6F>ho <20><>dku na tag BR</nl>');
|
||||
@define('PLUGIN_EVENT_NL2BR_CLEANTAGS', 'Pou<6F><75>t BR-<2D>ist<73>-tagy jak n<>vratovou hodnotu, pokud je ISOBR zak<61>z<EFBFBD>no');
|
||||
@define('PLUGIN_EVENT_NL2BR_CLEANTAGS_DESC', 'Pokud pou<6F><75>v<EFBFBD>te v p<><70>sp<73>vku <html-tagy>, kter<65> nelze <20>sp<73><70>n<EFBFBD> pou<6F><75>t spole<6C>n<EFBFBD> s nastaven<65>m ISOBR, pak tato volba zapnut<75> bude m<>t za n<>sledek ignorov<6F>n<EFBFBD> znak<61> nov<6F>ch <20><>dk<64> bezprost<73>edn<64> za <html-tagy>. V<>choz<6F>: (table|thead|tbody|tfoot|th|tr|td|caption|colgroup|col|ol|ul|li|dl|dt|dd)');
|
||||
@define('PLUGIN_EVENT_NL2BR_CONFIG_ERROR', 'Varov<6F>n<EFBFBD>: Nepo<70><6F>dek v nastaven<65>! Nastaven<65> "%s" bylo nastaveno zp<7A>t na "NE", pokud je aktivn<76> \'%s\'! Je p<><70>pustn<74> pou<6F><75>t pouze jednu z t<>chto voleb.');
|
||||
@define('PLUGIN_EVENT_NL2BR_CONFIG_ERROR', 'Varov<6F>n<EFBFBD>: Nepo<70><6F>dek v nastaven<65>! Nastaven<65> "<EFBFBD>ist<EFBFBD> tagy" bylo nastaveno zp<7A>t na "NE", pokud je aktivn<76> \'ISOBR\'! Je p<><70>pustn<74> pou<6F><75>t pouze jednu z t<>chto voleb.');
|
||||
|
||||
|
@ -1,4 +1,11 @@
|
||||
<?php # $Id: lang_de.inc.php 2492 2011-03-23 17:57:00Z ian $
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version
|
||||
* @file
|
||||
* @author
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_EVENT_NL2BR_NAME', 'Textformatierung: NL2BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', 'Konvertiert Zeilenumbr<62>che zu HTML');
|
||||
@ -13,3 +20,4 @@
|
||||
@define('PLUGIN_EVENT_NL2BR_CLEANTAGS', 'Nutze BR-Clean-Tags fallback, wenn ISOBR false');
|
||||
@define('PLUGIN_EVENT_NL2BR_CLEANTAGS_DESC', 'Bei Benutzung von <HTML-Tags> in den Eintr<74>gen, die nicht zufriedenstellend mit der ISOBR Config-Option gel<65>st werden k<>nnen, l<>sche nl2br Umbruch nach <tag>. Dies gilt f<>r alle <tags>, die mit > oder >\n enden! Default (table|thead|tbody|tfoot|th|tr|td|caption|colgroup|col|ol|ul|li|dl|dt|dd)');
|
||||
@define('PLUGIN_EVENT_NL2BR_CONFIG_ERROR', 'Konfigurations Fehler! Die Option: "%s" wurde zur<75>ckgesetzt, weil die Option \'%s\' aktiv geschaltet war! Benutzen sie bitte nur eine dieser Optionen.');
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php # $Id: lang_en.inc.php 2492 2011-03-22 17:52:00Z ian $
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version $Revision: 2491 $
|
||||
* @version
|
||||
* @author Translator Name <yourmail@example.com>
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
@ -19,4 +19,4 @@
|
||||
@define('PLUGIN_EVENT_NL2BR_CLEANTAGS', 'Use BR-Clean-Tags as fallback, when ISOBR false');
|
||||
@define('PLUGIN_EVENT_NL2BR_CLEANTAGS_DESC', 'If using <HTML-Tags> in you entries, which can\'t be solved satisfiable with the ISOBR Config-Option, remove nl2br after <tag>. This applies to all <tags> ending with > or >\n! Default (table|thead|tbody|tfoot|th|tr|td|caption|colgroup|col|ol|ul|li|dl|dt|dd)');
|
||||
@define('PLUGIN_EVENT_NL2BR_CONFIG_ERROR', 'Config missmatch alert! The Option: "%s" is set back to false, while \'%s\' is active! Just use one of them, please.');
|
||||
?>
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?php # $Id$
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version $Revision$
|
||||
* @version
|
||||
* @author Rodrigo Lazo Paz <rlazo.paz@gmail.com>
|
||||
* EN-Revision: 690
|
||||
*/
|
||||
@ -8,4 +9,3 @@
|
||||
@define('PLUGIN_EVENT_NL2BR_NAME', 'Formato: NL2BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', 'Convierte los saltos de linea en etiquetas BR');
|
||||
|
||||
?>
|
||||
|
@ -1,20 +1,12 @@
|
||||
<?php # $Id$
|
||||
<?php #
|
||||
|
||||
##########################################################################
|
||||
# serendipity - another blogger... #
|
||||
##########################################################################
|
||||
# #
|
||||
# (c) 2003 Jannis Hermanns <J@hacked.it> #
|
||||
# http://www.jannis.to/programming/serendipity.html #
|
||||
# #
|
||||
# Translated by #
|
||||
# Sebastian Mordziol <argh@php-tools.net> #
|
||||
# http://sebastian.mordziol.de #
|
||||
# #
|
||||
##########################################################################
|
||||
/**
|
||||
* @version
|
||||
* @file
|
||||
* @author Sebastian Mordziol <argh@php-tools.net> http://sebastian.mordziol.de
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_EVENT_NL2BR_NAME', 'Balises: NL2BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', 'Convertit les retours <20> la ligne en balises BR');
|
||||
|
||||
/* vim: set sts=4 ts=4 expandtab : */
|
||||
?>
|
@ -1,7 +1,7 @@
|
||||
<?php # $Id$
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version $Revision$
|
||||
* @version
|
||||
* @author Tadashi Jokagi <elf2000@users.sourceforge.net>
|
||||
* EN-Revision: 1501
|
||||
*/
|
||||
@ -11,4 +11,4 @@
|
||||
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS', '改行を変換しない HTML タグの一覧');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS_DESC', '提案: "code,pre,geshi,textarea". 複数のタグをカンマ(「,」)で分けます。ヒント: 入力されたタグは正規表現として評価されます。');
|
||||
?>
|
||||
|
||||
|
@ -1,8 +1,12 @@
|
||||
<?php # $Id$
|
||||
# Translated by: Wesley Hwang-Chung <wesley96@gmail.com>
|
||||
# (c) 2005 http://www.tool-box.info/
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version
|
||||
* @file
|
||||
* @author Wesley Hwang-Chung <wesley96@gmail.com> http://www.tool-box.info/
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_EVENT_NL2BR_NAME', '마크업: NL2BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', '새 줄을 BR 태그로 변환함');
|
||||
|
||||
?>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php # $Id$
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version $Revision$
|
||||
* @version
|
||||
* @author Kostas CoSTa Brzezinski <costa@kofeina.net>
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
@ -10,4 +10,4 @@
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', 'Zmieniaj znaki nowych linii na tagi BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS', 'Lista tag<61>w HTML, w kt<6B>rych znacznik nie powinien by<62> stosowany');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS_DESC', 'Sugestia: "code,pre,geshi,textarea". Rozdzielaj tagi przecinkiem. Podpowied<65>: wpisane tagi s<> traktowane jako zwyk<79>e wyra<72>enia.');
|
||||
?>
|
||||
|
||||
|
@ -1,19 +1,12 @@
|
||||
<?php # $Id:$
|
||||
<?php #
|
||||
|
||||
##########################################################################
|
||||
# serendipity - another blogger... #
|
||||
##########################################################################
|
||||
# #
|
||||
# (c) 2003 Jannis Hermanns <J@hacked.it> #
|
||||
# http://www.jannis.to/programming/serendipity.html #
|
||||
# #
|
||||
# Translated by #
|
||||
# Jo<4A>o P Matos <jmatos@math.ist.utl.pt> #
|
||||
# #
|
||||
##########################################################################
|
||||
/**
|
||||
* @version
|
||||
* @file
|
||||
* @author Jo<4A>o P Matos <jmatos@math.ist.utl.pt>
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_EVENT_NL2BR_NAME', 'C<>digo: NL2BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', 'Converte os fins de linha em etiquetas BR');
|
||||
|
||||
/* vim: set sts=4 ts=4 expandtab : */
|
||||
?>
|
@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version 1
|
||||
@ -12,3 +12,4 @@
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS_DESC', 'N<>vrhy: "code,pre,geshi,textarea". N<>zvy tagov odde<64>ova<76> <20>iarkou. Tip: Zadan<61> tagy s<> vyhodnocovan<61> ako regul<75>rny v<>raz.');
|
||||
@define('PLUGIN_EVENT_NL2BR_PTAGS', 'Pou<6F><75><EFBFBD> tagy <p>');
|
||||
@define('PLUGIN_EVENT_NL2BR_PTAGS_DESC', 'Vklada<64> tagy <p> namiesto tagov <br />');
|
||||
|
||||
|
@ -1,17 +1,12 @@
|
||||
<?php # $Id$
|
||||
##########################################################################
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity #
|
||||
# Developer Team) All rights reserved. See LICENSE file for licensing #
|
||||
# details #
|
||||
# #
|
||||
# (c) 2003 Jannis Hermanns <J@hacked.it> #
|
||||
# http://www.jannis.to/programming/serendipity.html #
|
||||
# #
|
||||
# Translated by #
|
||||
# (c) 2004-2005 CapriSkye <admin@capriskye.com> #
|
||||
# http://open.38.com #
|
||||
##########################################################################
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version
|
||||
* @file
|
||||
* @author CapriSkye <admin@capriskye.com> http://open.38.com
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_EVENT_NL2BR_NAME', '標記語言: NL2BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', '轉換新行成 BR 標籤');
|
||||
?>
|
||||
|
||||
|
@ -1,6 +1,14 @@
|
||||
<?php
|
||||
<?php #
|
||||
|
||||
/**
|
||||
* @version
|
||||
* @file
|
||||
* @author
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_EVENT_NL2BR_NAME', '标记语言: NL2BR');
|
||||
@define('PLUGIN_EVENT_NL2BR_DESC', '将换行转换成HTML的BR标签');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS', '在下列HTML标签所含内容中,不转换换行');
|
||||
@define('PLUGIN_EVENT_NL2BR_ISOLATE_TAGS_DESC', '推荐的HTML标签: "code,pre,geshi,textarea". 不同HTML标签使用逗号分割。小提示:Serendipity使用正则表达式(regular expressions)来处理、分析这里输入的标签。');
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php #
|
||||
|
||||
# serendipity_event_nl2br.php 2013-10-08 Ian $
|
||||
# serendipity_event_nl2br.php 2014-02-01 Ian $
|
||||
|
||||
@serendipity_plugin_api::load_language(dirname(__FILE__));
|
||||
|
||||
@ -16,7 +16,7 @@ class serendipity_event_nl2br extends serendipity_event
|
||||
$propbag->add('description', PLUGIN_EVENT_NL2BR_DESC);
|
||||
$propbag->add('stackable', false);
|
||||
$propbag->add('author', 'Serendipity Team');
|
||||
$propbag->add('version', '2.18');
|
||||
$propbag->add('version', '2.19');
|
||||
$propbag->add('requirements', array(
|
||||
'serendipity' => '0.8',
|
||||
'smarty' => '2.6.7',
|
||||
@ -85,6 +85,23 @@ class serendipity_event_nl2br extends serendipity_event
|
||||
return true;
|
||||
}
|
||||
|
||||
function example() {
|
||||
echo '<h3>PLEASE NOTE the implications of this markup plugin:</h3>
|
||||
<p>This plugin transfers linebreaks to HTML-linebreaks, so that they show up in your blog entry.</p>
|
||||
<p>In two cases this can raise problematic issues for you:</p>
|
||||
<ul>
|
||||
<li>if you use a <strong>WYSIWYG editor</strong> to write your entries. In that case, the WYSIWYG editor already inserts proper HTML linebreaks, so the nl2br plugin would actually double those linebreaks.</li>
|
||||
<li>if you use any other markup plugins in conjunction with this plugin that already translate linebreaks. The <strong>TEXTILE and MARKDOWN plugins</strong> are examples for plugins like these.</li>
|
||||
</ul>
|
||||
<p>To prevent problems, you should disable the nl2br plugin on entries globally or per entry within the "Extended properties" section of an entry, if you have the entryproperties plugin installed.</p>
|
||||
<p>Generally advice: The nl2br plugin only makes sense if you</p>
|
||||
<ul>
|
||||
<li>A) do not use other markup plugins or</li>
|
||||
<li>B) you do not use the WYSIWYG editor or</li>
|
||||
<li>C) you only want to apply linebreak transformations on comments to your blog entries, and do not allow any possible markup of other plugins that you only use for blog entries.</li>
|
||||
</ul>'."\n";
|
||||
}
|
||||
|
||||
function install() {
|
||||
serendipity_plugin_api::hook_event('backend_cache_entries', $this->title);
|
||||
}
|
||||
@ -204,13 +221,12 @@ class serendipity_event_nl2br extends serendipity_event
|
||||
$serendipity['nl2br']['entry_disabled_markup'] = true;
|
||||
}
|
||||
|
||||
// don't add additional br or p tags, if the wysiwyg-editor, the textile, or markdown plugin already took care about markup
|
||||
if($markup) {
|
||||
if ( ($serendipity['wysiwyg'] && serendipity_userLoggedIn()) ||
|
||||
($serendipity['nl2br']['entry_disabled_markup'] === false && (class_exists('serendipity_event_textile') || class_exists('serendipity_event_markdown'))) ) {
|
||||
// don't run, if the textile, or markdown plugin already took care about markup
|
||||
if ($markup && $serendipity['nl2br']['entry_disabled_markup'] === false && (class_exists('serendipity_event_textile') || class_exists('serendipity_event_markdown'))) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
// NOTE: the wysiwyg-editor needs to send its own ['properties']['ep_no_nl2br'] to disable the nl2br() parser!
|
||||
|
||||
// check for users isolation tags
|
||||
if ($isolate === null) {
|
||||
$isolate = $this->get_config('isolate');
|
||||
|
Reference in New Issue
Block a user