« blib/lib/Ftree/TextGenerators/HungarianTextGenerator.pm
↑ Summary
blib/lib/Ftree/TextGenerators/PolishTextGenerator.pm »
| 1 | use strict; | ||
| 2 | use warnings; | ||
| 3 | use utf8; | ||
| 4 | |||
| 5 | package ItalianTextGenerator; | ||
| 6 | use version; our $VERSION = qv('2.3.41'); | ||
| 7 | sub new { | ||
| 8 | my ( $classname ) = @_; | ||
| 9 | my $self = { | ||
| 10 | Prayer_for_the_living => "Prayer_for_the_living", | ||
| 11 | Prayer_for_the_departed => "Prayer_for_the_departed", | ||
| 12 | members => "Membri della famiglia", | ||
| 13 | Relatives => "Parenti", | ||
| 14 | Faces => "Faccie", | ||
| 15 | Surnames => "Cognomi", | ||
| 16 | Homepages => "Siti internet", | ||
| 17 | homepage => "Sito internet", | ||
| 18 | Birthdays => "Compleanni", | ||
| 19 | birthday => "compleanno", | ||
| 20 | Error => "Errore", | ||
| 21 | Sorry => "Scusi", | ||
| 22 | Passwd_need => "Una passord è neccessario di accedere questo sito.", | ||
| 23 | Wrong_passwd => "Password scorretta.", | ||
| 24 | father => "padre", | ||
| 25 | mother => "madre", | ||
| 26 | nickname => "diminutivo", | ||
| 27 | place_of_birth => "posto di nascita", | ||
| 28 | place_of_death =>"posto di morte", | ||
| 29 | cemetery => "cimitero", | ||
| 30 | schools => "scuole", | ||
| 31 | jobs => "lavori", | ||
| 32 | work_places => "posti di lavoro", | ||
| 33 | places_of_living => "residenze", | ||
| 34 | general => "generale", | ||
| 35 | |||
| 36 | siblings => "fratelli e sorelle", | ||
| 37 | siblings_on_father => "fratellastri o sorellastre da parte del padre", | ||
| 38 | siblings_on_mother => "fratellastri o sorellastre da parte della madre ", | ||
| 39 | children => "bambini", | ||
| 40 | spouses => "consorti", | ||
| 41 | husbands => "sposi", | ||
| 42 | wives => "moglie", | ||
| 43 | |||
| 44 | date_of_birth => "data di nascita", | ||
| 45 | date_of_death => "data di morte", | ||
| 46 | Total => "In tutto", | ||
| 47 | people => "gente", | ||
| 48 | Emails => "Emaili", | ||
| 49 | email => "email", | ||
| 50 | Hall_of_faces => "Galleria di ritratti", | ||
| 51 | Total_with_email => "Numero di parenti con email indrizzo: ", | ||
| 52 | Total_with_homepage => "Numero di parenti con sito internet: ", | ||
| 53 | Total_with_photo => "Numero di parenti con ritratto: ", | ||
| 54 | months_array => [ "Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", | ||
| 55 | "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"], | ||
| 56 | Invalid_option => "Il valore del parametro 'type' è invalido", | ||
| 57 | Valid_options => "I valori possibili per il parametro 'type': <vuoto>, snames, faces, emails, hpages, bdays.", | ||
| 58 | ZoomIn => "Zoom in", | ||
| 59 | ZoomOut => "Zoom out", | ||
| 60 | CheckAnotherMonth => "Mostrare un altro giorno", | ||
| 61 | DonationSentence => "Questo programma è assolutamente gratuito, ma vostro supporto è necessario di mantenerlo e svilupparlo.", | ||
| 62 | Go => "Avanti", | ||
| 63 | Unknown => "Sconosciuto", | ||
| 64 | name => "nome", | ||
| 65 | photo => "foto", | ||
| 66 | man => "uomo", | ||
| 67 | woman => "donna", | ||
| 68 | unknown => "sconosciuto", | ||
| 69 | |||
| 70 | hungarian => "ungherese", | ||
| 71 | polish => "polacco", | ||
| 72 | english => "inglese", | ||
| 73 | german => "tedesco", | ||
| 74 | spanish => "spagnolo", | ||
| 75 | italian => "italiano", | ||
| 76 | french => "francese", | ||
| 77 | slovenian => "slovenese", | ||
| 78 | romanian => "romeno", | ||
| 79 | russian => "russo", | ||
| 80 | japanese => "giapponese", | ||
| 81 | chinese => "cinese", | ||
| 82 | }; | ||
| 83 | return bless $self, $classname; | ||
| 84 | } | ||
| 85 | |||
| 86 | sub summary{ | ||
| 87 | my ($self, $nr_people) = @_; | ||
| 88 | return "In tutto: $nr_people gente.\n"; | ||
| 89 | } | ||
| 90 | sub maintainer{ | ||
| 91 | my ($self, $admin_name, $admin_email, $admin_webpage) = @_; | ||
| 92 | my $text; | ||
| 93 | $text = "I dati nel albero genealogico è mantenuto da "; | ||
| 94 | if(defined $admin_webpage) { | ||
| 95 | $text .= "<a href=\"".$admin_webpage."\" target=\"_new\">".$admin_name."</a>"; | ||
| 96 | } | ||
| 97 | else{ | ||
| 98 | $text .= $admin_name; | ||
| 99 | } | ||
| 100 | $text .= ". Per favore, in caso di qualunque errore, mandi un <a href=\"mailto:$admin_email\">email</a>."; | ||
| 101 | } | ||
| 102 | sub software{ | ||
| 103 | my ($self, $version) = @_; | ||
| 104 | return "Il programma d'albero genealogico (ver. $version) è sviluppato da <a href=\"http://www.cs.bme.hu/~bodon/magyar/index.html\" target=\"_new\">Ferenc Bodon</a> e ". | ||
| 105 | "<a href=\"http://simonward.com/\" target=\"_new\">Simon Ward</a> and | ||
| 106 | <a href=\"http://mishin.narod.ru/\" target=\"_new\">Nikolay Mishin</a> . Per più particolari, visitate <a href=\"http://freshmeat.net/projects/familytree_cgi/\">il sito</a>.\n"; | ||
| 107 | } | ||
| 108 | sub People_with_surname { | ||
| 109 | my ($self, $surname) = @_; | ||
| 110 | return "Parenti con il cognome ".$surname; | ||
| 111 | } | ||
| 112 | |||
| 113 | sub noDataAbout { | ||
| 114 | my ($self, $id) = @_; | ||
| 115 | return "ERRORE: No nota esiste con l'identificazione $id."; | ||
| 116 | } | ||
| 117 | sub familyTreeFor { | ||
| 118 | my ($self, $name) = @_; | ||
| 119 | return "L'albero genealogico di $name"; | ||
| 120 | } | ||
| 121 | sub ZoomIn { | ||
| 122 | my ($self, $level) = @_; | ||
| 123 | return "Zoom in: mostrare non più di $level generazioni."; | ||
| 124 | } | ||
| 125 | sub ZoomOut { | ||
| 126 | my ($self, $level) = @_; | ||
| 127 | return "Zoom out: mostrare $level generazioni."; | ||
| 128 | } | ||
| 129 | sub birthday_reminder { | ||
| 130 | my ($self, $month_index) = @_; | ||
| 131 | return "Promemorie di compleanno per ".$self->{months_array}[$month_index]; | ||
| 132 | } | ||
| 133 | sub total_living_with_birthday { | ||
| 134 | my ($self, $month_index) = @_; | ||
| 135 | return "Parenti vivi con il compleanno in ".$self->{months_array}[$month_index]; | ||
| 136 | } | ||
| 137 | 1; |