Skip to content

A local-first personal finance app

Fix translations missing from preview deploys (#4130)

Julian Dominguez-Schatz1c6697a7eea7
diff --git a/bin/package-browser b/bin/package-browser
index 1585f64604..955d98f732 100755
--- a/bin/package-browser
+++ b/bin/package-browser
@@ -4,6 +4,14 @@ ROOT=`dirname $0`
cd "$ROOT/.."
+echo "Updating translations..."
+if ! [ -d packages/desktop-client/locale ]; then
+ git clone https://github.com/actualbudget/translations packages/desktop-client/locale
+fi
+pushd packages/desktop-client/locale > /dev/null
+git pull
+popd > /dev/null
+
yarn workspace loot-core build:browser
yarn workspace @actual-app/web build:browser
diff --git a/upcoming-release-notes/4130.md b/upcoming-release-notes/4130.md
new file mode 100644
index 0000000000..228efa62f4
--- /dev/null
+++ b/upcoming-release-notes/4130.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [jfdoming]
+---
+
+Fix translations missing from preview deploys