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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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);
Note: See TracChangeset for help on using the changeset viewer.