Skip to content

Instantly share code, notes, and snippets.

@atk atk/lua2acei18n
Created Nov 14, 2014

What would you like to do?
Small snippet to create ACE i18n from WoW lua files in Chrome developer tools
// view raw lua file, open developer tools, select pre and run in console:
x={}; $0.innerHTML.replace(/L\["(.*?)"\]/g, function(c){ x[c] = true; }); L = []; for (var c in x) { L.push( c + ' = true') }; $0.innerHTML = L.join('\n');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.