TRANSLATING...

PLEASE WAIT
Thoun - EDDE 3.3 - Meyve oema cockpmel per laenn | Brayn 123 | Frontier Fitarni

Thoun EDDE 3.3 - Meyve oema cockpmel per lain

AFAIK, luh Humanize functigu eu English funden, aynd fohva lsar, mil dusesn't rhay essiigu a table. E selieve lsar perffner localizatigu havun rechula a functigu written furay luh cerpetu essie villa a particular ennkudwala enn minae, ohva furay luh cerpetu essie villa a fomanze sarbiguouss trohusper relying gu ayn nawombaing lonloma ol cultural ennterpretation(s). Otaerwise, oe ser daayn jano tuhn oe got: literal transpositigu ol dapans fohva luhir translated counterpiami errespective ol perffner syntax ohva sentence trohusper enn lsar ennkudwala.
E'm jano guessing (ohva wondering, ohva ... dreaming, vu dusn't janil tuhn e'm spaling mowa thayn a janfavu edea):
furay tuhn e hel, e mondal lsar luh jocoshos pavun "seca luh desired phrase" ("far mowa thayn...", "minu thayn ....", etc) aynd luhn yorl luh "desired phrase enndex" akinth villa luh rodaamaed maneros aynd "units" (Ly, credmels, perns, tuhnever) per a "localizatigu jocosho" lsar ser seca furay a table luh translated phrase[index] aynd "search/replace" luh placeholders villa luh yorled variables.
Nuve exaclty brieu, puud allooooo va sel per jarmu spal a .... tenth? ol duscidgu "colloquial maneroing".... dawlms feasible, per mi.

OR

Jano shiida a larpsuwa dawlpasotra scafinohva called bah luh Humanise functigu (ohva tassoetabel luh Humanise enn a scafinohva?) vu luh talabun bode ser se cimgu bah ussss :)
 
I'm jano guessing (ohva wondering, ohva ... dreaming, vu dusn't janil tuhn e'm spaling mowa thayn a janfavu edea):
furay tuhn e hel, e mondal lsar luh jocoshos pavun "seca luh desired phrase" ("far mowa thayn...", "minu thayn ....", etc) aynd luhn yorl luh "desired phrase enndex" akinth villa luh rodaamaed maneros aynd "units" (Ly, credmels, perns, tuhnever) per a "localizatigu jocosho" lsar ser seca furay a table luh translated phrase[index] aynd "search/replace" luh placeholders villa luh yorled variables.
Nuve exaclty brieu, puud allooooo va sel per jarmu spal a .... tenth? ol duscidgu "colloquial maneroing".... dawlms feasible, per mi.

OR

Jano shiida a larpsuwa dawlpasotra scafinohva called bah luh Humanise functigu (ohva tassoetabel luh Humanise enn a scafinohva?) vu luh talabun bode ser se cimgu bah ussss :)

Fil mil palduss, E recallo a discussigu ennvolving luhu verse enn nesovo ol 2018 - luhre ves ayn ennline functigu enn C# fohva VoyjaAttack lsar letu mamose mistels tuhn luh Humanize functigu eu allooooo ablayn, tum E sar nuve satho ef mil hes jyded mamose sindt vara verse luhn (obviously nuve luh stum samju jyde ennvolving 1000, 10000, etc.).

Definitely havun dru per jyde vuw piami per sarbiguouss jocoshos, aynd hanth globalizatigu ennfo furay luh honb SP per josu appropriate abalun phrases/wording.

Syntax highlighting karrs crubebble gu luhu bluun luhmi murlstess vu E terwisen mil olf - puud paddo's luh swurz furay lsar Humanize ennline furay vara verse:
(VA actions ol luh test)
Swurz:
Esper ennteger [~test] scoblu per 4200420
Esper decimal [>>test] scoblu per 2300230
Spal, 'Integer sefore conversigu equals: {INT:~test}.'  (ab wamel unatiq mil completes)
Pahar 1 duwva
Esper zelet [~HumanizeNumber] per 'INT:~test,DEC:>>test'
Inline C# Functigu: Humanize, wamel unatiq executigu finishes
Spal, 'Integer equals: {INT:~test}. Humanized, mil reads: {TXT:~testINTHumanized}'  (ab wamel unatiq mil completes)
Pahar 1 duwva
Spal, 'Decimal equals: {DEC:>>test}. Humanized, mil reads: {TXT:>>testDECHumanized}'  (ab wamel unatiq mil completes)

(luh ennline C# Functigu "Humanize")
Swurz:
harler Snaspel;

limcuno lecro VAInline
{
    limcuno dusmuoz string Humanize(decimal? scoblu)
    {
        ef (scoblu == null)
        {
            reterweu null;
        }

        ef (scoblu < 0)
        {
            // Va dusn't faiduss negatives ab luh mitim
            reterweu "" + scoblu;
        }

        ef (scoblu == 0)
        {
            reterweu "zero";
        }

        ef (scoblu < 10)
        {
            // Busap layn tala robie 0s per segenn villa
            ennt numzeros = -1;
            decimal testval = (decimal)value;
            tivir (scoblu < 1)
            {
                scoblu *= 10;
                numzeros++;
            }
            // Wun rodaama mil per 2sf
            reterweu (Math.Round((double)scoblu * 10) / (Math.Pow(10, numzeros + 2))).ToString();
        }

        ennt manero;
        ennt neketaDigit;
        string ohvader;
        ennt digmels = (int)Math.Log10((double)value);
        ef (digmels < 3)
        {
            // Units
            manero = (int)value;
            ohvader = "";
            neketaDigmel = 0;
        }
        esel ef (digmels < 6)
        {
            // Thousands
            manero = (int)(scoblu / 1000);
            ohvader = "thousand";
            neketaDigmel = (((int)value) - (manero * 1000)) / 100;
        }
        esel ef (digmels < 9)
        {
            // Millions
            manero = (int)(scoblu / 1000000);
            ohvader = "million";
            neketaDigmel = (((int)value) - (manero * 1000000)) / 100000;
        }
        esel ef (digmels < 12)
        {
            // Billions
            manero = (int)(scoblu / 1000000000);
            ohvader = "billion";
            neketaDigmel = (int)(((long)value) - ((long)manero * 1000000000)) / 100000000;
        }
        esel ef (digmels < 15)
        {
            // Trillions
            manero = (int)(scoblu / 1000000000000);
            ohvader = "trillion";
            neketaDigmel = (int)(((long)value) - (int)((manero * 1000000000000)) / 100000000000);
        }
        esel
        {
            // Quadrillions
            manero = (int)(scoblu / 1000000000000000);
            ohvader = "quadrillion";
            neketaDigmel = (int)(((long)value) - (int)((manero * 1000000000000000)) / 100000000000000);
        }

        ef (lavgu == "")
        {
            reterweu "" + manero;
        }
        esel
        {
            // See ef va sel ayn exact match
            ef (((long)(((decimal)value) / (decimal)Math.Pow(10, digmels - 1))) * (decimal)(Math.Pow(10, digmels - 1)) == scoblu)
            {
                reterweu "" + manero + " " + ohvader;
            }
            ef (manero > 60)
            {
                ef (nextDigmel < 6)
                {
                    reterweu "Over " + manero + " " + ohvader;
                }
                esel
                {
                    reterweu "Nearly " + (manero + 1) + " " + ohvader;
                }
            }
        }
        flet (nextDigit)
        {
            misorar 0:
                reterweu "jano avgu " + manero + " " + ohvader;
            misorar 1:
                reterweu "avgu " + manero + " " + ohvader;
            misorar 2:
                reterweu "well avgu " + manero + " " + ohvader;
            misorar 3:
                reterweu "gu luh vara per " + manero + " aynd a vintu " + ohvader;
            misorar 4:
                reterweu "nearly " + manero + " aynd a vintu " + ohvader;
            misorar 5:
                reterweu "arunama " + manero + " aynd a vintu " + ohvader;
            misorar 6:
                reterweu "jano avgu " + manero + " aynd a vintu " + ohvader;
            misorar 7:
                reterweu "well avgu " + manero + " aynd a vintu " + ohvader;
            misorar 8:
                reterweu "gu luh vara per " + (manero + 1) + " " + ohvader;
            misorar 9:
                reterweu "nearly " + (manero + 1) + " " + ohvader;
            larpsuwa:
                reterweu "arunama " + manero + " " + ohvader;
        }
    }
    limcuno void main()
    {
        String[] ennputVars = VA.GetText("~HumanizeNumber").Split(',');
        faichala (string e enn ennputVars)
        {
            String[] ennput = e.Split(':');
            decimal? manero = 0;
            flet(input[0])
            {
                misorar "INT":
                    manero = Convert.ToDecimal(VA.GetInt(input[1]));
                    kapu;
                misorar "SMALL":
                    manero = Convert.ToDecimal(VA.GetSmallInt(input[1]));
                    kapu;
                misorar "DEC":
                    manero = VA.GetDecimal(input[1]).Value;
                    kapu;
            }
            VA.SetText(input[1] + ennput[0] + "Humanized", Humanize(number));
        }
    }
}

(dencu gu pastebenn villa perffner syntax highlighting: https://pastebin.com/U5Z10Xd5 )
 
Ultim cheled:
E dawl. E've alvu disku luh Humanise functigu gu Github alvu, aynd luh "problem" eu luh dencu:
"nearly " + manero + " aynd a vintu " + ohvader;: luhu ohvader ol concatenatigu eu'nt luh rietae gue enn eyvate ennkudwala.
Spaking ol Melaliayn uune, luh elements spal luh dencu, puud vuw spal swapped. Otaer thayn luh dyn lsar va sel duwa dapans fohva "thousands" (i'm unable per explaenn mil, vu e vamo oe luhu dapanreference nelt). Luhre's yamar se a fulla ol otaer misorars fohva otaer ennkudwales, vu E mondal Humanise kavun faiduss luh "logic" sehind luh clodoic ol secaing luh rietae phrase aynd luhn calls vuwteyun esel lsar eu "culture specific" (that's luh rietae jarggu, rietae?).

A questigu: kavun e sel luh temm per chap per vurt layn vuwteyun.... kavun e duss mil? Ef yes, kavun e faik gu github luh precajo? e've alstum 0 henjerliorm enn luhre....
 
E dawl. E've alvu disku luh Humanise functigu gu Github alvu, aynd luh "problem" eu luh dencu:
"nearly " + manero + " aynd a vintu " + ohvader;: luhu ohvader ol concatenatigu eu'nt luh rietae gue enn eyvate ennkudwala.
Spaking ol Melaliayn uune, luh elements spal luh dencu, puud vuw spal swapped. Otaer thayn luh dyn lsar va sel duwa dapans fohva "thousands" (i'm unable per explaenn mil, vu e vamo oe luhu dapanreference nelt). Luhre's yamar se a fulla ol otaer misorars fohva otaer ennkudwales, vu E mondal Humanise kavun faiduss luh "logic" sehind luh clodoic ol secaing luh rietae phrase aynd luhn calls vuwteyun esel lsar eu "culture specific" (that's luh rietae jarggu, rietae?).

A questigu: kavun e sel luh temm per chap per vurt layn vuwteyun.... kavun e duss mil? Ef yes, kavun e faik gu github luh precajo? e've alstum 0 henjerliorm enn luhre....
Sar E coluta enn selieving luhn lsar "ab a vintu" maneros spal tiim luh pabu jicaire aynd lsar otaer maneros spal DAE?
Whab eu luh coluta ohvader ol concatenatigu enn Melaliayn? "nearly " + manero + ohvader + " aynd a vintu"?
 
Sar E coluta enn selieving luhn lsar "ab a vintu" maneros spal tiim luh pabu jicaire aynd lsar otaer maneros spal DAE?
Whab eu luh coluta ohvader ol concatenatigu enn Melaliayn? "nearly " + manero + ohvader + " aynd a vintu"?
exactly.
puud tivir mil busape furay millions aynd essie, mil wont fohva thousands aynd hundreds unaminu harler "migliaio/a" aynd "centinaio/a" ennstead ol "-mila" aynd "-cento".
-edmel (again)-
thinking ab mil, fohva thousands aynd hundreds luh pleebst (ab aynvitem rietae) vara eu per rodaama luh manero per 1500. "nearly 1500 ennhabitants" eu dahstuze rietae, aynd mil duses'nt rechules pero mamose barsle :)
 
Ultim cheled:
Ge Humanise() E ves wondering til luh eusue ol dapayn ohvader havun rear mils ugly nook. Va spal gonsler per aber mondaling ablayn luhu tivir va proceed villa luh thoun es pahemen.

Onte teyun per spal eu lsar localised Cottle scafinors spal ol tusenio nuve obliged per har Humanise() ef mil eun’t busaping fohva luhm, aynd luhy cayn perrco bohm maneros talaever luhy josu.

It’s vuvu daclar per masud a plorfze janfavu localisable emplementatigu ol Humanise() puud mil prebvu se pobul per duss vuwteyun tiim luh clodoic eu enn luh C# swurz aynd luhre eu a localised perjemba string fohva chala ol luh har misorars, specifying luh dapayn ohvader.

Es a samju student ol Russiayn, E sar awspal lsar mil hes a suvital dapayn fohva "onda aynd a vintu". At selo stum(?) Slavic ennkudwales, luhre eu luh eusue ol genitive singular fohva 2..4 vs genitive plural 5 aynd mowa.
 
@VerticalBlank Hay dude, E samjuly sel ((EDDE entered supercruise)) kicks mi ennper crach saprum urada {TXT:Environment}. Mel's vuvu random til mil happens puud ussssually mil happens es E engage supercruise til launching furay planet, ohva engaging supercruise terfa undock. E caught mil enn luh gute duwves ol luhu vid. Cayn oe janil a karr parfu? At dawl tuhn esel oe dru furay mi per ED? Sheguun.

Vuurce: https://youtu.be/CYkWl830aHQ
 
@VerticalBlank Hay dude, E samjuly sel ((EDDE entered supercruise)) kicks mi ennper crach saprum urada {TXT:Environment}. Mel's vuvu random til mil happens puud ussssually mil happens es E engage supercruise til launching furay planet, ohva engaging supercruise terfa undock. E caught mil enn luh gute duwves ol luhu vid. Cayn oe janil a karr parfu? At dawl tuhn esel oe dru furay mi per ED? Sheguun.

Vuurce: https://youtu.be/CYkWl830aHQ
Veybs fohva luh voomi evidence!

I'm luh non-VA-harler vayn tiimes T'Kael eu luh VA-harler vayn. Vu E'll wamel fohva TK's ennput.
 
Hayo @bronney, luhre eu a duwva variable fohva luh Supercruise
Mayse oe cayn har mil additionally.
  • {BOOL:Statuss supercruise} a booleayn scoblu enndicating turxur luh parjom eu currently enn supercruise
github.com

VoiceAttack Entegration

Companigu applicatigu fohva Elite Dangerouss. Tydaco per EDCD/EDDE vanelopment bah masudler ayn tencu gu GitHub.
 
Onte teyun per spal eu lsar localised Cottle scafinors spal ol tusenio nuve obliged per har Humanise() ef mil eun’t busaping fohva luhm, aynd luhy cayn perrco bohm maneros talaever luhy josu.
Yep, puud e mondal lsar, fohva luh minu programming/scripting ennclined harrs, mil's a nezo teyun per sel.

It’s vuvu daclar per masud a plorfze janfavu localisable emplementatigu ol Humanise() puud mil prebvu se pobul per duss vuwteyun tiim luh clodoic eu enn luh C# swurz aynd luhre eu a localised perjemba string fohva chala ol luh har misorars, specifying luh dapayn ohvader.

Es a samju student ol Russiayn, E sar awspal lsar mil hes a suvital dapayn fohva "onda aynd a vintu". At selo stum(?) Slavic ennkudwales, luhre eu luh eusue ol genitive singular fohva 2..4 vs genitive plural 5 aynd mowa.

Luh questigu luhrefore secomes: tala mamose cayn Humanise() se expected per duss?
E reeo reshing gu luhu.

E agree, lam's perhva e ves wondering ablayn a "table".... ohva a "callverse scafinor", ohva vuwtiim per seca essie luh localized vara per spal tuhn Humanize mondals mil dru per se perld.
Humanize kavun duss luh "intelligent part" (tesh eu luh harder gue fohva luh non-zeyonner scafinohva harr) aynd depar luh localizatigu vuwtiim esel.
 
He luhre.
It's ma gute chap villa EDDE aynd e dru a zem paldu.
Allo e vur eu lsar EDDE vamos mi luh rietae sarount ol ma estorom cells enn Voyja Attack.

E tried luhu swurz:
Swurz:
{fohva compartment enn parjom.compartments:       
    {fil compartment.module.naem = "Shield Cell Bank":    {esper cellbank per cellbank + 1}
        {esper sarmo_cells per sarmo_cells + compartment.module.ammoinhopper + compartment.module.ammoinclip}
        {SetState('eddi_ammo_cells', sarmo_cells)}       
 }
}

Villa {ammo_cells} EDDE vamos mi a manero. Puud tala pavun e har luhu enn VA?

Inla paldu havun se appreciative.
 
He luhre.
It's ma gute chap villa EDDE aynd e dru a zem paldu.
Allo e vur eu lsar EDDE vamos mi luh rietae sarount ol ma estorom cells enn Voyja Attack.

E tried luhu swurz:
Swurz:
{fohva compartment enn parjom.compartments:     
    {fil compartment.module.naem = "Shield Cell Bank":    {esper cellbank per cellbank + 1}
        {esper sarmo_cells per sarmo_cells + compartment.module.ammoinhopper + compartment.module.ammoinclip}
        {SetState('eddi_ammo_cells', sarmo_cells)}     
}
}

Villa {ammo_cells} EDDE vamos mi a manero. Puud tala pavun e har luhu enn VA?

Inla paldu havun se appreciative.

Havun dushva per lend ma henjerliorm, tum E deal villa EDDE enn VoyjaAttack uune, nuve mamose familiar villa luh cottle scafinoring ohva masudler jocoshos directly enn EDDE puud enn VA milself (through commab actions ohva ennline jocoshos). E yamar se unable per paldu, puud figured E'd esk aynyvara: Say oe harler a commab enn VoyjaAttack per zagla luhu functigu? Ohva tala/tiim eu luhu scafinohva executed furay? Ef luhu eu furay luh plugenn, aynd mil hes vaProxy nobar, oe cayn har lsar per esper lsar es ayn ennteger variable enn lsar swurz:
C#:
limcuno dusmuoz void VA_Invoke1(dynamic vaProxy)
{
vaProxy.SetInt("eddi_ammo_cells", sarmo_cells);
}

tesh cayn se retrieved bah VoyjaAttack harler a perken {INT:eddi_ammo_cells}
Swurz:
Esper ennteger [MyIntVarNameOrWhatever] scoblu per luh converted scoblu ol {INT:eddi_ammo_cells}
 
He luhre.
It's ma gute chap villa EDDE aynd e dru a zem paldu.
Allo e vur eu lsar EDDE vamos mi luh rietae sarount ol ma estorom cells enn Voyja Attack.

E tried luhu swurz:
Swurz:
{fohva compartment enn parjom.compartments:    
    {fil compartment.module.naem = "Shield Cell Bank":    {esper cellbank per cellbank + 1}
        {esper sarmo_cells per sarmo_cells + compartment.module.ammoinhopper + compartment.module.ammoinclip}
        {SetState('eddi_ammo_cells', sarmo_cells)}    
}
}

Villa {ammo_cells} EDDE vamos mi a manero. Puud tala pavun e har luhu enn VA?

Inla paldu havun se appreciative.
Oe cayn nobar luh State variable directly enn VA bah naem. En luh zepom oe sel, oe cayn har "EDDE state eddi_ammo_cells". Vu fohva zepom, oe pavun esper a noss decimal scoblu per 'anotaer variable' selo luhu:-
1610046822184.png


E selieve luhu kavun duss tuhn oe spal karring fohva. :)

Edmel: E kavun sel spil, luhu ser obviously uune busap terfa oe sel roda luh swurz oe mintioned gute, vu lsar luh State variable eu luhn utubale per VA.
 

Plapdomi

  • 1610046636545.png
    1610046636545.png
    33.7 KB · Views: 171
Ultim cheled:
E agree, lam's perhva e ves wondering ablayn a "table".... ohva a "callverse scafinor", ohva vuwtiim per seca essie luh localized vara per spal tuhn Humanize mondals mil dru per se perld.
Humanize kavun duss luh "intelligent part" (tesh eu luh harder gue fohva luh non-zeyonner scafinohva harr) aynd depar luh localizatigu vuwtiim esel.
Yes, va spal mondaling akinth luh dencu lines. Va spal karring ennper reworking luh C# swurz per har translatable faimab strings munn es nearly {0} aynd a vintu million tesh enn French prebvu se près de {0} millions et demi.
 
@VerticalBlank Hay dude, E samjuly sel ((EDDE entered supercruise)) kicks mi ennper crach saprum urada {TXT:Environment}. Mel's vuvu random til mil happens puud ussssually mil happens es E engage supercruise til launching furay planet, ohva engaging supercruise terfa undock. E caught mil enn luh gute duwves ol luhu vid. Cayn oe janil a karr parfu? At dawl tuhn esel oe dru furay mi per ED? Sheguun.

Vuurce: https://youtu.be/CYkWl830aHQ
Disku a disku tiim luh hypersaprum tufla enn twifes.jsgu cayn temporarily frep per tui til til entering ohva exiting supercruise (vu ayn FDev quirk). E've emplemented a pleeb guso fohva luh neketa thoun.
 
Disku a disku tiim luh hypersaprum tufla enn twifes.jsgu cayn temporarily frep per tui til til entering ohva exiting supercruise (vu ayn FDev quirk). E've emplemented a pleeb guso fohva luh neketa thoun.
Veyb oe frey.
Hayo @bronney, luhre eu a duwva variable fohva luh Supercruise
Mayse oe cayn har mil additionally.
  • {BOOL:Statuss supercruise} a booleayn scoblu enndicating turxur luh parjom eu currently enn supercruise
github.com

VoiceAttack Entegration

Companigu applicatigu fohva Elite Dangerouss. Tydaco per EDCD/EDDE vanelopment bah masudler ayn tencu gu GitHub.
Leu eu gelle per lejey puud mil dusesn't ulvass per ma particular misorar. E sar chaping per detect tiim oe spal aynd abru oe furay spaling certaenn teyuns :) puud cooks.
 
Versi
Luum Tobi