ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.72k stars 625 forks source link

[CS 1.6][Spanish] [Translations] commandmenu.txt not using utf-8 #2515

Open Maxi605 opened 5 years ago

Maxi605 commented 5 years ago

In the commandmenu.txt of the spanish translations the symbols and accents we use aren't beign display

Example:

// Map Specific

    MAP cs_siege "1" "mapa cs_siege"
    {
        "1" "'Id por los subterráneos'" "say_team Id por los subterraneos!"
        "2" "'Enemigo en aparcamientos'" "say_team Enemigo en aparcamientos!"
        "3" "'¡A la sala de rehenes!'"   "say_team A la sala de rehenes!"
        "4" "'¡Francotiradores!'"  "say_team Francotiradores!"
        "5" "'Tomad la ruta superior'"  "say_team Tomad la ruta superior!"
    }

and the say_team message is not using the same message, it's not using the accents either

https://imgur.com/r7pUSgw

Also in motd.txt the game version is missing and there's an old message that isn't used

Estás jugando a Counter-Strike 1.5
Visita el sitio web oficial de CS en
www.counter-strike.net

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title>Cstrike MOTD</title>
<style type="text/css">
pre     {
        font-family:Verdana,Tahoma;
        color:#FFB000;
        }
body    {
        background:#000000;
        margin-left:8px;
        margin-top:0px;
        }
a   {
        text-decoration:    underline;
    }
a:link  {
    color:  #FFFFFF;
    }
a:visited   {
    color:  #FFFFFF;
    }
a:active    {
    color:  #FFFFFF;
    }
a:hover {
    color:  #FFFFFF;
    text-decoration:    underline;
    }
</style>
</head>
<body scroll="no">
<pre>
Estás jugando a Counter-Strike
Visita el sitio web oficial de CS en
<a href="http://www.counter-strike.net">www.counter-strike.net</a>
</pre>
</body>
</html>

This should be removed from the file as its not used Estás jugando a Counter-Strike 1.5 Visita el sitio web oficial de CS en www.counter-strike.net

and this should be changed from this <pre> Estás jugando a Counter-Strike Visita el sitio web oficial de CS en <a href="http://www.counter-strike.net">www.counter-strike.net</a> </pre>

to this

<pre> Estás jugando a Counter-Strike 1.6 Visita el sitio web oficial de CS en <a href="http://www.counter-strike.net">www.counter-strike.net</a> </pre>

mikela-valve commented 5 years ago

@Maxi605 The MOTD file should be updated in CS beta 8260. I'll have to look more into why the command menu isn't using UTF-8 or even using a reasonable code page where those accented characters would be supported.

Maxi605 commented 5 years ago

@Maxi605 The MOTD file should be updated in CS beta 8260. I'll have to look more into why the command menu isn't using UTF-8 or even using a reasonable code page where those accented characters would be supported.

motd.txt seems fine on beta, thanks.