Seite 1 von 2
übersetzung gesucht
Verfasst: 01.03.2005 01:59
von ich-nrw
jetzt werden sich einige an kopf fassen aber ich kann leider kein englisch und die übersetzung die ich rausbekomm hab wundert mich halt etwas
ich hab den Hide BBCode und wollte ihn nun installieren, nun steht aber in der txt
Code: Alles auswählen
Add Below
if( !$userdata['session_logged_in'] ) {$message = hide_in_quote($message);}
bevor ich jetzt irgendwas falsch mache, frag ich besser mal nach, was heißt dieses "Add Below" ?
gibt es irgendwo eine übersezung aller begriffe, die in den txt´s stehn?
Verfasst: 01.03.2005 04:13
von fanrpg
Dasist sowas wie After Add
Verfasst: 01.03.2005 05:06
von ich-nrw
ok! supi!
dank dir!
Verfasst: 02.03.2005 17:10
von ich-nrw
ich brauch mal wieder eine übersetzung*schäm
ich hab hier folgenden codeteil
Code: Alles auswählen
5 - In bbcode.php // in the "/includes" directory
-----------------
Find
$bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);
Add Below
$bbcode_tpl['show'] = str_replace('{HTEXTE}', '\\1', $bbcode_tpl['show']);
*Before* this text
/**
* Does second-pass bbencoding. This should be used before displaying the message in
* a thread. Assumes the message is already first-pass encoded, and we are given the
* correct UID as used in first-pass encoding.
*/
Add this functions
function hide_in_quote($text)
{
$text = preg_replace("#\[hide\](.*?)\[\/hide\]#si","--- phpBB : The Protected Message is not copied in this quote ---", $text);
return $text;
}
function bbencode_third_pass($text, $uid, $deprotect)
{
global $bbcode_tpl;
// pad it with a space so we can distinguish between FALSE and matching the 1st char (index 0).
// This is important; bbencode_quote(), bbencode_list(), and bbencode_code() all depend on it.
$text = " " . $text;
// First: If there isn't a "[" and a "]" in the message, don't bother.
if (! (strpos($text, "[") && strpos($text, "]")) )
{
// Remove padding, return.
$text = substr($text, 1);
return $text;
}
// Patterns and replacements for URL and email tags..
$patterns = array();
$replacements = array();
if ( $deprotect ) {
$patterns[0] = "#\[hide:$uid\](.*?)\[/hide:$uid\]#si";
$replacements[0] = $bbcode_tpl['show'];
}
else
{
$patterns[0] = "#\[hide:$uid\](.*?)\[/hide:$uid\]#si";
$replacements[0] = $bbcode_tpl['hide'];
}
$text = preg_replace($patterns, $replacements, $text);
// Remove our padding from the string..
$text = substr($text, 1);
return $text;
}
Find in function "bbencode_first_pass"
// [img]image_url_here[/img] code..
$text = preg_replace("#\[img\](([a-z]+?)://([^ \"\n\r]+?))\[/img\]#si", "[img:$uid]\\1[/img:$uid]", $text);
Add Below
//[hide]message[/hide]
$text = preg_replace("#\[hide\](.*?)\[\/hide\]#si","[hide:$uid]\\1[/hide:$uid]", $text);
die "anweisungen" die ich nicht verstehe sind
*Before* this text
Add this functions
Find in function "bbencode_first_pass"
Verfasst: 02.03.2005 18:03
von horscht
*Before* this text = vor diesen Text
Add this functions = füge diese Funktionen/Code ein
Find in function "bbencode_first_pass" = finde in der Funktion/Code "bbencode_first_pass"
Verfasst: 02.03.2005 19:01
von ich-nrw
hmm aber was meint die/der mit
Add this functions
wo soll ich das denn einfügen?
Verfasst: 02.03.2005 19:06
von Jan500
ich-nrw hat geschrieben:*Before* this text
/**
* Does second-pass bbencoding. This should be used before displaying the message in
* a thread. Assumes the message is already first-pass encoded, and we are given the
* correct UID as used in first-pass encoding.
*/
Add this functions
function hide_in_quote($text)
{
$text = preg_replace("#\[hide\](.*?)\[\/hide\]#si","--- phpBB : The Protected Message is not copied in this quote ---", $text);
return $text;
}
function bbencode_third_pass($text, $uid, $deprotect)
{
global $bbcode_tpl;
// pad it with a space so we can distinguish between FALSE and matching the 1st char (index 0).
// This is important; bbencode_quote(), bbencode_list(), and bbencode_code() all depend on it.
$text = " " . $text;
// First: If there isn't a "[" and a "]" in the message, don't bother.
if (! (strpos($text, "[") && strpos($text, "]")) )
{
// Remove padding, return.
$text = substr($text, 1);
return $text;
}
// Patterns and replacements for URL and email tags..
$patterns = array();
$replacements = array();
if ( $deprotect ) {
$patterns[0] = "#\[hide:$uid\](.*?)\[/hide:$uid\]#si";
$replacements[0] = $bbcode_tpl['show'];
}
else
{
$patterns[0] = "#\[hide:$uid\](.*?)\[/hide:$uid\]#si";
$replacements[0] = $bbcode_tpl['hide'];
}
$text = preg_replace($patterns, $replacements, $text);
// Remove our padding from the string..
$text = substr($text, 1);
return $text;
}
also da sollst du wahrscheinlich
Code: Alles auswählen
/**
* Does second-pass bbencoding. This should be used before displaying the message in
* a thread. Assumes the message is already first-pass encoded, and we are given the
* correct UID as used in first-pass encoding.
*/
finden n und davor dann den code nach "Add this functions " einfügen
geh mal auf
http://dict.leo.org
Jan
Verfasst: 02.03.2005 19:06
von Jan500
editt: sorry hatte aus Versehen nen doppelpost gemacht

Verfasst: 05.09.2005 11:41
von Elvis
da ich gesucht habe wie Verrückt und keine Deutsche Übersetzung gefunden habe, frage ich hier mal nach ob mir jemand das Übersetzen würde ???
Code: Alles auswählen
$lang['olympus_login_BoardIndex'] = 'Board Index';
$lang['olympus_login_CreateAccount'] = 'Create an Account';
$lang['olympus_login_ViewFAQ'] = 'View FAQ';
$lang['olympus_login_Resend_Activation'] = 'Resend Activation';
$lang['olympus_login_HideOnlineSession'] = 'Hide my online status this session';
$lang['olympus_login_NewActivationSent'] = 'A new activation key has been sent; please check your e-mail for details on how to activate it.';
$lang['olympus_login_NoAccount'] = 'It appears that this account does not exist';
$lang['olympus_login_WrongPassword'] = 'It appears that you have entered an incorrect password';
$lang['olympus_login_InactiveAccount'] = 'It appears that this account is inactive';
$lang['olympus_login_LoggedIn'] = 'You have successfully logged in';
$lang['olympus_login_ActivateAccountMsg'] = 'Click %shere%s to send a new activation code';
$lang['olympus_login_RegisterAccountMsg'] = 'Click %shere%s to register this account';
$lang['olympus_login_SendPasswordMsg'] = 'Click %shere%s to send a new password';
$lang['olympus_login_LoginInfo'] = 'In order to login you must be registered.<br />Registering takes only a few seconds but gives you increased<br />capabilies. The board administrator may also grant additional<br />permissions to registered users. Before you login please ensure you<br />are familiar with our terms of use and related policies. Please<br />ensure you read any forum rules as you navigate around the board.';
$lang['olympus_login_AdminInfo'] = 'To login to the administration panel you must re-authenticate yourself to verify you are really the administrator of the board<br /><br />Once logged in you will be able to access the ACP until your session ends';
$lang['olympus_login_Click_return'] = 'Click %sHere%s to return to the where you were previously';
$lang['olympus_login_No_send_account_active'] = 'An error has occured and we cannot continue, Please contact your administrator';
$lang['oly_adminactivation'] = 'Sorry but this board currently has ADMIN only activation enabled, Your account can only be activated by an administrator';
Verfasst: 05.09.2005 13:17
von Peggy
Hi, ich hatte den Olympus Login auch mal bei mir eingebaut.

Hier meine Übersetzung:
// [+] 'Olympus Style' Login Screen
$lang['olympus_login']['BoardIndex'] = 'Foren-Übersicht';
$lang['olympus_login']['CreateAccount'] = 'Registrieren';
$lang['olympus_login']['ViewFAQ'] = 'FAQ lesen';
$lang['olympus_login']['Resend_Activation'] = 'Aktivierungsmail senden';
$lang['olympus_login']['HideOnlineSession'] = 'Verberge dieses Mal meinen Online-Status';
$lang['olympus_login']['NewActivationSent'] = 'Ein neuer Aktivierungsschlüssel wurde gesendet. Bitte schau in dein Email-Postfach..';
$lang['olympus_login']['NoAccount'] = 'Dieser Account existiert nicht.';
$lang['olympus_login']['WrongPassword'] = 'Du hast ein falsches Passwort eingegeben.';
$lang['olympus_login']['InactiveAccount'] = 'Dein Account ist inaktiv.';
$lang['olympus_login']['LoggedIn'] = 'Du hast dich erfolgreich eingeloggt.';
$lang['olympus_login']['ActivateAccountMsg'] = 'Klick %shier%s um dir einen neuen Aktivierungsschlüssel senden zu lassen.';
$lang['olympus_login']['RegisterAccountMsg'] = 'Klick %shier%s um diesen Account zu registrieren.';
$lang['olympus_login']['SendPasswordMsg'] = 'Klick %shier%s um dir ein neues Passwort senden zu lassen.';
$lang['olympus_login']['LoginInfo'] = 'Um dich einloggen zu können, musst du registriert sein.<br />Die Registrierung dauert nur wenige Sekunden, bringt dir aber viel Komfort. Die Administratorin des Forums hält einige Features für Mitglieder bereit. Bevor du dich einloggst, solltest du mit unseren Nutzungbedingungen einverstanden sein. Bitte lies auch unsere <a href="rules.php" target="_blank">Regeln</a>, wenn du durch das Forum surfst.';
$lang['olympus_login']['AdminInfo'] = 'Um in das Administrationspanel zu gelangen, authentifiziere dich bitte, um sicher zu stellen, dass du Administrator dieses Forums bist.<br /><br />Mit einem Login kannst du das Administrationspanel für die gesamte Session betreten.';
// [-] 'Olympus Style' Login Screen
Ich verweise dort auf meine "rules.php". Müsstest du entsprechend für dein Forum ändern. Wenn du keine Regeln hast, dann schmeiss den Satz einfach raus.
Falls du brauchst: hier die Übersetzung der user_activate_resend.tpl
Subject: Neuer Aktivierungsschlüssel
Charset: iso-8859-1
Hallo {USERNAME}
Du erhältst diese Email, weil du (oder jemand, der sich für dich ausgibt), einen neuen Aktivierungsschlüssel für deinen Account auf {SITENAME} angefordert hat. Wenn du diese Email nicht angefordert hast, aktiviere bitte trotzdem deinen Account durch klicken auf den unten aufgeführten Link.
{U_ACTIVATE}
{EMAIL_SIG}
/Edit: Huch, die haben anscheinend den Mod nochmal überarbeitet. Achte mal bitte beim Kopieren der language-Sachen, dass du die Variablen von deiner Version übernimmst.
Und hier noch die anderen Übersetzungen, die oben fehlen:
$lang['olympus_login_Click_return'] = 'Klick %shier%s um zur vorherigen Seite zurückzukehren.';
$lang['olympus_login_No_send_account_active'] = 'Ein Fehler ist aufgetreten. Bitte kontaktiere den Administrator.';
$lang['oly_adminactivation'] = 'Entschuldigung! In diesem Forum werden Accounts nur durch den Administrator aktiviert. Bitte habe etwas Geduld.';