ItsDeltin / Overwatch-Script-To-Workshop

Converts scripts to Overwatch workshops.
209 stars 26 forks source link

Translation for "Team.All" and "PlayerSelector.All" #272

Open MarbasFR opened 3 years ago

MarbasFR commented 3 years ago

In french Team.All must be "Les deux" and PlayerSelector.All must be "Tout". When I generate the script in french, if I define "All" = "Tout", the final script look like that :

règle("Règle 57")
{
    évènement
    {
        Toute la partie - Chaque joueur;
        Tout;
        Tout;
    }
[..]
}

instead of that :

règle("Règle 57")
{
    évènement
    {
        Toute la partie - Chaque joueur;
        Les deux;
        Tout;
    }
[..]
}

I've no idea how to resolve this problem except having a specific keystring for each in the translation files

Zensonaton commented 2 years ago

can confirm that there is a problem. some workshop values should not be translated, otherwise workshop will throw an error. for example, rules: