diff options
author | nikrou <nikrou@piwigo.org> | 2010-03-20 22:35:39 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2010-03-20 22:35:39 +0000 |
commit | af78fa6193f7fec2bad09315aa1fb512d3c9a6fc (patch) | |
tree | ff597f8953de508e8e3ee948f4c66689e83fbf8c /admin | |
parent | 251eeb05aba7ddb79afafd4143a5435fc368b0e7 (diff) |
Fix some language keys problems
Need translations !
git-svn-id: http://piwigo.org/svn/trunk@5207 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/cat_modify.php | 2 | ||||
-rw-r--r-- | admin/include/c13y_internal.class.php | 4 | ||||
-rw-r--r-- | admin/include/functions_permalinks.php | 2 | ||||
-rw-r--r-- | admin/site_update.php | 6 | ||||
-rw-r--r-- | admin/themes/default/template/permalinks.tpl | 2 | ||||
-rw-r--r-- | admin/themes/default/template/rating.tpl | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/admin/cat_modify.php b/admin/cat_modify.php index 635f4d7d4..039317285 100644 --- a/admin/cat_modify.php +++ b/admin/cat_modify.php @@ -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 ) ); diff --git a/admin/include/c13y_internal.class.php b/admin/include/c13y_internal.class.php index 5b0d89ebc..373829e36 100644 --- a/admin/include/c13y_internal.class.php +++ b/admin/include/c13y_internal.class.php @@ -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; } diff --git a/admin/include/functions_permalinks.php b/admin/include/functions_permalinks.php index fc5846b1f..3a613f96b 100644 --- a/admin/include/functions_permalinks.php +++ b/admin/include/functions_permalinks.php @@ -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; } diff --git a/admin/site_update.php b/admin/site_update.php index a3cac9c6b..4d63ca936 100644 --- a/admin/site_update.php +++ b/admin/site_update.php @@ -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(); diff --git a/admin/themes/default/template/permalinks.tpl b/admin/themes/default/template/permalinks.tpl index ef5c7f802..e7674c7c2 100644 --- a/admin/themes/default/template/permalinks.tpl +++ b/admin/themes/default/template/permalinks.tpl @@ -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> diff --git a/admin/themes/default/template/rating.tpl b/admin/themes/default/template/rating.tpl index d7d3a85c9..a736470c6 100644 --- a/admin/themes/default/template/rating.tpl +++ b/admin/themes/default/template/rating.tpl @@ -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*} |