i18n string extraction util
This commit is contained in:
parent
8ba3737b3b
commit
e25e40f1ef
7 changed files with 871 additions and 9 deletions
|
@ -49,7 +49,7 @@ function install_post(&$a) {
|
|||
$_SESSION['sysmsg'] = '';
|
||||
|
||||
notice( t('Database import succeeded.') . EOL
|
||||
. t('IMPORTANT: You will need to (manually) setup a scheduled task for the poller.') . EOL
|
||||
. t('IMPORTANT: You will need to [manually] setup a scheduled task for the poller.') . EOL
|
||||
. t('Please see the file INSTALL.') . EOL );
|
||||
goaway($a->get_baseurl());
|
||||
}
|
||||
|
|
|
@ -493,7 +493,7 @@ function photos_content(&$a) {
|
|||
'$permissions' => t('Permissions'),
|
||||
'$aclselect' => populate_acl($a->user),
|
||||
'$archive' => $a->get_baseurl() . '/jumploader_z.jar',
|
||||
'$nojava' => t('Use the following controls only if the Java uploader (above) fails to launch.'),
|
||||
'$nojava' => t('Use the following controls only if the Java uploader [above] fails to launch.'),
|
||||
'$uploadurl' => $a->get_baseurl() . '/photos',
|
||||
'$submit' => t('Submit')
|
||||
));
|
||||
|
|
|
@ -58,14 +58,14 @@ function profile_photo_post(&$a) {
|
|||
$r = $im->store(get_uid(), 0, $base_image['resource-id'],$base_image['filename'], t('Profile Photos'), 4, 1);
|
||||
|
||||
if($r === false)
|
||||
notice ( t('Image size reduction (175) failed.') . EOL );
|
||||
notice ( t('Image size reduction [175] failed.') . EOL );
|
||||
|
||||
$im->scaleImage(80);
|
||||
|
||||
$r = $im->store(get_uid(), 0, $base_image['resource-id'],$base_image['filename'], t('Profile Photos'), 5, 1);
|
||||
|
||||
if($r === false)
|
||||
notice( t('Image size reduction (80) failed.') . EOL );
|
||||
notice( t('Image size reduction [80] failed.') . EOL );
|
||||
|
||||
// Unset the profile photo flag from any other photos I own
|
||||
|
||||
|
@ -132,7 +132,7 @@ function profile_photo_post(&$a) {
|
|||
$r = $ph->store(get_uid(), 0 , $hash, $filename, t('Profile Photos'), 1 );
|
||||
|
||||
if($r === false)
|
||||
notice( t('Image size reduction (640) failed.') . EOL );
|
||||
notice( t('Image size reduction [640] failed.') . EOL );
|
||||
else
|
||||
$smallest = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue