Skip to content

Commit

Permalink
feat: remove localazy, put locales locally
Browse files Browse the repository at this point in the history
  • Loading branch information
antonstjernquist committed Jan 29, 2024
1 parent 4915bd8 commit d2dcf2f
Show file tree
Hide file tree
Showing 34 changed files with 3,518 additions and 247 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,6 @@ jobs:
- name: Install main deps
run: yarn --frozen-lockfile

- name: Translations
env:
LOCALAZY_READ_KEY: ${{ secrets.LOCALAZY_READ_KEY }}
LOCALAZY_WRITE_KEY: ${{ secrets.LOCALAZY_WRITE_KEY }}
run: |
yarn translations:pull
yarn translations:generate-index
- name: Install src deps
working-directory: src
run: yarn --frozen-lockfile
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ jobs:
- name: Install main deps
run: yarn --frozen-lockfile --ignore-scripts

- name: Translations
env:
LOCALAZY_READ_KEY: a8269809765126758267-f01743c76d6e9e434d7b4c6322938eefce8d82a559b57efc2acfcf4531d46089
run: yarn translations:pull

- name: Generate translations
run: yarn translations:generate-index

- name: Install src deps
working-directory: src
run: yarn --frozen-lockfile
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install deps (Translations)
working-directory: .
run: yarn --frozen-lockfile
- name: Generate translations
working-directory: .
run: |
yarn translations:generate
yarn translations:generate-index
- name: Install deps
run: yarn --frozen-lockfile
- name: Linting
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/translations.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install deps (Translations)
working-directory: .
run: yarn --frozen-lockfile
- name: Generate translations
working-directory: .
run: |
yarn translations:generate
yarn translations:generate-index
- name: Install deps
run: yarn --frozen-lockfile
- name: Linting
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
node_modules
dist
sv_pefcl.log
locales
temp
yarn-error.log
106 changes: 0 additions & 106 deletions i18next-parser.config.old.js

This file was deleted.

14 changes: 0 additions & 14 deletions localazy.json

This file was deleted.

173 changes: 173 additions & 0 deletions locales/bg/default.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
{
"Account": "Акаунт",
"Account balance": "Сметка",
"Account name": "Име на сметката",
"Account name is required": "Име на сметката е задължително",
"Account name is too long": "Името на акаунта е твърде дълго",
"Account users": "Потребители на сметката",
"Accounts": "Акаунти",
"Actions": "Actions",
"Add external account": "Добавяне на външен акаунт",
"Add user": "Добавяне на потребител",
"Add user to account": "Добавяне на потребител към акаунта",
"Add user to shared account": "Добавяне на потребител към споделена сметката",
"Admin": "Администратор",
"Admin role required": "Изисква се администраторска роля",
"Amount": "Сума",
"An account for the specified number already exists": "Вече съществува сметка за посочения номер",
"Are you sure you want to block this card? This action cannot be undone.": "Are you sure you want to block this card? This action cannot be undone.",
"Are you sure you want to delete this card? This action cannot be undone.": "Are you sure you want to delete this card? This action cannot be undone.",
"Balance": "Налична сума",
"Block the card": "Block the card",
"Block, update pin and more.": "Block, update pin and more.",
"Blocking card": "Blocking card",
"CREATE": "СЪЗДАЙ",
"Cancel": "Отказ",
"Card holder": "Card holder",
"Cards": "Cards",
"Choose role": "Изберете роля",
"Clearing- & account number": "Изчистване & номер на сметката",
"Clearing- & account number is required": "Изисква се почистване & номер на сметка",
"Confirm new pin": "Confirm new pin",
"Confirm pin": "Confirm pin",
"Contributor": "Сътрудник",
"Contributors cannot use money in shared accounts.": "Сътрудниците не могат да използват пари в споделени сметки.",
"Copy account number": "Копиране на номера на сметката",
"Cost": "Цена",
"Current cash": "Текущи парични средства",
"DATE_FORMAT": "YYYY/MM/DD",
"DATE_TIME_FORMAT": "YYYY/MM/DD HH:mm",
"Danger zone": "Опасна зона",
"Dashboard": "Табло",
"Default": "По подразбиране",
"Default account": "Профил по подразбиране",
"Delete account": "Изтрий сметката",
"Delete the card": "Delete the card",
"Deleting card": "Deleting card",
"Deposit": "Депозит",
"Deposited {{amount}} into account.": "Депозирани {{amount}} в акаунта.",
"Enter card pin to block the card.": "Enter card pin to block the card.",
"Enter pin": "Enter pin",
"Expense": "Разход",
"Expenses": "Разходи",
"Expires": "Валидност",
"External account name": "Име на външен акаунт",
"External accounts": "Външни сметки",
"External transfer": "Външно прехвърляне",
"Failed to create new account": "Failed to create new account",
"Fetching data ..": "Извличане на данни…",
"Filters": "Филтри",
"From account": "От сметка",
"Funds will be transfered to default account.": "Средствата ще бъдат прехвърлени към сметка по подразбиране.",
"General": "Общи",
"Handle accounts": "Обработване на сметки",
"Handle cards for your accounts": "Handle cards for your accounts",
"Handle your unpaid invoices": "Обработване на неплатените фактури",
"Home": "Начало",
"Income": "Приходи",
"Insufficent funds": "Недостатъчни средства",
"Internal transfer": "Вътрешен трансфер",
"Invalid account name": "Невалидно име на акаунт",
"Invalid number, format is xxx, xxxx-xxxx-xxxx": "Невалиден номер, форматът е xxx, xxxx-xxxx-xxxx",
"Invalid number, format is: xxx, xxxx-xxxx-xxxx": "Невалиден номер, форматът е: xxx, xxxx-xxxx-xxxx",
"Invalid pin": "Invalid pin",
"Invoice": "Фактура",
"Invoices": "Фактури",
"Latest transactions": "Последни транзакции",
"Loading invoices": "Зареждане на фактури",
"Loading transactions": "Зареждане на транзакции",
"Loading {{name}} view ..": "Зареждане на {{name}} преглеждане..",
"Message": "Съобщение",
"Name": "Име",
"New account name": "Ново име на акаунт",
"New balance": "Нов баланс",
"New cash": "Нови парични средства",
"New pin": "New pin",
"No account found to receive transfer.": "Не е намерен акаунт за получаване на превод.",
"No invoices, yet.": "Все още нямате фактури.",
"No users found.": "Няма намерени потребители",
"Old pin": "Old pin",
"Open account": "Отвори сметка",
"Open bank": "Отворете банката",
"Opened a new account": "Отваряне на нов акаунт",
"Order a new card": "Order a new card",
"Order new card": "Order new card",
"Ordered new card": "Ordered new card",
"PERSONAL": "ЛИЧЕН",
"Paid": "Платено",
"Paid invoice": "Платена фактура",
"Paid outgoing invoice to: {{to}}": "Платена фактура на: {{to}}",
"Pay invoice": "Платете фактурата",
"Pay your bills": "Платете сметките си",
"Personal": "Лично",
"Personal account": "Личен акаунт",
"Pins do not match": "Pins do not match",
"Quick withdraw": "Бързо изтегляне",
"Received incoming invoice from: {{from}}": "Получена фактура от: {{from}}",
"Remaining funds from \"{{deletedAccount}}\"": "Оставащи средства от \"{{deletedAccount}}\"",
"Remove user": "Премахване на потребителя",
"Remove user from a shared account": "Премахване на потребител от споделен акаунт",
"Remove user from account": "Премахване на потребител от акаунта",
"Rename": "Преименуване",
"Rename account": "Преименуване на акаунта",
"Report": "Докладване",
"Role": "Роля",
"SHARED": "СПОДЕЛЕНИ",
"Search for a user": "Търсене на потребител",
"Select a card": "Select a card",
"Select a card to handle, or order a new one.": "Select a card to handle, or order a new one.",
"Select a user": "Изберете потребител",
"Select account": "Изберете акаунт",
"Set account to default": "Задаване на акаунт по подразбиране",
"Shared": "Споделени",
"Shared account": "Споделен акаунт",
"Shared account actions": "Действия за споделения акаунт",
"Shared account cannot be default account": "Споделеният акаунт не може да бъде акаунт по подразбиране",
"Something went wrong": "Нещо се обърка",
"Something went wrong, please try again later.": "Нещо се обърка. Моля, опитайте пак по-късно.",
"Successfully blocked the card.": "Successfully blocked the card.",
"Successfully deleted the card.": "Successfully deleted the card.",
"Successfully deposited {{amount}} into selected account.": "Успешно депозирани {{amount}} в избраната сметка.",
"Successfully transferred funds": "Успешно прехвърлени средства",
"Successfully transferred {{amount}}.": "Успешно прехвърлена {{amount}}.",
"Successfully updated pin.": "Successfully updated pin.",
"Successfully withdrew {{amount}}.": "Успешно е изтеглихте {{amount}}.",
"Summary": "Отчет",
"The card is blocked": "The card is blocked",
"The specified number does not match an existing account": "Посоченият номер не съвпада със съществуващ акаунт",
"There are currently no unpaid invoices!": "В момента нямате неплатени фактури!",
"There is nothing to see here.": "Няма какво да се види тук.",
"This is a shared account": "Това е споделен акаунт",
"This should be the default account": "Това трябва да е акаунтът по подразбиране",
"This will take cash from your person and insert into selected bank account": "Това ще отнеме пари от вас и ще внесете в избраната банкова сметка",
"To account": "Към акаунта",
"Total": "Общо",
"Total balance": "Общ баланс",
"TransactionType.Incoming": "TransactionType.Incoming",
"TransactionType.Outgoing": "TransactionType.Outgoing",
"TransactionType.Transfer": "TransactionType.Transfer",
"Transactions": "Транзакции",
"Transfer": "Прехвърляне",
"Transfer between internal & external accounts.": "Прехвърляне между вътрешни и външни акаунти.",
"Transfer funds": "Прехвърляне на средства",
"Unpaid invoices": "Неплатени фактури",
"Update pin": "Update pin",
"View all": "Преглед на всички",
"Weekly summary": "Седмичен отчет",
"Withdraw": "Изтеглете",
"Withdrew {{amount}} from account.": "Изтеглихте {{amount}} от сметката.",
"Withdrew {{amount}} from an ATM with card {{cardNumber}}.": "Withdrew {{amount}} from an ATM with card {{cardNumber}}.",
"Withdrew {{amount}} from an ATM.": "Withdrew {{amount}} from an ATM.",
"You already have access to this account. Use internal transfer instead": "Вече имате достъп до този акаунт. Вместо това използвайте вътрешен трансфер",
"You can create more accounts by visiting the nearest bank ..": "Можете да създадете повече акаунти, като посетите най-близката банка..",
"You cannot delete the default account": "Не можете да изтриете акаунта по подразбиране",
"Your accounts": "· Вашите акаунти",
"calendar.lastDay": "calendar.lastDay",
"calendar.lastWeek": "calendar.lastWeek",
"calendar.nextDay": "calendar.nextDay",
"calendar.nextWeek": "calendar.nextWeek",
"calendar.sameDay": "calendar.sameDay",
"calendar.sameElse": "calendar.sameElse",
"owner": "Собственик",
"{{from}}-{{to}} of {{total}}": "{{from}}-{{to}} на стойност: {{total}}"
}
Loading

0 comments on commit d2dcf2f

Please sign in to comment.