Opens Graphie from Crowdin window in Graphie editor
Crowdin Open Graphie Extension
This plugin is intended for Khan Academy translators.
It adds a new button in the Crowdin window that automatically opens a Graphie editor at graphie-to-png.kasandbox.org with preloaded Graphie link taken from the current string.
You can also use a keyboard shortcut (Alt+G) instead of the button.
The plugin preferentially takes the graphie link from the translated string. If the translated string is missing or does not contain a graphie link, it will open a graphie link from the original English string. If multiple Graphie links are present, it will open only the first one.
Read more
It adds a new button in the Crowdin window that automatically opens a Graphie editor at graphie-to-png.kasandbox.org with preloaded Graphie link taken from the current string.
You can also use a keyboard shortcut (Alt+G) instead of the button.
The plugin preferentially takes the graphie link from the translated string. If the translated string is missing or does not contain a graphie link, it will open a graphie link from the original English string. If multiple Graphie links are present, it will open only the first one.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Crowdin Open Graphie", "description": "Opens Graphie from Crowdin window in Graphie editor", "author": "Daniel Hollas", "version": "0.5.0", "permissions": [ "activeTab" ], "background": { "service_worker": "background.js" }, "commands": { "open-graphie": { "suggested_key": { "default": "Alt+G" }, "description": "Click 'open-graphie' button" } }, "content_scripts": [ { "matches": [ "https://crowdin.com/translate/khanacademy/*", "https://crowdin.com/editor/khanacademy/*" ], "js": [ "3rdPartyLibs/zepto.min.js", "app.js" ], "run_at": "document_idle", "all_frames": true } ], "icons": { "16": "khan-logo-new-16.png", "48": "khan-logo-new-48.png", "128": "khan-logo-new-128.png" }, "manifest_version": 3}
Read more