Seite 1 von 1

Zweideutige Update-Anleitung für 2.0.18

Verfasst: 09.11.2005 19:39
von Latinoportal
1.) Beispiel

Hier die Anleitung:

Code: Alles auswählen

#
#-----[ FIND ]---------------------------------------------
# NOTE --- This is a partial match, the whole line for the english version looks like this:
#	$lang['Stylesheet'] = 'CSS Stylesheet';
#
$lang['Stylesheet'] =

#
#-----[ AFTER, ADD ]---------------------------------------------
#
$lang['Stylesheet_explain'] = 'Filename for CSS stylesheet to use for this theme.';
Sieht das nun so aus:???

Code: Alles auswählen

$lang['Stylesheet'] =$lang['Stylesheet_explain'] = 'Filename for CSS stylesheet to use for this theme.'; 'CSS Stylesheet';
oder mit Leerschritt?

Code: Alles auswählen

$lang['Stylesheet'] = $lang['Stylesheet_explain'] = 'Filename for CSS stylesheet to use for this theme.'; 'CSS Stylesheet';
oder anders???


2. Beispiel

Hier die Anleitung:

Code: Alles auswählen

#
#-----[ OPEN ]---------------------------------------------
# NOTE --- Remember to do this for all your installed languages!
#
language/lang_english/lang_main.php

#
#-----[ FIND ]---------------------------------------------
# NOTE --- This is a partial match, the whole lines for the english version look like this:
#	$lang['Read_profile'] = 'View user\'s profile'; 
#	$lang['Send_email'] = 'Send e-mail to user';
#
$lang['Read_profile'] =
$lang['Send_email'] =

#
#-----[ REPLACE WITH ]---------------------------------------------
# NOTE --- We are just removing the definition for $lang['Send_email']
#
$lang['Read_profile'] = 'View user\'s profile'; 
Das sieht komisch aus ...

Code: Alles auswählen

$lang['Read_profile'] = 'View user\'s profile'; = 'View user\'s profile'; 
$lang['Read_profile'] = 'View user\'s profile'; = 'Send e-mail to user';
???

Verfasst: 09.11.2005 19:47
von tost
After add heißt füge es in die nächste Zeile ein !

Code: Alles auswählen

$lang['Stylesheet'] = 'CSS Stylesheet';
$lang['Stylesheet_explain'] = 'Filename for CSS stylesheet to use for this theme.';
Zu 2:

Müsste so aussehen:

Code: Alles auswählen

$lang['Read_profile'] = 'View user\'s profile';
# NOTE --- We are just removing the definition for $lang['Send_email']
Sprich du musst einfach nur die Send_email Zeile entfernen.

tost