Migrate dev:fix-translation-conflicts to dev:fix-translations in standalone script
This commit is contained in:
@@ -47,13 +47,6 @@ run = 'mix test'
|
|||||||
description = 'Preview the README file via a GH flavoured markdown rendered'
|
description = 'Preview the README file via a GH flavoured markdown rendered'
|
||||||
run = 'gh gfm-preview README.md'
|
run = 'gh gfm-preview README.md'
|
||||||
|
|
||||||
[tasks."dev:fix-translations-conflict"]
|
|
||||||
run = [
|
|
||||||
'git co --theirs priv/gettext/default.pot',
|
|
||||||
'git co --theirs priv/gettext/en/LC_MESSAGES/default.po',
|
|
||||||
'mix gettext.extract --merge',
|
|
||||||
]
|
|
||||||
|
|
||||||
# DOCKER
|
# DOCKER
|
||||||
|
|
||||||
[tasks."docker:build"]
|
[tasks."docker:build"]
|
||||||
|
|||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#MISE description="Fix translation file conflicts"
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
git co --theirs priv/gettext/default.pot
|
||||||
|
|
||||||
|
git co --theirs priv/gettext/en/LC_MESSAGES/default.po
|
||||||
|
|
||||||
|
mix gettext.extract --merge
|
||||||
Reference in New Issue
Block a user