Added other languages to warning message
parent
2d74653217
commit
92d5ae22d9
|
@ -23,7 +23,7 @@ namespace stardew_access.Features
|
|||
return;
|
||||
|
||||
int stamina = CurrentPlayer.Stamina;
|
||||
string toSpeak = MainClass.ModHelper.Translation.Get("warnings.label", new { type = "stamina", value = stamina });
|
||||
string toSpeak = MainClass.ModHelper.Translation.Get("warnings.stamina", new { value = stamina });
|
||||
|
||||
if ((stamina <= 50 && prevStamina > 50) || (stamina <= 25 && prevStamina > 25) || (stamina <= 10 && prevStamina > 10))
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ namespace stardew_access.Features
|
|||
return;
|
||||
|
||||
int health = CurrentPlayer.Health;
|
||||
string toSpeak = MainClass.ModHelper.Translation.Get("warnings.label", new { type = "health", value = health });
|
||||
string toSpeak = MainClass.ModHelper.Translation.Get("warnings.health", new { value = health });
|
||||
|
||||
if ((health <= 50 && prevHealth > 50) || (health <= 25 && prevHealth > 25) || (health <= 10 && prevHealth > 10))
|
||||
{
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"warnings.health": "Warnung! Die Gesundheit liegt bei {{value}} Prozent!",
|
||||
"warnings.stamina": "Warnung! Ausdauer beträgt ar {{value}} Prozent!"
|
||||
}
|
|
@ -1,3 +1,4 @@
|
|||
{
|
||||
"warnings.label": "Warning! {{type}} is at {{value}} percent!"
|
||||
"warnings.health": "Warning! Health is at {{value}} percent!",
|
||||
"warnings.stamina": "Warning! Stamina is at {{value}} percent!"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"warnings.health": "¡Advertencia! ¡La salud está al {{value}} por ciento!",
|
||||
"warnings.stamina": "¡Advertencia! ¡La resistencia es un {{value}} por ciento!"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"warnings.health": "Avertissement! La santé est à {{value}} pour cent!",
|
||||
"warnings.stamina": "Avertissement! L'endurance est à {{value}} pour cent!"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"warnings.health": "Figyelem! Az egészségi állapot {{érték}} százalék!",
|
||||
"warnings.stamina": "Figyelem! Az állóképesség {{value}} százalék!"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"warnings.health": "Avvertimento! La salute è al {{value}} percento!",
|
||||
"warnings.stamina": "Avvertimento! La resistenza è al {{value}} percento!"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"warnings.health": "警告!健康状態は{{value}}パーセントです!",
|
||||
"warnings.stamina": "警告!スタミナは{{value}}パーセントです!"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"warnings.health": "경고! 건강은 {{value}}퍼센트입니다!",
|
||||
"warnings.stamina": "경고! 체력은 {{value}}퍼센트입니다!"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"warnings.health": "Aviso! A saúde está em {{value}} por cento!",
|
||||
"warnings.stamina": "Aviso! A resistência está em {{value}} por cento!"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"warnings.health": "Предупреждение! Здоровье составляет {{value}} процентов!",
|
||||
"warnings.stamina": "Предупреждение! Выносливость составляет {{value}} процентов!"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"warnings.health": "Uyarı! Sağlık yüzde {{değer}}!",
|
||||
"warnings.stamina": "uyarı! Dayanıklılık yüzde {{değer}}!"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"warnings.health": "警告!健康状况为 {{value}} 百分!",
|
||||
"warnings.stamina": "警告!耐力为 {{value}} 百分!"
|
||||
}
|
Loading…
Reference in New Issue