Ignore:
Timestamp:
Apr 21, 2011, 9:06:45 AM (13 years ago)
Author:
LucMorizur
Message:

Adapt terms to Piwigo 2.2 policy
("category" and "image" replaced by "album" and "photo"),
and a few cosmetic corrections on displayed messages

Location:
extensions/event_cats
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/admin/template/autolog_new.tpl

    r10456 r10522  
    1818      {'Hide'|@translate}
    1919    </label>
    20     &nbsp;&#151;&nbsp;
     20    &nbsp;&nbsp;
    2121  </span>
    2222  {if $ec_ap_ok}
     
    102102             id = "ec_in_up_code_id" onblur = "ec_check_code_text(this.value);"
    103103            >
    104             &nbsp;&#151;&nbsp;
     104            &nbsp;&nbsp;
    105105            <label for = "ec_in_up_comment_id" style = "margin:0;" title = "{'Optional'|@translate}">
    106106              <span style = "font-weight:bold; font-style:italic;">{'Comment'|@translate}</span>
     
    123123                {$ec_key}
    124124                {if $ec_val.comment != ''}
    125                   &nbsp;&#151;&nbsp;{$ec_val.comment}
     125                  &nbsp;&nbsp;{$ec_val.comment}
    126126                {/if}
    127127              </option>
     
    140140                {$ec_val.id} : {$ec_val.code}
    141141                {if $ec_val.comment != ''}
    142                   &nbsp;&#151;&nbsp;{$ec_val.comment}
     142                  &nbsp;&nbsp;{$ec_val.comment}
    143143                {/if}
    144144              </option>
    145145            {/foreach}
    146146          </select>
    147           &nbsp;&#151;&nbsp;
     147          &nbsp;&nbsp;
    148148            <label for = "ec_in_up_comment_id" style = "margin:0;" title = "{'Optional'|@translate}">
    149149              <span style = "font-weight:bold;  font-style:italic;">{'Comment'|@translate}</span>
  • extensions/event_cats/admin/template/config.tpl

    r10456 r10522  
    1818      {'Hide'|@translate}
    1919    </label>
    20     &nbsp;&#151;&nbsp;
     20    &nbsp;&nbsp;
    2121  </span>
    2222  {if $ec_ap_ok}
  • extensions/event_cats/language/en_UK/plugin.lang.php

    r8956 r10522  
    77*/
    88
    9 // Keeps file coded in UTF-8 without BOM : é
     9// Keeps file coded in UTF-8 without BOM: é
    1010
    1111// Convenient
     
    2020$lang['Admin page title']          = 'Event Categories';
    2121$lang['Acknowledgement']           = 'the purpose of this extension is to allow automatic logging of an account ("autolog"), and duplication of the account with which the visitor is currently logged in ("duplication").<br /><br />Many thanks to the Forum, plg, ddtddt, flipflip, VDigital, Gotcha for the tests, P@t for the main code :-) !';
    22 $lang['JS needed']                 = 'Javascript MUST be activated for this page to work properly !';
     22$lang['JS needed']                 = 'Javascript MUST be activated for this page to work properly!';
    2323$lang['Show']                      = 'show';
    2424$lang['Hide']                      = 'hide';
    2525
    2626// Autolog page
    27 $lang['Additional Pages active']   = 'Additional Pages plugin : activated';
    28 $lang['Additional Pages inactive'] = $t_ap2.' plugin (display a text page) : not activated';
     27$lang['Additional Pages active']   = 'Additional Pages plugin: activated';
     28$lang['Additional Pages inactive'] = $t_ap2.' plugin (display a text page): not activated';
    2929$lang['Autolog entries']           = '"Autolog" entries';
    3030$lang['Place title on top ttip']   = 'Display this title in the head of the page';
     
    3737$lang['Tools']                     = 'Tools';
    3838$lang['Selected entry']            = 'Selected entry';
    39 $lang['URL']                       = 'URL : ';
     39$lang['URL']                       = 'URL: ';
    4040$lang['Test']                      = 'Test';
    4141$lang['Delete']                    = 'Delete';
     
    5555$lang['New entry']                 = 'New entry';
    5656$lang['Full auto']                 = 'Full auto (select first a page to display)';
    57 $lang['New code']                  = 'New code :';
     57$lang['New code']                  = 'New code:';
    5858$lang['Auto code button']          = 'Generate a code';
    5959$lang['Auto code mid']             = 'having';
     
    6363$lang['Comment']                   = 'Comment';
    6464$lang['Optional']                  = 'Personal memo displayed only in administration pages';
    65 $lang['Existing code']             = 'Existing code :';
     65$lang['Existing code']             = 'Existing code:';
    6666$lang['Identified user']           = 'Identified user';
    6767$lang['No user']                   = 'None (outdated entry)';
     
    6969$lang['New username']              = 'Username';
    7070$lang['New password']              = 'Password';
    71 $lang['Confirm password']          = 'Confirm pwd :';
     71$lang['Confirm password']          = 'Confirm pwd:';
    7272$lang['New group']                 = 'New group';
    7373$lang['Generate username']         = 'Generate a username (select first a page to display)';
    74 $lang['Existing user']             = 'Existing user :';
     74$lang['Existing user']             = 'Existing user:';
    7575$lang['Displayed page']            = 'Displayed page';
    7676$lang['Forced']                    = 'Forced';
     
    8888$lang['Selection per group']       = 'Selection by group';
    8989$lang['All accounts']              = 'All accounts';
    90 $lang['Register replacement']      = 'Register link :%1$s for all accounts that can be duplicated,%1$s replace "%2$s" with "%3$s"';
    91                                  // %1$s : nice line feed ; %2$s : "register" ; %3$s : "duplicate"
     90$lang['Register replacement']      = 'Register link:%1$s for all accounts that can be duplicated,%1$s replace "%2$s" with "%3$s"';
     91                                 // %1$s: nice line feed ; %2$s: "register" ; %3$s: "duplicate"
    9292$lang['All but generics']          = 'All accounts but generic ones';
    9393$lang['Duplication allowed']       = 'Duplication allowed';
     
    114114$lang['Banner off']                = 'Desactivated';
    115115$lang['Display connection']        = 'Display "%2$s" link%1$s to generic users';
    116                                  // %1$s : nice line feed ; %2$s : "Connection"
     116                                 // %1$s: nice line feed ; %2$s: "Connection"
    117117
    118118// JS messages
    119 $lang['ec_confirm_test']           = "Really test the selected code ?\n\rThis will terminate your administration session.";
    120 $lang['ec_confirm_delete']         = "Do you really want to delete the selected entry ?";
    121 $lang['ec_confirm_disable']        = "Do you really want to make the selected entry outdated ?\n\rThis will delete all other entries using the same code, if any.";
    122 $lang['ec_confirm_force']          = "Do you really want to force the displayed page for the selected entry ?\n\rThis will delete all other entries using the same code, if any.";
     119$lang['ec_confirm_test']           = "Really test the selected code?\n\rThis will terminate your administration session.";
     120$lang['ec_confirm_delete']         = "Do you really want to delete the selected entry?";
     121$lang['ec_confirm_disable']        = "Do you really want to make the selected entry outdated?\n\rThis will delete all other entries using the same code, if any.";
     122$lang['ec_confirm_force']          = "Do you really want to force the displayed page for the selected entry?\n\rThis will delete all other entries using the same code, if any.";
    123123$lang['ec_confirm_del_other']      = "This will delete all other entries using the same code, if any.\n\rOK?";
    124124$lang['ec_confirm_change_user']    = "Username modification will delete\n\rall other entries using the same code, if any. OK?";
     
    165165$lang['ec_image_miss']             = 'image doesn\'t exist (probably deleted)';
    166166$lang['ec_add_page_miss']          = 'Additional Pages page doesn\'t exist (probably deleted)';
    167 $lang['ec_entry_del_nok']          = 'Problem when deleting entry %s : ';
     167$lang['ec_entry_del_nok']          = 'Problem when deleting entry %s: ';
    168168$lang['ec_user_create_pb']         = 'New user creation impossible';
    169169$lang['ec_user_generic_pb']        = 'Problem when making user "%s" generic';
     
    174174$lang['ec_entry_dont_exist']       = 'Entry %s doesn\'t exist';
    175175$lang['ec_assoc_pb']               = 'Impossible to link "%1$s" to "%2$s"';
    176 $lang['ec_DB_problem']             = 'Database access problem (position %s) : ';
     176$lang['ec_DB_problem']             = 'Database access problem (position %s): ';
    177177
    178178// Entries table
     
    184184$lang['ec_nok']                    = 'NO';
    185185$lang['ec_nok_ap_pb']              = 'NO';
    186 $lang['ec_nok_userid_miss']        = 'NO : user unknown';
    187 $lang['ec_nok_action_pb']          = 'NO : "action" corrupted';
    188 $lang['ec_nok_userid_pb']          = 'NO : "user_id" corrupted';
     186$lang['ec_nok_userid_miss']        = 'NO: user unknown';
     187$lang['ec_nok_action_pb']          = 'NO: "action" corrupted';
     188$lang['ec_nok_userid_pb']          = 'NO: "user_id" corrupted';
    189189// Username can't be displayed
    190190$lang['ec_dspl_nok_actn']          = '"action" unusable';
     
    192192$lang['ec_dspl_nok_usr']           = 'User n°%s doesn\'t exist';
    193193//   displayed pages
    194 $lang['ec_dspl_ok_cat']            = 'Category n°%1$s : %2$s';
    195                                  // %1$s : category id, %2$s : name
    196 $lang['ec_dspl_ok_img2']           = 'image n°%1$s : %2$s (%3$s)';
    197                                  // %1$s : image id, %2$s : name, %3$s : filename
    198 $lang['ec_dspl_ok_ap']             = 'Additional Page n°%1$s : %2$s';
    199                                  // %1$s : add. p. id, %2$s : name
     194$lang['ec_dspl_ok_cat']            = 'Category n°%1$s: %2$s';
     195                                 // %1$s: category id, %2$s: name
     196$lang['ec_dspl_ok_img2']           = 'image n°%1$s: %2$s (%3$s)';
     197                                 // %1$s: image id, %2$s: name, %3$s: filename
     198$lang['ec_dspl_ok_ap']             = 'Additional Page n°%1$s: %2$s';
     199                                 // %1$s: add. p. id, %2$s: name
    200200$lang['ec_dspl_nok_ap']            = ' (Additional Page n°%s doesn\'t exist)';
    201 $lang['ec_dspl_nok_cat']           = ' (catégorie n°%s doesn\'t exist)';
     201$lang['ec_dspl_nok_cat']           = ' (category n°%s doesn\'t exist)';
    202202$lang['ec_dspl_nok_img2']          = ' (image n°%1$s doesn\'t exist in category n°%2$s)';
    203                                  // %1$s : image id, %2$s : category id
     203                                 // %1$s: image id, %2$s: category id
    204204
    205205// Help banner
     
    211211
    212212// New entry tab, "copy an entry" (duplicate entry) case
    213 $lang['ec_help_banner2_new_c']     = 'Copy an entry to associate the same <span class = "help_bi">code</span> (still linked to the same <span class = "help_bi">identified user</span>), to a different <span class = "help_bi">displayed page</span>, for example to provide access to another event (thus a different category) for the same group of people  you already have created an entry. <span class = "help_b">Reset</span> to come back to a "normal" entry creation.';
     213$lang['ec_help_banner2_new_c']     = 'Copy an entry to associate the same <span class = "help_bi">code</span> (still linked to the same <span class = "help_bi">identified user</span>), to a different <span class = "help_bi">displayed page</span>, for example to provide access to another event (thus a different category) for the same group of people you already have created an entry. <span class = "help_b">Reset</span> to come back to a "normal" entry creation.';
    214214
    215215// Modify entry tab, general case
    216 $lang['ec_help_banner1_new_m']     = 'Select a <span class = "help_bi">code</span> to change the corresponding <span class = "help_bi">identified user</span> and&nbsp;/&nbsp;or the <span class = "help_bi">page to be displayed</span>. If you <span class = "help_b">force</span> the page to be displayed, or change the identified user, other entries using the same code will be deleted. Choosing <span class = "help_b">None</span> as identified user, or <span class = "help_b">Access denied</span> as page to display, will render the entry "outdated" : no identification, but you can display a personalized page to give an explanation. To <span class = "help_b">generate a username</span>, select first the <span class = "help_bi">page to display</span>, as the username based on the name of the page to display.';
     216$lang['ec_help_banner1_new_m']     = 'Select a <span class = "help_bi">code</span> to change the corresponding <span class = "help_bi">identified user</span> and&nbsp;/&nbsp;or the <span class = "help_bi">page to be displayed</span>. If you <span class = "help_b">force</span> the page to be displayed, or change the identified user, other entries using the same code will be deleted. Choosing <span class = "help_b">None</span> as identified user, or <span class = "help_b">Access denied</span> as page to display, will render the entry "outdated": no identification, but you can display a personalized page to give an explanation. To <span class = "help_b">generate a username</span>, select first the <span class = "help_bi">page to display</span>, as the username based on the name of the page to display.';
    217217
    218218// Modify entry tab, disable case
    219 $lang['ec_help_banner2_new_m']     = 'Logging an account that doesn\'t not require username nor password is obvisously insecured. Thus, it is better to not let an "autolog" code active for too long, as it can be misused. To make an entry outdated allows to display an explaining message with an Additional Page. You can also use the plugin <a href = "http://piwigo.org/ext/extension_view.php?eid=190" title = "Open a new window on plugin PWG Stuffs" onClick = "window.open(this.href); return false;">PWG Stuffs</a> to display messages on index and picture pages. <span class = "help_b">Reset</span> to come back to a "normal" code modification.';
     219$lang['ec_help_banner2_new_m']     = 'Logging an account that doesn\'t not require username nor password is obvisously insecured. Thus, it is better to not let an "autolog" code active for too long, as it can be misused. To make an entry outdated allows to display an explaining message with an Additional Page. You can also use the plugin <a href = "http://piwigo.org/ext/extension_view.php?eid=190" title = "Open a new window on plugin PWG Stuffs" onClick = "window.open(this.href); return false;">PWG Stuffs</a> to display messages on category and image pages. <span class = "help_b">Reset</span> to come back to a "normal" code modification.';
    220220
    221221// Duplicate tab
     
    223223
    224224// Configuration tab
    225 $lang['ec_help_banner1_config']    = '<span class = "help_i">Duplicate an account</span> when a user is already identified, creates another account having exactly the same permissions: no need to wait for an administrator\'s validation.&nbsp;&#151; Select the page you want to be displayed in case of an unknown code usage (for instance, a code you have deleted).&nbsp;&#151; In the "Autolog entries" tab, the comments can be displayed as tooltips, or on a new line under the code.&nbsp;&#151; As you\'re currently reading it, the help banner is currently active ;-) !&nbsp;&#151; Display the "Connection" link to generic users, allows users already registered on your gallery to log in easily.';
    226 
     225$lang['ec_help_banner1_config']    = '<span class = "help_i">Duplicate an account</span> when a user is already identified, creates another account having exactly the same permissions: no need to wait for an administrator\'s validation.&nbsp;— Select the page you want to be displayed in case of an unknown code usage (for instance, a code you have deleted).&nbsp;— In the "Autolog entries" tab, the comments can be displayed as tooltips, or on a new line under the code.&nbsp;— As you\'re currently reading it, the help banner is currently active ;-)!&nbsp;— Display the "Connection" link to generic users, allows users already registered on your gallery to log in easily.';
     226
     227
     228// Adapt Event Cats to the new terms used since Piwigo 2.2.0 onwards
     229if (version_compare(PHPWG_VERSION, '2.2.0', '>=')) {
     230  $lang['Category']                  = 'Album';
     231  $lang['ec_act_cat_miss']           = "Album?";
     232  $lang['ec_category_miss']          = 'album doesn\'t exist (probably deleted)';
     233  $lang['ec_ok_cat_pb']              = 'YES, but unknown album';
     234  $lang['ec_dspl_ok_cat']            = 'Album n°%1$s: %2$s';
     235  $lang['ec_dspl_nok_cat']           = ' (album n°%s doesn\'t exist)';
     236  $lang['ec_dspl_nok_img2']          = ' (photo n°%1$s doesn\'t exist in album n°%2$s)';
     237  $lang['ec_help_banner2_new_c']     = 'Copy an entry to associate the same <span class = "help_bi">code</span> (still linked to the same <span class = "help_bi">identified user</span>), to a different <span class = "help_bi">displayed page</span>, for example to provide access to another event (thus a different album) for the same group of people you already have created an entry. <span class = "help_b">Reset</span> to come back to a "normal" entry creation.';
     238  $lang['ec_help_banner2_new_m']     = 'Logging an account that doesn\'t not require username nor password is obvisously insecured. Thus, it is better to not let an "autolog" code active for too long, as it can be misused. To make an entry outdated allows to display an explaining message with an Additional Page. You can also use the plugin <a href = "http://piwigo.org/ext/extension_view.php?eid=190" title = "Open a new window on plugin PWG Stuffs" onClick = "window.open(this.href); return false;">PWG Stuffs</a> to display messages on album and photo pages. <span class = "help_b">Reset</span> to come back to a "normal" code modification.';
     239  $lang['Image id']                  = 'Photo id';
     240  $lang['ec_act_img_miss']           = "The photo identifier must be a number.";
     241  $lang['ec_image_miss']             = 'photo doesn\'t exist (probably deleted)';
     242  $lang['ec_ok_img_pb']              = 'YES, but unknown photo';
     243  $lang['ec_dspl_ok_img2']           = 'photo n°%1$s: %2$s (%3$s)';
     244  $lang['ec_help_banner1_new_c']   = 'Link a <span class = "help_bi">code</span> to an <span class = "help_bi">identified user</span> and to a <span class = "help_bi">displayed page</span>; it will create a corresponding URL in the "Autolog entries" tab, so you will be able to copy and transmit it to people involved. (It is too complicated, too heavy to provide here a list of all photos, thus you must write down the photo identifier ("<span class = "help_b">Photo id</span>"), if you want to use this field.) <span class = "help_b">Generate a username</span> and <span class = "help_b">Full auto</span>: select first a <span class = "help_bi">page to display</span>, as the username is based on the name of this page. <span class = "help_b">Comment</span>: memo, personal note, visible only in the administration part. <span class = "help_b">Existing code</span>: to use the same code to identify the same account, but redirect it to another page. Displayed page <span class = "help_b">Forced</span>: to impose the displayed page whatever are the parameters <span class = "help_bi">&cat=</span>, <span class = "help_bi">&img=</span>, <span class = "help_bi">&ap=</span> in the URL.';
     245}
    227246
    228247unset($t_ap1, $t_ap2);
  • extensions/event_cats/language/fr_FR/plugin.lang.php

    r8956 r10522  
    1919// "Header"
    2020$lang['Admin page title']          = 'Event Categories';
    21 $lang['Acknowledgement']           = 'Event Categories, pour catégories événementielles :<br />cette extension permet d\'identifier automatiquement un compte ("autolog"), et de dupliquer le compte sous lequel un visiteur est identifié ("duplication").<br /><br />Merci au Forum, plg, ddtddt, flipflip, VDigital, Gotcha pour les tests, P@t pour le code principal :-) !';
    22 $lang['JS needed']                 = 'Javascript DOIT être activé sur votre navigateur pour un fonctionnement correct de cette page !';
     21$lang['Acknowledgement']           = 'Event Categories, pour catégories événementielles&nbsp;:<br />cette extension permet d\'identifier automatiquement un compte ("autolog"), et de dupliquer le compte sous lequel un visiteur est identifié ("duplication").<br /><br />Merci au Forum, plg, ddtddt, flipflip, VDigital, Gotcha pour les tests, P@t pour le code principal :-)&nbsp;!';
     22$lang['JS needed']                 = 'Javascript DOIT être activé sur votre navigateur pour un fonctionnement correct de cette page&nbsp;!';
    2323$lang['Show']                      = 'montrer';
    2424$lang['Hide']                      = 'cacher';
    2525
    2626// Autolog page
    27 $lang['Additional Pages active']   = 'Plugin Additional Pages : actif';
    28 $lang['Additional Pages inactive'] = 'Plugin '.$t_ap2.' (afficher une page de texte) : inactif';
     27$lang['Additional Pages active']   = 'Plugin Additional Pages&nbsp;: actif';
     28$lang['Additional Pages inactive'] = 'Plugin '.$t_ap2.' (afficher une page de texte)&nbsp;: inactif';
    2929$lang['Autolog entries']           = 'Entrées du paramètre "autolog"';
    3030$lang['Place title on top ttip']   = 'Placer ce titre en haut de la page';
     
    3333$lang['Code']                      = 'Code';
    3434$lang['Username']                  = 'Utilisateur';
    35 $lang['Identification']            = 'Identification ?';
     35$lang['Identification']            = 'Identification&nbsp;?';
    3636$lang['Displayed page']            = 'Page affichée';
    3737$lang['Tools']                     = 'Outils';
    3838$lang['Selected entry']            = 'Entrée sélectionnée';
    39 $lang['URL']                       = 'URL : ';
     39$lang['URL']                       = 'URL&nbsp;: ';
    4040$lang['Test']                      = 'Tester';
    4141$lang['Delete']                    = 'Supprimer';
     
    5555$lang['New entry']                 = 'Nouvelle entrée';
    5656$lang['Full auto']                 = 'Tout automatique (sélectionnez d\'abord une page à afficher)';
    57 $lang['New code']                  = 'Nouveau code :';
     57$lang['New code']                  = 'Nouveau code&nbsp;:';
    5858$lang['Auto code button']          = 'Générer un code';
    5959$lang['Auto code mid']             = 'de';
     
    6363$lang['Comment']                   = 'Commentaire';
    6464$lang['Optional']                  = 'Note personnelle visible uniquement dans l\'administration';
    65 $lang['Existing code']             = 'Code existant :';
     65$lang['Existing code']             = 'Code existant&nbsp;:';
    6666$lang['Identified user']           = 'Utilisateur identifié';
    6767$lang['No user']                   = 'Aucun (entrée périmée)';
    68 $lang['New generic user']          = 'Nouvel utilisateur (créer un compte générique) :';
     68$lang['New generic user']          = 'Nouvel utilisateur (créer un compte générique)&nbsp;:';
    6969$lang['New username']              = 'Nom d\'utilisateur';
    7070$lang['New password']              = 'Mot de passe';
    71 $lang['Confirm password']          = 'Confirmez :';
     71$lang['Confirm password']          = 'Confirmez&nbsp;:';
    7272$lang['New group']                 = 'Nouveau groupe';
    7373$lang['Generate username']         = 'Générer un nom d\'utilisateur (sélectionnez d\'abord une page à afficher)';
    74 $lang['Existing user']             = 'Utilisateur existant :';
     74$lang['Existing user']             = 'Utilisateur existant&nbsp;:';
    7575$lang['Displayed page']            = 'Page affichée';
    7676$lang['Forced']                    = 'Forcée';
     
    8888$lang['Selection per group']       = 'Sélection par groupes';
    8989$lang['All accounts']              = 'Tous les comptes';
    90 $lang['Register replacement']      = 'Affichage du lien d\'enregistrement :%1$s pour les comptes pouvant être dupliqués,%1$s remplacer "%2$s" par "%3$s"';
    91                                  // %1$s : nice line feed ; %2$s : "register" ; %3$s : "duplicate"
     90$lang['Register replacement']      = 'Affichage du lien d\'enregistrement&nbsp;:%1$s pour les comptes pouvant être dupliqués,%1$s remplacer "%2$s" par "%3$s"';
     91                                 // %1$s: nice line feed ; %2$s: "register" ; %3$s: "duplicate"
    9292$lang['All but generics']          = 'Tous les comptes sauf les génériques';
    9393$lang['Duplication allowed']       = 'Duplication autorisée';
     
    114114$lang['Banner off']                = 'Désactivé';
    115115$lang['Display connection']        = 'Afficher le lien "%2$s"%1$s pour les utilisateurs génériques';
    116                                  // %1$s : nice line feed ; %2$s : "Connection"
     116                                 // %1$s: nice line feed ; %2$s: "Connection"
    117117
    118118// JS messages
     
    165165$lang['ec_image_miss']             = 'image inexistante (probablement supprimée)';
    166166$lang['ec_add_page_miss']          = 'page Additional Pages inexistante (probablement supprimée)';
    167 $lang['ec_entry_del_nok']          = 'Problème avec suppression entrée %s : ';
     167$lang['ec_entry_del_nok']          = 'Problème avec suppression entrée %s&nbsp;: ';
    168168$lang['ec_user_create_pb']         = 'Création nouvel utilisateur impossible';
    169169$lang['ec_user_generic_pb']        = 'Problème passage générique utilisateur "%s"';
     
    174174$lang['ec_entry_dont_exist']       = 'Entrée %s inexistante';
    175175$lang['ec_assoc_pb']               = 'Association "%1$s" à "%2$s" impossible';
    176 $lang['ec_DB_problem']             = 'Problème d\'accès à la base (position %s) : ';
     176$lang['ec_DB_problem']             = 'Problème d\'accès à la base (position %s)&nbsp;: ';
    177177
    178178// Entries table
     
    184184$lang['ec_nok']                    = 'NON';
    185185$lang['ec_nok_ap_pb']              = 'NON';
    186 $lang['ec_nok_userid_miss']        = 'NON : utilisateur inconnu';
    187 $lang['ec_nok_action_pb']          = 'NON : "action" corrompu';
    188 $lang['ec_nok_userid_pb']          = 'NON : "user_id" corrompu';
     186$lang['ec_nok_userid_miss']        = 'NON&nbsp;: utilisateur inconnu';
     187$lang['ec_nok_action_pb']          = 'NON&nbsp;: "action" corrompu';
     188$lang['ec_nok_userid_pb']          = 'NON&nbsp;: "user_id" corrompu';
    189189// Username can't be displayed
    190190$lang['ec_dspl_nok_actn']          = '"action" inutilisable';
     
    192192$lang['ec_dspl_nok_usr']           = 'Utilisateur n°%s n\'existe pas';
    193193//   displayed pages
    194 $lang['ec_dspl_ok_cat']            = 'Catégorie n°%1$s : %2$s';
    195                                  // %1$s : category id, %2$s : name
    196 $lang['ec_dspl_ok_img2']           = 'image n°%1$s : %2$s (%3$s)';
    197                                  // %1$s : image id, %2$s : name, %3$s : filename
    198 $lang['ec_dspl_ok_ap']             = 'Additional Page n°%1$s : %2$s';
    199                                  // %1$s : add. p. id, %2$s : name
     194$lang['ec_dspl_ok_cat']            = 'Catégorie n°%1$s&nbsp;: %2$s';
     195                                 // %1$s: category id, %2$s: name
     196$lang['ec_dspl_ok_img2']           = 'image n°%1$s&nbsp;: %2$s (%3$s)';
     197                                 // %1$s: image id, %2$s: name, %3$s: filename
     198$lang['ec_dspl_ok_ap']             = 'Additional Page n°%1$s&nbsp;: %2$s';
     199                                 // %1$s: add. p. id, %2$s: name
    200200$lang['ec_dspl_nok_ap']            = ' (Additional Page n°%s n\'existe pas)';
    201201$lang['ec_dspl_nok_cat']           = ' (catégorie n°%s n\'existe pas)';
    202202$lang['ec_dspl_nok_img2']          = ' (image n°%1$s n\'existe pas dans catégorie n°%2$s)';
    203                                  // %1$s : image id, %2$s : category id
     203                                 // %1$s: image id, %2$s: category id
    204204
    205205// Help banner
     
    214214
    215215// Modify entry tab, general case
    216 $lang['ec_help_banner1_new_m']     = 'Sélectionnez un <span class = "help_bi">code</span> pour en changer l\'<span class = "help_bi">utilisateur à identifier</span> et&nbsp;/&nbsp;ou la <span class = "help_bi">page à afficher</span>. Si vous <span class = "help_b">forcez</span> l\'affichage ou si vous changez d\'utilisateur, toutes les autres entrées utilisant le même code seront supprimées. Choisir <span class = "help_b">aucun utilisateur</span>, ou <span class = "help_b">accès refusé</span> comme page à afficher, rend l\'entrée sélectionnée "périmée" : pas d\'utilisateur identifié, mais possibilité d\'afficher une page personnalisée pour donner une explication. Pour <span class = "help_b">générer un nom d\'utilisateur</span>, sélectionnez d\'abord la <span class = "help_bi">page à afficher</span> car le nom d\'utilisateur est construit sur la base du nom de cette page.';
     216$lang['ec_help_banner1_new_m']     = 'Sélectionnez un <span class = "help_bi">code</span> pour en changer l\'<span class = "help_bi">utilisateur à identifier</span> et&nbsp;/&nbsp;ou la <span class = "help_bi">page à afficher</span>. Si vous <span class = "help_b">forcez</span> l\'affichage ou si vous changez d\'utilisateur, toutes les autres entrées utilisant le même code seront supprimées. Choisir <span class = "help_b">aucun utilisateur</span>, ou <span class = "help_b">accès refusé</span> comme page à afficher, rend l\'entrée sélectionnée "périmée"&nbsp;: pas d\'utilisateur identifié, mais possibilité d\'afficher une page personnalisée pour donner une explication. Pour <span class = "help_b">générer un nom d\'utilisateur</span>, sélectionnez d\'abord la <span class = "help_bi">page à afficher</span> car le nom d\'utilisateur est construit sur la base du nom de cette page.';
    217217
    218218// Modify entry tab, disable case
     
    220220
    221221// Duplicate tab
    222 $lang['ec_help_banner1_duplic']    = '<span class = "help_i">Dupliquer un compte</span> alors qu\'un utilisateur est déjà identifié, crée un autre compte avec exactement les mêmes accès, immédiatement : pas besoin d\'attendre la validation d\'un administrateur. Sélectionnez les <span class = "help_bi">groupes</span>, <span class = "help_bi">types</span>, et&nbsp;/&nbsp;ou directement les <span class = "help_bi">utilisateurs</span> qui pourront dupliquer leur compte. Affichez "<span class = "help_b">S\'enregistrer</span>" pour les comptes génériques afin que la duplication leur soit transparente (voir <a href="popuphelp.php?page=help" onclick="popuphelp(this.href); return false;" title="Aide"><img src="admin/template/goto/theme/clear/icon/help.png" class="button" alt="(?)">&nbsp;la page d\'aide</a> pour plus de détails).';
     222$lang['ec_help_banner1_duplic']    = '<span class = "help_i">Dupliquer un compte</span> alors qu\'un utilisateur est déjà identifié, crée un autre compte avec exactement les mêmes accès, immédiatement&nbsp;: pas besoin d\'attendre la validation d\'un administrateur. Sélectionnez les <span class = "help_bi">groupes</span>, <span class = "help_bi">types</span>, et&nbsp;/&nbsp;ou directement les <span class = "help_bi">utilisateurs</span> qui pourront dupliquer leur compte. Affichez "<span class = "help_b">S\'enregistrer</span>" pour les comptes génériques afin que la duplication leur soit transparente (voir <a href="popuphelp.php?page=help" onclick="popuphelp(this.href); return false;" title="Aide"><img src="admin/template/goto/theme/clear/icon/help.png" class="button" alt="(?)">&nbsp;la page d\'aide</a> pour plus de détails).';
    223223
    224224// Configuration tab
    225 $lang['ec_help_banner1_config']    = '<span class = "help_i">Dupliquer un compte</span> alors qu\'on est déjà identifié, crée un autre compte avec exactement les mêmes accès, immédiatement : pas besoin d\'attendre la validation d\'un administrateur.&nbsp;&#151; Sélectionnez la page que vous voulez afficher lors de l\'utilisation d\'un code "autolog" inexistant (par exemple, que vous aurez supprimé).&nbsp;&#151; Dans l\'onglet "entrées", les commentaires peuvent être affichés en info-bulle ou en-dessous du code.&nbsp;&#151; Puisque vous êtes en train de le lire, le bandeau d\'aide est actuellement actif ;-) !&nbsp;&#151; Afficher le lien "Connection" pour les utilisateurs génériques permet aux visiteurs déjà enregistrés sur votre galerie de s\'identifier facilement.';
    226 
     225$lang['ec_help_banner1_config']    = '<span class = "help_i">Dupliquer un compte</span> alors qu\'on est déjà identifié, crée un autre compte avec exactement les mêmes accès, immédiatement&nbsp;: pas besoin d\'attendre la validation d\'un administrateur.&nbsp;— Sélectionnez la page que vous voulez afficher lors de l\'utilisation d\'un code "autolog" inexistant (par exemple, que vous aurez supprimé).&nbsp;— Dans l\'onglet "entrées", les commentaires peuvent être affichés en info-bulle ou en-dessous du code.&nbsp;— Puisque vous êtes en train de le lire, le bandeau d\'aide est actuellement actif ;-)&nbsp;!&nbsp;— Afficher le lien "Connection" pour les utilisateurs génériques permet aux visiteurs déjà enregistrés sur votre galerie de s\'identifier facilement.';
     226
     227// Adapt Event Cats to the new terms used since Piwigo 2.2.0 onwards
     228if (version_compare(PHPWG_VERSION, '2.2.0', '>=')) {
     229  $lang['Acknowledgement']       = 'Event Categories, pour catégories (= albums) événementielles&nbsp;:<br />cette extension permet d\'identifier automatiquement un compte ("autolog"), et de dupliquer le compte sous lequel un visiteur est identifié ("duplication").<br /><br />Merci au Forum, plg, ddtddt, flipflip, VDigital, Gotcha pour les tests, P@t pour le code principal :-)&nbsp;!';
     230  $lang['Category']              = 'Album';
     231  $lang['ec_act_cat_miss']       = "Album ?";
     232  $lang['ec_category_miss']      = 'album inexistant (probablement supprimé)';
     233  $lang['ec_ok_cat_pb']          = 'OUI, mais album inconnu';
     234  $lang['ec_dspl_ok_cat']        = 'Album n°%1$s&nbsp;: %2$s';
     235  $lang['ec_dspl_nok_cat']       = ' (album n°%s n\'existe pas)';
     236  $lang['ec_dspl_nok_img2']      = ' (photo n°%1$s n\'existe pas dans album n°%2$s)';
     237  $lang['ec_help_banner2_new_c'] = 'Copiez une entrée pour associer à un <span class = "help_bi">code</span> (toujours associé au même <span class = "help_bi">utilisateur à identifier</span>), une <span class = "help_bi">page à afficher</span> différente, par exemple dans le cas d\'un autre événement (donc un album différent) à présenter à un même groupe de personnes. <span class = "help_b">Annuler</span> pour revenir à une création "normale" de code.';
     238  $lang['ec_help_banner2_new_m'] = 'Identifier un compte sans demander de mot de passse est peu sûr par nature, aussi il est imprudent de laisser un code "autolog" actif trop longtemps, il peut être utilisés de façon non voulue. Rendre une entrée périmée permet d\'afficher un message explicatif à l\'aide d\'une page Additionnal Page. Vous avez aussi le plugin <a href = "http://piwigo.org/ext/extension_view.php?eid=190" title = "Ouvrir une nouvelle fenêtre sur le plugin PWG Stuffs" onClick = "window.open(this.href); return false;">PWG Stuffs</a> qui permet d\'afficher des messages dans les pages d\'album et de photo. <span class = "help_b">Annuler</span> pour revenir à une modification "normale" de code.';
     239  $lang['Image id']              = 'Id. photo';
     240  $lang['ec_act_img_miss']       = "L'identifiant d'une photo doit être un nombre.";
     241  $lang['ec_image_miss']         = 'photo inexistante (probablement supprimée)';
     242  $lang['ec_ok_img_pb']          = 'OUI, mais photo inconnue';
     243  $lang['ec_dspl_ok_img2']       = 'photo n°%1$s&nbsp;: %2$s (%3$s)';
     244  $lang['ec_help_banner1_new_c'] = 'Associez un <span class = "help_bi">code</span> à un <span class = "help_bi">utilisateur à identifier</span> et à une <span class = "help_bi">page à afficher</span>&nbsp;; récupérez l\'URL ainsi construit dans l\'onglet "Entrées autolog" pour le transmettre aux intéressés. (Il est trop lourd, trop compliqué de proposer une liste de toutes les photos, aussi devez-vous récupérer le n° d\'identification de la photo ("<span class = "help_b">Id. photo</span>"), si vous voulez utiliser ce champ.) <span class = "help_b">Générer un nom d\'utilisateur</span> et <span class = "help_b">Tout automatique</span>&nbsp;: sélectionnez d\'abord une <span class = "help_bi">page à afficher</span> car le nom d\'utilisateur est construit sur la base du nom de cette page. <span class = "help_b">Commentaire</span>&nbsp;: mémo, note personnelle visible uniquement dans l\'administration. <span class = "help_b">Code existant</span>&nbsp;: pour identifier le même compte, mais le rediriger vers une autre page. <span class = "help_b">Page affichée forcée</span>&nbsp;: pour imposer l\'affichage d\'une page quels que soient les paramètres <span class = "help_bi">&cat=</span>, <span class = "help_bi">&img=</span>, <span class = "help_bi">&ap=</span> présents dans l\'URL.';
     245}
    227246
    228247unset($t_ap1, $t_ap2);
Note: See TracChangeset for help on using the changeset viewer.