Skip to content

Commit

Permalink
sync crowdin
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Nov 22, 2024
1 parent ea21b42 commit fa0e49e
Show file tree
Hide file tree
Showing 46 changed files with 35,000 additions and 4,638 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ author = masa
mod_file_name = litematica-fabric

# Current mod version
mod_version = 0.20.0-sakura.3
mod_version = 0.20.0

# Required malilib version
malilib_version = 0.22.0-sakura.3
malilib_id = e51ccdcc4e
malilib_version = 0.22.0
malilib_id = 87b684e52f

# Minecraft, Fabric Loader and API and mappings versions
minecraft_version_out = 1.21.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,10 @@ protected static boolean preparePickedStack(BlockPos pos, BlockState state, Bloc
World world, MinecraftClient mc,
@Nonnull DynamicRegistryManager registryManager)
{
if (mc.player == null || mc.interactionManager == null)
{
return false;
}
ItemStack stack = state.getBlock().getPickStack(world, pos, state);

if (stack.isEmpty() == false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public static Schema getSchemaByVersion(int dataVersion)
public enum Schema
{
// Minecraft Data Versions
//SCHEMA_1_21_04 (4250, "1.21.4"),
SCHEMA_1_21_04 (4179, "1.21.4"), // 1.21.4-pre.1
SCHEMA_24W45A (4177, "24w45a"),
SCHEMA_1_21_03 (4082, "1.21.3"),
SCHEMA_24W37A (4065, "24w37a"),
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/fi/dy/masa/litematica/util/InventoryUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ public static void setPickedItemToHand(int sourceSlot, ItemStack stack, Minecraf
public static void schematicWorldPickBlock(ItemStack stack, BlockPos pos,
World schematicWorld, MinecraftClient mc)
{
if (mc.player == null || mc.interactionManager == null || mc.world == null)
{
return;
}
if (stack.isEmpty() == false)
{
PlayerInventory inv = mc.player.getInventory();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public WorldSchematic(MutableWorldProperties properties,
RegistryEntry<DimensionType> dimension,
@Nullable WorldRendererSchematic worldRenderer)
{
super(properties, REGISTRY_KEY, !registryManager.equals(DynamicRegistryManager.EMPTY) ? registryManager : SchematicWorldHandler.INSTANCE.getRegistryManager(), dimension, true, false, 0L, 0);
super(properties, REGISTRY_KEY, !registryManager.equals(DynamicRegistryManager.EMPTY) ? registryManager : SchematicWorldHandler.INSTANCE.getRegistryManager(), dimension, false, false, 0L, 0);

this.mc = MinecraftClient.getInstance();
if (this.mc == null || this.mc.world == null)
Expand Down
920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/af_ZA.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/ar_SA.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/ca_ES.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/cs_CZ.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/da_DK.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/de_DE.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/el_GR.json

Large diffs are not rendered by default.

918 changes: 918 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/en_PT.json

Large diffs are not rendered by default.

918 changes: 918 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/en_US.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/es_ES.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/fi_FI.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/fr_FR.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/he_IL.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/hu_HU.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/it_IT.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/ja_JP.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/ko_KR.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/nl_NL.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/no_NO.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/pl_PL.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/pt_BR.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/pt_PT.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/ro_RO.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/ru_RU.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/sr_SP.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/sv_SE.json

Large diffs are not rendered by default.

918 changes: 918 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/tlh_AA.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/tr_TR.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/uk_UA.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/vi_VN.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/zh_CN.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/crowdin/zh_TW.json

Large diffs are not rendered by default.

1,836 changes: 918 additions & 918 deletions src/main/resources/assets/litematica/lang/fr_fr.json

Large diffs are not rendered by default.

1,838 changes: 919 additions & 919 deletions src/main/resources/assets/litematica/lang/it_it.json

Large diffs are not rendered by default.

1,838 changes: 919 additions & 919 deletions src/main/resources/assets/litematica/lang/ja_jp.json

Large diffs are not rendered by default.

920 changes: 920 additions & 0 deletions src/main/resources/assets/litematica/lang/ko_kr.json

Large diffs are not rendered by default.

1,836 changes: 918 additions & 918 deletions src/main/resources/assets/litematica/lang/ru_ru.json

Large diffs are not rendered by default.

1,836 changes: 918 additions & 918 deletions src/main/resources/assets/litematica/lang/uk_ua.json

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions src/main/resources/assets/litematica/lang/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,18 +240,18 @@
"litematica.config.generic.comment.debugLogging": "在游戏控制台中启用一些调试日志消息,用于调试某些问题或崩溃。",
"litematica.config.generic.comment.datafixerMode": "可配置的数据修复程序级别应用于加载的原理图。此选项可以通过绕过原始数据修复程序来提高加载原理图的性能,\n但如果禁用它也可能导致严重的数据丢失。",
"litematica.config.generic.comment.datafixerDefaultSchema": "Vanilla 数据修复程序的默认架构值\n\n用于调整最低可能值,以及在加载的架构不包含此信息时使用的值。\n\n§6警告:此设置应在 Litematica 开发人员(例如 masa 本人)的指导下使用。\n§6如有疑问,请保留 Minecraft 1.12 的默认值。",
"litematica.config.generic.comment.easyPlaceClickAdjacent": "Uses the Clicks Adjacent code from 1.12.2 ornithe.\nThis only works with §a\"easyPlacePostRewrite\"§r enabled.",
"litematica.config.generic.comment.easyPlaceClickAdjacent": "1.12.2 ornithe中使用点击下方代码。\n只适用于 §a\"easyPlacePostRewrite\"§r",
"litematica.config.generic.comment.easyPlaceFirst": "这将使得简单放置模式放置你首先看到的方块\n而不是最远的方块,设置为关闭将可以放置多层\n因为是由远到近放置。",
"litematica.config.generic.comment.easyPlaceHoldEnabled": "启用后,您可以按住使用键\n根据投影以放置它们,\n而无需单独点击每个方块",
"litematica.config.generic.comment.easyPlaceMode": "启用后,只需根据投影以放置它们",
"litematica.config.generic.comment.easyPlacePostRewrite": "When enabled, the Easy Place mode uses the\n\"Post-Rewrite\" code from 1.12.2 ornithe.\n§6WARNING! THIS IS EXPERIMENTAL",
"litematica.config.generic.comment.easyPlacePostRewrite": "启用时,简单的地方模式使用了1.1.2或1.1.2中的\n的“后重写”代码。\n§6警告!此处是IS experiodic",
"litematica.config.generic.comment.easyPlaceSinglePlayerHandling": "如果启用该功能,那么投影将在单人游戏中处理所谓的「地毯精确放置协议」。\n如果你打算在单人游戏中使用简单放置,建议保持启用。",
"litematica.config.generic.comment.easyPlaceSwapInterval": "简单放置模式在背包和手中块交换后等待的间隔(以毫秒为单位)。有效避免因为高 ping 放置错误的方块。",
"litematica.config.generic.comment.easyPlaceSwingHand": "使用简单放置时挥动玩家的手",
"litematica.config.generic.comment.easyPlaceVanillaReach": "如果启用,手长将从 6 改为 4.5\n服务器便不会拒绝放置方块",
"litematica.config.generic.comment.entityDataSync": "使用 Servux 的实体数据同步协议\n从服务器获取实体数据",
"litematica.config.generic.comment.entityDataSyncBackup": "当 Servux 不可用时,请使用 Vanilla NBT 查询方法。\n此方法需要管理员权限",
"litematica.config.generic.comment.entityDataSyncLoadNbt": "Load the synced NBT data into the Client World.\n§6WARNING! This feature will cause incompatibility\n§6with other mods that rely on this data.",
"litematica.config.generic.comment.entityDataSyncLoadNbt": "将同步的 NBT 数据加载到客户端世界。\n§6警告!此功能将导致与依赖此数据的其它模组不兼容\n§6。",
"litematica.config.generic.comment.executeRequireHoldingTool": "需要持有已启用的工具项以使 executeOperation 热键工作",
"litematica.config.generic.comment.fixChestMirror": "修复投影中破碎的大箱子",
"litematica.config.generic.comment.fixRailRotation": "如果为真,那么就对轨道中常见的 Bug 进行了修正,\n即南北方向和东西方向的直线轨道 180 度旋转时逆时针旋转90度,而不是 >_>\n应该是对于轨道显示做了调整",
Expand Down Expand Up @@ -290,7 +290,7 @@
"litematica.config.visuals.comment.enablePlacementBoxesRendering": "该选项可以切换是否显示投影区域的边框",
"litematica.config.visuals.comment.enableRendering": "主渲染切换选项,该选项可切换所有渲染是否开启",
"litematica.config.visuals.comment.enableSchematicBlocksRendering": "该选项可以切换是否在投影内显示方块的贴图\n(开启后可以更好辨识出投影缺失的是什么方块)",
"litematica.config.visuals.comment.enableSchematicFluidRendering": "Enables schematic fluid rendering.\nDisabling this allows you to see the blocks and overlays easier.\nThis also culls the overlay where the Fluid was.",
"litematica.config.visuals.comment.enableSchematicFluidRendering": "启用示意图流体渲染。\n禁用此功能可让您更轻松地查看块和覆盖。\n这也会剔除流体所在的覆盖。",
"litematica.config.visuals.comment.enableSchematicOverlay": "该选项可以切换是否在投影内使用边框表示未放置的方块\n未被放置的方块虽然没有边框,但是仍可以显示(显示状态由透明度决定)",
"litematica.config.visuals.comment.enableSchematicRendering": "该选项可以切换是否显示投影原理图",
"litematica.config.visuals.comment.renderSchematicMaxThreads": "最大原理图世界渲染线程大小\n这将直接影响整体多线程性能\n§6谨慎使用!!这仅在您离开游戏并重新加入后才会生效。\n§6",
Expand Down Expand Up @@ -468,7 +468,7 @@
"litematica.error.area_editor.rename_sub_region.exists": "重命名子区域失败\n已存在子区域名字为 '%s'",
"litematica.error.area_editor.switch_mode.no_selection": "无法切换到选择模式:Normal,因为当前没有选择区域.\n请在区域选择浏览器中选择一个区域或创建一个新的选择",
"litematica.error.schematic_conversion.litematic_to_litematica.failed_to_read_litematic": "無法載入 Litematica 原理圖",
"litematica.error.schematic_conversion.litematic_to_litematica.failed_to_downgrade_litematic": "Failed to downgrade the Litematica Schematic",
"litematica.error.schematic_conversion.litematic_to_litematica.failed_to_downgrade_litematic": "降级Litematica Schematic 失败",
"litematica.error.schematic_conversion.schematic_to_litematica.failed_to_create_schematic": "创建litematica原理图失败",
"litematica.error.schematic_conversion.schematic_to_litematica.failed_to_read_schematic": "加载原理图失败",
"litematica.error.schematic_conversion.structure_to_litematica_failed": "无法将结构转换为litematica原理图",
Expand Down Expand Up @@ -550,7 +550,7 @@
"litematica.gui.button.hover.schematic_list.reload_schematic": "从文件重新加载原理图。\n如果你在原理图编辑模式犯错了这会很有用",
"litematica.gui.button.hover.schematic_projects.area_browser_disabled_currently_in_projects_mode": "当前打开了一个原理图项目\n原理图项目将覆盖正常区域选择功能",
"litematica.gui.button.hover.schematic_projects.delete_area": "§6删除最后放置或保存的区域§r",
"litematica.gui.button.hover.schematic_projects.menu_warning": "(This was called Schematic Projects before.)\nIn general you §6should not§r be using this feature,\nunless you really know how it works and what it does.\nIt somewhat changes how the area selections, placements and pasting works,\nin particular that there is also an area delete operation when pasting.\n\nBasically this feature is intended for §6iterative, in-place§r design work,\nand it allows you to easier create multiple versions/snapshots\nof the same build, and also to switch between the versions by deleting what is\nin the world first, and then pasting the next version in its place.",
"litematica.gui.button.hover.schematic_projects.menu_warning": "(以前称作计划项目。)\n一般而言,您§6不应该§r正在使用此功能,\n除非您真的知道它如何工作和它做什么。\n它在某种程度上改变了区域选择、位置和粘贴工作的方式。\n特别是在粘贴时还有一个区域删除操作。\n\n基本上这个功能是用于§6迭代、就地§r设计工作\n并允许您更容易创建多个版本/快照\n并且通过在世界上先删除\n来切换版本,然后粘贴下一个版本。",
"litematica.gui.button.hover.schematic_projects.move_origin_to_player": "将项目原点移动到玩家当前位置\n这还会移动区域选择和放置",
"litematica.gui.button.hover.schematic_projects.place_to_world_warning": "§6警告:这将在一个之前放置或者保存的\n§6一个版本的区域里,删除/覆盖当前世界里的方块\n§6(基本上是最后一次看到的“有效区域选择”)",
"litematica.gui.button.hover.schematic_projects.save_new_version": "将新的原理图/版本保存到当前项目",
Expand Down Expand Up @@ -718,11 +718,11 @@
"litematica.gui.label.schematic_projects.version_name": "版本名:",
"litematica.gui.label.schematic_save.checkbox.ignore_entities": "忽略实体",
"litematica.gui.label.schematic_save.hover_info.hold_shift_to_overwrite": "按住shift覆盖现有文件",
"litematica.gui.label.schematic_save.checkbox.save_from_schematic_world": "Save from schematic world",
"litematica.gui.label.schematic_save.hover_info.save_from_schematic_world": "If enabled, then the schematic is created by saving the\ncontents of the selection from the schematic world\ninstead of the normal vanilla world.\nThis allows you to combine or trim schematics without having\nto paste them to a temporary creative world.",
"litematica.gui.label.schematic_save.checkbox.visible_blocks_only": "Visible blocks only [experimental quick hax]",
"litematica.gui.label.schematic_save.checkbox.support_blocks": "Support blocks",
"litematica.gui.label.schematic_save.hover_info.support_blocks": "Include any necessary support blocks in \"Visible blocks only\" mode,\nfor things like Repeaters, Comparators, Carpets or gravity blocks that would be visible",
"litematica.gui.label.schematic_save.checkbox.save_from_schematic_world": "从图表世界保存",
"litematica.gui.label.schematic_save.hover_info.save_from_schematic_world": "如果启用,则通过保存来自示意图世界\n而不是正常原始世界的\n选择的的内容来创建示意图。\n这使您可以组合或修剪示意图,而无需\n将它们粘贴到临时的创意世界。",
"litematica.gui.label.schematic_save.checkbox.visible_blocks_only": "可见方块仅[实验性快速hax]",
"litematica.gui.label.schematic_save.checkbox.support_blocks": "支持块",
"litematica.gui.label.schematic_save.hover_info.support_blocks": "在“仅可见方块”模式中包含任何必要的支持方块,\n用于重复、比较、地毯或重力方块等可看见的内容",
"litematica.gui.label.schematic_verifier.count": "数量",
"litematica.gui.label.schematic_verifier.expected": "预期",
"litematica.gui.label.schematic_verifier.found": "找到",
Expand Down Expand Up @@ -809,7 +809,7 @@
"litematica.hud.misc.renderer_status": "渲染器: A: %s S: %s B: %s O: %s SEL: %s",
"litematica.hud.misc.schematic_paste.data_restore_mode": "数据粘贴模式: §b%s",
"litematica.hud.misc.schematic_paste.replace_mode": "替换模式: %s",
"litematica.hud.misc.schematic_paste.ignore_inventory_contents": "Ignore inventory contents: %s",
"litematica.hud.misc.schematic_paste.ignore_inventory_contents": "忽略物品栏内容: %s",
"litematica.hud.schematic_placement.hover_info.lock_coordinate": "锁定此坐标\n这允许改变其他坐标\n不影响锁定的",
"litematica.hud.schematic_placement.hover_info.placement_locked": "此位置已锁定,如果不先解锁,则无法修改",
"litematica.hud.schematic_placement.hover_info.placement_modified": "此位置已修改",
Expand Down Expand Up @@ -872,7 +872,7 @@
"litematica.message.removed_area_origin": "删除了展示的/手动区域原点",
"litematica.message.removed_selection_box": "已删除选择框 %s",
"litematica.message.scheduled_task_added": "添加的计划任务...",
"litematica.message.litematic_downgrade_exported_as": "Schematic export downgraded as '%s'\n§6NOTE: This is an experimental feature; data loss may occur.§r",
"litematica.message.litematic_downgrade_exported_as": "Schematic 导出已降级为 '%s'\n§6注意:这是一个实验功能;可能发生数据丢失。§r",
"litematica.message.schematic_exported_as": "原理图导出为 '%s'",
"litematica.message.schematic_pasted": "在世界上粘贴原理图",
"litematica.message.schematic_pasted_using_fill_and_setblock": "使用§b%s§r fill 和§b%s§r setblock 命令粘贴示意图",
Expand All @@ -887,8 +887,8 @@
"litematica.message.set_area_origin": "将区域原点设置为%s",
"litematica.message.set_selection_box_point": "设置/移动点从 %d 到 %s",
"litematica.message.toggled": "已切换 %s %s",
"litematica.message.value.on": "NO",
"litematica.message.value.off": "OFF",
"litematica.message.value.on": "开启",
"litematica.message.value.off": "关闭",
"litematica.message.schematic_projects.project_created": "已创建项目 '%s'",
"litematica.message.schematic_projects.project_loaded": "已加载项目 '%s'",
"litematica.message.schematic_projects.version_saved": "新版本 (#%s) 保存为 '%s'",
Expand All @@ -915,6 +915,6 @@
"litematica.tool_mode.name.rebuild": "重建原理",
"litematica.tool_mode.name.replace_block": "替换方块",
"litematica.tool_mode.name.schematic_placement": "原理图放置",
"litematica.config.generic.comment.entityDataSyncCacheTimeout": "The Cache timeout value in seconds that\nthe Entity Cache keeps records for.\nA lower value means more frequent updates, but\nyou may want to consider a higher value if\nyour litematics fail to save with all of the NBT data.",
"litematica.config.generic.name.entityDataSyncCacheTimeout": "entityDataSyncCacheTimeout"
"litematica.config.generic.name.entityDataSyncCacheTimeout": "entityDataSyncCacheTimeout",
"litematica.config.generic.comment.entityDataSyncCacheTimeout": "实体缓存保留记录的缓存超时值(以秒为单位)。\n\n较低的值意味着更新更频繁,但\n\n如果您的 litematics 无法保存所有 NBT 数据,您可能需要考虑更高的值。"
}
Loading

0 comments on commit fa0e49e

Please sign in to comment.