Many thanks to the Forum, plg, ddtddt, flipflip, VDigital, Gotcha for the tests, P@t for the main code :-) !'; $lang['JS needed'] = 'Javascript MUST be activated for this page to work properly!'; $lang['Show'] = 'show'; $lang['Hide'] = 'hide'; // Autolog page $lang['Additional Pages active'] = 'Additional Pages plugin: activated'; $lang['Additional Pages inactive'] = 'Additional Pages plugin (display a text page): not activated'; $lang['Autolog entries'] = '"Autolog" entries'; $lang['Place title on top ttip'] = 'Display this title in the head of the page'; // Table $lang['Entry'] = 'Entry'; $lang['Code'] = 'Code'; $lang['Username'] = 'Username'; $lang['Identification'] = 'Identification?'; $lang['Displayed page'] = 'Displayed page'; $lang['Tools'] = 'Tools'; $lang['Selected entry'] = 'Selected entry'; $lang['URL'] = 'URL: '; $lang['Test'] = 'Test'; $lang['Delete'] = 'Delete'; $lang['Modify'] = 'Modify'; $lang['Copy URL ttip'] = 'Copy this link, in order to transmit it'; $lang['Test URL ttip'] = 'Test the URL ( => admin. session terminated)'; $lang['Delete entry ttip'] = 'Delete entry'; $lang['Modify entry ttip'] = 'Modify entry'; $lang['Outdate entry ttip'] = 'Make entry outdated'; $lang['Unforce display ttip'] = 'Don\'t force any more this code to display this page'; $lang['Force display ttip'] = 'Force this code to display this page'; $lang['Duplicate entry ttip'] = 'Create a new entry using this same code'; // New entry and Modify entry pages (it is the same actually) $lang['New entry title'] = 'New entry of an "autolog" parameter'; $lang['Modify entry title'] = 'Modification of an "autolog" parameter entry'; $lang['New entry'] = 'New entry'; $lang['Full auto'] = 'Full auto (select first a page to display)'; $lang['New code'] = 'New code:'; $lang['Auto code button'] = 'Generate a code'; $lang['Auto code mid'] = 'having'; $lang['Auto code min'] = ' (min)'; $lang['Auto code max'] = ' (max)'; $lang['Auto code end'] = 'digits'; $lang['Comment'] = 'Comment'; $lang['Optional'] = 'Personal memo displayed only in administration pages'; $lang['Existing code'] = 'Existing code:'; $lang['Identified user'] = 'Identified user'; $lang['No user'] = 'None (outdated entry)'; $lang['New generic user'] = 'New user (create a generic account):'; $lang['New username'] = 'Username'; $lang['New password'] = 'Password'; $lang['Confirm password'] = 'Confirm pwd:'; $lang['New group'] = 'New group'; $lang['Generate username'] = 'Generate a username (select first a page to display)'; $lang['Existing user'] = 'Existing user:'; $lang['Displayed page'] = 'Displayed page'; $lang['Forced'] = 'Forced'; $lang['Additional Page'] = 'Additional Page'; $lang['Category'] = 'Category'; $lang['Image id'] = 'Image id'; $lang['Home'] = 'Home'; $lang['Access denied'] = 'Access denied'; // Duplication page $lang['Configuration'] = 'Configuration'; $lang['Types'] = 'Users types'; $lang['Duplication allowance'] = 'Allow duplication'; $lang['No account'] = 'No account'; $lang['Selection per group'] = 'Selection by group'; $lang['All accounts'] = 'All accounts'; $lang['Register replacement'] = 'Register link:%1$s for all accounts that can be duplicated,%1$s replace "%2$s" with "%3$s"'; // %1$s: nice line feed ; %2$s: "register" ; %3$s: "duplicate" $lang['All but generics'] = 'All accounts but generic ones'; $lang['Duplication allowed'] = 'Duplication allowed'; $lang['Dup. allowed tks to'] = 'Duplication allowed thanks to groups and types membership'; $lang['Duplication denied'] = 'Duplication denied'; $lang['Deny to groups btn'] = 'Deny duplication to selected groups'; $lang['Grant to groups btn'] = 'Grant groups to selected groups'; $lang['Deny to types btn'] = 'Deny duplication to selected types'; $lang['Grant to types btn'] = 'Grant duplication to selected types'; $lang['Deny to users btn'] = 'Deny duplication to selected users'; $lang['Grant to users btn'] = 'Grant duplication to selected users'; $lang['Save dup. config btn'] = 'Save duplication configuration'; // Configuration page $lang['Duplication'] = 'Duplication'; $lang['Unknown code'] = 'Unknown code'; $lang['Page for unknown code'] = 'Page display when an "autolog0 code is unknown"'; $lang['Other'] = 'Other'; $lang['Comments display'] = 'Display comments'; $lang['As tooltip'] = 'As tooltip'; $lang['In a row'] = 'In a row'; $lang['Help banner'] = 'Help banner'; $lang['Banner on'] = 'Activated'; $lang['Banner off'] = 'Desactivated'; $lang['Display connection'] = 'Display "%2$s" link%1$s to generic users'; // %1$s: nice line feed ; %2$s: "Connection" // JS messages $lang['ec_confirm_test'] = "Really test the selected code?\n\rThis will terminate your administration session."; $lang['ec_confirm_delete'] = "Do you really want to delete the selected entry?"; $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."; $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."; $lang['ec_confirm_del_other'] = "This will delete all other entries using the same code, if any.\n\rOK?"; $lang['ec_confirm_change_user'] = "Username modification will delete\n\rall other entries using the same code, if any. OK?"; $lang['ec_gen_user_act_miss'] = "Select first a page to display"; $lang['ec_act_img_miss'] = "The image identifier must be a number."; $lang['ec_submit_code_miss'] = "You must provide a code."; $lang['ec_submit_code_bad'] = "A code comprise from 4 to 32 digits included in [a-zA-Z0-9_-]."; $lang['ec_submit_user_miss'] = "You must provide a username."; $lang['ec_submit_action_miss'] = "You must provide a page to display."; $lang['ec_clk_entry_miss'] = "Select an entry first."; $lang['ec_code_already_exists'] = "This code already exists."; $lang['ec_user_already_exists'] = "This username already exists."; $lang['ec_conf_pwd_dont_match'] = "The password is not properly confirmed."; $lang['ec_new_pwd_gen'] = "Don\'t forget to write the password down!"; $lang['ec_act_cat_miss'] = "Category?"; // +-------------------------------------------------------------------------+ // | In PHP files | // +-------------------------------------------------------------------------+ // Tabs $lang['ec_tab_autoid_entries'] = 'Autolog entries'; $lang['ec_tab_autoid_modif'] = 'Autolog modification'; $lang['ec_tab_autoid_new'] = 'New autolog'; $lang['ec_tab_duplication'] = 'Duplication'; $lang['ec_tab_config'] = 'Configuration'; // Infos $lang['ec_user_create_OK'] = 'User "%s" created'; $lang['ec_user_generic_OK'] = 'User "%s" generic'; $lang['ec_group_create_OK'] = 'Group "%s" created'; $lang['ec_group_create_OK2'] = '"%1$s" linked to "%2$s"'; $lang['ec_entry_create_OK'] = 'Entry %s created '; $lang['ec_cnfrm_forced'] = ' (displayed page forced)'; $lang['ec_entry_modify_OK'] = 'Entry %s modified'; $lang['ec_entry_del_ok'] = 'Entry %1$s ("%2$s") deleted.'; $lang['ec_config_saved'] = 'Configuration saved'; // Errors $lang['ec_action_pb'] = 'field "action" corrupted (different values in entries using the same code)'; $lang['ec_username_pb'] = 'field "user_id" corrupted (different values in entries using the same code)'; $lang['ec_username_miss'] = 'user doesn\'t exist (probablyt deleted)'; $lang['ec_category_miss'] = 'category doesn\'t exist (probably deleted)'; $lang['ec_image_miss'] = 'image doesn\'t exist (probably deleted)'; $lang['ec_add_page_miss'] = 'Additional Pages page doesn\'t exist (probably deleted)'; $lang['ec_entry_del_nok'] = 'Problem when deleting entry %s: '; $lang['ec_user_create_pb'] = 'New user creation impossible'; $lang['ec_user_generic_pb'] = 'Problem when making user "%s" generic'; $lang['ec_group_create_pb'] = 'Group "%s" creation impossible'; $lang['ec_user_access_AP'] = 'Take care that user "%2$s" is allowed on Additional Pages page "%1$s".'; $lang['ec_entry_create_pb'] = 'Entry creation impossible'; $lang['ec_entry_already_exists'] = 'Entry %s already exists with exactly the same configuration'; $lang['ec_entry_dont_exist'] = 'Entry %s doesn\'t exist'; $lang['ec_assoc_pb'] = 'Impossible to link "%1$s" to "%2$s"'; $lang['ec_DB_problem'] = 'Database access problem (position %s): '; // Entries table // actions $lang['ec_ok'] = 'YES'; $lang['ec_ok_ap_pb'] = 'YES, but unknown Add. Page'; $lang['ec_ok_cat_pb'] = 'YES, but unknown category'; $lang['ec_ok_img_pb'] = 'YES, but unknown image'; $lang['ec_nok'] = 'NO'; $lang['ec_nok_ap_pb'] = 'NO'; $lang['ec_nok_userid_miss'] = 'NO: user unknown'; $lang['ec_nok_action_pb'] = 'NO: "action" corrupted'; $lang['ec_nok_userid_pb'] = 'NO: "user_id" corrupted'; // Username can't be displayed $lang['ec_dspl_nok_actn'] = '"action" unusable'; $lang['ec_dspl_usr_pb'] = '"user_id" unusable'; $lang['ec_dspl_nok_usr'] = 'User n°%s doesn\'t exist'; // displayed pages $lang['ec_dspl_ok_cat'] = 'Category n°%1$s: %2$s'; // %1$s: category id, %2$s: name $lang['ec_dspl_ok_img2'] = 'image n°%1$s: %2$s (%3$s)'; // %1$s: image id, %2$s: name, %3$s: filename $lang['ec_dspl_ok_ap'] = 'Additional Page n°%1$s: %2$s'; // %1$s: add. p. id, %2$s: name $lang['ec_dspl_nok_ap'] = ' (Additional Page n°%s doesn\'t exist)'; $lang['ec_dspl_nok_cat'] = ' (category n°%s doesn\'t exist)'; $lang['ec_dspl_nok_img2'] = ' (image n°%1$s doesn\'t exist in category n°%2$s)'; // %1$s: image id, %2$s: category id // Help banner // Entries tab $lang['ec_help_banner1_entries'] = ''; // New entry tab, general case $lang['ec_help_banner1_new_c'] = 'Link a code to an identified user and to a displayed page; 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 images, thus you must write down the image identifier ("Image id"), if you want to use this field.) Generate a username and Full auto: select first a page to display, as the username is based on the name of this page. Comment: memo, personal note, visible only in the administration part. Existing code: to use the same code to identify the same account, but redirect it to another page. Displayed page Forced: to impose the displayed page whatever are the parameters &cat=, &img=, &ap= in the URL.'; // New entry tab, "copy an entry" (duplicate entry) case $lang['ec_help_banner2_new_c'] = 'Copy an entry to associate the same code (still linked to the same identified user), to a different displayed page, for example to provide access to another event (thus a different category) for the same group of people you already have created an entry. Reset to come back to a "normal" entry creation.'; // Modify entry tab, general case $lang['ec_help_banner1_new_m'] = 'Select a code to change the corresponding identified user and / or the page to be displayed. If you force the page to be displayed, or change the identified user, other entries using the same code will be deleted. Choosing None as identified user, or Access denied as page to display, will render the entry "outdated": no identification, but you can display a personalized page to give an explanation. To generate a username, select first the page to display, as the username based on the name of the page to display.'; // Modify entry tab, disable case $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 PWG Stuffs to display messages on category and image pages. Reset to come back to a "normal" code modification.'; // Duplicate tab $lang['ec_help_banner1_duplic'] = 'Duplicate an account when a user is already identified, creates another account with exactly the same permissions: no need to wait for an administrator\'s validation. Select the groups, types, and / or directly users allowed to duplicate their account. Display "Register" to generic accounts so that duplication get unnoticed to them (see (?) help page for more details).'; // Configuration tab $lang['ec_help_banner1_config'] = 'Duplicate an account when a user is already identified, creates another account having exactly the same permissions: no need to wait for an administrator\'s validation. — Select the page you want to be displayed in case of an unknown code usage (for instance, a code you have deleted). — In the "Autolog entries" tab, the comments can be displayed as tooltips, or on a new line under the code. — As you\'re currently reading it, the help banner is currently active ;-)! — Display the "Connection" link to generic users, allows users already registered on your gallery to log in easily.'; // Adapt Event Cats to the new terms used since Piwigo 2.2.0 onwards if (version_compare(PHPWG_VERSION, '2.2.0', '>=')) { $lang['Category'] = 'Album'; $lang['ec_act_cat_miss'] = "Album?"; $lang['ec_category_miss'] = 'album doesn\'t exist (probably deleted)'; $lang['ec_ok_cat_pb'] = 'YES, but unknown album'; $lang['ec_dspl_ok_cat'] = 'Album n°%1$s: %2$s'; $lang['ec_dspl_nok_cat'] = ' (album n°%s doesn\'t exist)'; $lang['ec_dspl_nok_img2'] = ' (photo n°%1$s doesn\'t exist in album n°%2$s)'; $lang['ec_help_banner2_new_c'] = 'Copy an entry to associate the same code (still linked to the same identified user), to a different displayed page, for example to provide access to another event (thus a different album) for the same group of people you already have created an entry. Reset to come back to a "normal" entry creation.'; $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 PWG Stuffs to display messages on album and photo pages. Reset to come back to a "normal" code modification.'; $lang['Image id'] = 'Photo id'; $lang['ec_act_img_miss'] = "The photo identifier must be a number."; $lang['ec_image_miss'] = 'photo doesn\'t exist (probably deleted)'; $lang['ec_ok_img_pb'] = 'YES, but unknown photo'; $lang['ec_dspl_ok_img2'] = 'photo n°%1$s: %2$s (%3$s)'; $lang['ec_help_banner1_new_c'] = 'Link a code to an identified user and to a displayed page; 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 ("Photo id"), if you want to use this field.) Generate a username and Full auto: select first a page to display, as the username is based on the name of this page. Comment: memo, personal note, visible only in the administration part. Existing code: to use the same code to identify the same account, but redirect it to another page. Displayed page Forced: to impose the displayed page whatever are the parameters &cat=, &img=, &ap= in the URL.'; } ?>