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:
nikrou
2010-03-20 22:35:39 +00:00
parent 251eeb05ab
commit af78fa6193
22 changed files with 107 additions and 56 deletions

View File

@@ -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
)
);

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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();

View File

@@ -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>

View File

@@ -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*}

View File

@@ -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))

View File

@@ -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";

View File

@@ -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';
?>

View File

@@ -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";
?>

View File

@@ -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";

View File

@@ -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';
?>

View File

@@ -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";
?>

View File

@@ -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";

View File

@@ -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";

View File

@@ -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";

View File

@@ -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";
?>

View File

@@ -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";
?>

Binary file not shown.

After

Width:  |  Height:  |  Size: 872 B

View File

@@ -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}">

View File

@@ -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>

View File

@@ -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'),
)
);