From f7a37d5df741a190094d5b06a7e40eb6f3038be2 Mon Sep 17 00:00:00 2001 From: "congvc-bot[bot]" <3634010+congvc-bot[bot]@users.noreply.github.com> Date: Mon, 28 Sep 2026 09:04:41 +0700 Subject: [PATCH 1/3] feat(i18n): translate Vietnamese accounts empty state --- packages/desktop-client/locale-fork/vi.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/desktop-client/locale-fork/vi.json b/packages/desktop-client/locale-fork/vi.json index fd40ff3e70e..ff4b5d72bb1 100644 --- a/packages/desktop-client/locale-fork/vi.json +++ b/packages/desktop-client/locale-fork/vi.json @@ -151,5 +151,7 @@ "Found {{count}} split transactions with mismatched amounts on the below dates. Please review them manually:_one": "Đã tìm thấy {{count}} giao dịch tách có số tiền không khớp vào các ngày bên dưới. Vui lòng xem xét thủ công:", "Found {{count}} split transactions with mismatched amounts on the below dates. Please review them manually:_other": "Đã tìm thấy {{count}} giao dịch tách có số tiền không khớp vào các ngày bên dưới. Vui lòng xem xét thủ công:", "No split transactions found needing repair.": "Không tìm thấy giao dịch tách nào cần sửa.", - "Repair transactions": "Sửa giao dịch" + "Repair transactions": "Sửa giao dịch", + "<0>Let's add your first account. Accounts hold your transactions, like everyday spending, savings, credit cards, or cash. You can connect to your bank to import transactions automatically, or add them yourself.": "<0>Hãy thêm tài khoản đầu tiên. Tài khoản lưu các giao dịch của bạn, chẳng hạn như chi tiêu hằng ngày, tiền tiết kiệm, thẻ tín dụng hoặc tiền mặt. Bạn có thể kết nối với ngân hàng để tự động nhập giao dịch, hoặc tự thêm giao dịch.", + "You can add more accounts at any time from the sidebar.": "Bạn có thể thêm tài khoản bất cứ lúc nào từ thanh bên." } From 190e4082776d4154ffeaf12abbacf3ed830560b6 Mon Sep 17 00:00:00 2001 From: "congvc-bot[bot]" <3634010+congvc-bot[bot]@users.noreply.github.com> Date: Mon, 28 Sep 2026 09:24:02 +0700 Subject: [PATCH 2/3] fix(i18n): keep Vietnamese hidden during packaging --- .github/actions/setup/action.yml | 5 ++--- bin/package-browser | 3 ++- bin/package-electron | 3 ++- packages/desktop-client/src/languages.test.ts | 5 +++++ 4 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 packages/desktop-client/src/languages.test.ts diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 6b430f506ef..a3e4549e3f7 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -76,7 +76,6 @@ runs: run: packages/desktop-client/bin/remove-untranslated-languages shell: bash if: ${{ inputs.download-translations == 'true' && !env.ACT }} - - name: Overlay fork-owned Vietnamese translation - run: cp packages/desktop-client/locale-fork/vi.json packages/desktop-client/locale/vi.json + - name: Keep Vietnamese unavailable before UC5 approval + run: rm -f packages/desktop-client/locale/vi.json shell: bash - if: ${{ inputs.download-translations == 'true' && !env.ACT }} diff --git a/bin/package-browser b/bin/package-browser index 6e0e3d99b58..74da9e865d2 100755 --- a/bin/package-browser +++ b/bin/package-browser @@ -28,7 +28,8 @@ if [ "$SKIP_TRANSLATIONS" = false ]; then git pull popd > /dev/null packages/desktop-client/bin/remove-untranslated-languages - cp packages/desktop-client/locale-fork/vi.json packages/desktop-client/locale/vi.json fi +rm -f packages/desktop-client/locale/vi.json + lage build:browser --to=@actual-app/web diff --git a/bin/package-electron b/bin/package-electron index ecd25c94d1b..340708070ea 100755 --- a/bin/package-electron +++ b/bin/package-electron @@ -47,9 +47,10 @@ if [ $SKIP_TRANSLATIONS == false ]; then git pull popd > /dev/null packages/desktop-client/bin/remove-untranslated-languages - cp packages/desktop-client/locale-fork/vi.json packages/desktop-client/locale/vi.json fi +rm -f packages/desktop-client/locale/vi.json + export NODE_OPTIONS="--max-old-space-size=4096" yarn workspace @actual-app/crdt build diff --git a/packages/desktop-client/src/languages.test.ts b/packages/desktop-client/src/languages.test.ts new file mode 100644 index 00000000000..4d50bb0becf --- /dev/null +++ b/packages/desktop-client/src/languages.test.ts @@ -0,0 +1,5 @@ +import { availableLanguages } from './i18n'; + +test('Vietnamese remains unavailable before UC5 approval', () => { + expect(availableLanguages).not.toContain('vi'); +}); From 1c600d0b7e3d4bdbd9be65afff35bde2f622b271 Mon Sep 17 00:00:00 2001 From: "congvc-bot[bot]" <3634010+congvc-bot[bot]@users.noreply.github.com> Date: Tue, 29 Sep 2026 17:45:43 +0700 Subject: [PATCH 3/3] fix(ci): run Vietnamese removal in setup working-directory --- .github/actions/setup/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index a3e4549e3f7..224fcff0463 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -77,5 +77,6 @@ runs: shell: bash if: ${{ inputs.download-translations == 'true' && !env.ACT }} - name: Keep Vietnamese unavailable before UC5 approval + working-directory: ${{ inputs.working-directory }} run: rm -f packages/desktop-client/locale/vi.json shell: bash