Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translations spelling #139

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Translations spelling #139

wants to merge 3 commits into from

Conversation

szepeviktor
Copy link
Owner

@szepeviktor szepeviktor commented Mar 30, 2024

🇫🇮 https://github.com/MikaVainio/AffinityPublisherFISpelling

Laravel

                MISSPELLED_WORDS="$(
                    {
                        cat $(git ls-files -- 'lang/hu.json' 'lang/**/hu.json') | jq --raw-output '.[]'
                        git ls-files -- 'lang/hu/*.php' | xargs -L 1 -- php -r '$l=require $argv[1];array_walk_recursive($l,function($v,$k){echo $v,"\n";});'
                    } | sed -e 's#:[a-z]\+##g' | hunspell -d ./dictionaries/hu_HU/hu_HU -p hunspell.txt -l
                )"

@szepeviktor
Copy link
Owner Author

szepeviktor commented Apr 8, 2024

💡 Split camelCase: sed -e 's#\([a-z]\)\([A-Z][a-z]\)#\1 \2#g'

Repository owner deleted a comment from coveralls Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant