Align free Shadowrocket ID category and article names
This commit is contained in:
parent
ad849f54ad
commit
c2539f380d
@ -7,6 +7,6 @@ final class ShadowrocketNaming
|
||||
public static function align(string $text): string
|
||||
{
|
||||
$text = str_replace(['免费苹果账号', '免费苹果ID', '免费苹果id', '(小火箭账号、shadowrocket id)'], ['免费小火箭ID', '免费小火箭ID', '免费小火箭ID', ''], $text);
|
||||
return str_replace('免费小火箭ID,可用于使用小火箭(shadowrocket)', '免费Appale ID,已购买小火箭(shadowrocket)', $text);
|
||||
return str_replace(['免费小火箭ID,可用于使用小火箭(shadowrocket)', 'Appale ID'], ['免费Apple ID,已购买小火箭(shadowrocket)', 'Apple ID'], $text);
|
||||
}
|
||||
}
|
||||
|
||||
@ -9,3 +9,5 @@ # 免费小火箭ID命名对齐
|
||||
导航缓存修复:原命名命令用DB定点更新,未触发Categories模型的saved事件,遗留24小时global_nav_tree缓存。现apply后显式清除此键(包括幂等重复执行),随后刷新响应缓存;验收必须读取指向/shadowrocketids的导航链接文字,不能仅检查正文包含新名称。
|
||||
|
||||
摘要文案:用户指定将“免费小火箭ID,可用于使用小火箭(shadowrocket)”替换为“免费Appale ID,已购买小火箭(shadowrocket)”,保留用户Appale拼写。仅替换摘要句中的原短语,不改变栏目/文章标题及账号数据;后续接收同样归一化。
|
||||
|
||||
拼写更正:用户随后将Appale ID更正为Apple ID;历史摘要及后续接收统一输出“免费Apple ID,已购买小火箭(shadowrocket)”。此前原拼写仅保留为历史记录。
|
||||
|
||||
Loading…
Reference in New Issue
Block a user