« blib/lib/Ftree/DataParsers/SerializerFormat.pm
↑ Summary
blib/lib/Ftree/TextGenerators/FrenchTextGenerator.pm »
| 1 | use strict; | ||
| 2 | use warnings; | ||
| 3 | |||
| 4 | package RomanianTextGenerator; | ||
| 5 | use version; our $VERSION = qv('2.3.41'); | ||
| 6 | sub new { | ||
| 7 | my ( $classname ) = @_; | ||
| 8 | my $self = { | ||
| 9 | Prayer_for_the_living => "Prayer_for_the_living", | ||
| 10 | Prayer_for_the_departed => "Prayer_for_the_departed", | ||
| 11 | members => "Membrii arborii genealogic", | ||
| 12 | Relatives => "Rude", | ||
| 13 | Faces => "Poze", | ||
| 14 | Surnames =>"Nume de familii", | ||
| 15 | Homepages => "Pagini web", | ||
| 16 | homepage => "pagina web", | ||
| 17 | Birthdays => "Zile de nastere", | ||
| 18 | birthday => "ziua de nastere", | ||
| 19 | Error => "Eroare", | ||
| 20 | Sorry => "Imi pare rau", | ||
| 21 | Passwd_need => "Parola este ceruta pentru vizualizarea acestor pagini.", | ||
| 22 | Wrong_passwd => "Parola gresita pentru aceste pagini.", | ||
| 23 | |||
| 24 | father => "tata", | ||
| 25 | mother => "mama", | ||
| 26 | nickname => "porecla", | ||
| 27 | place_of_birth => "locul nasterii", | ||
| 28 | place_of_death =>"locul decesului", | ||
| 29 | cemetery => "cimitir", | ||
| 30 | schools => "scoli", | ||
| 31 | jobs => "functii", | ||
| 32 | work_places => "locuri de munca", | ||
| 33 | places_of_living => "domicilii", | ||
| 34 | general => "general", | ||
| 35 | |||
| 36 | siblings => "frati/surori", | ||
| 37 | siblings_on_father => "frati vitregi din partea tatalui", | ||
| 38 | siblings_on_mother => "frati vitregi din partea mamei", | ||
| 39 | children => "copii", | ||
| 40 | husbands => "soti", | ||
| 41 | wives => "neveste", | ||
| 42 | |||
| 43 | date_of_birth => "data nasterii", | ||
| 44 | date_of_death => "data decesului", | ||
| 45 | Total => "Total", | ||
| 46 | people => "oameni", | ||
| 47 | Emails => "Emailuri", | ||
| 48 | email => "email", | ||
| 49 | Hall_of_faces => "Galeria de poze", | ||
| 50 | Total_with_email => "Numari total de oamneni cu adresa email:", | ||
| 51 | Total_with_homepage => "Numari total de oamneni cu pagina web:", | ||
| 52 | Total_with_photo => "Numari total de oamneni cu poza:", | ||
| 53 | |||
| 54 | months_array => [ "Januarie", "Februarie", "Martie", "Aprilie", "Mai", "Junie", | ||
| 55 | "Julie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"], | ||
| 56 | |||
| 57 | |||
| 58 | Invalid_option => "Parameter de invalid tip", | ||
| 59 | Valid_options => "Optiuni posibile sunt: <none>, snames, faces, emails, hpages, bdays. ", | ||
| 60 | ZoomIn => "Marire", | ||
| 61 | ZoomOut => "Micsorare", | ||
| 62 | CheckAnotherMonth => "Incerati alta luna", | ||
| 63 | DonationSentence => "Programul arborele genealogic este absolut gratis. Totusi pentru intretinere si dezvoltare donatii sunt necesare.", | ||
| 64 | Go => "Start", | ||
| 65 | Unknown => "Necunoscut", | ||
| 66 | name => "nume", | ||
| 67 | photo => "poza", | ||
| 68 | man => "barbat", | ||
| 69 | woman => "femeie", | ||
| 70 | unknown => "necunoscut", | ||
| 71 | |||
| 72 | hungarian => "maghiar", | ||
| 73 | polish => "plonez", | ||
| 74 | english => "englez", | ||
| 75 | german => "german", | ||
| 76 | spanish => "spaniol", | ||
| 77 | italian => "italian", | ||
| 78 | french => "francez", | ||
| 79 | slovenian => "sloven", | ||
| 80 | romanian => "roman", | ||
| 81 | russian => "rusesc", | ||
| 82 | japanese => "japonez", | ||
| 83 | chinese => "chinez", | ||
| 84 | }; | ||
| 85 | return bless $self, $classname; | ||
| 86 | } | ||
| 87 | |||
| 88 | sub summary{ | ||
| 89 | my ($self, $nr_people) = @_; | ||
| 90 | return "Total: $nr_people people \n"; | ||
| 91 | } | ||
| 92 | sub maintainer { | ||
| 93 | my ($self, $admin_name, $admin_email, $admin_webpage) = @_; | ||
| 94 | my $text; | ||
| 95 | $text = "Date de familie intretinut de "; | ||
| 96 | if(defined $admin_webpage) { | ||
| 97 | $text .= "<a href=\"".$admin_webpage."\" target=\"_new\">".$admin_name."</a>"; | ||
| 98 | } | ||
| 99 | else{ | ||
| 100 | $text .= $admin_name; | ||
| 101 | } | ||
| 102 | $text .= "- va rog <a href=\"mailto:$admin_email\">trimiteti email</a> pentru orice omisiune sau cortectii."; | ||
| 103 | |||
| 104 | } | ||
| 105 | |||
| 106 | sub software { | ||
| 107 | my ($self, $version) = @_; | ||
| 108 | |||
| 109 | return "Software pentru arbore de famile (ver. $version) by <a href=\"http://www.cs.bme.hu/~bodon/en/index.html\" target=\"_new\">Ferenc Bodon</a> and ". | ||
| 110 | "<a href=\"http://simonward.com/\" target=\"_new\">Simon Ward</a> and | ||
| 111 | <a href=\"http://mishin.narod.ru/\" target=\"_new\">Nikolay Mishin</a> - <a href=\"http://freshmeat.net/projects/familytree_cgi/\">detalii</a>.\n"; | ||
| 112 | |||
| 113 | |||
| 114 | } | ||
| 115 | |||
| 116 | sub People_with_surname { | ||
| 117 | my ($self, $surname) = @_; | ||
| 118 | return "Rude cu nume de familie $surname"; | ||
| 119 | } | ||
| 120 | |||
| 121 | sub noDataAbout { | ||
| 122 | my ($self, $id) = @_; | ||
| 123 | return "ERROR: Nu s-a gasit record pentru $id"; | ||
| 124 | |||
| 125 | } | ||
| 126 | |||
| 127 | sub familyTreeFor { | ||
| 128 | my ($self, $name) = @_; | ||
| 129 | return "Arobore de familie pentru $name"; | ||
| 130 | } | ||
| 131 | |||
| 132 | sub ZoomIn { | ||
| 133 | my ($self, $level) = @_; | ||
| 134 | return "Marire: vizualizare cel mult $level genreratii."; | ||
| 135 | } | ||
| 136 | |||
| 137 | sub ZoomOut { | ||
| 138 | my ($self, $level) = @_; | ||
| 139 | return "Micsorare: vizualizare pana la $level generatii."; | ||
| 140 | } | ||
| 141 | sub birthday_reminder { | ||
| 142 | my ($self, $month_index) = @_; | ||
| 143 | return "Amintitor pentru ziua de nastere " . $self->{months_array}[$month_index]; | ||
| 144 | } | ||
| 145 | |||
| 146 | sub total_living_with_birthday { | ||
| 147 | my ($self, $month_index) = @_; | ||
| 148 | return "Numar total de rude cu data nasterii in " . $self->{months_array}[$month_index].": "; | ||
| 149 | } | ||
| 150 | |||
| 151 | 1; |