Titre: probleme parse error
Postй par: sephirots le le 01-06-2007 a 19:35:15
Bonjour Utilisant le CMS datalife engine (plus connu en russie qu'en france :P) j'ai recemment recupйrй une version traduite en anglais. hors apres le changement de langue lors de mon acces a la partie adminitration j'obtient ceci :
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in xxx/language/English/adminpanel.lng on line 38
seulement ce fichier etant un fichier de traduction je ne trouve aps le probleme
Php version: ? mysql V5 hebergeur 1&1
voila les lignes a partir de la ligne 1 jusqua la ligne 50 (je me base sur les ligne de dreamweaver)
Code:
<?php
$lang = array (
'charset' => "windows-1251",
// 5.7 'user_avatar' => "Upload avatar:", 'user_del_avatar' => "Are you sure you want to delete this avatar?", 'opt_sfind' => "Find and Replace", 'opt_sfindc' => "Find and replace data in MySQL database", 'find_main' => "Find and replace text in MySQL database", 'find_info' => "This utility will help you to find and replace text in any comment or article on your site through MySQL database. It's useful when you need to make minor corrections e.g author's credentials, his email address, link to his site etc. Always backup your database before you make any changes.", 'find_ftable' => "Choose a table where the text can be found:", 'find_ftext' => "Find what:", 'find_rtext' => "Replace with:", 'find_rstart' => "Replace", 'find_rnews' => "in the news", 'find_rcomms' => "in the comments", 'find_rpm' => "in the personal messages", 'find_rstatic' => "in the static pages", 'find_done_h' => "Request complete", 'find_done' => "The text has been successfully replaced.", 'mail_info_3' => "New article submittion e-mail notification", 'mail_news_info' => "Here is some tags that can be used in this template:<br /><b>{%title%}</b> - title<br /><b>{%username%}</b> - username, <br /><b>{%date%}</b> - article date<br /><b>{%category%}</b> - category", 'mail_info_4' => "E-mail notification of a new comment submittion:", 'mail_comm_info' => "Here is some tags that can be used in this template:<br /><b>{%link%}</b> - article link<br /><b>{%username%}</b> - username <br /><b>{%date%}</b> - comment date<br /><b>{%ip%}</b> - user IP <br /><b>{%text%}</b> - comment body", 'opt_sys_nmail' => "Notify me by e-mail of new article submittions", 'opt_sys_nmaild' => "An e-mail notification will be send to you every time a new article is submitted for validation.", 'opt_sys_cmail' => "Notify me by e-mail of new comment submitions", 'opt_sys_cmaild' => "An e-mail notification will be send to you every time a new comment is submitted for validation.", 'bb_t_leech' => "Insert protected link", 'group_icon' => "Usergroup icon", 'hint_gicon' => "You can assign an specific icon for the usergroup. You can use <b>{THEME}</b> tag which will be replaced with your site URL." // 5.7
// 5.5 'opt_sys_related' => "Display related news", 'opt_sys_relatedd' => "This module displays other context related news articles. Disabling this module will reduce the load on the MySQL server", 'anti_snap' => "Сделать снимок", 'anti_snapalert' => "Вы уверены что список обнаруженных файлов безопасен, и вы хотите сделать новый снимок файлов.", 'anti_modified' => "несоответствует сделанному снимку", 'anti_not' => "неизвестнен дистрибутиву", 'anti_snap' => "Сделать снимок", 'anti_creates' => "Your system files script and templates to be", 'ip_found_comments' => "List of users using the IP address in writing comments", 'static_tpl' => "Use template", 'hint_stpl' => "Name of the template you wish to use for static pages, leave blank for the default template <b>static.tpl</b>", 'opt_sys_nodate' => "Поддержка публикации новостей на еще не наступишую дату", 'opt_sys_nodated' => "If this option you will be able to establish news is not yet onset date, and when the date of this news will be published on the site automatically. If you disable this option you will use abbreviated queries to the database, which greatly enhances your performance and reduces the load on the server with a very large databases.", |
|
|
Titre: Re:probleme parse error
Postй par: killian le le 01-06-2007 a 20:28:28
Je crois que l'erreur vient de lа :
Code:
'hint_gicon' => "You can assign an specific icon for the usergroup. You can use <b>{THEME}</b> tag which will be replaced with your site URL." // 5.7
// 5.5 'opt_sys_related' => "Display related news",
|
|
Tu as oubliй la virgule aprиs "your site URL." !
J'espиre que c'йtait зa ;) |
Titre: Re:probleme parse error
Postй par: sephirots le le 03-06-2007 a 07:27:49
| Merci beaucoup c'etait ca le probleme!! Probleme resolu!! |
Forum-webmaster | Actionnй par YaBB SE
© 2001-2003, YaBB SE Dev Team. Tous droits rйservйs.
|