From: Hironori Fujimoto Date: Thu, 8 Mar 2018 09:45:33 +0000 (+0900) Subject: Fix indent X-Git-Tag: 1.14.0~5 X-Git-Url: http://git.osdn.net/view?p=wesnoth-ja%2Fja-po.git;a=commitdiff_plain;h=86c2cc99a825305644736a2d8ae5eeb6dc59bf09 Fix indent --- diff --git a/update.sh b/update.sh index b5f8177..18abfd5 100755 --- a/update.sh +++ b/update.sh @@ -7,40 +7,40 @@ source ./api_token.sh TXDIR=transifex TXPROJECT=wesnoth-dev-japanese RESOURCES="wesnoth \ - wesnoth-ai \ - wesnoth-anl \ - wesnoth-aoi \ - wesnoth-did \ - wesnoth-dm \ - wesnoth-dw \ - wesnoth-editor \ - wesnoth-ei \ - wesnoth-help \ - wesnoth-httt \ - wesnoth-l \ - wesnoth-lib \ - wesnoth-low \ - wesnoth-manpages \ - wesnoth-manual \ - wesnoth-multiplayer \ - wesnoth-nr \ - wesnoth-sof \ - wesnoth-sota \ - wesnoth-sotbe \ - wesnoth-tb \ - wesnoth-test \ - wesnoth-thot \ - wesnoth-trow \ - wesnoth-tsg \ - wesnoth-tutorial \ - wesnoth-units \ - wesnoth-utbs" + wesnoth-ai \ + wesnoth-anl \ + wesnoth-aoi \ + wesnoth-did \ + wesnoth-dm \ + wesnoth-dw \ + wesnoth-editor \ + wesnoth-ei \ + wesnoth-help \ + wesnoth-httt \ + wesnoth-l \ + wesnoth-lib \ + wesnoth-low \ + wesnoth-manpages \ + wesnoth-manual \ + wesnoth-multiplayer \ + wesnoth-nr \ + wesnoth-sof \ + wesnoth-sota \ + wesnoth-sotbe \ + wesnoth-tb \ + wesnoth-test \ + wesnoth-thot \ + wesnoth-trow \ + wesnoth-tsg \ + wesnoth-tutorial \ + wesnoth-units \ + wesnoth-utbs" # set transifex project if [ ! -e ${TXDIR} ]; then - mkdir ${TXDIR} + mkdir ${TXDIR} tx init ${TX_DIR} --token=${TX_TOKEN} --force --no-interactive - cd ${TXDIR} + cd ${TXDIR} tx config mapping-remote https://www.transifex.com/projects/p/${TXPROJECT}/ cd ../ fi @@ -51,12 +51,12 @@ cd ../ for RESOURCE in ${RESOURCES} do - if [ ! -e ${RESOURCE} ]; then - mkdir -p ${RESOURCE} - fi - cp ${TXDIR}/translations/${TXPROJECT}.${RESOURCE}/ja.po ${RESOURCE}/ja.po + if [ ! -e ${RESOURCE} ]; then + mkdir -p ${RESOURCE} + fi + cp ${TXDIR}/translations/${TXPROJECT}.${RESOURCE}/ja.po ${RESOURCE}/ja.po done git add . git commit -m "Transifexと同期" -git push origin master \ No newline at end of file +git push origin master