Changeset 25005 for trunk/include
- Timestamp:
- Oct 19, 2013, 1:04:11 PM (10 years ago)
- Location:
- trunk/include
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/calendar_weekly.class.php
r19703 r25005 45 45 for ($i=1; $i<=53; $i++) 46 46 { 47 $week_no_labels[$i] = sprintf( l10n("Week %d"), $i);47 $week_no_labels[$i] = l10n('Week %d', $i); 48 48 //$week_no_labels[$i] = $i; 49 49 } -
trunk/include/category_cats.inc.php
r22879 r25005 353 353 else 354 354 { 355 $info = sprintf(356 l10n('from %s to %s'),355 $info = l10n( 356 'from %s to %s', 357 357 format_date($from), 358 358 format_date($to) -
trunk/include/functions.inc.php
r24988 r25005 607 607 if ($diff->invert) 608 608 { 609 $print = sprintf(l10n('%s ago'), $print);609 $print = l10n('%s ago', $print); 610 610 } 611 611 else 612 612 { 613 $print = sprintf(l10n('%s in the future'), $print);613 $print = l10n('%s in the future', $print); 614 614 } 615 615 } … … 1579 1579 if (!isset($cache['get_icon']['title'])) 1580 1580 { 1581 $cache['get_icon']['title'] = sprintf(1582 l10n('photos posted during the last %d days'),1581 $cache['get_icon']['title'] = l10n( 1582 'photos posted during the last %d days', 1583 1583 $user['recent_period'] 1584 1584 ); … … 1706 1706 $label .= ', '; 1707 1707 } 1708 $label .= l10n( sprintf('Level %d', $level) );1708 $label .= l10n( sprintf('Level %d', $level) ); 1709 1709 } 1710 1710 $options[$level] = $label; -
trunk/include/no_photo_yet.inc.php
r19703 r25005 77 77 array( 78 78 'step' => 2, 79 'intro' => sprintf(80 l10n('Hello %s, your Piwigo photo gallery is empty!'),79 'intro' => l10n( 80 'Hello %s, your Piwigo photo gallery is empty!', 81 81 $user['username'] 82 82 ), -
trunk/include/template.class.php
r24988 r25005 74 74 load_language('admin.lang'); 75 75 fatal_error( 76 sprintf(77 l10n('Give write access (chmod 777) to "%s" directory at the root of your Piwigo installation'),76 l10n( 77 'Give write access (chmod 777) to "%s" directory at the root of your Piwigo installation', 78 78 $conf['data_location'] 79 79 ), -
trunk/include/ws_functions.inc.php
r23060 r25005 3358 3358 { 3359 3359 case 'ok': 3360 return sprintf(l10n('%s has been successfully updated.'), $extension_name);3360 return l10n('%s has been successfully updated.', $extension_name); 3361 3361 3362 3362 case 'temp_path_error': … … 3370 3370 3371 3371 default: 3372 return new PwgError(null, sprintf(l10n('An error occured during extraction (%s).'), $upgrade_status));3372 return new PwgError(null, l10n('An error occured during extraction (%s).', $upgrade_status)); 3373 3373 } 3374 3374 }
Note: See TracChangeset
for help on using the changeset viewer.