[Done]: Italian language file revision [Done]: Italian language file revision
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Done]: Italian language file revision

Started by Ludo, February 16, 2009, 10:40:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ludo

Some fixes to italian language file, already submitted in the Italian forum

Main task is a batch change of "viste" to "visite".

Lines 54-60 (date/hour formats), change
$album_date_fmt =    '%B %d, %Y';
$lastcom_date_fmt =  '%m/%d/%y at %H:%M';
$lastup_date_fmt = '%B %d, %Y';
$register_date_fmt = '%B %d, %Y';
$lasthit_date_fmt = '%B %d, %Y at %I:%M %p';
$comment_date_fmt =  '%B %d, %Y at %I:%M %p';
$log_date_fmt = '%B %d, %Y at %I:%M %p'; //cpg1.4

to
$album_date_fmt =  '%d %B %Y';
$lastcom_date_fmt =  '%d/%m/%y, %H.%M';
$lastup_date_fmt = '%d %B %Y';
$register_date_fmt = '%d %B %Y';
$lasthit_date_fmt = '%d %B %Y, %H.%M';
$comment_date_fmt =  '%d %B %Y, %H.%M';
$log_date_fmt = '%d %B %Y, %H.%M'; //cpg1.4


Line 63 (word censor), change
$lang_bad_words = array('**beep**', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', '*beep**', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');
to
$lang_bad_words = array('*cazz*', 'figa', '*culo*', 'puttan*', 'sborra*', 'stronz*', 'bastard*', 'troia*', 'minchia*');

Line 146, change
  'faq_title' => 'Frequently Asked Questions sulla galleria di immagini "Coppermine"',
to
  'faq_title' => 'Domande frequenti sulla galleria di immagini "Coppermine"',

Line 279, change
  'n_views' => '%s viste',
to
  'n_views' => '%s visite',

Lines 292-293, change
  'reset_language' => 'Lingua di Default',
  'choose_language' => 'Seleziona Linguaggio',

to
  'reset_language' => 'Lingua predefinita',
  'choose_language' => 'Seleziona lingua',


Line 297, sostituire
  'reset_theme' => 'Tema di Default',
con
  'reset_theme' => 'Tema predefinito',

Line 679, change
  array('Mostra numero di viste sotto la miniatura', 'views_in_thumbview', 1, 'f=index.htm&as=admin_thumbnail_display_views&ae=admin_thumbnail_display_views_end'), //cpg1.4

to
  array('Mostra numero di visite sotto la miniatura', 'views_in_thumbview', 1, 'f=index.htm&as=admin_thumbnail_display_views&ae=admin_thumbnail_display_views_end'), //cpg1.4

Line 784, change
  array('Mantieni statistiche dettagliate per le viste','hit_details',1, 'f=index.htm&as=admin_logging_hitdetails&ae=admin_logging_hitdetails_end'), //cpg1.4
to
  array('Mantieni statistiche dettagliate per le visite','hit_details',1, 'f=index.htm&as=admin_logging_hitdetails&ae=admin_logging_hitdetails_end'), //cpg1.4

Lines 933-935, change
  'slideshow' => 'Slideshow',
  'stop_slideshow' => 'STOP SLIDESHOW',
  'view_fs' => 'Clicca per l\'immagine full size',

to
  'slideshow' => 'Presentazione',
  'stop_slideshow' => 'FERMA PRESENTAZIONE',
  'view_fs' => 'Clicca per l\'immagine a grandezza piena',


Line 938, change
  'set_player' => 'Cambia Player',
to
  'set_player' => 'Cambia riproduttore',

Line 1123, change
  'pic_info_str' => '%s × %s - %s KB - %s viste - %s voti',
to
  'pic_info_str' => '%s × %s - %s KB - %s visite - %s voti',

Lines 1129-1130, change
  'reset_view_count' => 'Azzera contatore viste',
  'reset_all_view_count' => 'Azzera TUTTI i contatori viste', //cpg1.4

to
  'reset_view_count' => 'Azzera contatore visite',
  'reset_all_view_count' => 'Azzera TUTTI i contatori visite', //cpg1.4


Line 1141, change
  'apply' => 'Applica Modifice',
to
  'apply' => 'Applica modifiche',

Line 1268, change
  'welcome' => 'Benvenuto !',
to
  'welcome' => 'Benvenuto!',

Line 1385, change
  'reset_views' => 'Resetta contatore viste a "0" in %s', //cpg1.4
to
  'reset_views' => 'Imposta contatore visite a "0" in %s', //cpg1.4

Line 1389, change
  'views' => 'viste', //cpg1.4
to
  'views' => 'visite', //cpg1.4

Line 1393, change
  'submit_reset' => 'Applica Modifice', //cpg1.4
to
  'submit_reset' => 'Applica modifiche', //cpg1.4

Line 1395, change
  'notice1' => '(*) dipende dalle impostazioi dei %sgroups%s',  //cpg1.4 //(do not translate %s!)

to
  'notice1' => '(*) dipende dalle impostazioni dei %sgruppi%s',  //cpg1.4 //(do not translate %s!)

Line 1901, change
'Resetta contatore viste', //cpg1.4
to
'Azzera contatore visite', //cpg1.4

Lines 1960-1961, change
  'reset_views' => 'Resetta contatore viste', //cpg1.4
  'reset_views_explanation' => 'Imposta a zero tutte le viste nell\'album specificato.', //cpg1.4

to
  'reset_views' => 'Azzera contatore visite', //cpg1.4
  'reset_views_explanation' => 'Imposta a zero tutte le visite nell\'album specificato.', //cpg1.4

Joachim Müller

Is there a language file that you could attach, so I don't have to hack those changes in manually? Thanks in advance.

Ludo

Yes, I would have attached it already, but meanwhile I found other sections to fix: when completed, I will post it.

Ludo

#3
Here it is, completely revised.
Rename attached file to italian.php, as usual.

[ Attachment removed, see reply #6 below - Ludo ]

Joachim Müller

Could you please review the line-breaks for future contributions - I get double line breaks, so I can't use that file. Therefor, I applied the changes manually and committed it. Will be in cpg1.4.23

Ludo

Sorry for the inconvenience with line breaks, I didn't notice anything bad in PSPad. Maybe it's due to opening file after having renamed it to .txt I'm going to fix it for next releases.

Ludo

Here is a fixed and updated version (includes $lang_errors['register_globals_on'] from 1.4.23 translation).
Rename to italian.php as usual, and please let me know if it works correctly.

Joachim Müller

This time the file worked fine including the line breaks. Thanks for your contribution. I have added it to the SVN, so the change will be in cpg1.4.24

Ludo

Three small fixes I left behind:

Line 101, change
  'register_globals_on' => 'La direttiva PHP register_globals è abilitata sul tuo server, il che non è una buona idea in termini di sicurezza. É altamente raccomandabile impostarla ad Off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',
to
  'register_globals_on' => 'La direttiva PHP register_globals è abilitata sul tuo server, il che non è una buona idea in termini di sicurezza. É altamente raccomandabile impostarla ad Off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">dettagli</a>]',

Line 380, change
if (defined('MODE_PHP')) $lang_mode_php = array(
  0 => 'Lascio il modo amministratore...',
  1 => 'Entro in modo amministratore...',
);

to
if (defined('MODE_PHP')) $lang_mode_php = array(
  0 => 'Lascio la modalità amministratore...',
  1 => 'Entro in modalità amministratore...',
);

Joachim Müller

Thanks for the update. Have committed to SVN, rev 6240

Ludo

More minor fixes:

Line 587, change
  'manage_plugins' => 'Gestione plugins', //cpg1.4
to
  'manage_plugins' => 'Gestione plugin', //cpg1.4

Line 1136, change
  'upl_approval' => 'Approvazione caricamento', //cpg1.4
to
  'upl_approval' => 'Approvazione file caricati', //cpg1.4

Line 1736, change
  'reg_instr_2' => 'Da questa pagina caricare i tuoi file utilizzando i campi qui sotto. I file da caricare non devono superare i %s KB ciascuno. I file di tipo ZIP rimarranno compressi.',
to
  'reg_instr_2' => 'Da questa pagina puoi caricare i tuoi file utilizzando i campi qui sotto. I file da caricare non devono superare i %s KB ciascuno. I file di tipo ZIP rimarranno compressi.',

Line 1741, change
  'reg_instr_7' => 'File caricati:',
  'reg_instr_8' => 'URI/URL caricati:',

to
  'reg_instr_7' => 'File da caricare:',
  'reg_instr_8' => 'URI/URL da caricare:',


Line 1752, change
  'no_upload' => 'Nessun file caricameto.',
to
  'no_upload' => 'Nessun file caricato.',

Joachim Müller

Did as suggested - went into rev 6305. Will go into cpg1.4.26.

Ludo

Important fix, users who request a new password get an error message even when email is sent correctly:

Line 1216, change
'verify_email_sent' => 'Impossibile inviare email a %s. Controlla il tuo indirizzo email per completare la procedura.', //cpg1.4

to

'verify_email_sent' => 'Un\'email è stata inviata a %s. Controlla la tua casella di posta per completare la procedura.', //cpg1.4


Joachim Müller

Comitted your changes, although I can't see how the old line should have caused an error while the new version doesn't. Could you please elaborate?

Ludo

Actual form doesn't cause an error, but tells user it occurred, while it didn't!
In English it sounds: "Email to %s can't be sent. Please check your email address to complete the process."