From 9098d281f2407f26c585afcf083a3ed6b8c6dc4e Mon Sep 17 00:00:00 2001 From: navarchus Date: Fri, 23 Aug 2024 00:33:32 -0400 Subject: [PATCH 1/3] add localization entry for location_too_far --- .../main/resources/assets/hexcasting/lang/en_us.flatten.json5 | 1 + 1 file changed, 1 insertion(+) diff --git a/Common/src/main/resources/assets/hexcasting/lang/en_us.flatten.json5 b/Common/src/main/resources/assets/hexcasting/lang/en_us.flatten.json5 index 622d4f748..479386eb1 100644 --- a/Common/src/main/resources/assets/hexcasting/lang/en_us.flatten.json5 +++ b/Common/src/main/resources/assets/hexcasting/lang/en_us.flatten.json5 @@ -866,6 +866,7 @@ wrong_dimension: "cannot see %s from %s", entity_too_far: "%s is out of range", + location_too_far: "Location is out of range", immune_entity: "cannot alter %s", eval_too_deep: "Recursively evaluated too deep", no_item: "needs %s but got nothing", From c39f6f33e001b6eec481406b136c02e9115a6a3c Mon Sep 17 00:00:00 2001 From: navarchus Date: Fri, 23 Aug 2024 13:30:36 -0400 Subject: [PATCH 2/3] yep this works --- .../main/resources/assets/hexcasting/lang/en_us.flatten.json5 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Common/src/main/resources/assets/hexcasting/lang/en_us.flatten.json5 b/Common/src/main/resources/assets/hexcasting/lang/en_us.flatten.json5 index 479386eb1..596b0c19f 100644 --- a/Common/src/main/resources/assets/hexcasting/lang/en_us.flatten.json5 +++ b/Common/src/main/resources/assets/hexcasting/lang/en_us.flatten.json5 @@ -866,7 +866,6 @@ wrong_dimension: "cannot see %s from %s", entity_too_far: "%s is out of range", - location_too_far: "Location is out of range", immune_entity: "cannot alter %s", eval_too_deep: "Recursively evaluated too deep", no_item: "needs %s but got nothing", @@ -956,7 +955,7 @@ bool_commute: "a boolean, 0, or 1", }, - location: { + location_: { too_far: "%s is out of range", out_of_world: "%s is not within the world", too_close_to_out: "%s is too close to the boundary of the world", From a8fc077fdd8d212cd4c004aaaa5caabb7088047c Mon Sep 17 00:00:00 2001 From: navarchus Date: Fri, 23 Aug 2024 13:47:35 -0400 Subject: [PATCH 3/3] china and russia can have translations too I guess --- .../main/resources/assets/hexcasting/lang/ru_ru.flatten.json5 | 2 +- .../main/resources/assets/hexcasting/lang/zh_cn.flatten.json5 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Common/src/main/resources/assets/hexcasting/lang/ru_ru.flatten.json5 b/Common/src/main/resources/assets/hexcasting/lang/ru_ru.flatten.json5 index 825c5df48..c29259840 100644 --- a/Common/src/main/resources/assets/hexcasting/lang/ru_ru.flatten.json5 +++ b/Common/src/main/resources/assets/hexcasting/lang/ru_ru.flatten.json5 @@ -946,7 +946,7 @@ bool_commute: "Логика - 0 или 1", }, - location: { + location_: { too_far: "%s находится вне диапазона", out_of_world: "%s находится за пределами этого мира", too_close_to_out: "%s находится слишком близко к границе мира", diff --git a/Common/src/main/resources/assets/hexcasting/lang/zh_cn.flatten.json5 b/Common/src/main/resources/assets/hexcasting/lang/zh_cn.flatten.json5 index 372adb02c..93afd2a2f 100644 --- a/Common/src/main/resources/assets/hexcasting/lang/zh_cn.flatten.json5 +++ b/Common/src/main/resources/assets/hexcasting/lang/zh_cn.flatten.json5 @@ -951,7 +951,7 @@ bool_commute: "一个布尔值、0或1", }, - location: { + location_: { too_far: "%s超出影响范围", out_of_world: "%s不在此世界内", too_close_to_out: "%s离世界边界太近了",