Skip to content

Commit

Permalink
minor: 后端国际化
Browse files Browse the repository at this point in the history
  • Loading branch information
normal-wls committed Jan 3, 2023
1 parent 3f97149 commit 8b5432f
Show file tree
Hide file tree
Showing 9 changed files with 2,969 additions and 2,269 deletions.
Binary file modified locale/en/LC_MESSAGES/django.mo
Binary file not shown.
1,391 changes: 708 additions & 683 deletions locale/en/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified locale/en/LC_MESSAGES/djangojs.mo
Binary file not shown.
1,191 changes: 649 additions & 542 deletions locale/en/LC_MESSAGES/djangojs.po

Large diffs are not rendered by default.

Binary file modified locale/zh_hans/LC_MESSAGES/django.mo
Binary file not shown.
1,555 changes: 879 additions & 676 deletions locale/zh_hans/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified locale/zh_hans/LC_MESSAGES/djangojs.mo
Binary file not shown.
1,099 changes: 731 additions & 368 deletions locale/zh_hans/LC_MESSAGES/djangojs.po

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions scripts/i18n/django_i18n.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ WORK_PATH=`pwd`

mkdir -p ~/Temp/gcloud_open/ || exit 1
mv -f $WORK_PATH/static/ ~/Temp/gcloud_open/ || exit 1
mv -f $WORK_PATH/staticfiles/ ~/Temp/gcloud_open/ || exit 1
mv -f $WORK_PATH/frontend/desktop/node_modules ~/Temp/gcloud_open/desktop_node
mv -f $WORK_PATH/frontend/mobile/node_modules ~/Temp/gcloud_open/modile_node
rm -rf $WORK_PATH/frontend/desktop/static/ || exit 1
Expand Down Expand Up @@ -47,5 +48,6 @@ read -rsp $'Press translate django.po and djangojs.po, then press any key to con
django-admin compilemessages

mv -f ~/Temp/gcloud_open/static/ $WORK_PATH/
mv -f ~/Temp/gcloud_open/staticfiles/ $WORK_PATH/
mv -f ~/Temp/gcloud_open/desktop_node $WORK_PATH/frontend/desktop/node_modules
mv -f ~/Temp/gcloud_open/modile_node $WORK_PATH/frontend/mobile/node_modules

0 comments on commit 8b5432f

Please sign in to comment.