Changeset 14365


Ignore:
Timestamp:
04/24/12 20:49:46 (8 years ago)
Author:
mistic100
Message:

correct php errors + remove unstranslated (for Lexiglot)

Location:
extensions/adult_content/language
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • extensions/adult_content/language/cs_CZ/plugin.lang.php

    r12646 r14365  
    3838$lang['ac_def'] = 'Chcete změnit svůj stav ?'; 
    3939 
    40 /*TODO*/$lang['ad_c_menublock_for_guest'] = 'Allow unregistered users to select their age?'; 
    41 /*TODO*/$lang['ad_c_block_on_index'] = 'View a flyer on the homepage? (Requires plugin PWG_Stuffs)'; 
    42 /*TODO*/$lang['ad_c_block_on_index_error_2'] = 'The minimum PWG_Stuffs version required is 2.1.l'; 
    43 /*TODO*/$lang['ad_c_block_on_index_error'] = 'Not available for now'; 
    44 /*TODO*/$lang['ad_c_manage_what'] = 'Select the type of content the plugin should manage :'; 
    45 /*TODO*/$lang['ad_c_manage_eroticonly'] = 'erotic content only'; 
    46 /*TODO*/$lang['ad_c_manage_pornonly'] = 'pornographic content only'; 
    47 /*TODO*/$lang['ad_c_manage_both'] = 'erotic and pornographic content'; 
    48  
    49 /*TODO*/$lang['ad_c_send'] = 'Save Changes'; 
    50 /*TODO*/$lang['ad_c_msg_admin_1'] = 'Plugin configuration updated successfully!'; 
    51 /*TODO*/$lang['ad_c_howitworks'] = "The principle of the plugin is to help in the management of mature content (it can also be 
    52  
    53 adapted for violent content). To do this, the plugin manages the visitors and/or the users 
    54  
    55 as you wish according to your definition of parameters of the plugin.<br /> 
    56 <br /> 
    57 1 - As administrator you must put your adult content in a private gallery or album (the 
    58  
    59 plugin does not manage the rights to the level of images itself, at least not yet). Then 
    60  
    61 assign the gallery or album to the two groups '18' and ' 16-17' (created by the plugin) 
    62  
    63 like this:<br /><br /> 
    64  
    65 -allow the group '18' to see the adult content, reserved for users over the of age of 18 
    66  
    67 and normal content (but generally the normal content is often public) 
    68 <br /><br /> 
    69 -allow the group ' 16-17' to see the adult content reserved for users over the age of 16 
    70  
    71 and normal content (generally the normal content is often public) 
    72 <br /><br /> 
    73 - the 'nothing' group will see the normal content (but generally the normal content is 
    74  
    75 often public) 
    76 <br /> 
    77  
    78 <br /> 
    79 2 - Functioning of the plugin<br /> 
    80 2.1 - The management of the users<br /> 
    81 <br /> 
    82 If the user is already recorded in the activation of the plugin, the plugin shows a small 
    83 block pointing out that he must choose his age. Once he clicks, the page containing the message of 'adult content' will appear and the choice of choosing their age (Charte_user.php). 
    84  
    85 Once a visitor chooses his age, it is re-aimed to the page of choice of age (Charte_user.php), directly after its recording. 
    86  
    87 In practice, the plugin places the user in the 3 groups, ' 18' ' 16-17' and 'nothing', 
    88  
    89 according to his choice of age. A user may at any time change his age via the block menu of 
    90  
    91 adult_content except if it is disabled via the administration of piwigo (attention the 
    92  
    93 direct link to charte_user.php continues to function all the same) : if you wish that a 
    94  
    95 user cannot change his age then this plugin is useless and use directly the management of 
    96  
    97 rights at the level of groups and/or images.<br /> 
    98 <br /> 
    99 2.2 - Visitor management<br /> 
    100 <br /> 
    101 If the option 'Allow visitors to non-registered to select their age ?' is enabled, then the 
    102  
    103 plugin will manage the visitors. * It displays a block menu, indicating the gallery is 
    104  
    105 'filtered' and that if he wishes to disable the filter, he must select his age. 
    106 It is then redirected to the page of choice of the age for visitor (chartre.php). 
    107  
    108 In practice, the visitor is then recorded under one of the 2 users created by the plugin: ' 
    109  
    110 18' belonging to the group ' 18 ', and ' 16' from the group ' 16-17 '.  These 2 user 
    111  
    112 accounts may not be modified by users, only by the administrator. 
    113 You open and choose to change the theme according to the age of the vistor via these 2 user 
    114  
    115 accounts.<br /> 
    116 <br /> 
    117 2.3 - Possible adaptations<br /> 
    118 <br /> 
    119 You can adapt this plugin for the violent content, simply by changing the files languages 
    120  
    121 of the plugin (use the plugin Local Files Editor for more ease).  The age limits may also 
    122  
    123 be changed in this way. 
    124 "; 
    125 /*TODO*/$lang['ad_c_linktolang']="Go to the language file of Adult Content (need LocalFiles Editor enabled)" 
    126  
    12740?> 
  • extensions/adult_content/language/en_UK/plugin.lang.php

    r12947 r14365  
    124124be changed in this way. 
    125125"; 
    126 $lang['ad_c_linktolang']="Go to the language file of Adult Content (need LocalFiles Editor enabled)" 
     126$lang['ad_c_linktolang']="Go to the language file of Adult Content (need LocalFiles Editor enabled)"; 
    127127?> 
  • extensions/adult_content/language/es_ES/plugin.lang.php

    r12646 r14365  
    3838$lang['ac_def'] = 'Usted quiere cambiar su estatuto ?'; 
    3939 
    40 /*TODO*/$lang['ad_c_menublock_for_guest'] = 'Allow unregistered users to select their age?'; 
    41 /*TODO*/$lang['ad_c_block_on_index'] = 'View a flyer on the homepage? (Requires plugin PWG_Stuffs)'; 
    42 /*TODO*/$lang['ad_c_block_on_index_error_2'] = 'The minimum PWG_Stuffs version required is 2.1.l'; 
    43 /*TODO*/$lang['ad_c_block_on_index_error'] = 'Not available for now'; 
    44 /*TODO*/$lang['ad_c_manage_what'] = 'Select the type of content the plugin should manage :'; 
    45 /*TODO*/$lang['ad_c_manage_eroticonly'] = 'erotic content only'; 
    46 /*TODO*/$lang['ad_c_manage_pornonly'] = 'pornographic content only'; 
    47 /*TODO*/$lang['ad_c_manage_both'] = 'erotic and pornographic content'; 
    48  
    49 /*TODO*/$lang['ad_c_send'] = 'Save Changes'; 
    50 /*TODO*/$lang['ad_c_msg_admin_1'] = 'Plugin configuration updated successfully!'; 
    51 /*TODO*/$lang['ad_c_howitworks'] = "The principle of the plugin is to help in the management of mature content (it can also be 
    52  
    53 adapted for violent content). To do this, the plugin manages the visitors and/or the users 
    54  
    55 as you wish according to your definition of parameters of the plugin.<br /> 
    56 <br /> 
    57 1 - As administrator you must put your adult content in a private gallery or album (the 
    58  
    59 plugin does not manage the rights to the level of images itself, at least not yet). Then 
    60  
    61 assign the gallery or album to the two groups '18' and ' 16-17' (created by the plugin) 
    62  
    63 like this:<br /><br /> 
    64  
    65 -allow the group '18' to see the adult content, reserved for users over the of age of 18 
    66  
    67 and normal content (but generally the normal content is often public) 
    68 <br /><br /> 
    69 -allow the group ' 16-17' to see the adult content reserved for users over the age of 16 
    70  
    71 and normal content (generally the normal content is often public) 
    72 <br /><br /> 
    73 - the 'nothing' group will see the normal content (but generally the normal content is 
    74  
    75 often public) 
    76 <br /> 
    77  
    78 <br /> 
    79 2 - Functioning of the plugin<br /> 
    80 2.1 - The management of the users<br /> 
    81 <br /> 
    82 If the user is already recorded in the activation of the plugin, the plugin shows a small 
    83 block pointing out that he must choose his age. Once he clicks, the page containing the message of 'adult content' will appear and the choice of choosing their age (Charte_user.php). 
    84  
    85 Once a visitor chooses his age, it is re-aimed to the page of choice of age (Charte_user.php), directly after its recording. 
    86  
    87 In practice, the plugin places the user in the 3 groups, ' 18' ' 16-17' and 'nothing', 
    88  
    89 according to his choice of age. A user may at any time change his age via the block menu of 
    90  
    91 adult_content except if it is disabled via the administration of piwigo (attention the 
    92  
    93 direct link to charte_user.php continues to function all the same) : if you wish that a 
    94  
    95 user cannot change his age then this plugin is useless and use directly the management of 
    96  
    97 rights at the level of groups and/or images.<br /> 
    98 <br /> 
    99 2.2 - Visitor management<br /> 
    100 <br /> 
    101 If the option 'Allow visitors to non-registered to select their age ?' is enabled, then the 
    102  
    103 plugin will manage the visitors. * It displays a block menu, indicating the gallery is 
    104  
    105 'filtered' and that if he wishes to disable the filter, he must select his age. 
    106 It is then redirected to the page of choice of the age for visitor (chartre.php). 
    107  
    108 In practice, the visitor is then recorded under one of the 2 users created by the plugin: ' 
    109  
    110 18' belonging to the group ' 18 ', and ' 16' from the group ' 16-17 '.  These 2 user 
    111  
    112 accounts may not be modified by users, only by the administrator. 
    113 You open and choose to change the theme according to the age of the vistor via these 2 user 
    114  
    115 accounts.<br /> 
    116 <br /> 
    117 2.3 - Possible adaptations<br /> 
    118 <br /> 
    119 You can adapt this plugin for the violent content, simply by changing the files languages 
    120  
    121 of the plugin (use the plugin Local Files Editor for more ease).  The age limits may also 
    122  
    123 be changed in this way. 
    124 "; 
    125 /*TODO*/$lang['ad_c_linktolang']="Go to the language file of Adult Content (need LocalFiles Editor enabled)" 
    12640?> 
  • extensions/adult_content/language/fr_FR/plugin.lang.php

    r12646 r14365  
    8282Les âges limites peuvent aussi être changés de cette façon.<br /> 
    8383'; 
    84 $lang['ad_c_linktolang']="Lien vers le fichier langue d'Adult Content (Nécessite localFiles Editor)" 
     84$lang['ad_c_linktolang']="Lien vers le fichier langue d'Adult Content (Nécessite localFiles Editor)"; 
    8585?> 
  • extensions/adult_content/language/hu_HU/plugin.lang.php

    r12646 r14365  
    3838$lang['ac_def'] = 'Szeretné megváltoztatni a státuszát ?'; 
    3939 
    40 /*TODO*/$lang['ad_c_menublock_for_guest'] = 'Allow unregistered users to select their age?'; 
    41 /*TODO*/$lang['ad_c_block_on_index'] = 'View a flyer on the homepage? (Requires plugin PWG_Stuffs)'; 
    42 /*TODO*/$lang['ad_c_block_on_index_error_2'] = 'The minimum PWG_Stuffs version required is 2.1.l'; 
    43 /*TODO*/$lang['ad_c_block_on_index_error'] = 'Not available for now'; 
    44 /*TODO*/$lang['ad_c_manage_what'] = 'Select the type of content the plugin should manage :'; 
    45 /*TODO*/$lang['ad_c_manage_eroticonly'] = 'erotic content only'; 
    46 /*TODO*/$lang['ad_c_manage_pornonly'] = 'pornographic content only'; 
    47 /*TODO*/$lang['ad_c_manage_both'] = 'erotic and pornographic content'; 
    48 /*TODO*/$lang['ad_c_send'] = 'Save Changes'; 
    49 /*TODO*/$lang['ad_c_msg_admin_1'] = 'Plugin configuration updated successfully!'; 
    50 /*TODO*/$lang['ad_c_howitworks'] = "The principle of the plugin is to help in the management of mature content (it can also be 
    51  
    52 adapted for violent content). To do this, the plugin manages the visitors and/or the users 
    53  
    54 as you wish according to your definition of parameters of the plugin.<br /> 
    55 <br /> 
    56 1 - As administrator you must put your adult content in a private gallery or album (the 
    57  
    58 plugin does not manage the rights to the level of images itself, at least not yet). Then 
    59  
    60 assign the gallery or album to the two groups '18' and ' 16-17' (created by the plugin) 
    61  
    62 like this:<br /><br /> 
    63  
    64 -allow the group '18' to see the adult content, reserved for users over the of age of 18 
    65  
    66 and normal content (but generally the normal content is often public) 
    67 <br /><br /> 
    68 -allow the group ' 16-17' to see the adult content reserved for users over the age of 16 
    69  
    70 and normal content (generally the normal content is often public) 
    71 <br /><br /> 
    72 - the 'nothing' group will see the normal content (but generally the normal content is 
    73  
    74 often public) 
    75 <br /> 
    76  
    77 <br /> 
    78 2 - Functioning of the plugin<br /> 
    79 2.1 - The management of the users<br /> 
    80 <br /> 
    81 If the user is already recorded in the activation of the plugin, the plugin shows a small 
    82 block pointing out that he must choose his age. Once he clicks, the page containing the message of 'adult content' will appear and the choice of choosing their age (Charte_user.php). 
    83  
    84 Once a visitor chooses his age, it is re-aimed to the page of choice of age (Charte_user.php), directly after its recording. 
    85  
    86 In practice, the plugin places the user in the 3 groups, ' 18' ' 16-17' and 'nothing', 
    87  
    88 according to his choice of age. A user may at any time change his age via the block menu of 
    89  
    90 adult_content except if it is disabled via the administration of piwigo (attention the 
    91  
    92 direct link to charte_user.php continues to function all the same) : if you wish that a 
    93  
    94 user cannot change his age then this plugin is useless and use directly the management of 
    95  
    96 rights at the level of groups and/or images.<br /> 
    97 <br /> 
    98 2.2 - Visitor management<br /> 
    99 <br /> 
    100 If the option 'Allow visitors to non-registered to select their age ?' is enabled, then the 
    101  
    102 plugin will manage the visitors. * It displays a block menu, indicating the gallery is 
    103  
    104 'filtered' and that if he wishes to disable the filter, he must select his age. 
    105 It is then redirected to the page of choice of the age for visitor (chartre.php). 
    106  
    107 In practice, the visitor is then recorded under one of the 2 users created by the plugin: ' 
    108  
    109 18' belonging to the group ' 18 ', and ' 16' from the group ' 16-17 '.  These 2 user 
    110  
    111 accounts may not be modified by users, only by the administrator. 
    112 You open and choose to change the theme according to the age of the vistor via these 2 user 
    113  
    114 accounts.<br /> 
    115 <br /> 
    116 2.3 - Possible adaptations<br /> 
    117 <br /> 
    118 You can adapt this plugin for the violent content, simply by changing the files languages 
    119  
    120 of the plugin (use the plugin Local Files Editor for more ease).  The age limits may also 
    121  
    122 be changed in this way. 
    123 "; 
    124 /*TODO*/$lang['ad_c_linktolang']="Go to the language file of Adult Content (need LocalFiles Editor enabled)" 
    12540?> 
  • extensions/adult_content/language/it_IT/plugin.lang.php

    r12646 r14365  
    4242$lang['ad_c_block_on_index_error_2'] = 'PWG Stuffs in una versione superiore à 2.1.l è necessario'; 
    4343$lang['ad_c_block_on_index_error'] = 'funzione non disponibile attualmente'; 
    44 /*TODO*/$lang['ad_c_manage_what'] = 'Select the type of content the plugin should manage :'; 
    45 /*TODO*/$lang['ad_c_manage_eroticonly'] = 'erotic content only'; 
    46 /*TODO*/$lang['ad_c_manage_pornonly'] = 'pornographic content only'; 
    47 /*TODO*/$lang['ad_c_manage_both'] = 'erotic and pornographic content'; 
    4844$lang['ad_c_send'] = 'Registrare le modifiche'; 
    4945$lang['ad_c_msg_admin_1'] = 'Configurazione del plugin aggiornata correttamente!'; 
     
    8076Il limite di età può anche esso essere cambiato in questo modo.<br /> 
    8177'; 
    82 /*TODO*/$lang['ad_c_linktolang']="Go to the language file of Adult Content (need LocalFiles Editor enabled)" 
     78 
    8379?> 
  • extensions/adult_content/language/lv_LV/plugin.lang.php

    r12646 r14365  
    3939$lang['ac_def'] = 'Vai vēlaties izmainīt savu statusu ?'; 
    4040 
    41 /*TODO*/$lang['ad_c_menublock_for_guest'] = 'Allow unregistered users to select their age?'; 
    42 /*TODO*/$lang['ad_c_block_on_index'] = 'View a flyer on the homepage? (Requires plugin PWG_Stuffs)'; 
    43 /*TODO*/$lang['ad_c_block_on_index_error_2'] = 'The minimum PWG_Stuffs version required is 2.1.l'; 
    44 /*TODO*/$lang['ad_c_block_on_index_error'] = 'Not available for now'; 
    45 /*TODO*/$lang['ad_c_manage_what'] = 'Select the type of content the plugin should manage :'; 
    46 /*TODO*/$lang['ad_c_manage_eroticonly'] = 'erotic content only'; 
    47 /*TODO*/$lang['ad_c_manage_pornonly'] = 'pornographic content only'; 
    48 /*TODO*/$lang['ad_c_manage_both'] = 'erotic and pornographic content'; 
    49 /*TODO*/$lang['ad_c_send'] = 'Save Changes'; 
    50 /*TODO*/$lang['ad_c_msg_admin_1'] = 'Plugin configuration updated successfully!'; 
    51 /*TODO*/$lang['ad_c_howitworks'] = "The principle of the plugin is to help in the management of mature content (it can also be 
    52  
    53 adapted for violent content). To do this, the plugin manages the visitors and/or the users 
    54  
    55 as you wish according to your definition of parameters of the plugin.<br /> 
    56 <br /> 
    57 1 - As administrator you must put your adult content in a private gallery or album (the 
    58  
    59 plugin does not manage the rights to the level of images itself, at least not yet). Then 
    60  
    61 assign the gallery or album to the two groups '18' and ' 16-17' (created by the plugin) 
    62  
    63 like this:<br /><br /> 
    64  
    65 -allow the group '18' to see the adult content, reserved for users over the of age of 18 
    66  
    67 and normal content (but generally the normal content is often public) 
    68 <br /><br /> 
    69 -allow the group ' 16-17' to see the adult content reserved for users over the age of 16 
    70  
    71 and normal content (generally the normal content is often public) 
    72 <br /><br /> 
    73 - the 'nothing' group will see the normal content (but generally the normal content is 
    74  
    75 often public) 
    76 <br /> 
    77  
    78 <br /> 
    79 2 - Functioning of the plugin<br /> 
    80 2.1 - The management of the users<br /> 
    81 <br /> 
    82 If the user is already recorded in the activation of the plugin, the plugin shows a small 
    83 block pointing out that he must choose his age. Once he clicks, the page containing the message of 'adult content' will appear and the choice of choosing their age (Charte_user.php). 
    84  
    85 Once a visitor chooses his age, it is re-aimed to the page of choice of age (Charte_user.php), directly after its recording. 
    86  
    87 In practice, the plugin places the user in the 3 groups, ' 18' ' 16-17' and 'nothing', 
    88  
    89 according to his choice of age. A user may at any time change his age via the block menu of 
    90  
    91 adult_content except if it is disabled via the administration of piwigo (attention the 
    92  
    93 direct link to charte_user.php continues to function all the same) : if you wish that a 
    94  
    95 user cannot change his age then this plugin is useless and use directly the management of 
    96  
    97 rights at the level of groups and/or images.<br /> 
    98 <br /> 
    99 2.2 - Visitor management<br /> 
    100 <br /> 
    101 If the option 'Allow visitors to non-registered to select their age ?' is enabled, then the 
    102  
    103 plugin will manage the visitors. * It displays a block menu, indicating the gallery is 
    104  
    105 'filtered' and that if he wishes to disable the filter, he must select his age. 
    106 It is then redirected to the page of choice of the age for visitor (chartre.php). 
    107  
    108 In practice, the visitor is then recorded under one of the 2 users created by the plugin: ' 
    109  
    110 18' belonging to the group ' 18 ', and ' 16' from the group ' 16-17 '.  These 2 user 
    111  
    112 accounts may not be modified by users, only by the administrator. 
    113 You open and choose to change the theme according to the age of the vistor via these 2 user 
    114  
    115 accounts.<br /> 
    116 <br /> 
    117 2.3 - Possible adaptations<br /> 
    118 <br /> 
    119 You can adapt this plugin for the violent content, simply by changing the files languages 
    120  
    121 of the plugin (use the plugin Local Files Editor for more ease).  The age limits may also 
    122  
    123 be changed in this way. 
    124 "; 
    125 /*TODO*/$lang['ad_c_linktolang']="Go to the language file of Adult Content (need LocalFiles Editor enabled)" 
    12641?> 
Note: See TracChangeset for help on using the changeset viewer.