搜索
查看: 72|回复: 1
收起左侧

汉化

[复制链接]

升级进度: 4%

雷公 发表于 2024-9-25 11:01:03 | 显示全部楼层 |阅读模式
<div class="shop-menu"> <div class="notification">测试</div> <div class="menu-box">  <div data-category="dog" class="shop-panel"><div class="text">Dog Food </div> <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M21.104 4.37831C20.5396 3.69918 19.7562 3.23881 18.8889 3.07674C18.7854 2.54246 18.5686 2.03666 18.2531 1.59357C17.9375 1.15049 17.5306 0.780446 17.0599 0.508488C16.5892 0.23653 16.0656 0.0689994 15.5247 0.0172315C14.9837 -0.0345365 14.4379 0.0306658 13.9243 0.208427C13.4107 0.386188 12.9412 0.67236 12.5476 1.04758C12.1539 1.4228 11.8454 1.87832 11.6428 2.38331C11.4402 2.88831 11.3482 3.43099 11.3732 3.97465C11.3981 4.51832 11.5393 5.05027 11.7874 5.53453L5.52631 11.8096C5.04277 11.5613 4.51161 11.4198 3.96875 11.3948C3.4259 11.3698 2.88402 11.4619 2.37977 11.6648C1.87553 11.8678 1.42069 12.1768 1.04603 12.571C0.671362 12.9652 0.385614 13.4354 0.208117 13.9498C0.0306203 14.4642 -0.0344852 15.0107 0.0172059 15.5525C0.068897 16.0943 0.236179 16.6186 0.507733 17.09C0.779287 17.5614 1.14878 17.9689 1.59121 18.2849C2.03364 18.601 2.53868 18.8181 3.07217 18.9217C3.17543 19.4562 3.39211 19.9621 3.70757 20.4054C4.02302 20.8487 4.42988 21.2189 4.9006 21.491C5.37132 21.7631 5.89493 21.9308 6.43597 21.9827C6.97702 22.0346 7.52288 21.9695 8.03661 21.7917C8.55034 21.614 9.01996 21.3278 9.41367 20.9525C9.80738 20.5773 10.116 20.1217 10.3186 19.6166C10.5213 19.1115 10.6132 18.5687 10.5882 18.025C10.5632 17.4812 10.4218 16.9492 10.1737 16.4649L16.4395 10.1888C17.2181 10.5988 18.1148 10.7252 18.9762 10.5462C19.8375 10.3673 20.6101 9.89417 21.1616 9.20782C21.7131 8.52147 22.0094 7.66453 21.9998 6.78357C21.9901 5.90262 21.6752 5.05239 21.1087 4.37831H21.104ZM19.3357 7.81751C19.0978 8.08924 18.771 8.26718 18.4139 8.31942C18.0568 8.37165 17.6928 8.29475 17.3872 8.10252C17.0231 7.87173 16.5913 7.77195 16.163 7.81961C15.7348 7.86727 15.3354 8.05952 15.0308 8.36474L8.35232 15.0531C8.04771 15.3583 7.85591 15.7583 7.8085 16.1873C7.76109 16.6162 7.86087 17.0485 8.09144 17.413C8.2204 17.6212 8.29721 17.8576 8.31531 18.1019C8.33341 18.3462 8.29227 18.5913 8.19539 18.8163C8.09851 19.0413 7.94877 19.2395 7.75893 19.394C7.56908 19.5485 7.34475 19.6548 7.10504 19.7038C6.86534 19.7528 6.61737 19.743 6.38225 19.6753C6.14713 19.6076 5.93184 19.484 5.75471 19.315C5.57758 19.146 5.44386 18.9366 5.36495 18.7047C5.28603 18.4728 5.26426 18.2252 5.30148 17.9831C5.32622 17.8207 5.31563 17.6549 5.27046 17.4971C5.22528 17.3392 5.14658 17.1929 5.03974 17.0684C4.9329 16.9438 4.80044 16.8438 4.65143 16.7752C4.50242 16.7066 4.34038 16.6711 4.17639 16.6711C4.11763 16.6708 4.05894 16.6752 4.00089 16.6844C3.75902 16.7219 3.51168 16.7002 3.27996 16.6213C3.04824 16.5423 2.83902 16.4085 2.67014 16.2311C2.50125 16.0536 2.37771 15.838 2.31005 15.6024C2.24238 15.3668 2.2326 15.1184 2.28155 14.8782C2.33049 14.638 2.43669 14.4133 2.59111 14.2231C2.74553 14.0329 2.94359 13.883 3.16838 13.786C3.39318 13.6891 3.63805 13.648 3.88212 13.6663C4.12619 13.6846 4.36222 13.7618 4.57008 13.8912C4.93411 14.1217 5.36565 14.2214 5.79373 14.1737C6.22181 14.1261 6.62096 13.934 6.92556 13.629L13.604 6.94061C13.9088 6.63549 14.1007 6.23557 14.1483 5.80664C14.1959 5.37772 14.0963 4.94534 13.8658 4.58067C13.7366 4.3725 13.6596 4.13612 13.6413 3.89169C13.623 3.64726 13.664 3.40202 13.7608 3.17689C13.8576 2.95176 14.0074 2.75342 14.1972 2.59877C14.3871 2.44412 14.6116 2.33775 14.8514 2.28874C15.0912 2.23972 15.3393 2.24952 15.5745 2.31728C15.8097 2.38504 16.0251 2.50877 16.2022 2.67791C16.3794 2.84704 16.513 3.05658 16.5919 3.28864C16.6707 3.5207 16.6923 3.76841 16.6548 4.01064C16.6271 4.18802 16.6417 4.36945 16.6972 4.54015C16.7528 4.71084 16.8478 4.86598 16.9746 4.99294C17.1014 5.11989 17.2563 5.21507 17.4267 5.27071C17.5972 5.32636 17.7783 5.3409 17.9554 5.31316C18.2639 5.26367 18.5801 5.31071 18.8609 5.44787C19.1417 5.58503 19.3734 5.80562 19.5244 6.07954C19.6753 6.35346 19.7382 6.66736 19.7045 6.9784C19.6707 7.28945 19.5419 7.58248 19.3357 7.81751Z" fill="#676767"/> </svg> </div> <div data-category="cat" style="top: 30%;" class="shop-panel"><div class="text">Cat Food</div> <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M9.35713 2.10102C8.35613 3.10202 7.77713 4.43602 7.44513 5.77402C7.11213 7.11802 7.01413 8.52102 7.01513 9.72402C7.0141 9.80919 6.97988 9.8906 6.91974 9.95092C6.8596 10.0112 6.7783 10.0457 6.69313 10.047C4.92213 10.054 2.67713 10.267 0.861134 11.134C0.179134 11.46 -0.105866 12.132 0.0351343 12.769C0.168134 13.365 0.650134 13.854 1.30213 14.013C2.09713 14.207 3.01913 14.458 3.82113 14.743C4.22213 14.885 4.58113 15.031 4.87313 15.177C5.17513 15.329 5.36013 15.457 5.45113 15.549C5.54213 15.639 5.67113 15.824 5.82213 16.126C5.96813 16.418 6.11413 16.776 6.25613 17.177C6.54013 17.978 6.79013 18.9 6.98413 19.694C7.14313 20.346 7.63213 20.829 8.22913 20.961C8.86613 21.103 9.53813 20.818 9.86413 20.136C10.7311 18.323 10.9441 16.082 10.9541 14.313C10.9541 14.139 11.1011 13.992 11.2771 13.992C12.4791 13.992 13.8831 13.894 15.2271 13.561C16.5671 13.228 17.9011 12.649 18.9031 11.647C20.0231 10.527 20.5711 9.03802 20.8201 7.59102C21.0701 6.14002 21.0291 4.66502 20.9151 3.49902C20.8347 2.62177 20.4496 1.80039 19.8267 1.17747C19.2038 0.554563 18.3824 0.169457 17.5051 0.0890169C16.3391 -0.0239831 14.8651 -0.0649831 13.4131 0.184017C11.9661 0.434017 10.4771 0.982017 9.35713 2.10102ZM15.0001 2.99802C15.2654 2.99802 15.5197 3.10337 15.7072 3.29091C15.8948 3.47845 16.0001 3.7328 16.0001 3.99802C16.0001 4.26323 15.8948 4.51759 15.7072 4.70512C15.5197 4.89266 15.2654 4.99802 15.0001 4.99802C14.7349 4.99802 14.4806 4.89266 14.293 4.70512C14.1055 4.51759 14.0001 4.26323 14.0001 3.99802C14.0001 3.7328 14.1055 3.47845 14.293 3.29091C14.4806 3.10337 14.7349 2.99802 15.0001 2.99802Z" fill="#676767"/> </svg> </div> <div data-category="toys" style="top: 40%;" class="shop-panel"><div class="text">pet toys</div> <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M10.5 0C8.4233 0 6.39323 0.615814 4.66652 1.76957C2.9398 2.92332 1.59399 4.5632 0.799269 6.48182C0.00454949 8.40045 -0.203385 10.5116 0.201759 12.5484C0.606904 14.5852 1.60693 16.4562 3.07538 17.9246C4.54383 19.3931 6.41475 20.3931 8.45155 20.7982C10.4884 21.2034 12.5996 20.9954 14.5182 20.2007C16.4368 19.406 18.0767 18.0602 19.2304 16.3335C20.3842 14.6068 21 12.5767 21 10.5C20.9971 7.71613 19.8899 5.04712 17.9214 3.07862C15.9529 1.11013 13.2839 0.00293982 10.5 0ZM18.9242 7.67308C17.4038 7.18201 15.8294 6.8769 14.2356 6.76442C14.1231 5.17058 13.818 3.59624 13.3269 2.07577C14.6275 2.51559 15.809 3.24941 16.7798 4.22018C17.7506 5.19096 18.4844 6.37254 18.9242 7.67308ZM6.15866 2.75019C8.67471 3.58179 10.9891 4.9302 12.9534 6.70889C8.91456 6.67388 4.96147 7.87368 1.62347 10.1476C1.68461 8.6299 2.13354 7.15313 2.92746 5.85816C3.72138 4.56318 4.83381 3.49318 6.15866 2.75019ZM10.8513 19.3765C13.1255 16.0382 14.3253 12.0848 14.2901 8.04562C16.0693 10.0101 17.418 12.3249 18.2498 14.8413C17.5068 16.1662 16.4368 17.2786 15.1418 18.0725C13.8469 18.8665 12.3701 19.3154 10.8524 19.3765H10.8513Z" fill="#676767"/> </svg> </div> <div data-category="health" style="top: 50%;" class="shop-panel"><div class="text">pet health</div> <svg style="top: 13%;" width="19" height="21" viewBox="0 0 19 21" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M7.71875 16.3333H11.2812V13.4167H14.25V9.91667H11.2812V7H7.71875V9.91667H4.75V13.4167H7.71875V16.3333ZM0 21V7L9.5 0L19 7V21H0Z" fill="#676767"/> </svg> </div> 汉化这个脚本
https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7

https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M
https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7

https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N
回复 论坛版权

使用道具 举报

ChatGPT 发表于 2024-9-25 11:01:08 | 显示全部楼层
好的,以下是你提供的内容的汉化版本:
-- 测试
local dogFood = "狗粮"
local catFood = "猫粮"
local petToys = "宠物玩具"
local petHealth = "宠物健康"

-- 输出汉化后的内容
print(dogFood)  -- 输出:狗粮
print(catFood)  -- 输出:猫粮
print(petToys)  -- 输出:宠物玩具
print(petHealth)  -- 输出:宠物健康

这个脚本可以放在 `client.lua` 中,因为它涉及到客户端的输出。如果你有其他需要汉化的内容或脚本,请告诉我!
回复

使用道具 举报

文明发言,和谐互动
文明发言,和谐互动
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|小黑屋|首页 ( 冀ICP备2021005225号-1 ) |网站地图

GMT+8, 2024-11-15 01:26 , Processed in 0.056563 second(s), 9 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

© 2001-2013 ELITE论坛【技术无价-分享快乐】

快速回复 返回顶部 返回列表