Changeset 2789
- Timestamp:
- Oct 22, 2008, 3:34:45 AM (16 years ago)
- Location:
- branches/2.0
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/include/config_default.inc.php
r2595 r2789 412 412 413 413 // +-----------------------------------------------------------------------+ 414 // | debug|414 // | debug/performance | 415 415 // +-----------------------------------------------------------------------+ 416 416 … … 430 430 // die_on_sql_error: if an SQL query fails, should everything stop? 431 431 $conf['die_on_sql_error'] = true; 432 433 // if true, some language strings are replaced during template compilation 434 // (insted of template output). this results in better performance. however 435 // any change in the language file will not be propagated until you purge 436 // the compiled templates from the admin / maintenance menu 437 $conf['compiled_template_cache_language'] = false; 438 439 // This tells Smarty whether to check for recompiling or not. Recompiling 440 // does not need to happen unless a template is changed. false results in 441 // better performance. 442 $conf['template_compile_check'] = true; 432 443 433 444 // +-----------------------------------------------------------------------+ … … 696 707 // or other plugin variables etc 697 708 $conf['local_data_dir'] = dirname(dirname(__FILE__)).'/_data'; 698 699 // if true, some language strings are replaced during template compilation700 // (insted of template output). this results in better performance. however701 // any change in the language file will not be propagated until you purge702 // the compiled templates from the admin / maintenance menu703 $conf['compiled_template_cache_language'] = false;704 705 709 ?> -
branches/2.0/include/functions.inc.php
r2700 r2789 1028 1028 if ($conf['debug_l10n'] and !isset($lang[$key]) and !empty($key)) 1029 1029 { 1030 trigger_error('[l10n] language key "'.$key.'" is not defined', E_USER_ NOTICE);1030 trigger_error('[l10n] language key "'.$key.'" is not defined', E_USER_WARNING); 1031 1031 } 1032 1032 … … 1347 1347 function get_pwg_charset() 1348 1348 { 1349 defined('PWG_CHARSET') or fatal_error(' load_languagePWG_CHARSET undefined');1349 defined('PWG_CHARSET') or fatal_error('PWG_CHARSET undefined'); 1350 1350 return PWG_CHARSET; 1351 1351 } … … 1418 1418 $dir = $dirname.$language; 1419 1419 1420 // exact charset match - no conversion required 1421 $f = $dir.'.'.$target_charset.'/'.$filename; 1422 if (file_exists($f)) 1423 { 1424 $source_file = $f; 1425 break; 1420 if ($target_charset!='utf-8') 1421 { 1422 // exact charset match - no conversion required 1423 $f = $dir.'.'.$target_charset.'/'.$filename; 1424 if (file_exists($f)) 1425 { 1426 $source_file = $f; 1427 break; 1428 } 1426 1429 } 1427 1430 -
branches/2.0/include/template.class.php
r2717 r2789 56 56 $this->smarty = new Smarty; 57 57 $this->smarty->debugging = $conf['debug_template']; 58 $this->smarty->compile_check=$conf['template_compile_check']; 58 59 59 60 $compile_dir = $conf['local_data_dir'].'/templates_c'; … … 206 207 return true; 207 208 } 208 209 209 210 /** return template extension if exists */ 210 211 function get_extent($filename='', $handle='') -
branches/2.0/language/de_DE/common.lang.php
r2758 r2789 141 141 $lang['became available on %s'] = 'zur Verfügung gestellt am %s'; 142 142 $lang['best_rated_cat'] = 'Am besten bewertet'; 143 $lang['best_rated_cat_hint'] = 'zeigt am besten bewertete n Artikel';143 $lang['best_rated_cat_hint'] = 'zeigt am besten bewertete Bilder'; 144 144 $lang['caddie'] = 'Warenkorb'; 145 145 $lang['calendar'] = 'Kalender'; … … 196 196 $lang['hint_customize'] = 'das Aussehen der Galerie'; 197 197 $lang['hint_search'] = 'Suche'; 198 $lang['home'] = ' Heim';198 $lang['home'] = 'Startseite'; 199 199 $lang['identification'] = 'Identifizierung'; 200 200 $lang['images_available_cpl'] = 'in dieser Kategorie'; … … 229 229 $lang['month'][8] = 'August'; 230 230 $lang['month'][9] = 'September'; 231 $lang['most_visited_cat'] = ' mehrgesehen';231 $lang['most_visited_cat'] = 'Am häufigsten gesehen'; 232 232 $lang['most_visited_cat_hint'] = 'zeigt am meisten besuchten Bilder'; 233 233 $lang['nb_image_line_error'] = 'Die Anzahl der Bilder pro Zeile muss ein nicht null skalare'; … … 239 239 $lang['new_rate'] = 'Stimmen Sie für dieses Bild'; 240 240 $lang['next_page'] = 'Vorwärts'; 241 $lang['no_category'] = ' Heim';241 $lang['no_category'] = 'Startseite'; 242 242 $lang['no_rate'] = 'keine Note'; 243 243 $lang['note_filter_day'] = 'Die Gesamtheit der Elemente wird gefiltert um nur die jüngsten weniger als %d Tag.'; … … 251 251 $lang['preferences'] = 'Einstellungen'; 252 252 $lang['previous_page'] = 'Zurück'; 253 $lang['random_cat'] = 'Zufalls -Bilder';253 $lang['random_cat'] = 'Zufallsbilder'; 254 254 $lang['random_cat_hint'] = 'Anzeigen eines zufälligen Bilder'; 255 $lang['recent_cats_cat'] = ' Kategorien jüngsten';255 $lang['recent_cats_cat'] = 'Neue Kategorien'; 256 256 $lang['recent_cats_cat_hint'] = 'Kategorien anzuzeigen, die kürzlich aktualisiert oder erstellt'; 257 257 $lang['recent_period'] = 'Vor kurzem'; … … 290 290 $lang['slideshow'] = 'Diashow'; 291 291 $lang['slideshow_stop'] = 'Stop die Diashow'; 292 $lang['special_categories'] = ' Sonderangebot';292 $lang['special_categories'] = 'Besonderes'; 293 293 $lang['sql_queries_in'] = 'SQL-Abfragen in'; 294 294 $lang['start_filter_hint'] = 'zeigt erst vor kurzem gebucht Bilder';
Note: See TracChangeset
for help on using the changeset viewer.