Advanced search  

News:

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

Pages: [1]   Go Down

Author Topic: [Done]: Italian language file revision  (Read 29934 times)

0 Members and 1 Guest are viewing this topic.

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
[Done]: Italian language file revision
« on: February 16, 2009, 10:40:24 am »

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
Code: [Select]
$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
Code: [Select]
$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
Code: [Select]
$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
Code: [Select]
$lang_bad_words = array('*cazz*', 'figa', '*culo*', 'puttan*', 'sborra*', 'stronz*', 'bastard*', 'troia*', 'minchia*');
Line 146, change
Code: [Select]
  'faq_title' => 'Frequently Asked Questions sulla galleria di immagini "Coppermine"',to
Code: [Select]
  'faq_title' => 'Domande frequenti sulla galleria di immagini "Coppermine"',
Line 279, change
Code: [Select]
  'n_views' => '%s viste',to
Code: [Select]
  'n_views' => '%s visite',
Lines 292-293, change
Code: [Select]
  'reset_language' => 'Lingua di Default',
  'choose_language' => 'Seleziona Linguaggio',
to
Code: [Select]
  'reset_language' => 'Lingua predefinita',
  'choose_language' => 'Seleziona lingua',

Line 297, sostituire
Code: [Select]
  'reset_theme' => 'Tema di Default',con
Code: [Select]
  'reset_theme' => 'Tema predefinito',
Line 679, change
Code: [Select]
  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
Code: [Select]
  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
Code: [Select]
  array('Mantieni statistiche dettagliate per le viste','hit_details',1, 'f=index.htm&as=admin_logging_hitdetails&ae=admin_logging_hitdetails_end'), //cpg1.4to
Code: [Select]
  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
Code: [Select]
  'slideshow' => 'Slideshow',
  'stop_slideshow' => 'STOP SLIDESHOW',
  'view_fs' => 'Clicca per l\'immagine full size',
to
Code: [Select]
  'slideshow' => 'Presentazione',
  'stop_slideshow' => 'FERMA PRESENTAZIONE',
  'view_fs' => 'Clicca per l\'immagine a grandezza piena',

Line 938, change
Code: [Select]
  'set_player' => 'Cambia Player',to
Code: [Select]
  'set_player' => 'Cambia riproduttore',
Line 1123, change
Code: [Select]
  'pic_info_str' => '%s × %s - %s KB - %s viste - %s voti',to
Code: [Select]
  'pic_info_str' => '%s × %s - %s KB - %s visite - %s voti',
Lines 1129-1130, change
Code: [Select]
  'reset_view_count' => 'Azzera contatore viste',
  'reset_all_view_count' => 'Azzera TUTTI i contatori viste', //cpg1.4
to
Code: [Select]
  'reset_view_count' => 'Azzera contatore visite',
  'reset_all_view_count' => 'Azzera TUTTI i contatori visite', //cpg1.4

Line 1141, change
Code: [Select]
  'apply' => 'Applica Modifice',to
Code: [Select]
  'apply' => 'Applica modifiche',
Line 1268, change
Code: [Select]
  'welcome' => 'Benvenuto !',to
Code: [Select]
  'welcome' => 'Benvenuto!',
Line 1385, change
Code: [Select]
  'reset_views' => 'Resetta contatore viste a "0" in %s', //cpg1.4to
Code: [Select]
  'reset_views' => 'Imposta contatore visite a "0" in %s', //cpg1.4
Line 1389, change
Code: [Select]
  'views' => 'viste', //cpg1.4to
Code: [Select]
  'views' => 'visite', //cpg1.4
Line 1393, change
Code: [Select]
  'submit_reset' => 'Applica Modifice', //cpg1.4to
Code: [Select]
  'submit_reset' => 'Applica modifiche', //cpg1.4
Line 1395, change
Code: [Select]
  'notice1' => '(*) dipende dalle impostazioi dei %sgroups%s',  //cpg1.4 //(do not translate %s!)
to
Code: [Select]
  'notice1' => '(*) dipende dalle impostazioni dei %sgruppi%s',  //cpg1.4 //(do not translate %s!)
Line 1901, change
Code: [Select]
'Resetta contatore viste', //cpg1.4to
Code: [Select]
'Azzera contatore visite', //cpg1.4
Lines 1960-1961, change
Code: [Select]
  'reset_views' => 'Resetta contatore viste', //cpg1.4
  'reset_views_explanation' => 'Imposta a zero tutte le viste nell\'album specificato.', //cpg1.4
to
Code: [Select]
  'reset_views' => 'Azzera contatore visite', //cpg1.4
  'reset_views_explanation' => 'Imposta a zero tutte le visite nell\'album specificato.', //cpg1.4
« Last Edit: May 18, 2009, 10:21:23 pm by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Italian language file fixes
« Reply #1 on: February 17, 2009, 12:13:52 pm »

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

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Italian language file fixes
« Reply #2 on: February 17, 2009, 02:37:12 pm »

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

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Italian language file revision
« Reply #3 on: May 15, 2009, 10:06:33 am »

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

[ Attachment removed, see reply #6 below - Ludo ]
« Last Edit: May 22, 2009, 03:00:55 pm by Ludo »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Italian language file revision
« Reply #4 on: May 18, 2009, 10:20:18 pm »

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
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: [Done]: Italian language file revision
« Reply #5 on: May 19, 2009, 11:49:03 am »

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.
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: [Done]: Italian language file revision
« Reply #6 on: May 22, 2009, 02:56:57 pm »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: [Done]: Italian language file revision
« Reply #7 on: May 23, 2009, 05:46:29 pm »

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
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: [Done]: Italian language file revision
« Reply #8 on: June 26, 2009, 02:35:23 pm »

Three small fixes I left behind:

Line 101, change
Code: [Select]
  '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
Code: [Select]
  '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
Code: [Select]
if (defined('MODE_PHP')) $lang_mode_php = array(
  0 => 'Lascio il modo amministratore...',
  1 => 'Entro in modo amministratore...',
);
to
Code: [Select]
if (defined('MODE_PHP')) $lang_mode_php = array(
  0 => 'Lascio la modalità amministratore...',
  1 => 'Entro in modalità amministratore...',
);
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: [Done]: Italian language file revision
« Reply #9 on: June 27, 2009, 08:56:24 am »

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

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: [Done]: Italian language file revision
« Reply #10 on: July 13, 2009, 03:54:36 pm »

More minor fixes:

Line 587, change
Code: [Select]
  'manage_plugins' => 'Gestione plugins', //cpg1.4to
Code: [Select]
  'manage_plugins' => 'Gestione plugin', //cpg1.4
Line 1136, change
Code: [Select]
  'upl_approval' => 'Approvazione caricamento', //cpg1.4to
Code: [Select]
  'upl_approval' => 'Approvazione file caricati', //cpg1.4
Line 1736, change
Code: [Select]
  '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
Code: [Select]
  '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
Code: [Select]
  'reg_instr_7' => 'File caricati:',
  'reg_instr_8' => 'URI/URL caricati:',
to
Code: [Select]
  'reg_instr_7' => 'File da caricare:',
  'reg_instr_8' => 'URI/URL da caricare:',

Line 1752, change
Code: [Select]
  'no_upload' => 'Nessun file caricameto.',to
Code: [Select]
  'no_upload' => 'Nessun file caricato.',
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: [Done]: Italian language file revision
« Reply #11 on: July 13, 2009, 04:35:37 pm »

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

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: [Done]: Italian language file revision
« Reply #12 on: October 26, 2009, 02:42:57 pm »

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

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

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: [Done]: Italian language file revision
« Reply #13 on: October 26, 2009, 05:23:29 pm »

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?
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: [Done]: Italian language file revision
« Reply #14 on: October 26, 2009, 06:09:32 pm »

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."
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 21 queries.