mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 17:53:08 +02:00
Fix some language keys problems
Need translations ! git-svn-id: http://piwigo.org/svn/trunk@5207 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -516,7 +516,7 @@ SELECT
|
||||
array_push(
|
||||
$page['infos'],
|
||||
sprintf(
|
||||
l10n('An information email was sent to group \"%s\"'),
|
||||
l10n('An information email was sent to group "%s"'),
|
||||
$group_name
|
||||
)
|
||||
);
|
||||
|
||||
@@ -208,7 +208,7 @@ class c13y_internal
|
||||
|
||||
create_user_infos($id);
|
||||
|
||||
$page['infos'][] = sprintf(l10n('User \"%s\" created with \"%s\" like password'), $name, $password);
|
||||
$page['infos'][] = sprintf(l10n('User "%s" created with "%s" like password'), $name, $password);
|
||||
|
||||
$result = true;
|
||||
}
|
||||
@@ -239,7 +239,7 @@ class c13y_internal
|
||||
array('primary' => array('user_id'),'update' => array('status')),
|
||||
$updates);
|
||||
|
||||
$page['infos'][] = sprintf(l10n('Status of user \"%s\" updated'), get_username($id));
|
||||
$page['infos'][] = sprintf(l10n('Status of user "%s" updated'), get_username($id));
|
||||
|
||||
$result = true;
|
||||
}
|
||||
|
||||
@@ -140,7 +140,7 @@ function set_cat_permalink( $cat_id, $permalink, $save )
|
||||
if ( $sanitized_permalink != $permalink
|
||||
or preg_match( '#^(\d)+(-.*)?$#', $permalink) )
|
||||
{
|
||||
$page['errors'][] = l10n('The permalink name must be composed of a-z, A-Z, 0-9, \"-\", \"_\" or \"/\". It must not be numeric or start with number followed by \"-\"');
|
||||
$page['errors'][] = l10n('The permalink name must be composed of a-z, A-Z, 0-9, "-", "_" or "/". It must not be numeric or start with number followed by "-"');
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -56,11 +56,11 @@ define('CURRENT_DATE', $dbnow);
|
||||
$error_labels = array(
|
||||
'PWG-UPDATE-1' => array(
|
||||
l10n('wrong filename'),
|
||||
l10n('The name of directories and files must be composed of letters, numbers, \"-\", \"_\" or \".\"')
|
||||
l10n('The name of directories and files must be composed of letters, numbers, "-", "_" or "."')
|
||||
),
|
||||
'PWG-UPDATE-2' => array(
|
||||
l10n('missing thumbnail'),
|
||||
l10n('a picture filetype requires a thumbnail. The thumbnail must be present in the sub-directory \"thumbnail\" of the category directory. The thumbnail filename must start with the configured thumbnail prefix and the extension must be among the following list :').implode(',', $conf['picture_ext'])
|
||||
l10n('a picture filetype requires a thumbnail. The thumbnail must be present in the sub-directory "thumbnail" of the category directory. The thumbnail filename must start with the configured thumbnail prefix and the extension must be among the following list :').implode(',', $conf['picture_ext'])
|
||||
),
|
||||
'PWG-ERROR-NO-FS' => array(
|
||||
l10n('File/directory read error'),
|
||||
@@ -72,7 +72,7 @@ $error_labels = array(
|
||||
),
|
||||
'PWG-ERROR-NOLISTING' => array(
|
||||
l10n('listing.xml file was not found'),
|
||||
l10n('listing.xml file was not found on the remote site. This file is generated by choosing the \"generate listing\" command in the Site manager')
|
||||
l10n('listing.xml file was not found on the remote site. This file is generated by choosing the "generate listing" command in the Site manager')
|
||||
)
|
||||
);
|
||||
$errors = array();
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
<td>{$permalink.date_deleted}</td>
|
||||
<td>{$permalink.last_hit}</td>
|
||||
<td>{$permalink.hit}</td>
|
||||
<td><a href="{$permalink.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/Delete.png" alt="[{'Delete'|@translate}]" class="button"></a></td>
|
||||
<td><a href="{$permalink.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" alt="[{'Delete'|@translate}]" class="button"></a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<td>{$rate.RATE}</td>
|
||||
<td><b>{$rate.USER}</b></td>
|
||||
<td><span class="date">{$rate.DATE}</span></td>
|
||||
<td><a href="{$rate.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$themeconf.admin_icon_dir}/Delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{'Delete'|@translate}]"></a></td>
|
||||
<td><a href="{$rate.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$themeconf.admin_icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{'Delete'|@translate}]"></a></td>
|
||||
</tr>
|
||||
{/foreach} {*rates*}
|
||||
{/foreach} {*images*}
|
||||
|
||||
Reference in New Issue
Block a user