Playbook.com 中文汉化

将Playbook.com页面翻译成中文,部分ai翻译

目前為 2024-05-20 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Playbook.com 中文汉化
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  将Playbook.com页面翻译成中文,部分ai翻译
// @author       ohao
// @match        https://www.playbook.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // 英文到中文的翻译字典
    const translations = {
        "Sign In": "登录(不可用)",
        "Sign Up": "注册(不可用)",
        "Home": "首页",
        "Features": "功能",
        "Pricing": "价格",
        "Contact": "联系我们",
        "Settings": "设置",
        "My account": "我的账户",
        "This playbook": "这个 playbook",
        "Preferences": "偏好",
        "Billing": "帐单",
        "Notifications": "通知",
        "Security/SSO": "安全/SSO",
        "Inbox": "收件箱",
        "My account": "我的账户",
        "Manage your playbook settings": "管理你的剧本设置",
        "Storage": "储藏室",
        "Your plan": "你的计划",
        "AEEIS's Personal Artist & Designer Plan": "AEEIS的个人艺术家和设计师计划",
        "Get Pro features": "获得专业功能",
        "Admin settings": "管理设置",
        "Name": "姓名",
        "Your role": "你的角色",
        "Plugin credits": "插件积分",
        "Delete this playbook": "删除这本剧本",
        "Only the owner can delete this playbook. This action cannot be undone.": "只有所有者可以删除此剧本。此操作无法撤消。",
        "Customize your playbook looks": "自定义你的playbook外观",
        "Custom settings": "自定义设置",
        "Custom logo for": "自定义标志",
        "your shared boards": "你的共享板",
        "Get PRO to customize with your own logo": "获取PRO以使用你自己的标志进行自定义",
        "Manage your billing information and invoices": "管理您的账单信息和发票",
        "Manage your playbook notification settings": "管理您的playbook通知设置",
        "Email": "电子邮件",
        "New comments from boards you follow": "来自您关注的板的最新评论",
        "New uploads to boards your follow": "您关注的板的新上传",
        "New members join": "新成员加入",
        "New changes to your playbook": "您的playbook的新更改",
        "New publish and shared links created": "创建的新发布和共享链接",
        "Any new members joined via invite link": "通过邀请链接加入的任何新成员",
        "Weekly Insights": "每周洞察",
        "New members": "新成员",
        "New boards": "新板",
        "New assets": "新资产",
        "Weekly total of number of downloads, views, and shares": "每周下载、查看和分享的总数",
        "Upcoming licenses expiring": "即将到期的许可证",
        "You'll always receive @mention updates or new arrivals to your inbox.": "您将始终收到@提及更新或新到达您的收件箱。",
        "Security": "安全",
        "For Team plan only.": "仅适用于团队计划。",
        "Upgrade to Team →": "升级到团队 →",
        "Email Domains": "电子邮件域",
        "Contact [email protected] if you need help with domain verification.": "如果您需要域验证帮助,请联系[email protected]。",
        "New Email Domain": "新电子邮件域",
        "e.g. your-organization-name.com": "例如 your-organization-name.com",
        "Okta Integration": "Okta集成",
        "Enable integration": "启用集成",
        "Enforce Okta SSO": "强制执行Okta SSO",
        "Identity Provider Service URL": "身份提供者服务URL",
        "Identity Provider Issuer": "身份提供者发行者",
        "Public Certificate": "公共证书",
        "Submit": "提交",
        "Manage your Inbox and Drop settings": "管理您的收件箱和Drop设置",
        "Drop link": "Drop链接",
        "Share this link so others can send you files": "分享此链接以便其他人可以发送文件给您",
        "Custom background for your Drop link": "为您的Drop链接自定义背景",
        "Blocked users": "被阻止的用户",
        "No contacts yet": "尚无联系人",
        "ACCOUNT": "账户",
        "Delete your Playbook personal account data": "删除您的Playbook个人账户数据",
        "Delete account": "删除账户",
        "Beta program": "测试计划",
        "Storage used": "已用存储",
        "Get early access to new features": "提前使用新功能",
        "Manage your Playbook profile": "管理您的Playbook个人资料",
        "Account settings": "账户设置",
        "My public profile": "我的公开资料",
        "Invite friends": "邀请朋友",
        "Upgrade to Pro": "升级到Pro",
        "Bug report & feedback": "错误报告和反馈",
        "Feature requests": "功能请求",
        "General FAQ": "常见问题",
        "Go to homepage": "返回首页",
        "Log out": "登出",
        "Edit": "编辑",
        "PASSWORD": "密码",
        "ACCOUNT": "账户",
        "All media": "所有媒体",
        "Members": "成员",
        "My media": "我的媒体",
        "New board": "新建板块",
        "Boards": "板块",
        "Apps": "应用",
        "Tags": "标签",
        "Insights": "统计",
        "Licenses": "许可证",
        "Archive": "归档",
        "Trash": "垃圾",
        "Empty trash": "清空垃圾桶",
        "Items in trash will be permanently deleted after 30 days.": "垃圾桶中的项目将在30天后被永久删除。",
        "Nothing here": "这里什么都没有",
        "No items": "没有项目",
        "Latest": "最新的",
        "All conversations": "所有对话",
        "Manage tags": "管理标签",
        "Pin important tags at the top of the All Media page.": "将重要的标签置顶显示在所有媒体页面上。",
        "Your plan comes with 5 free pinned tags.": "您的计划附带5个免费的置顶标签。",
        "tags": "标签",
        "all": "所有",
        "pinned": "置顶",
        "popular": "热门",
        "Pinned tags": "置顶标签",
        "Popular tags": "热门标签",
        "Pinned": "置顶",
        "Most used": "最常使用的",
        "All assets ORDER BY DATE": "按日期排序的所有资产",
        "Add a new pinned tag": "添加一个新的置顶标签",
        "Invite link": "邀请链接",
        "Share this link to invite people to this playbook": "分享此链接以邀请人加入此playbook",
        "Invite members by email": "通过电子邮件邀请成员",
        "Enter comma, space, or newline-separated emails": "输入逗号、空格或换行符分隔的电子邮件",
        "Allow anyone with your organization email domain to join": "允许任何使用您组织的电子邮件域的人加入",
        "Automatically add new users with a matching email domain like": "自动添加具有匹配电子邮件域名的新用户,如 ",
        "Team": "团队",
        "Manage my account": "管理我的账户",
        "Leave this playbook": "离开此playbook",
        "You'll need an invite to re-join": "您需要邀请才能重新加入",
        "Your plan has a limit on the number of members, upgrade to remove this limit.": "您的计划对成员数量有限制,请升级以取消此限制。",
        "Owner": "所有者",
        "Other media": "其他媒体",
        "Upload": "上传",
        "Bookmark (private)": "书签(私密)",
        "Add sub-board": "添加子板块",
        "Get shared link": "获取共享链接",
        "Email or transfer": "通过电子邮件或转移",
        "Duplicate": "复制",
        "Rename": "重命名",
        "Move to trash": "移到垃圾桶",
        "Untitled board": "未命名的板块",
        "This board is in trash. Click": "此板块在垃圾桶中。点击",
        "Restore": "恢复",
        "to restore this board.": "以恢复此板块。",
        "Restore board": "恢复板块",
        "selected": " 已选择",
        "Permanently delete": "永久删除",
        "Clean up your playbook by archiving inactive boards.": "通过将不活跃的板块归档来整理您的playbook。",
        "Expiration": "到期",
        "Monitor all assets with expiration dates": "监控所有带有到期日期的资产",
        "Asset": "资产",
        "Expires on": "到期时间",
        "Copyright": "版权",
        "Monitor all assets that are copyrighted in this playbook": "监控此playbook中受版权保护的所有资产",
        "Assets": "资产",
        "Board": "板块",
        "Usage": "使用情况",
        "License": "许可证",
        "Monitor all license PDFs created in this playbook": "监控此playbook中创建的所有许可证PDF",
        "To": "至",
        "Start": "开始",
        "End": "结束",
        "All": "全部",
            "All events": "所有事件",
    "Popular": "热门",
    "Published": "已发布",
    "Views": "查看",
    "Downloads": "下载",
    "Popular boards": "热门板块",
    "Popular files": "热门文件",
    "All published boards": "所有已发布的板块",
    "All shared links": "所有共享链接",
    "Internal": "内部",
    "Published": "已发布",
    "views": "查看",
    "downloads": "下载",
            "No activity yet.": "暂无活动。",
    "Apps and plugins": "应用和插件",
    "Add app, and get work done": "添加应用,完成工作",
    "Best creative plugins 🎉": "最佳创意插件",
    "Made by developers.": "由开发者制作。",
    "Submit a plugin": "提交插件",
    "and join our revenue sharing program!": "并加入我们的收入分享计划!",
    "Turn any image into Super High Quality image": "将任何图像转换为超高质量图像",
    "Automatically remove image backgrounds": "自动移除图像背景",
    "Instantly create thumbnails for your 3D models!": "立即为您的3D模型创建缩略图!",
    "Turns your face photo into a 3D AR avatar!": "将您的面部照片转换为3D AR头像!",
    "Effortlessly add engaging captions to your videos": "轻松地为您的视频添加引人入胜的字幕",
    "Turn your images into Cartoons": "将您的图像转换为卡通图",
    "Create sub-board": "创建子板块",
    "Add color palette": "添加调色板",
    "Write note": "撰写备注",
    "Add link": "添加链接",
    "Generate AI images": "生成AI图像",
    "More apps": "更多应用",
            "Drag and drop files or click": "拖放文件或点击",
    "Share": "分享",
    "Publish": "发布",
    "Share link": "分享链接",
    "Anyone with link can view and comment - no": "任何有链接的人都可以查看和评论-否",
    "account required.": "无需账户。",
    "Copy web link": "复制网页链接",
    "Want more customizations?": "想要更多自定义?",
    "Try Publish →": "尝试发布→",
    "Invite collaborators": "邀请合作者",
    "Can access this board and any sub-boards": "可以访问此板块和任何子板块",
            "Get embed code": "获取嵌入代码",
    "Conversation": "对话",
    "Publish to web": "发布到网络",
    "Your plan comes with one free published link.": "您的计划附带一个免费的已发布链接。",
    "for unlimited publishing and more customization options.": " 获取无限发布和更多自定义选项。",
    "Or, share without template—free": "或者,无模板分享 - 免费",
    "Open editor": "打开编辑器",
    "Choose a professional template": "选择专业模板",
            "New sub-board": "新建子板块",
    "Select": "选择",
    "Move to top": "移动到顶部",
    "Move to bottom": "移动到底部",
    "Change status": "更改状态",
    "Copy to": "复制到",
    "Move to": "移动到",
    "Copy image": "复制图像",
    "Copy link to asset": "复制资产链接",
    "Open in new tab": "在新标签页中打开",
    "Download": "下载",
    "Hide": "隐藏",
            "Image URL": "图片链接",
    "Status": "状态",
    "License, copyright, expiry": "许可证、版权、到期",
    "Hide on public pages": "在公共页面上隐藏",
    "Delete": "删除",
            "Export to...": "导出到...",
    "Playbook Community": "Playbook 社区",
    "Create new Playbook": "创建新 Playbook",
            "Create": "创建",
    "New board": "新板块",
    "Add colors": "添加颜色",
    "Color Assistant from Perception": "来自Perception的颜色助手",
    "Generate": "生成",
            "Untitled note": "未命名的笔记",
    "Board created on": "板块创建于",
    "Search": "搜索",
    "Search this board": "搜索此板块",
    "Reactions": "反应",
    "Ratings": "评分",
    "File types": "文件类型",
    "Clear filter": "清除过滤器",
    "No status": "无状态",
    "Unrated": "未评分",
    "Add board description": "添加板块描述",
    "Reorder by": "重新排序",
    "Duplicate board": "复制板块",
    "Connect to Slack": "连接到Slack",
    "Archive board": "存档板块",
    "Move board to trash": "将板块移到垃圾桶",
            "Kanban view": "看板视图",
    "Timeline view": "时间轴视图",
    "Added date (newest)": "添加日期(最新)",
    "Sort:": "排序:",
    "Added date": "添加日期",
    "The date the asset was uploaded to or created in Playbook": "资产上传或在Playbook中创建的日期",
    "Newest": "最新",
    "Oldest": "最旧",
    "Originally created date": "原始创建日期",
    "The date the asset was originally created. For example, the date a photo was taken.": "资产最初创建的日期。例如,照片拍摄日期。",
    "Newest": "最新",
    "Oldest": "最旧",
            "Group": "组",
    "Pssst... you can directly paste links into playbook from your clipboard!": "嘘... 你可以直接从剪贴板粘贴链接到playbook中!",
    "Write a prompt": "提词",
    "Pick a style": "选择风格",
    "How many variants": "张数",
    "Advanced": "高级",
    "Exclude specific things": "排除特定内容",
    "Height": "高度",
    "Width": "宽度",
    "CFG Scale": "CFG比例",
    "How many iterations the AI runs": "AI运行多少次迭代",
    "Sampler": "采样器",
    "Seed": "种子",
    "Balance:": "币:",
    "for": "需要",
            "Copy image URL and embed in any site or blog": "复制图像URL并嵌入到任何网站或博客中",
    "I confirm that this is not pornographic, illegal, or otherwise harmful content": "我确认这不是色情、非法或其他有害内容",
    "Confirm and copy URL": "确认并复制URL",
            "Or, embed an HTML img tag in your site": "或者,在您的网站中嵌入一个HTML img标签",
    "Move to another board": "移动到另一个板块",
    "Make license": "生成许可证",
    "Generate images like this": "生成像这样的图像",
    "Copy link": "复制链接",
    "Add creative license": "添加创意许可证",
    "Add copyright": "添加版权",
            "Copy a private link to": "复制一个私密链接到",
    "this asset": "这个资产",
            "Protect your files with privacy options": "使用隐私选项保护您的文件",
            "Add a description so people can learn more about you...": "添加描述,让人们更多地了解你...",
    "About": "关于",
    "Open to new projects": "欢迎新项目",
    "Your location": "您的位置",
    "Your portfolio": "您的作品集",
    "Your Twitter handle": "您的 Twitter 用户名",
    "Your Instagram handle": "您的 Instagram 用户名",
    "View my public profile": "查看我的公开资料",
    "Edit my profile": "编辑我的资料",
    "Projects": "项目",
    "+ Add project": "+ 添加项目",
    "Promote your public profile by adding projects, online resume, or website": "通过添加项目、在线简历或网站来推广您的公开资料",
    "Welcome to Community profile": "欢迎来到社区资料",
    "View my public profile": "查看我的公开资料",
    "Edit my profile": "编辑我的资料",
    "Set as default": "设为默认",
    "Cancel": "取消",




        // 添加更多翻译项
    };

    // 遍历页面中的所有文本节点并进行翻译
    function translatePage() {
        const walker = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT, null, false);
        let node;
        while ((node = walker.nextNode())) {
            const text = node.nodeValue.trim();
            if (translations[text]) {
                node.nodeValue = translations[text];
            }
        }
    }

    // 等待页面加载完成后进行翻译
    window.addEventListener('load', translatePage);

    // 处理动态加载的内容(例如单页应用)
    const observer = new MutationObserver(translatePage);
    observer.observe(document.body, { childList: true, subtree: true });
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址