chore: move language files to the root directory to share them with both Flutter and Tauri. (#2970)

This commit is contained in:
Lucas.Xu
2023-07-11 19:27:40 +07:00
committed by GitHub
parent 2c669f1b85
commit 3d72b6fa12
25 changed files with 13 additions and 2 deletions

View File

@ -10,6 +10,11 @@ cd /d "%~dp0"
cd ..\..\..\appflowy_flutter
REM copy the resources/translations folder to
REM the appflowy_flutter/assets/translation directory
echo Copying resources/translations to appflowy_flutter/assets/translations
xcopy /E /Y /I ..\resources\translations assets\translations
call flutter packages pub get
echo Specifying source directory for AppFlowy Localizations.

View File

@ -10,6 +10,10 @@ cd "$(dirname "$0")"
# Navigate to the project root
cd ../../../appflowy_flutter
# copy the resources/translations folder to
# the appflowy_flutter/assets/translation directory
cp -r ../resources/translations assets/translations
flutter packages pub get
echo "Specifying source directory for AppFlowy Localizations."