Update bbcode language files

Translated note for external link
This commit is contained in:
Fraenkiman 2023-01-25 00:45:11 +01:00
parent 024508392b
commit b892a86f18
11 changed files with 293 additions and 250 deletions

View File

@ -1,7 +1,7 @@
<?php <?php
$lang['admin']['plugin']['submenu']['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang['admin']['plugin']['bbcode'] = array( $lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'Nastavení BBCode', 'head' => 'Nastavení BBCode',
'desc1' => 'Tento plugin umožňuje používat <a href="http://www.phpbb.com/'. 'desc1' => 'Tento plugin umožňuje používat <a href="http://www.phpbb.com/'.
'phpBB/faq.php?mode=bbcode">BBCode</a> na vašem blogu. ', 'phpBB/faq.php?mode=bbcode">BBCode</a> na vašem blogu. ',
@ -9,7 +9,7 @@ $lang['admin']['plugin']['bbcode'] = array(
'options' => 'Nastavení', 'options' => 'Nastavení',
'editing' => 'Úprava', 'editing' => 'Úprava',
'allow_html'=> 'Inline HTML', 'allow_html' => 'Inline HTML',
'allow_html_long' => 'Umožnit používání HTML tagu současně s BBCode', 'allow_html_long' => 'Umožnit používání HTML tagu současně s BBCode',
'toolbar' => 'Lišta s nástroji', 'toolbar' => 'Lišta s nástroji',
'toolbar_long' => 'Zapnout upravování pomocí lišty nástrojů.', 'toolbar_long' => 'Zapnout upravování pomocí lišty nástrojů.',
@ -19,7 +19,7 @@ $lang['admin']['plugin']['bbcode'] = array(
'comments_long' => 'Povolit BBCode v komentářích', 'comments_long' => 'Povolit BBCode v komentářích',
'urlmaxlen' => 'Maximální délka URL', 'urlmaxlen' => 'Maximální délka URL',
'urlmaxlen_long_pre' => 'Zkrátit URL delší jako ', 'urlmaxlen_long_pre' => 'Zkrátit URL delší jako ',
'urlmaxlen_long_post'=>' znaků.', 'urlmaxlen_long_post' =>' znaků.',
'submit' => 'Uložit nastavení', 'submit' => 'Uložit nastavení',
'msgs' => array( 'msgs' => array(
1 => 'BBCode configuration successful saved.', 1 => 'BBCode configuration successful saved.',
@ -52,4 +52,8 @@ $lang['admin']['plugin']['bbcode'] = array(
) )
); );
$lang ['plugin'] ['bbcode'] = array (
'go_to' => 'Přejít na'
);
?> ?>

View File

@ -1,7 +1,7 @@
<?php <?php
$lang['admin']['plugin']['submenu']['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang['admin']['plugin']['bbcode'] = array( $lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'BBCode Konfiguration', 'head' => 'BBCode Konfiguration',
'desc1' => 'Dieses Plugin erlaubt <a href="http://www.phpbb.com/'. 'desc1' => 'Dieses Plugin erlaubt <a href="http://www.phpbb.com/'.
'phpBB/faq.php?mode=bbcode">BBCode</a> Markup zu benutzen und bietet die '. 'phpBB/faq.php?mode=bbcode">BBCode</a> Markup zu benutzen und bietet die '.
@ -10,7 +10,7 @@ $lang['admin']['plugin']['bbcode'] = array(
'options' => 'Optionen', 'options' => 'Optionen',
'editing' => 'Einstellungen bearbeiten', 'editing' => 'Einstellungen bearbeiten',
'allow_html'=> 'Inline HTML', 'allow_html' => 'Inline HTML',
'allow_html_long' => 'Benutzung von HTML Code und BBCode erlauben', 'allow_html_long' => 'Benutzung von HTML Code und BBCode erlauben',
'toolbar' => 'Toolbar', 'toolbar' => 'Toolbar',
'toolbar_long' => 'Editor Toolbar aktivieren.', 'toolbar_long' => 'Editor Toolbar aktivieren.',
@ -20,7 +20,7 @@ $lang['admin']['plugin']['bbcode'] = array(
'comments_long' => 'erlaube BBCode in den Kommentaren', 'comments_long' => 'erlaube BBCode in den Kommentaren',
'urlmaxlen' => 'Maximale Länge der URL Anzeige', 'urlmaxlen' => 'Maximale Länge der URL Anzeige',
'urlmaxlen_long_pre' => 'Kürze URLs die mehr als ', 'urlmaxlen_long_pre' => 'Kürze URLs die mehr als ',
'urlmaxlen_long_post'=>' Zeichen haben.', 'urlmaxlen_long_post' =>' Zeichen haben.',
'submit' => 'Konfiguration speichern', 'submit' => 'Konfiguration speichern',
'msgs' => array( 'msgs' => array(
1 => 'BBCode Konfiguration erfolgreich gespeichert.', 1 => 'BBCode Konfiguration erfolgreich gespeichert.',
@ -53,4 +53,8 @@ $lang['admin']['plugin']['bbcode'] = array(
) )
); );
$lang ['plugin'] ['bbcode'] = array (
'go_to' => 'Gehe zu'
);
?> ?>

View File

@ -1,7 +1,7 @@
<?php <?php
$lang['admin']['plugin']['submenu']['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang['admin']['plugin']['bbcode'] = array( $lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'Ρύθμιση του BBCode', 'head' => 'Ρύθμιση του BBCode',
'desc1' => 'Το πρόσθετο αυτό επιτρέπει τη χρήση σύνταξης <a href="http://www.phpbb.com/'. 'desc1' => 'Το πρόσθετο αυτό επιτρέπει τη χρήση σύνταξης <a href="http://www.phpbb.com/'.
'phpBB/faq.php?mode=bbcode">BBCode</a> και παρέχει '. 'phpBB/faq.php?mode=bbcode">BBCode</a> και παρέχει '.
@ -10,7 +10,7 @@ $lang['admin']['plugin']['bbcode'] = array(
'options' => 'Επιλογές', 'options' => 'Επιλογές',
'editing' => 'Επεξεργασία', 'editing' => 'Επεξεργασία',
'allow_html'=> 'Χρήση HTML', 'allow_html' => 'Χρήση HTML',
'allow_html_long' => 'Επιτρέπεται χρήση HTML παράλληλα με το BBCode', 'allow_html_long' => 'Επιτρέπεται χρήση HTML παράλληλα με το BBCode',
'toolbar' => 'Μπάρα συντομεύσεων', 'toolbar' => 'Μπάρα συντομεύσεων',
'toolbar_long' => 'Ενεργοποιείται η μπάρα συντομεύσεων κατά την καταχώρηση.', 'toolbar_long' => 'Ενεργοποιείται η μπάρα συντομεύσεων κατά την καταχώρηση.',
@ -53,4 +53,8 @@ $lang['admin']['plugin']['bbcode'] = array(
) )
); );
$lang ['plugin'] ['bbcode'] = array (
'go_to' => 'Πηγαίνετε στον'
);
?> ?>

View File

@ -1,7 +1,7 @@
<?php <?php
$lang['admin']['plugin']['submenu']['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang['admin']['plugin']['bbcode'] = array( $lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'BBCode Configuration', 'head' => 'BBCode Configuration',
'desc1' => 'This plugin allows using <a href="http://www.phpbb.com/'. 'desc1' => 'This plugin allows using <a href="http://www.phpbb.com/'.
'phpBB/faq.php?mode=bbcode">BBCode</a> markup and provides '. 'phpBB/faq.php?mode=bbcode">BBCode</a> markup and provides '.
@ -10,7 +10,7 @@ $lang['admin']['plugin']['bbcode'] = array(
'options' => 'Options', 'options' => 'Options',
'editing' => 'Editing', 'editing' => 'Editing',
'allow_html'=> 'Inline HTML', 'allow_html' => 'Inline HTML',
'allow_html_long' => 'Enable using HTML along with BBCode', 'allow_html_long' => 'Enable using HTML along with BBCode',
'toolbar' => 'Toolbar', 'toolbar' => 'Toolbar',
'toolbar_long' => 'Enable the editor toolbar.', 'toolbar_long' => 'Enable the editor toolbar.',
@ -20,7 +20,7 @@ $lang['admin']['plugin']['bbcode'] = array(
'comments_long' => 'Allow BBCode in comments', 'comments_long' => 'Allow BBCode in comments',
'urlmaxlen' => 'URL max length', 'urlmaxlen' => 'URL max length',
'urlmaxlen_long_pre' => 'Shorten URLs longer than ', 'urlmaxlen_long_pre' => 'Shorten URLs longer than ',
'urlmaxlen_long_post'=>' characters.', 'urlmaxlen_long_post' => ' characters.',
'submit' => 'Save configuration', 'submit' => 'Save configuration',
'msgs' => array( 'msgs' => array(
1 => 'BBCode configuration successful saved.', 1 => 'BBCode configuration successful saved.',
@ -53,4 +53,8 @@ $lang['admin']['plugin']['bbcode'] = array(
) )
); );
$lang ['plugin'] ['bbcode'] = array (
'go_to' => 'Go to'
);
?> ?>

View File

@ -1,7 +1,7 @@
<?php <?php
$lang['admin']['plugin']['submenu']['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang['admin']['plugin']['bbcode'] = array( $lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'Configuración de BBCode', 'head' => 'Configuración de BBCode',
'desc1' => 'Este Plugin permite usar <a href="http://www.phpbb.com/'. 'desc1' => 'Este Plugin permite usar <a href="http://www.phpbb.com/'.
'phpBB/faq.php?mode=bbcode">BBCode</a> markup y proporciona '. 'phpBB/faq.php?mode=bbcode">BBCode</a> markup y proporciona '.
@ -20,7 +20,7 @@ $lang['admin']['plugin']['bbcode'] = array(
'comments_long' => 'Permitir BBCode en los comentarios', 'comments_long' => 'Permitir BBCode en los comentarios',
'urlmaxlen' => 'Largo máximo del URL', 'urlmaxlen' => 'Largo máximo del URL',
'urlmaxlen_long_pre' => 'Acorte los URL más largos de ', 'urlmaxlen_long_pre' => 'Acorte los URL más largos de ',
'urlmaxlen_long_post' =>' caracteres.', 'urlmaxlen_long_post' => ' caracteres.',
'submit' => 'Save configuration', 'submit' => 'Save configuration',
'msgs' => array( 'msgs' => array(
1 => 'BBCode configuration successful saved.', 1 => 'BBCode configuration successful saved.',
@ -53,4 +53,8 @@ $lang['admin']['plugin']['bbcode'] = array(
) )
); );
$lang ['plugin'] ['bbcode'] = array (
'go_to' => 'Ir a'
);
?> ?>

View File

@ -1,7 +1,7 @@
<?php <?php
$lang['admin']['plugin']['submenu']['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang['admin']['plugin']['bbcode'] = array( $lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'Configuration du BBCode', 'head' => 'Configuration du BBCode',
'desc1' => 'Ce plugin autorise l\'usage du <a href="http://www.phpbb.com/'. 'desc1' => 'Ce plugin autorise l\'usage du <a href="http://www.phpbb.com/'.
'phpBB/faq.php?mode=bbcode">BBCode</a> et permet une int&eacute;gration '. 'phpBB/faq.php?mode=bbcode">BBCode</a> et permet une int&eacute;gration '.
@ -10,12 +10,12 @@ $lang['admin']['plugin']['bbcode'] = array(
'options' => 'Options', 'options' => 'Options',
'editing' => 'Edition', 'editing' => 'Edition',
'allow_html'=> 'Prise en charge de l\'HTML', 'allow_html' => 'Prise en charge de l\'HTML',
'allow_html_long' => 'Autoriser l\'usage de l\'HTML avec le BBCode', 'allow_html_long' => 'Autoriser l\'usage de l\'HTML avec le BBCode',
'toolbar' => 'Barre d\'outils', 'toolbar' => 'Barre d\'outils',
'toolbar_long' => 'Activer la Barre d\'outils d\'&eacute;dition.', 'toolbar_long' => 'Activer la Barre d\'outils d\'&eacute;dition.',
'other' => 'Autres options', 'other' =>'Autres options',
'comments' => 'Commentaires', 'comments' => 'Commentaires',
'comments_long' => 'Autoriser le BBCode dans les commentaires', 'comments_long' => 'Autoriser le BBCode dans les commentaires',
'urlmaxlen' => 'Longueur maximum URL', 'urlmaxlen' => 'Longueur maximum URL',
@ -53,4 +53,8 @@ $lang['admin']['plugin']['bbcode'] = array(
) )
); );
$lang ['plugin'] ['bbcode'] = array (
'go_to' => 'Aller à'
);
?> ?>

View File

@ -1,7 +1,7 @@
<?php <?php
$lang['admin']['plugin']['submenu']['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang['admin']['plugin']['bbcode'] = array( $lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'Configurazione BBCode', 'head' => 'Configurazione BBCode',
'desc1' => 'Questo plugin ti consente di usare <a href="http://www.phpbb.com/'. 'desc1' => 'Questo plugin ti consente di usare <a href="http://www.phpbb.com/'.
'phpBB/faq.php?mode=bbcode">BBCode</a> come markup e fornisce '. 'phpBB/faq.php?mode=bbcode">BBCode</a> come markup e fornisce '.
@ -10,7 +10,7 @@ $lang['admin']['plugin']['bbcode'] = array(
'options' => 'Opzioni', 'options' => 'Opzioni',
'editing' => 'Modifica', 'editing' => 'Modifica',
'allow_html'=> 'Inline HTML', 'allow_html' => 'Inline HTML',
'allow_html_long' => 'Consente di usare l\'HTML insieme a BBCode', 'allow_html_long' => 'Consente di usare l\'HTML insieme a BBCode',
'toolbar' => 'Barra strumenti', 'toolbar' => 'Barra strumenti',
'toolbar_long' => 'Abilita la barra strumenti dell\'editor.', 'toolbar_long' => 'Abilita la barra strumenti dell\'editor.',
@ -53,4 +53,8 @@ $lang['admin']['plugin']['bbcode'] = array(
) )
); );
$lang ['plugin'] ['bbcode'] = array (
'go_to' => 'Vai a'
);
?> ?>

View File

@ -1,7 +1,7 @@
<?php <?php
$lang['admin']['plugin']['submenu']['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang['admin']['plugin']['bbcode'] = array( $lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'BBCodeの設定', 'head' => 'BBCodeの設定',
'desc1' => 'このプラグインは <a href="http://www.phpbb.com/'. 'desc1' => 'このプラグインは <a href="http://www.phpbb.com/'.
'phpBB/faq.php?mode=bbcode">BBCode</a> を使用できるようにし、'. 'phpBB/faq.php?mode=bbcode">BBCode</a> を使用できるようにし、'.
@ -10,7 +10,7 @@ $lang['admin']['plugin']['bbcode'] = array(
'options' => 'オプション', 'options' => 'オプション',
'editing' => '編集', 'editing' => '編集',
'allow_html'=> 'インラインHTML', 'allow_html' => 'インラインHTML',
'allow_html_long' => 'BBCodeと通常HTMLを併用する', 'allow_html_long' => 'BBCodeと通常HTMLを併用する',
'toolbar' => 'ツールバー', 'toolbar' => 'ツールバー',
'toolbar_long' => '編集ツールバーを有効にする', 'toolbar_long' => '編集ツールバーを有効にする',
@ -20,7 +20,7 @@ $lang['admin']['plugin']['bbcode'] = array(
'comments_long' => 'コメント欄でBBCodeの使用できるようにする', 'comments_long' => 'コメント欄でBBCodeの使用できるようにする',
'urlmaxlen' => 'URLの最大文字数', 'urlmaxlen' => 'URLの最大文字数',
'urlmaxlen_long_pre' => '何文字以上のとき短縮URL表示に変換するか', 'urlmaxlen_long_pre' => '何文字以上のとき短縮URL表示に変換するか',
'urlmaxlen_long_post'=>' 文字', 'urlmaxlen_long_post' => ' 文字',
'submit' => '設定の変更を保存する', 'submit' => '設定の変更を保存する',
'msgs' => array( 'msgs' => array(
1 => 'BBCodeの設定変更を保存しました。', 1 => 'BBCodeの設定変更を保存しました。',
@ -53,4 +53,9 @@ $lang['admin']['plugin']['bbcode'] = array(
) )
); );
$lang ['plugin'] ['bbcode'] = array (
'go_to' => 'に行く'
);
?> ?>

View File

@ -1,7 +1,7 @@
<?php <?php
$lang['admin']['plugin']['submenu']['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang['admin']['plugin']['bbcode'] = array( $lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'BBCode Configuratie', 'head' => 'BBCode Configuratie',
'desc1' => 'Deze plugin staat gebruik toe <a href="http://www.phpbb.com/'. 'desc1' => 'Deze plugin staat gebruik toe <a href="http://www.phpbb.com/'.
'phpBB/faq.php?mode=bbcode">BBCode</a> voor opmaak en biedt '. 'phpBB/faq.php?mode=bbcode">BBCode</a> voor opmaak en biedt '.
@ -53,4 +53,8 @@ $lang['admin']['plugin']['bbcode'] = array(
) )
); );
$lang ['plugin'] ['bbcode'] = array (
'go_to' => 'Ga naar'
);
?> ?>

View File

@ -1,7 +1,7 @@
<?php <?php
$lang['admin']['plugin']['submenu']['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang['admin']['plugin']['bbcode'] = array( $lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'Configuração do BBCode', 'head' => 'Configuração do BBCode',
'desc1' => 'Este plugin permite o uso de <a href="http://www.phpbb.com/'. 'desc1' => 'Este plugin permite o uso de <a href="http://www.phpbb.com/'.
'phpBB/faq.php?mode=bbcode">BBCode</a> markup e fornece '. 'phpBB/faq.php?mode=bbcode">BBCode</a> markup e fornece '.
@ -10,7 +10,7 @@ $lang['admin']['plugin']['bbcode'] = array(
'options' => 'Opções', 'options' => 'Opções',
'editing' => 'Editar', 'editing' => 'Editar',
'allow_html'=> 'HTML embutido', 'allow_html' => 'HTML embutido',
'allow_html_long' => 'Ativar o uso de HTML junto com o BBCode', 'allow_html_long' => 'Ativar o uso de HTML junto com o BBCode',
'toolbar' => 'Barra de ferramentas', 'toolbar' => 'Barra de ferramentas',
'toolbar_long' => 'Ativar a barra de ferramentas do editor', 'toolbar_long' => 'Ativar a barra de ferramentas do editor',
@ -20,7 +20,7 @@ $lang['admin']['plugin']['bbcode'] = array(
'comments_long' => 'Permitir BBCode nos comentários', 'comments_long' => 'Permitir BBCode nos comentários',
'urlmaxlen' => 'comprimento máximo do URL', 'urlmaxlen' => 'comprimento máximo do URL',
'urlmaxlen_long_pre' => 'Encurte URLs maiores que ', 'urlmaxlen_long_pre' => 'Encurte URLs maiores que ',
'urlmaxlen_long_post'=>' caracteres', 'urlmaxlen_long_post' => ' caracteres',
'submit' => 'Salvar configuração', 'submit' => 'Salvar configuração',
'msgs' => array( 'msgs' => array(
1 => 'Configuração do BBCode salva com sucesso', 1 => 'Configuração do BBCode salva com sucesso',
@ -53,4 +53,8 @@ $lang['admin']['plugin']['bbcode'] = array(
) )
); );
$lang ['plugin'] ['bbcode'] = array (
'go_to' => 'Ir para'
);
?> ?>

View File

@ -122,6 +122,8 @@ function bbcode_remap_url(&$d) {
* @return string * @return string
*/ */
function do_bbcode_url($action, $attributes, $content, $params, $node_object) { function do_bbcode_url($action, $attributes, $content, $params, $node_object) {
global $lang;
lang_load('plugin:bbcode');
if ($action == 'validate') { if ($action == 'validate') {
return true; return true;
} }
@ -142,7 +144,7 @@ function do_bbcode_url($action, $attributes, $content, $params, $node_object) {
// DMKE: uh? // DMKE: uh?
$content = $content; $content = $content;
$rel = isset($attributes ['rel']) ? ' rel="' . $attributes ['rel'] . '"' : ''; $rel = isset($attributes ['rel']) ? ' rel="' . $attributes ['rel'] . '"' : '';
$extern = !$local ? ' class="externlink" title="Go to ' . $the_url . '"' : ''; $extern = !$local ? ' class="externlink" title="' . $lang ['plugin'] ['bbcode'] ['go_to'] . ' ' . $the_url . '"' : '';
return '<a' . $extern . ' href="' . $the_url . '"' . $rel . '>' . $content . '</a>'; return '<a' . $extern . ' href="' . $the_url . '"' . $rel . '>' . $content . '</a>';
} }