From af95c0f798271ec68d2ae1505a68d3f687452fd8 Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Fri, 17 Mar 2023 12:50:50 +0100 Subject: [PATCH] add japanese, disable armv6 build --- .github/workflows/docker-dev.yml | 3 ++- .github/workflows/docker.yml | 3 ++- ui/src/components/LanguageSelect/LanguageSelect.jsx | 1 + ui/src/i18n.js | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-dev.yml b/.github/workflows/docker-dev.yml index 0fa49bd..e990ded 100644 --- a/.github/workflows/docker-dev.yml +++ b/.github/workflows/docker-dev.yml @@ -34,7 +34,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - architecture: [arm64, arm/v7, arm/v6] + #architecture: [arm64, arm/v7, arm/v6] + architecture: [arm64, arm/v7] steps: - name: Login to DockerHub uses: docker/login-action@v2 diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 600260a..1178266 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -61,7 +61,8 @@ jobs: needs: build-amd64 strategy: matrix: - architecture: [arm64, arm-v7, arm-v6] + #architecture: [arm64, arm-v7, arm-v6] + architecture: [arm64, arm/v7] steps: - name: Login to DockerHub uses: docker/login-action@v2 diff --git a/ui/src/components/LanguageSelect/LanguageSelect.jsx b/ui/src/components/LanguageSelect/LanguageSelect.jsx index b6a6217..f05a5c3 100644 --- a/ui/src/components/LanguageSelect/LanguageSelect.jsx +++ b/ui/src/components/LanguageSelect/LanguageSelect.jsx @@ -22,6 +22,7 @@ const LanguageSelect = () => { de: { label: 'Deutsch', dir: 'ltr', active: false }, pt: { label: 'Português', dir: 'ltr', active: false }, es: { label: 'Español', dir: 'ltr', active: false }, + ja: { label: '日本', dir: 'rlt', active: false }, }; if (!languageMap[selected]) { diff --git a/ui/src/i18n.js b/ui/src/i18n.js index 4086371..df60712 100644 --- a/ui/src/i18n.js +++ b/ui/src/i18n.js @@ -14,7 +14,7 @@ i18n escapeValue: false, }, load: 'languageOnly', - whitelist: ['de', 'en', 'nl', 'fr', 'pl', 'es', 'pt'], + whitelist: ['de', 'en', 'nl', 'fr', 'pl', 'es', 'pt', 'ja'], }); export default i18n;