Skip to content

Commit

Permalink
fix: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
nada-deriv committed May 8, 2024
1 parent e54d927 commit a352ea6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/sync-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ jobs:
- name: Sync translations
uses: deriv-com/translations/.github/actions/extract_and_sync_translations@main
with:
PROJECT_NAME: ${{ env.PROJECT_NAME }}
CROWDIN_BRANCH_NAME: ${{ env.CROWDIN_BRANCH_NAME }}
# CROWDIN_BASE_URL: ${{ env.CROWDIN_BASE_URL }}
# CROWDIN_BASE_PATH: ${{ env.CROWDIN_BASE_PATH }}
CROWDIN_PROJECT_ID: ${{ env.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ env.CROWDIN_PERSONAL_TOKEN }}
R2_ACCOUNT_ID: ${{ env.R2_ACCOUNT_ID }}
R2_ACCESS_KEY_ID: ${{ env.R2_ACCESS_KEY_ID }}
R2_SECRET_ACCESS_KEY: ${{ env.R2_SECRET_ACCESS_KEY }}
R2_BUCKET_NAME: ${{ env.R2_BUCKET_NAME }}
PROJECT_NAME: ${{ env.VITE_PROJECT_NAME }}
CROWDIN_BRANCH_NAME: ${{ env.VITE_CROWDIN_BRANCH_NAME }}
CROWDIN_PROJECT_ID: ${{ env.VITE_CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ env.VITE_CROWDIN_PERSONAL_TOKEN }}
R2_ACCOUNT_ID: ${{ env.VITE_R2_ACCOUNT_ID }}
R2_ACCESS_KEY_ID: ${{ env.VITE_R2_ACCESS_KEY_ID }}
R2_SECRET_ACCESS_KEY: ${{ env.VITE_R2_SECRET_ACCESS_KEY }}
R2_BUCKET_NAME: ${{ env.VITE_R2_BUCKET_NAME }}
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { initializeI18n, TranslationProvider } from '@deriv-com/translations';
import AppContent from './routes/AppContent';

const i18nInstance = initializeI18n({
cdnUrl: `https://pub-5ce11fcb15f34c0a9ce8ba7086d16e6a.r2.dev/${process.env.CROWDIN_PROJECT_ID}/${process.env.CROWDIN_BRANCH_NAME}`,
cdnUrl: `https://pub-5ce11fcb15f34c0a9ce8ba7086d16e6a.r2.dev/${process.env.VITE_CROWDIN_PROJECT_ID}/${process.env.VITE_CROWDIN_BRANCH_NAME}`,
});

const App = () => {
Expand Down

0 comments on commit a352ea6

Please sign in to comment.