Simple Machines Community Forum

SMF Support => Bosanski/Hrvatski/Srpski (Bosnian/Croatian/Serbian) => Language Specific Support => SMF Prevod => Topic started by: warhead on August 06, 2006, 10:27:09 PM

Title: Nešto nije prevedeno - Admin
Post by: warhead on August 06, 2006, 10:27:09 PM
Kada kliknem na Admin uvjek dobijem ovu grešku:

8: Undefined index: member_center_info
Datoteka: /home/debian/public_html/Sources/Admin.php
Linija: 200


Pogledao sam liniju 200 i tamo sam pronašao:

Code: [Select]
'description' => $txt[$task[3]],
Što znači kao da nije definiran prijevod $txt[$task[3]]

Molim pomoć što trebam ispraviti ?!?!?!
Title: Re: Nešto nije prevedeno - Admin
Post by: warhead on August 06, 2006, 11:14:48 PM
Ok ok.... našao sam riješenje.

Potrebno je dodati u datoteku /Themes/default/languages/Modifications.croatian.php

Code: [Select]
$txt['member_center_info'] = 'Korisnički info:';
I to je to  :D
Title: Re: Nešto nije prevedeno - Admin
Post by: Bernard T. on August 07, 2006, 12:58:49 PM
Quote
Undefined index: member_center_info

...  Potrebno je dodati u datoteku /Themes/default/languages/Modifications.croatian.php

Code: [Select]
$txt['member_center_info'] = 'Korisnički info:';

Upravo tako - greška je sama sebe upisivala. Takve Undefined index greške znače da nedostaje prijevod nekog od pojmova u Modifications.croatian.php