Giter Site home page Giter Site logo

blhxfy's Issues

翻译中的剧情统计

剧情 发起日期 翻译
克蕾雅sr,ssr以及泳装ssr个人角色剧情,暗贝熊泳贝熊剧情,ssr水属安剧情 2018/9/3 @sakurairsora
泳佐个人剧情,罗密欧个人剧情 2018/9/3 @KoutsukiYakou
偶像大师sidem3个联动角色 2018/9/3 @arktos29
马姬莎(万能的魔女)SSR个人剧情 2018/9/3 @MAMUS-LLP
晓之空篇,64-76已翻,77~待翻 2018/9/3 @LyriaP
9月5日之前上传鸡剧情 2018/9/3 @nageBqianglelaoziXMXdeID
贞德一套(光,暗,泳,村姑ver) 2018/9/3 @BigDickKyoko
神盾、羊 的个人剧情 2018/9/3 @modai-pimin
波雷米亚个人剧情 莎拉个人剧情 沙神一期二期 2018/9/3 @yakumoki
十天众中三,四,六,七的个人剧情 2018/9/4 @MAMUS-LLP
火佐仓个人剧情 2018/9/4 @lustdance
席尔瓦,库库璐,库姆悠全版本个人剧情 席尔瓦x库库璐联携剧情 席尔瓦x库姆悠联携剧情 2018/9/5 @DevilPoi
樱花大战联动剧情 2018/9/6 @Harphemaen
十天众之二的个人剧情 2018/9/6 @ninomiyanatsuki
那炼金活动吧 2018/9/7 @lustdance
该隐ssr个人剧情 2018/9/7 @Nochokyn
狗个人剧情后一章,狗和鸡的联动剧情 2018.9.7 @kozue3322
泳裝露娜露(R) 2018/9/7 @mirror0420

设定按钮说明文

qq 20181206104153
战斗等游戏中的动作比较迟缓的时候,可通过调整设定来改善

便利设定&任务便利设定

default
道具一览设定
道具清单的过滤功能
设定道具清单的过滤功能
使用过滤功能可以更简单的查找所持道具
off 显示在左边 显示在右边
“过滤off”的场合 “过滤有效”的场合

不显示多人战房间的设定
不显示未满足参加条件的房间的设定
不显示不满足房间的招募rank条件的房间
不显示

机翻对十二神将新活动不生效 在mac和android环境

在Mac新机上装翻译插件和在安卓yandex浏览器, 十二神将活动剧情机翻没有启动, 还是显示日文原文, 但在人物列表里的技能都有汉化. 可以帮忙看看是什么情况吗. 截图是在chrome端看到的错误

Mac:
chrome: 103.0.5060.53
OS: macOS 12.3.1

Android:
Yandex: 22.7.0
OS: android 12

Screen Shot 2022-06-29 at 12 05 14

关于翻译出现undefined的问题

文本重复显示undefinedWhatdefined undefinedis undefinedGreaundefined 这种字符
角色姓名倒是翻译了,例如阿碧这种
重复了大概十几个对话后,就变为了英文。
而纯情狐的剧情,则是十几个对话重复 未定义 未定义 这种中文,中间夹杂日文字符,之后就变为了英文
65章的剧情没出现这个问题,火大奶也没这个问题,,

Node v10.5.0下yarn install会出现upath依赖错误

Mbp:BLHXFY me$ yarn install
yarn install v1.7.0
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=4 <=9".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

如果换用yarn install --ignore-engines或者去掉yarn.lock中与upath有关的几行则会在编译/打包的时候产生很多问题,
还试着删除目录下的node_modules/, package-lock.json & yarn.lock再install,

[4/4] 📃 Building fresh packages...
[1/2] ⡀ fsevents
[2/2] ⡀ electron

[4/4] 📃 Building fresh packages...
success Saved lockfile.
$ electron-builder install-app-deps
• electron-builder version=20.17.1
• loaded configuration file=/Users/kurumi/Projects/github/BLHXFY/electron-builder.json
Error: Unresolved node modules: react

之后出现找不到Error: Unresolved node modules: react的错误,是不是需要添加react依赖?

anodynos/upath#14
enzymejs/enzyme#1637

关于Claude opus

我注意到最新的剧情是使用claude 3 opus 翻译的,能否通过让玩家自行使用api的方式使所有机翻都能使用claude来翻译呢,claude的效果实在是太好了。

ios汉化问题

你好 我在shadowrocket上用您提供的配置文件只有在游戏语言设置成日语的情况下才能生效,有什么办法能在英语下生效吗

新追加的游戏内设定内容翻译

图片
回合处理待机设定
在处理直前回合时允许使用技能队列。
图片
切换战斗中表示出来的AUTO按钮。
选择FULLAUTO时会自动使用攻击/技能。
详细内容请确认HELP内容。
变更设定后会适用到所有任务中。
通常 FULL HELP

自建

你好,请问一下数据文件该怎样放置在服务器中
我尝试放在网站根目录,js链接
但是游戏内似乎无法获取翻译数据

开启插件后翻译英文文本为日文

默认设置语言为英文,前几天都好好的,能把英文翻成中文,但今天打开后突然把英文变成了原本的日文,如果关闭脚本的话则显示为原有的英文,请问前辈这如何解决_(:з」∠)_

2019-08-22_232354
2019-08-22_232416

连接彩云小译好像有些问题

userscript.html?id=5e952db9-3f26-4898-8905-e78d93f4e2a0:9390
TypeError: Cannot read property 'cyweb_token' of null
at testCookies (userscript.html?id=5e952db9-3f26-4898-8905-e78d93f4e2a0:9161)
at async translator (userscript.html?id=5e952db9-3f26-4898-8905-e78d93f4e2a0:9220)
at async Promise.all (/index 0)
at async caiyunTrans (userscript.html?id=5e952db9-3f26-4898-8905-e78d93f4e2a0:9382)

iOS 脚本注入的另外一种解决方案

iOS 平台上有许多网络调试工具,而这些调试工具很多都可以做到直接修改 http 请求,因此可以考虑使用这些工具进行脚本的注入,这样在任何条件下都可以正常汉化了。

以 Surge 为例(QuantumultX 操作类似)

Surge 在 2019 年中旬引入了脚本系统,其可以对 http(s) 请求作直接修改,因此我们可以利用这一点将汉化脚本注入到 </head> 之前执行。简单的脚本如下:

function insert(str, index, value) {
  return str.substr(0, index) + value + str.substr(index);
}

const toInsert = `
<script>
(function () {
  const script = document.createElement("script");
  script.src = "https://blhx.danmu9.com/blhxfy/extension.user.js";
  document.head.appendChild(script);
})();
</script>
`;

let { body, headers } = $response;
const result = {};

if (
  body &&
  headers &&
  typeof headers["Content-Type"] === "string" &&
  headers["Content-Type"].includes("text/html") &&
  body.lastIndexOf("</head>") !== -1
) {
  result.body = insert(body, body.lastIndexOf("</head>"), toInsert);
  result.headers = headers;
}

$done(result);

并且设置匹配的 URL 为 (game\.granbluefantasy\.jp)|(gbf\.game\.mbga\.jp) 即可。

其他示例(包括 TestFlight 版本中新引入的模块功能)详见此

(顺带提一句 SC 应该也可以这么改(

存在的问题

注入存在的问题就是跨域。这里有两种解决方案:

  • 第一种方案是直接对所有对应不支持跨域的网站强制允许跨域,即通过对应工具的增加 header 功能给实现。这种方案的问题在于潜在的安全问题,其完全背离了禁止跨域请求的初衷。
  • 第二种方案是模拟 GM_xmlhttpRequest 函数,将其请求的地址修改为一个特定的格式,发送到同域下一个不存在的地址,由额外的脚本识别这种格式后解析出原本的请求、请求并返回。这种方案的问题在于需要引入新的脚本,可能会降低一定的运行效率。

效果

测试环境为 iOS 13.3.1(iPad mini 5),Surge 版本为 4.10.0(1582),使用的是上面链接中对应的模块(Module),效果如下图所示:

SkyLeap

image

Chrome

image

Safari

效果差不多所以没截图(

说明文

default
注意事项
·无法同时参加复数的房间。
·共斗任务的战斗不受AT时间的影响。
·未确认的战斗结果的最后确认期限为战斗结束一周后的第一个星期六。
·请注意,超过期限后将无法确认结果及获取报酬。
·房间中选择支援召唤石并不会成为支援报酬的奖励对象。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.