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 | |
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 | ||||
-rw-r--r-- | install.php | 2 | ||||
-rw-r--r-- | language/de_DE/admin.lang.php | 12 | ||||
-rw-r--r-- | language/en_UK/admin.lang.php | 24 | ||||
-rw-r--r-- | language/en_UK/common.lang.php | 5 | ||||
-rw-r--r-- | language/es_ES/admin.lang.php | 12 | ||||
-rw-r--r-- | language/fr_FR/admin.lang.php | 24 | ||||
-rw-r--r-- | language/fr_FR/common.lang.php | 5 | ||||
-rw-r--r-- | language/it_IT/admin.lang.php | 12 | ||||
-rw-r--r-- | language/nl_NL/admin.lang.php | 12 | ||||
-rw-r--r-- | language/pl_PL/admin.lang.php | 12 | ||||
-rw-r--r-- | language/templates/admin.lang.php | 11 | ||||
-rw-r--r-- | language/templates/common.lang.php | 6 | ||||
-rw-r--r-- | themes/Sylvia/icon/del_all_favorites.png | bin | 0 -> 872 bytes | |||
-rw-r--r-- | themes/default/template/comment_list.tpl | 4 | ||||
-rw-r--r-- | themes/default/template/picture.tpl | 2 | ||||
-rw-r--r-- | upgrade.php | 2 |
22 files changed, 107 insertions, 56 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*} diff --git a/install.php b/install.php index 8c09745cf..2f9832b60 100644 --- a/install.php +++ b/install.php @@ -267,7 +267,7 @@ if ( isset( $_POST['install'] )) if ( empty($webmaster)) array_push( $errors, l10n('enter a login for webmaster') ); else if ( preg_match( '/[\'"]/', $webmaster ) ) - array_push( $errors, l10n('webmaster login can\'t contain characters \' or \"') ); + array_push( $errors, l10n('webmaster login can\'t contain characters \' or "') ); if ( $admin_pass1 != $admin_pass2 || empty($admin_pass1) ) array_push( $errors, l10n('please enter your password again') ); if ( empty($admin_mail)) diff --git a/language/de_DE/admin.lang.php b/language/de_DE/admin.lang.php index b9fde4d1d..b606cd240 100644 --- a/language/de_DE/admin.lang.php +++ b/language/de_DE/admin.lang.php @@ -597,12 +597,12 @@ $lang['Caddie is currently empty'] = "Der Sammelkorb ist derzeit leer."; $lang['Upload'] = "Upload"; $lang['Show upload link every time'] = "Den Uploadlink immer anzeigen"; $lang['User access level to upload'] = "dürfen Bilder hochladen"; -$lang['Free access'] = "Frei"; -$lang['Access to all'] = "Alle"; -$lang['Access to subscribed'] = "Mitglieder"; -$lang['Access to administrators'] = "Administratoren"; -$lang['Access to webmasters'] = "Webmaster"; -$lang['No access'] = "Keine Benutzer"; +$lang['ACCESS_0'] = "Frei"; +$lang['ACCESS_1'] = "Alle"; +$lang['ACCESS_2'] = "Mitglieder"; +$lang['ACCESS_3'] = "Administratoren"; +$lang['ACCESS_4'] = "Webmaster"; +$lang['ACCESS_5'] = "Keine Benutzer"; $lang['Demo'] = "Demo"; $lang['Piwigo home'] = "Home Piwigo"; $lang['Support'] = "Support"; diff --git a/language/en_UK/admin.lang.php b/language/en_UK/admin.lang.php index 9f5e83a3a..9dc700610 100644 --- a/language/en_UK/admin.lang.php +++ b/language/en_UK/admin.lang.php @@ -597,12 +597,12 @@ $lang['Caddie is currently empty'] = "Caddie is currently empty"; $lang['Upload'] = "Upload"; $lang['Show upload link every time'] = "Show upload link every time"; $lang['User access level to upload'] = "User access level to upload"; -$lang['Free access'] = "Free access"; -$lang['Access to all'] = "Access to all"; -$lang['Access to subscribed'] = "Access to subscribed"; -$lang['Access to administrators'] = "Access to administrators"; -$lang['Access to webmasters'] = "Access to webmasters"; -$lang['No access'] = "No access"; +$lang['ACCESS_0'] = "Free access"; +$lang['ACCESS_1'] = "Access to all"; +$lang['ACCESS_2'] = "Access to subscribed"; +$lang['ACCESS_3'] = "Access to administrators"; +$lang['ACCESS_4'] = "Access to webmasters"; +$lang['ACCESS_5'] = "No access"; $lang['Demo'] = "Demo"; $lang['Piwigo home'] = "Piwigo home"; $lang['Support'] = "Support"; @@ -667,4 +667,16 @@ $lang['Email administrators when a comment is modified'] = "Email administrators $lang['Email administrators when a comment is deleted'] = "Email administrators when a comment is deleted"; $lang['Cannot delete the old permalink !'] = "Cannot delete the old permalink !"; $lang['Hit'] = "Hit"; + +$lang['Tools'] = "Tools"; +$lang['Photos'] = "Photos"; +$lang['Themes'] = "Themes"; +$lang['Instructions to use Piwigo'] = "Instructions to use Piwigo"; +$lang['Order alphanumerically'] = "Order alphanumerically"; +$lang['Order alphanumerically reverse'] = "Order alphanumerically reverse"; +$lang['Installed Themes'] = "Installed Themes"; +$lang['Add New Theme'] = "Add New Theme"; +$lang['Forbid this theme to users'] = "Forbid this theme to users"; +$lang['Set as default theme for unregistered and new users'] = "Set as default theme for unregistered and new users"; +$lang['unknown'] = 'unknown'; ?>
\ No newline at end of file diff --git a/language/en_UK/common.lang.php b/language/en_UK/common.lang.php index 98602b69a..254251bea 100644 --- a/language/en_UK/common.lang.php +++ b/language/en_UK/common.lang.php @@ -367,4 +367,9 @@ $lang['Reset to default values'] = "Reset to default values"; $lang['delete all images from your favorites'] = "delete all images from your favorites"; $lang['Sent by'] = "Sent by"; $lang['Cookies are blocked or not supported by your browser. You must enable cookies to connect.'] = "Cookies are blocked or not supported by your browser. You must enable cookies to connect."; + +$lang['Some info about this picture'] = "Some info about this picture"; +$lang['Some more (technical) info about this picture'] = "Some more (technical) info about this picture"; +$lang['edit this comment'] = "edit this comment"; +$lang['Edit a comment'] = "Edit a comment"; ?>
\ No newline at end of file diff --git a/language/es_ES/admin.lang.php b/language/es_ES/admin.lang.php index dd4c2163e..3d4f2201e 100644 --- a/language/es_ES/admin.lang.php +++ b/language/es_ES/admin.lang.php @@ -596,12 +596,12 @@ $lang['Caddie is currently empty'] = "La cesta actualmente está vacía"; $lang['Upload'] = "Descargar"; $lang['Show upload link every time'] = "Mostrar el lazo de añadido de imagen todo el tiempo"; $lang['User access level to upload'] = "Nivel de acceso usuario para cargar"; -$lang['Free access'] = "Acceso libre"; -$lang['Access to all'] = "Acceso todos"; -$lang['Access to subscribed'] = "Acceso inscritos"; -$lang['Access to administrators'] = "Acceso administradores"; -$lang['Access to webmasters'] = "Acceso webmestres"; -$lang['No access'] = "Ningún acceso"; +$lang['ACCESS_0'] = "Acceso libre"; +$lang['ACCESS_1'] = "Acceso todos"; +$lang['ACCESS_2'] = "Acceso inscritos"; +$lang['ACCESS_3'] = "Acceso administradores"; +$lang['ACCESS_4'] = "Acceso webmestres"; +$lang['ACCESS_5'] = "Ningún acceso"; $lang['Demo'] = "Demo"; $lang['Piwigo home'] = "Acogida Piwigo"; $lang['Support'] = "Ayuda"; diff --git a/language/fr_FR/admin.lang.php b/language/fr_FR/admin.lang.php index ca1500d69..b16947f6c 100644 --- a/language/fr_FR/admin.lang.php +++ b/language/fr_FR/admin.lang.php @@ -596,12 +596,12 @@ $lang['Caddie is currently empty'] = "Le panier est actuellement vide."; $lang['Upload'] = "Téléchargement"; $lang['Show upload link every time'] = "Afficher le lien d'ajout d'image tout le temps"; $lang['User access level to upload'] = "Niveau d'accès utilisateur pour télécharger"; -$lang['Free access'] = "Accès libre"; -$lang['Access to all'] = "Accès à tous"; -$lang['Access to subscribed'] = "Accès aux inscrits"; -$lang['Access to administrators'] = "Accès aux administrateurs"; -$lang['Access to webmasters'] = "Accès aux webmestres"; -$lang['No access'] = "Pas d'accès"; +$lang['ACCESS_0'] = "Accès libre"; +$lang['ACCESS_1'] = "Accès à tous"; +$lang['ACCESS_2'] = "Accès aux inscrits"; +$lang['ACCESS_3'] = "Accès aux administrateurs"; +$lang['ACCESS_4'] = "Accès aux webmestres"; +$lang['ACCESS_5'] = "Pas d'accès"; $lang['Demo'] = "Démo"; $lang['Piwigo home'] = "Accueil Piwigo"; $lang['Support'] = "Support"; @@ -666,4 +666,16 @@ $lang['Email administrators when a comment is modified'] = "Notifier les adminis $lang['Email administrators when a comment is deleted'] = "Notifier les administrateurs quand un commentaire est supprimé"; $lang['Cannot delete the old permalink !'] = "Impossible de supprimer cet ancien lien permanent !"; $lang['Hit'] = "score"; + +$lang['Tools'] = "Outils"; +$lang['Photos'] = "Photos"; +$lang['Themes'] = "Thèmes"; +$lang['Instructions to use Piwigo'] = "Aide pour utiliser Piwigo"; +$lang['Order alphanumerically'] = "Ordre alphanumérique"; +$lang['Order alphanumerically reverse'] = "Ordre alphanumérique inverse"; +$lang['Installed Themes'] = "Thèmes installés"; +$lang['Add New Theme'] = "Ajouter un thème"; +$lang['Forbid this theme to users'] = "Interdire ce thème aux utilisateurs"; +$lang['Set as default theme for unregistered and new users'] = "Thème par défaut pour les invités et les nouveaux utilisateurs"; +$lang['unknown'] = 'inconnu'; ?>
\ No newline at end of file diff --git a/language/fr_FR/common.lang.php b/language/fr_FR/common.lang.php index a85a5c93b..8a86c325d 100644 --- a/language/fr_FR/common.lang.php +++ b/language/fr_FR/common.lang.php @@ -367,4 +367,9 @@ $lang['Reset to default values'] = "Rétablir les valeurs par défaut"; $lang['delete all images from your favorites'] = "supprimer toutes les images de vos favoris"; $lang['Sent by'] = "Envoyé par"; $lang['Cookies are blocked or not supported by your browser. You must enable cookies to connect.'] = "Les cookies sont bloqués ou non supportés par votre navigateur web. Vous devez activer les cookies pour vous connecter."; + +$lang['Some info about this picture'] = "Informations sur cette image"; +$lang['Some more (technical) info about this picture'] = "Informations (techniques) sur cette image"; +$lang['edit this comment'] = "editer ce commentaire"; +$lang['Edit a comment'] = "Editer ce commentaire"; ?>
\ No newline at end of file diff --git a/language/it_IT/admin.lang.php b/language/it_IT/admin.lang.php index 7bb287107..53e70879a 100644 --- a/language/it_IT/admin.lang.php +++ b/language/it_IT/admin.lang.php @@ -596,12 +596,12 @@ $lang['Caddie is currently empty'] = "Il cestino è attualente vuoto."; $lang['Upload'] = "Upload"; $lang['Show upload link every time'] = "Sempre visualizzare il link per aggiungere le immagini"; $lang['User access level to upload'] = "Livello d'accesso utente per l'upload"; -$lang['Free access'] = "Accesso libero"; -$lang['Access to all'] = "Accesso a tutti"; -$lang['Access to subscribed'] = "Accesso agli iscritti"; -$lang['Access to administrators'] = "Accesso agli amministratori"; -$lang['Access to webmasters'] = "Accesso agli webmaster"; -$lang['No access'] = "Nessun accesso"; +$lang['ACCESS_0'] = "Accesso libero"; +$lang['ACCESS_1'] = "Accesso a tutti"; +$lang['ACCESS_2'] = "Accesso agli iscritti"; +$lang['ACCESS_3'] = "Accesso agli amministratori"; +$lang['ACCESS_4'] = "Accesso agli webmaster"; +$lang['ACCESS_5'] = "Nessun accesso"; $lang['Demo'] = "Demo"; $lang['Piwigo home'] = "Home Piwigo"; $lang['Support'] = "Forum"; diff --git a/language/nl_NL/admin.lang.php b/language/nl_NL/admin.lang.php index ce27b7d87..8c3266be8 100644 --- a/language/nl_NL/admin.lang.php +++ b/language/nl_NL/admin.lang.php @@ -597,12 +597,12 @@ $lang['Caddie is currently empty'] = "Caddie is momenteel leeg"; $lang['Upload'] = "Upload"; $lang['Show upload link every time'] = "Show upload link altijd"; $lang['User access level to upload'] = "Gebruiker toegangsniveau om te uploaden"; -$lang['Free access'] = "Gratis toegang"; -$lang['Access to all'] = "Toegang tot alles"; -$lang['Access to subscribed'] = "Toegang tot geabbonnneerde"; -$lang['Access to administrators'] = "Toegang voor beheerders"; -$lang['Access to webmasters'] = "Toegang voor webmasters"; -$lang['No access'] = "Geen toegang"; +$lang['ACCESS_0'] = "Gratis toegang"; +$lang['ACCESS_1'] = "Toegang tot alles"; +$lang['ACCESS_2'] = "Toegang tot geabbonnneerde"; +$lang['ACCESS_3'] = "Toegang voor beheerders"; +$lang['ACCESS_4'] = "Toegang voor webmasters"; +$lang['ACCESS_5'] = "Geen toegang"; $lang['Demo'] = "Demo"; $lang['Piwigo home'] = "Piwigo Home"; $lang['Support'] = "Bijstand"; diff --git a/language/pl_PL/admin.lang.php b/language/pl_PL/admin.lang.php index 9feaae9a9..316552234 100644 --- a/language/pl_PL/admin.lang.php +++ b/language/pl_PL/admin.lang.php @@ -597,12 +597,12 @@ $lang['Caddie is currently empty'] = "Koszyk jest aktualnie pusty"; $lang['Upload'] = "Upload"; $lang['Show upload link every time'] = "Zawsze pokazuj link upload"; $lang['User access level to upload'] = "Poziom uprawnień użytkoników dla upload'u"; -$lang['Free access'] = "Wolny dostęp"; -$lang['Access to all'] = "Dostęp dla wszystkich"; -$lang['Access to subscribed'] = "Dostep dla zapisanych"; -$lang['Access to administrators'] = "Dostęp dla Administratorów"; -$lang['Access to webmasters'] = "Dostęp dla webmasterów"; -$lang['No access'] = "Brak dostępu"; +$lang['ACCESS_0'] = "Wolny dostęp"; +$lang['ACCESS_1'] = "Dostęp dla wszystkich"; +$lang['ACCESS_2'] = "Dostep dla zapisanych"; +$lang['ACCESS_3'] = "Dostęp dla Administratorów"; +$lang['ACCESS_4'] = "Dostęp dla webmasterów"; +$lang['ACCESS_5'] = "Brak dostępu"; $lang['Demo'] = "Demo"; $lang['Piwigo home'] = "Strona domowa Piwigo"; $lang['Support'] = "Wsparcie"; diff --git a/language/templates/admin.lang.php b/language/templates/admin.lang.php index 465ed9855..000b00a2d 100644 --- a/language/templates/admin.lang.php +++ b/language/templates/admin.lang.php @@ -667,4 +667,15 @@ $lang['Cannot delete the old permalink !'] = 'Cannot delete the old permalink !' $lang['Deleted on'] = 'Deleted on'; $lang['Last hit'] = 'Last hit'; $lang['Hit'] = 'Hit'; + +$lang['Tools'] = "Tools"; +$lang['Photos'] = "Photos"; +$lang['Themes'] = "Themes"; +$lang['Instructions to use Piwigo'] = "Instructions to use Piwigo"; +$lang['Order alphanumerically'] = "Order alphanumerically"; +$lang['Order alphanumerically reverse'] = "Order alphanumerically reverse"; +$lang['Installed Themes'] = "Installed Themes"; +$lang['Add New Theme'] = "Add New Theme"; +$lang['Forbid this theme to users'] = "Forbid this theme to users"; +$lang['Set as default theme for unregistered and new users'] = "Set as default theme for unregistered and new users"; ?>
\ No newline at end of file diff --git a/language/templates/common.lang.php b/language/templates/common.lang.php index 05b28c5e6..0c5f223d6 100644 --- a/language/templates/common.lang.php +++ b/language/templates/common.lang.php @@ -370,4 +370,10 @@ $lang['Reset_To_Default'] = 'Reset to default values'; $lang['del_all_favorites_hint'] = 'delete all images from your favorites'; $lang['Sent by'] = 'Sent by'; $lang['Cookies are blocked or not supported by your browser. You must enable cookies to connect.'] = 'Cookies are blocked or not supported by your browser. You must enable cookies to connect.'; + +$lang['Some info about this picture'] = "Some info about this picture"; +$lang['Some more (technical) info about this picture'] = "Some more (technical) info about this picture"; +$lang['edit this comment'] = "edit this comment"; +$lang['Edit a comment'] = "Edit a comment"; + ?> diff --git a/themes/Sylvia/icon/del_all_favorites.png b/themes/Sylvia/icon/del_all_favorites.png Binary files differnew file mode 100644 index 000000000..bea4720cf --- /dev/null +++ b/themes/Sylvia/icon/del_all_favorites.png diff --git a/themes/default/template/comment_list.tpl b/themes/default/template/comment_list.tpl index 87da2158d..117979bce 100644 --- a/themes/default/template/comment_list.tpl +++ b/themes/default/template/comment_list.tpl @@ -22,7 +22,7 @@ {/if} {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)} <li> - <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="edit this comment"> + <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}"> <img src="{$ROOT_URL}{$themeconf.icon_dir}/edit.png" class="button" alt="[edit]"> </a> </li> @@ -41,7 +41,7 @@ <a name="edit_comment"></a> <form method="post" action="{$comment.U_EDIT}" class="filter" id="editComment"> <fieldset> - <legend>Edit a comment</legend> + <legend>{'Edit a comment'|@translate}</legend> <label>{'Comment'|@translate}<textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></label> <input type="hidden" name="key" value="{$comment.KEY}"> <input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}"> diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index 54d3b538b..e5dd470e9 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -109,7 +109,7 @@ y.callService( </a> {/if} -<table id="standard" class="infoTable" summary="Some info about this picture"> +<table id="standard" class="infoTable" summary="{'Some info about this picture'|@translate}"> <tr id="Author"> <td class="label">{'Author'|@translate}</td> <td class="value">{if isset($INFO_AUTHOR)}{$INFO_AUTHOR}{else}{'N/A'|@translate}{/if}</td> diff --git a/upgrade.php b/upgrade.php index 498d1f114..e4b92834d 100644 --- a/upgrade.php +++ b/upgrade.php @@ -194,7 +194,7 @@ $template = new Template(PHPWG_ROOT_PATH.'admin/themes', 'roma'); $template->set_filenames(array('upgrade'=>'upgrade.tpl')); $template->assign(array( 'RELEASE' => PHPWG_VERSION, - 'L_UPGRADE_HELP' => sprintf(l10n('Need help ? Ask your question on <a href=\"%s\">Piwigo message board</a>.'), PHPWG_URL.'/forum'), + 'L_UPGRADE_HELP' => sprintf(l10n('Need help ? Ask your question on <a href="%s">Piwigo message board</a>.'), PHPWG_URL.'/forum'), ) ); |