[Richiesta] PM Attachments

Aperto da Filippo, Sabato - 23 Aprile 2016 - 17:11

0 Utenti e 1 Visitatore stanno visualizzando questa discussione.

Filippo

Nome Mod: PM Attachments
Versione Mod: 1.6
Link alla Mod: http://custom.simplemachines.org/mods/index.php?mod=1974

emanuele

#1
Iniziamo con questo, se altri hanno ulteriori traduzioni postatele o fatemele avere.

Parzialmente tradotto:


//
// PM Attachments MOD Begin
//

global $scripturl;

$txt['attach_restrict_attachmentNumPerPMLimit'] = '%1$d per pm';
$txt['attach_restrict_attachmentPMLimit'] = 'Dimensione totale massima %1$dKB';
$txt['attach_restrict_pmAttachmentSizeLimit'] = 'massima dimensione del singolo file %1$dKB';

// PM Attachments by Mail
$txt['pmattachments_mail'] = 'I seguenti sono link diretti a tutti gli allegati che sono stati inclusi in questo messaggio personale (Attenzione, devi aver effettuato l\'autenticazione al sito per poterli scaricare):';

// Settings Titles
$txt['pmattachment_manager_settings'] = 'Impostazioni PM Attachment';

// Maintenance Settings
$txt['pmattachment_options'] = 'Opzioni dei file allegati ai MP';
$txt['pmattachment_remove_old'] = 'Rimuovi allegati ai MP più vecchi di';
$txt['pmattachment_remove_size'] = 'Rimuovi allegati ai MP più grandi di';
$txt['pmattachment_remove_downloads'] = 'Rimuovi allegati ai MP scaricati/visti almeno';
$txt['pmattachment_downloads_times'] = 'volte da ogni destinatario';
$txt['pmattachments_remove_by_members'] = 'Rimuovi tutti gli allegati ai MP inviati';
$txt['pmattachments_remove_by_members_from'] = 'da';
$txt['pmattachments_remove_by_members_to'] = 'a';
$txt['pmattachments_remove_by_members_cont'] = 'i seguenti membri:';
$txt['pmattachments_remove_reported'] = 'Rimuovi gli allegati ai MP riportati dai seguenti membri:';
$txt['pmattach_report_all_members'] = 'Tutti i membri';
$txt['pmattach_specific_members'] = 'Membri specifici';
$txt['pmattachments_remove_all'] = 'Rimuovi tutti gli allegati ai MP di TUTTI i membri!';

// Reporting for DUTY, SIR!
$txt['pm_report_attachments_sent'] = 'I seguenti sono tutti gli allegati che sono stati inviati a questo/i utente/i:';

// Settings Options
$txt['pmAttachmentEnable'] = 'Modalità allegati MP';
$txt['pmAttachmentEnable_deactivate'] = 'Disabilita allegati';
$txt['pmAttachmentEnable_enable_all'] = 'Abilita tutti gli allegati';
$txt['pmAttachmentEnable_disable_new'] = 'Disabilita i nuovi allegati';
$txt['pmAttachmentCheckExtensions'] = 'Controlla l\'estensione degli allegati';
$txt['pmAttachmentExtensions'] = 'Estensioni consentite per gli allegati';
$txt['pmAttachmentShowImages'] = 'Mostra le immagini allegate sotto al messaggio';
$txt['pmAttachmentEncryptFilenames'] = 'Codifica i nomi dei file'; // Ad essere onesto questa dipende un po' dal contesto... che non conosco.
$txt['pmAttachmentUploadDir'] = 'Directory degli allegati ai MP <div class="smalltext"><a href="' . $scripturl . '?action=admin;area=manageattachments;sa=pmattachpaths">Configura directory multiple</a></div>';
$txt['pmAttachmentUploadDir_multiple'] = 'Directory degli allegati ai MP';
$txt['pmAttachmentUploadDir_multiple_configure'] = '<a href="' . $scripturl . '?action=admin;area=manageattachments;sa=pmattachpaths">[Configura directory multiple]</a>';
$txt['pmAttachmentDirSizeLimit'] = 'Massimo spazio per la directory degli allegati ai MP<div class="smalltext">(0 per nessun limite)</div>';
$txt['attachmentPMLimit'] = 'Dimensione massima degli allegati ad un MP (somma delle dimensioni di tutti gli allegati)<div class="smalltext">(0 per nessun limite)</div>';
$txt['pmAttachmentSizeLimit'] = 'Dimensione massima di ogni allegato ad un MP<div class="smalltext">(0 per nessun limite)</div>';
$txt['attachmentNumPerPMLimit'] = 'Numero massimo di allegati per MP<div class="smalltext">(0 per nessun limite)</div>';
$txt['pmAttachmentThumbnails'] = 'Ridimensiona immagini quando mostrate sotto ad un MP';
$txt['pmAttachmentThumbWidth'] = 'Larghezza massimo delle miniature';
$txt['pmAttachmentThumbHeight'] = 'Altezza massimo delle miniature';

$txt['pmattach_dir_does_not_exist'] = 'Non esiste';
$txt['pmattach_dir_not_writable'] = 'Non scrivibile';
$txt['pmattach_dir_files_missing'] = 'File mancante (<a href="' . $scripturl . '?action=admin;area=manageattachments;sa=pmrepair;sesc=%1$s">Ripara</a>)';
$txt['pmattach_dir_unused'] = 'Inutilizzato';
$txt['pmattach_dir_ok'] = 'OK';

$txt['pmattach_path_manage'] = 'Gestisci percorsi degli allegati';
$txt['pmattach_paths'] = 'Percorsi degli allegati';
$txt['pmattach_current_dir'] = 'Directory corrente';
$txt['pmattach_path'] = 'Percorso';
$txt['pmattach_current_size'] = 'Dimensione attuale (KB)';
$txt['pmattach_num_files'] = 'File';
$txt['pmattach_dir_status'] = 'Stato';
$txt['pmattach_add_path'] = 'Aggiungi percorso';
$txt['pmattach_path_current_bad'] = 'Il percorso corrente non è valido.';

$txt['pmattachment_total'] = 'Totale allegati agli MP';
$txt['pmattachmentdir_size'] = 'Dimensione totale della directory degli allegati ai MP';
$txt['pmattachmentdir_size_current'] = 'Dimensione totale della directory degli allegati ai MP corrente';
$txt['pmattachment_space'] = 'Spazio totale disponibile nella directory degli allegati ai MP';
$txt['pmattachment_space_current'] = 'Spazio totale disponibile nella directory degli allegati ai MP corrente';

// Deletion of PM Attachments
$txt['confirm_delete_pmattachments_all'] = 'Sei sicuro di voler cancellare tutti gli allegati ai MP?';
$txt['confirm_delete_pmattachments'] = 'Sei sicuro di voler cancellare tutti gli allegati ai MP selezionati?';
$txt['confirm_delete_pmattachments_members'] = 'Are you sure you want to delete all PM attachments sent, either, from or to the following member(s)?';

// Error Handling
$txt['pm_attach_not_allowed'] = 'Sorry, you are not allowed to send attachments to other users via Personal Messages!';
$txt['attach_pmrepair_missing_thumbnail_parent'] = '%d thumbnails are missing a parent attachment';
$txt['attach_pmrepair_parent_missing_thumbnail'] = '%d parents are flagged as having thumbnails but don\'t';
$txt['attach_pmrepair_file_missing_on_disk'] = '%d attachments have an entry but no longer exist on disk';
$txt['attach_pmrepair_file_wrong_size'] = '%d attachments are being reported as the wrong filesize';
$txt['attach_pmrepair_file_size_of_zero'] = '%d attachments have a size of zero on disk. (These will be deleted)';
$txt['attach_pmrepair_attachment_no_pm'] = '%d attachments no longer have a personal message associated with them';
$txt['attach_pmrepair_wrong_folder'] = '%d attachments are in the wrong folder';
$txt['pm_cant_upload_type'] = 'You cannot upload that type of file. The only allowed extensions are';
$txt['pm_restricted_filename'] = 'That is a restricted filename. Please try a different filename.';
$txt['cannot_pm_view_attachments'] = 'You are not allowed to access this section';
$txt['pmattach_no_selection'] = 'Strange thing happened, nothing was selected!';

// PM Attachment Permissions...
$txt['permissionname_pm_view_attachments'] = 'View PM attachments';
$txt['permissionhelp_pm_view_attachments'] = 'PM Attachments are files that are attached to personal messages. This feature can be enabled and configured in \'Attachments and Avatars - PM Attachment Settings\'. Since PM attachments are not directly accessed, you can protect them from being downloaded by users that don\'t have this permission.';
$txt['permissionname_pm_post_attachments'] = 'Upload PM attachments';
$txt['permissionhelp_pm_post_attachments'] = 'PM Attachments are files that are attached to personal messages. One personal message can contain multiple attachments. Unchecking this completely disables these users from being able to upload attachments in personal messages.';


//
// PM Attachments MOD End
//




Non tradotti:


//
// PM ATTACHMENTS MOD BEGIN...
//

$helptxt['pmattachment_manager_settings'] = 'PM Attachments are files that members can upload, and attach to a Personal Message they send to other members.<br /><br />
<strong>Check attachment\'s extension</strong>:<br /> Checks extensions of the files being uploaded before permitting this file.<br />
<strong>Allowed attachment extensions</strong>:<br /> Sets the allowed extensions of attached files.<br />
<strong>PM Attachments directory</strong>:<br /> The path to your PM attachment folder, where all files uploaded will go<br />(example: /home/sites/yoursite/www/forum/pm_attachments)<br />
<strong>Max attachment folder space</strong> (in KB):<br /> Sets how large the PM attachment folder can be, including all files within it.<br />
<strong>Max attachment size per PM</strong> (in KB):<br /> Sets the maximum filesize of all attachments made per PM.  If this is lower than the per-attachment limit, this will be the limit.<br />
<strong>Max size per attachment</strong> (in KB):<br /> Sets the maximum filesize of each separate PM attachment.<br />
<strong>Max number of attachments per PM</strong>:<br /> Sets the number of attachments a person can send from a Personal Message.<br />
<strong>Display attachment as picture in PM\'s</strong>:<br /> If the uploaded file is a picture, this will show it underneath the personal message.<br />
<strong>Resize images when showing under PM\'s</strong>:<br /> If the above option is selected, this will save a separate (smaller) attachment for the thumbnail to decrease bandwidth.<br />
<strong>Maximum width and height of thumbnails</strong>:<br /> Only used with the &quot;Resize images when showing under PM\'s&quot; option, the maximum width and height to resize attachments down from.  They will be resized proportionally.';

$helptxt['pmAttachmentEncryptFilenames'] = 'Encrypting attachment filenames allows members to have more than one attachment of the
same name, to safely use .php files for attachments, and heightens security.  It, however, could make it more
difficult to rebuild your database if something drastic happened.';

$helptxt['pmattachments_remove_reported'] = 'This option will remove all attachments that have been reported within Personal Messages to an Admin that were sent by, either, the following members, or all members.  This does not remove the Personal Message, just the reported attachment(s) within that personal message.';

$helptxt['pmattachments_remove_by_members'] = 'Input any usernames separated by a comma and we will remove ALL PM Attachments sent, either, from or to the following members on your forum.  Usernames entered are case-insensitive.<br /><br /><strong>For Example</strong>:<br />To remove all PM Attachments sent to username1, username2, and username3, you would select <strong>to</strong> from the select box, and then you could enter the following into the text area before clicking the Remove button: <br /><br /><center>USERNAME1,userName2,username3</center>';

$helptxt['pmattachments_remove_all'] = 'This will remove all PM Attachments from and sent to all members, including yourself.  Should be used as a last resort.<br /><br />Some scenario\'s that may warrant a need for you to do this, are as follows:<br />If you are about to uninstall PM Attachments and want your users to know that all PM Attachments have been removed by the Admin before you uninstall it.  If you just don\'t have the space on your server for these files anymore.  If you plan on starting fresh and/or want to reduce or increase the size for the PM Attachments Directory, or change the directory and you don\'t want any files in this directory before you make any changes.  If many users are abusing the use of PM Attachments on your server, and many other reasons for this as well.';

//
// PM ATTACHMENTS MOD END!!
//



'admin_pm_attachments_full' => array(
/*
@additional_params: admin_pm_attachments_full
REALNAME:
@description:
*/
'subject' => 'Urgent! PM Attachments folder almost full',
'body' => '{REALNAME},

The PM attachments folder at {FORUMNAME} is almost full. Please visit the forum to resolve this problem.

Once the PM attachments folder reaches it\'s maximum permitted size users will not be able to continue to upload attachments via Personal Messages. (If enabled).

{REGARDS}',
),


Codice (find) Seleziona
$txt['pm_report_desc'] = 'From this page you can report the personal message you received to the admin team of the forum. Please be sure to include a description of why you are reporting the message, as this will be sent along with the contents of the original message
Codice (add after) Seleziona
, including all attachments


pierpis

Vorrei provare a fare l'installazione, mi ricordi su quali file devo modificare?  :-[

emanuele

Da notare che la traduzione è ancora a metà... anche meno.

Comunque, inizio col mettere il link alle istruzioni così almeno se mi perdo qualcosa c'è la versione esatta. :P
http://custom.simplemachines.org/mods/index.php?action=parse;mod=1974;attach=232701;smf_version=2.0.10

Il primo blocco va in Modifications.english.php
Il secondo in Help.english.php
Il terzo va aggiunto ad EmailTemplate.english.php, prima della riga:
'admin_attachments_full' =>
Mentre gli ultimi due sono rispettivamente il pezzo da cercare e quello da aggiungervi alla fine in PersonalMessage.english.php

Flavio93Zena

Oppure creare le controparti di quei file in italiano (es: Modifications.italian.php, Help.italian.php, EmailTemplate.italian.php) :)

Darknico

Citazione di: Flavio93Zena il Giovedì - 05 Maggio 2016 - 16:09
Oppure creare le controparti di quei file in italiano (es: Modifications.italian.php, Help.italian.php, EmailTemplate.italian.php) :)

È sbagliato come consiglio, solo file già presenti di default e NON devono essere ricreati, ma modificati
Se tu hai già delle traduzioni di altre mod le perdi.
Il tuo consiglio ha senso se sono files nuovi
Non supporto privatamente, non risponderei e ci rimarreste male....

Flavio93Zena


emanuele

azz... vero, avevo messo english, poi ho pensato di mettere italian, poi mi è venuto in mente che ci potrebbe anche essere italian-utf8, quindi ho pensato di mettere {lingua} come di solito faccio, ma... alla fine me ne son dimenticato... xD

Discussioni simili (3)