# esperantigu.nawk: Tiu cxi "nawk" ordonaro tradukukas jugxilajn # mesagxojn al Esperanto Se gxi ne faras tion, kion vi deziras, # bonvolu skribi al mi. Mi provos gxustigi. # # Jon.C.Stewart-Taylor@adn.alcatel.com Esperanto: La lingvo internacia. # * Diplomacy estas fabrikmarko registrita de Avalon-Hill Game Company. /^[>]*From:[ ]+.*Diploma.*[ ]+Adjudicator[ ]+<.*@.*>/ { sub(/.*.*/, ""); print "X-Jugxilo: " $1; next; } /^Return-Path:/ {next} /^Received:[ ]+/ {next;} /^Sender:[ ]+/ {next;} /^Message-Id:/ {next;} /^Subject:/ {next;} /^Date:/ {next;} /^Content-Type:/ {next;} /^[ ]+id[ ]+/ {next;} /^X-Mailer:/ {next;} /^Content-Type:/ {next;} /^Content-Transfer-Encoding:/ {next;} /^To:[ ]+.+@.+/ {next;} /^>From[ ]+.+@.+/ {next;} /Message sent to/ { sub(/Message sent to/, "Mesagxo sendita al"); sxangxu_landon(); print; getline; print; getline; sub(/Message from /, "Mesagxo sendita de "); sub(/ as /, " kiel "); sxangxu_landon(); sub(/ to /, " al "); sub(/ in /, " en "); print; getline; while ($0 !~ /End of message./) { sxangxu_landon(); sxangxu_centron(); print; getline; } sub(/End of message./,"Fino de mesagxo.") print; next; } /Broadcast message sent:/ { sub(/Broadcast message sent:/, "Mesagxo dissendita:"); sxangxu_landon(); print; getline; print; getline; sub(/Broadcast message from /, "Mesagxo dissendita de "); sub(/as a power in/, "rolante potencon en"); sub(/ as /, " kiel "); sub(/ in /, " en "); sxangxu_landon(); print; getline; while ($0 !~ /End of message./) { sxangxu_landon(); sxangxu_centron(); print; getline; } sub(/End of message./,"Fino de mesagxo.") print; next; } /Broadcast message from / { sub(/Broadcast message from /, "Mesagxo dissendita de "); sub(/ as /, " kiel "); sxangxu_landon(); sub(/ in /, " en "); print; while (getline == 1 && ($0 !~ /Return-Path:/)) { sxangxu_landon(); sxangxu_centron(); print; }; next; } # #---------------------------------------------------------------------- # /is waiting for/ { sub(/Diplomacy game/, "Diplomatio ludo"); sub(/is waiting for/, "atendas la ordonojn de"); sub(/'s orders./, "."); } { sub(/Diplomacy results/, "Diplomatio rezultoj"); sub(/You are already signed up to play a power in game/, "Vi jam enregistras ludu potencon en ludo"); sub(/Preference list is currently set to/, "Preferlisto nun estas"); sub(/as a power in/, "kiel potenco en"); sub(/Welcome to the/, "Bonvenu al la"); sub(/Diplomacy game/, "Diplomatio ludo"); sub(/Diplomacy notice/, "Diplomatia anonco"); sub(/Message from/, "Mesagxo de"); sub(/You have been selected as/, "Vin elektis esti"); sub(/The following players are in this game/, "Jen la ludantoj en tiu cxi ludo"); sub(/The deadline for the first movement orders is/, "La limdato por la unuaj movigxaj ordonoj estas"); sub(/Diplomacy Adjudicator!/, "Diplomatio Jugxilo!"); sub(/Games must be created by the Judge Keepers/, "Ludojn kreu nur la Jugxilanto"); sub(/Orders not received for all units. If complete orders are not/, "Ordonoj ne recivita por cxiu unuo. Se plenajn ordojn ne estas"); sub(/you will be considered late./, "vi estos malfruanto."); sub(/You will be considered abandoned if nothing is received by/, "Vi estos forlasanto se nenio estas ricevita antaux"); sub(/WARN: check convoy/, "Averto: kontrolu konvojon"); sub(/You have set 'wait' status so orders will not be processed/, "Vi petis atendi, tial ordonoj ne estos traktita"); sub(/'Wait' status set./, "Vi petis atendi."); sub(/Adjustment orders for/, "Algxustigaj ordonoj por"); sub(/Builds a fleet in/, "Konstruas sxiparon en"); sub(/Builds an army in/, "Konstruas soldataron en"); sub(/Retreat orders for/, "Retretaj ordonoj por"); sub(/The next phase of/, "La sekvanta fazo de"); sub(/The deadline for orders will be/, "La limdato por ordonoj estos"); sub(/Movement orders for/, "Movordonoj por"); sub(/Movement results for/, "Movrezultoj por"); sub(/The following units were dislodged/, "La jenaj unuoj estis dislokigitaj"); sub(/with no valid retreats was destroyed./, "kun neniu valida retreto estis detruita"); sub(/can retreat to/, "povas retreti al"); sub(/Ownership of supply centers:/, "Posedo de provizcentroj:"); sub(/Build waived/, "Konstruo formetita"); sub(/Starting position/, "Komenca pozicio"); sub(/No Order Processed./, "Neniu ordono traktita"); sub(/These powers will be considered abandoned and free for takeover/, "Tiuj cxi potencoj estos forlasitaj kaj estos anstatauxeblata"); sub(/if orders are not/, "se ordonoj ne estas"); # sxangxu_centron(); # sub(/F19/, "A19"); sub(/S19/, "P19"); sub(/W19/, "V19"); if ($0 ~ /19[0-9][0-9]B/) sub(/B$/, "K"); if ($0 ~ /19[0-9][0-9]B /) sub(/B /, "K "); sub(/starting/, "komencas"); sub(/game/, "ludo"); sub(/Master/, "Ludestro"); sub(/Observer/, "Rigardanto"); gsub(/before/, "antaux"); gsub(/will be/, "estos"); gsub(/The /, "La "); gsub(/HOLD/, "staras"); gsub(/ the /, " la "); gsub(/ in /, " en "); gsub(/ in$/, " en "); sub(/ to /, " al "); gsub(/ of /, " de "); gsub(/ for /, " por "); gsub(/ or /, " aux "); gsub(/ or$/, " aux "); sub(/ as /, " kiel "); gsub(/Unowned/, "Neposedatas"); gsub(/Adjustments/, "Algxustigoj"); gsub(/Retreats/, "Retretoj"); gsub(/ABANDONED/, "FORLASITA"); gsub(/DISBAND/, "disigxas"); gsub(/Supply centers/, "provizcentroj"); gsub(/Supply center/, "provizcentro"); gsub(/received by/, "ricevita je"); gsub(/Builds/, "konstruas"); gsub(/Removes/, "detruas"); gsub(/Units/, "unuoj"); gsub(/units/, "unuoj"); gsub(/Unit /, "unuo "); gsub(/unit /, "unuo "); gsub(/CONVOY/, "konvojas je"); gsub(/SUPPORT[sS]*/, "apogas je"); gsub(/Movement/, "Movigxo"); gsub(/Army/, "Soldataro en"); gsub(/army/, "soldataron"); gsub(/Fleet/, "Sxiparo en"); gsub(/fleet/, "sxiparon"); gsub(/coast/, "marbordo"); gsub(/north/, "norda"); gsub(/south/, "suda"); gsub(/east/, "orienta"); gsub(/west/, "okcidenta"); gsub(/Fall/, "Auxtuno"); gsub(/Winter/, "Vintro"); gsub(/Spring/, "Printempo"); gsub(/\cut/, "trancxita"); gsub(/void/, "nul"); gsub(/bounce/, "resaltas"); gsub(/dislodged/, "dislokigita"); gsub(/Judge/, "Jugxilo"); gsub(/Game/, "Ludo"); gsub(/Variant/, "Varianto"); gsub(/Deadline/, "Limdato"); gsub(/Standard/, "Normo"); gsub(/[ ]+Mon[ ]+/, " lundo "); gsub(/[ ]+Tue[ ]+/, " mardo "); gsub(/[ ]+Wed[ ]+/, " merkredo "); gsub(/[ ]+Thu[ ]+/, " jxauxdo "); gsub(/[ ]+Fri[ ]+/, " vendredo "); gsub(/[ ]+Sat[ ]+/, " sabato "); gsub(/[ ]+Sun[ ]+/, " dimancxo "); gsub(/[ ]+Jan[ ]+/, " januaro "); gsub(/[ ]+Feb[ ]+/, " februaro "); gsub(/[ ]+Mar[ ]+/, " marto "); gsub(/[ ]+Apr[ ]+/, " aprilo "); gsub(/[ ]+May[ ]+/, " majo "); gsub(/[ ]+Jun[ ]+/, " junio "); gsub(/[ ]+Jul[ ]+/, " julio "); gsub(/[ ]+Aug[ ]+/, " auxgusto "); gsub(/[ ]+Sep[ ]+/, " septembro "); gsub(/[ ]+Oct[ ]+/, " oktobro "); gsub(/[ ]+Nov[ ]+/, " novembro "); gsub(/[ ]+Dec[ ]+/, " decembro "); sxangxu_landon(); print; } # #---------------------------------------------------------------------- # function sxangxu_landon() { gsub(/Austrian/, "Auxstria"); gsub(/Austria/, "Auxstrio"); gsub(/England/, "Anglio"); gsub(/English/, "Angla"); gsub(/French/,"Franca"); gsub(/France/,"Francio"); gsub(/Germani/, "Germ-ni"); # permesas "germanio" en mesagxoj gsub(/Germany/, "Germ-nio"); gsub(/German/, "Germana"); gsub(/Germ-ni/, "Germani"); gsub(/Italy/, "Italio"); gsub(/Italian/, "Italia"); gsub(/Russian/, "Rusia"); gsub(/Russia/, "Rusio"); gsub(/Turkey/, "Turkio"); gsub(/Turkish/, "Turka"); gsub(/Master/, "Ludestro"); gsub(/Observer/, "Rigardanto"); } # #---------------------------------------------------------------------- # # #---------------------------------------------------------------------- # function sxangxu_centron() { gsub(/Adriatic Sea/,"Adria maro"); gsub(/Albania/,"Albanio"); gsub(/Ankara/,"Ankaro"); gsub(/Apulia/,"Apulio"); gsub(/Armenia/,"Armenio"); gsub(/Baltic Sea/,"Balta maro"); gsub(/Barents Sea/,"Barenca maro"); gsub(/Belgium/,"Belgio"); gsub(/Berlin/,"Berlino"); gsub(/Bohemia/,"Bohemio"); gsub(/Gulf of Bothnia/,"Botnia golfo"); gsub(/Brest/,"Bresto"); gsub(/Brestoo/,"Bresto"); gsub(/Budapest/,"Budapesxto"); gsub(/Bulgaria/,"Bulgario"); gsub(/Burgundy/,"Burgonjo"); gsub(/Denmark/,"Danio"); gsub(/Edinburgh/,"Edinburgo"); gsub(/Aegean Sea/,"Egea maro"); gsub(/Finnland/,"Finlando"); gsub(/Finland/,"Finlando"); gsub(/Galicia/,"Galicio"); gsub(/Gascony/,"Gaskonio"); gsub(/Gulf of Lyon/,"Golfo de Liono"); gsub(/Greece/,"Grekio"); gsub(/Helgoland Bight/,"Helgolanda golfo"); gsub(/Spain/,"Hispanio"); gsub(/Ionian Sea/,"Ionia maro"); gsub(/Irish Sea/,"Irlanda maro"); gsub(/Yorkshire/,"Jorksxiro"); gsub(/Kiel/,"Kielo"); gsub(/Wales/,"Kimrio"); gsub(/Clyde/,"Klajdo"); gsub(/Constantinople/,"Konstantinopolo"); gsub(/Liverpool/,"Liverpolo"); gsub(/Livonia/,"Livonio"); gsub(/London/,"Londono"); gsub(/English Channel/,"Maniko"); gsub(/Marseilles/,"Marsejlo"); gsub(/Mid-Atlantic Ocean/,"Mez-atlantika oceano"); gsub(/Moscow/,"Moskvo"); gsub(/Munich/,"Munkeno"); gsub(/Naples/,"Napolo"); gsub(/Holland/,"Nederlando"); gsub(/Black Sea/,"Nigra maro"); gsub(/North Africa/,"Nord-afriko"); gsub(/North Atlantic Ocean/,"Nord-atlantika oceano"); gsub(/North Sea/,"Norda maro"); gsub(/Norwegian Sea/,"Norvegia maro"); gsub(/Norway/,"Norvegio"); gsub(/Western Mediterranean/,"Okcidenta Mediteraneo"); gsub(/Eastern Mediterranean/,"Orienta Mediteraneo"); gsub(/Paris/,"Parizo"); gsub(/Piedmont/,"Piemonto"); gsub(/Picardy/,"Pikardio"); gsub(/Portugal/,"Portugalio"); gsub(/Prussia/,"Prusio"); gsub(/Rome/,"Romo"); gsub(/Rumania/,"Rumanio"); gsub(/Ruhr/,"Ruro"); gsub(/Sevastopol/,"Sebastopolo"); gsub(/Serbia/,"Serbio"); gsub(/Silesia/,"Silezio"); gsub(/Syria/,"Sirio"); gsub(/Skagerrak/,"Skagerako"); gsub(/St Petersburg/,"Sankta Petersburgo"); gsub(/Smyrna/,"Smirno"); gsub(/Sweden/,"Svedio"); gsub(/Switzerland/,"Svisio"); gsub(/Tyrrhenian Sea/,"Tirena maro"); gsub(/Tyrolia/,"Tirolo"); gsub(/Tuscany/,"Toskanio"); gsub(/Trieste/,"Triesto"); gsub(/Tunis/,"Tunizo"); gsub(/Ukraine/,"Ukrainio"); gsub(/Warsaw/,"Varsovio"); gsub(/Venice/,"Venecio"); gsub(/Vienna/,"Vieno"); } function sxangxu_mallongigxon() { gsub(/[Dd][Ee][Nn]/, "DAN"); gsub(/[Aa][Ee][Gg]/, "EGA"); gsub(/[Ll][Yy][Oo]/, "LIO"); gsub(/[Ss][Pp][Aa]/, "HIS"); gsub(/[Ii][Rr][Ii]/, "IRL"); gsub(/[Ww][Aa][Ll]/, "KIM"); gsub(/[Cc][Ll][Yy]/, "KLA"); gsub(/[Cc][Oo][Nn]/, "KON"); gsub(/[Ee][Nn][Gg]/, "MAN"); gsub(/[Hh][Oo][Ll]/, "NED"); gsub(/[Bb][Ll][Aa]/, "NIG"); gsub(/[Nn][Tt][Hh]/, "NOM"); gsub(/[Nn][Ww][Gg]/, "NVM"); gsub(/[Ww][Ee][Ss]/, "OKC"); gsub(/[Ee][Aa][Ss]/, "ORI"); gsub(/[Pp][Ii][Cc]/, "PIK"); gsub(/[Rr][Uu][Hh]/, "RUR"); gsub(/[Ss][Ee][Vv]/, "SEB"); gsub(/[Ss][Yy][Rr]/, "SIR"); gsub(/[Ss][Mm][Yy]/, "SMI"); gsub(/[Ss][Ww][Ee]/, "SVE"); gsub(/[Ss][Ww][Ii]/, "SVI"); gsub(/[Tt][Yy][Ss]/, "TIM"); gsub(/[Tt][Yy][Rr]/, "TIR"); gsub(/[Tt][Rr][Ll]/, "TIR"); gsub(/[Tt][Uu][Ss]/, "TOS"); gsub(/[Ww][Aa][Rr]/, "VAR"); }