-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1908 from vector-im/t3chguy/localazy/2
Switch from Weblate to Localazy
- Loading branch information
Showing
68 changed files
with
2,680 additions
and
2,162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Download translation files from Localazy | ||
on: | ||
workflow_dispatch: | ||
secrets: | ||
ELEMENT_BOT_TOKEN: | ||
required: true | ||
|
||
jobs: | ||
download: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
|
||
steps: | ||
- name: Checkout the code | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: "yarn" | ||
|
||
- name: Install Deps | ||
run: "yarn install --frozen-lockfile" | ||
|
||
- name: Prune i18n | ||
run: "rm -R public/locales" | ||
|
||
- name: Download translation files | ||
uses: localazy/download@v1.1.0 | ||
with: | ||
groups: "-p includeSourceLang:true" | ||
|
||
- name: Fix the owner of the downloaded files | ||
run: "sudo chown runner:docker -R public/locales" | ||
|
||
- name: Prettier | ||
run: yarn prettier:format | ||
|
||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v5.0.2 | ||
with: | ||
token: ${{ secrets.ELEMENT_BOT_TOKEN }} | ||
branch: actions/localazy-download | ||
delete-branch: true | ||
title: Localazy Download | ||
commit-message: Translations updates | ||
labels: | | ||
T-Task | ||
- name: Enable automerge | ||
run: gh pr merge --merge --auto "$PR_NUMBER" | ||
if: steps.cpr.outputs.pull-request-operation == 'created' | ||
env: | ||
GH_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} | ||
PR_NUMBER: ${{ steps.cpr.outputs.pull-request-number }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Upload translation files to Localazy | ||
on: | ||
push: | ||
branches: | ||
- livekit | ||
|
||
jobs: | ||
upload: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
|
||
steps: | ||
- name: Checkout the code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Upload | ||
uses: localazy/upload@v1 | ||
with: | ||
write_key: ${{ secrets.LOCALAZY_WRITE_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"readKey": "a7580769542256117579-70975387172511848f4c6533943d776547bad4853931ba352ee684b738f4494e", | ||
|
||
"upload": { | ||
"type": "json", | ||
"deprecate": "file", | ||
"features": ["plural_postfix_us", "filter_untranslated"], | ||
"files": [ | ||
{ | ||
"pattern": "public/locales/en-GB/*.json", | ||
"lang": "inherited" | ||
}, | ||
{ | ||
"group": "existing", | ||
"pattern": "public/locales/*/*.json", | ||
"excludes": ["public/locales/en-GB/*.json"], | ||
"lang": "${autodetectLang}" | ||
} | ||
] | ||
}, | ||
|
||
"download": { | ||
"files": [ | ||
{ | ||
"output": "public/locales/${langLsrDash}/${file}" | ||
} | ||
], | ||
"includeSourceLang": "${includeSourceLang|false}", | ||
"langAliases": { | ||
"en": "en_GB" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,78 @@ | ||
{ | ||
"<0>Already have an account?</0><1><0>Log in</0> Or <2>Access as a guest</2></1>": "<0>Вече имате акаунт?</0><1><0>Влезте с него</0> или <2>Влезте като гост</2></1>", | ||
"<0>Create an account</0> Or <2>Access as a guest</2>": "<0>Създайте акаунт</0> или <2>Влезте като гост</2>", | ||
"<0>Why not finish by setting up a password to keep your account?</0><1>You'll be able to keep your name and set an avatar for use on future calls</1>": "<0>Защо не настройте парола за да запазите акаунта си?</0><1>Ще можете да запазите името и аватара си за бъдещи разговори</1>", | ||
"Another user on this call is having an issue. In order to better diagnose these issues we'd like to collect a debug log.": "Друг потребител в този разговор има проблем. За да диагностицираме този проблем по-добре ни се иска да съберем debug логове.", | ||
"Audio": "Звук", | ||
"Avatar": "Аватар", | ||
"Camera": "Камера", | ||
"Close": "Затвори", | ||
"Confirm password": "Потвърди паролата", | ||
"Copied!": "Копирано!", | ||
"Create account": "Създай акаунт", | ||
"Debug log request": "Заявка за debug логове", | ||
"Developer": "Разработчик", | ||
"Display name": "Име/псевдоним", | ||
"Exit full screen": "Излез от цял екран", | ||
"Full screen": "Цял екран", | ||
"Go": "Напред", | ||
"Home": "Начало", | ||
"Include debug logs": "Включи debug логове", | ||
"Join call": "Влез в разговора", | ||
"Join call now": "Влез в разговора сега", | ||
"Join existing call?": "Присъединяване към съществуващ разговор?", | ||
"Loading…": "Зареждане…", | ||
"Local volume": "Локална сила на звука", | ||
"Logging in…": "Влизане…", | ||
"Login": "Влез", | ||
"Login to your account": "Влезте в акаунта си", | ||
"Microphone": "Микрофон", | ||
"More": "Още", | ||
"No": "Не", | ||
"Not now, return to home screen": "Не сега, върни се на началния екран", | ||
"Not registered yet? <2>Create an account</2>": "Все още не сте регистрирани? <2>Създайте акаунт</2>", | ||
"Password": "Парола", | ||
"Passwords must match": "Паролите не съвпадат", | ||
"Profile": "Профил", | ||
"Recaptcha dismissed": "Recaptcha отхвърлена", | ||
"Recaptcha not loaded": "Recaptcha не е заредена", | ||
"Register": "Регистрация", | ||
"Registering…": "Регистриране…", | ||
"Remove": "Премахни", | ||
"Return to home screen": "Връщане на началния екран", | ||
"Select an option": "Изберете опция", | ||
"Send debug logs": "Изпратете debug логове", | ||
"Sending…": "Изпращане…", | ||
"Settings": "Настройки", | ||
"Share screen": "Сподели екрана", | ||
"Sign in": "Влез", | ||
"Sign out": "Излез", | ||
"Speaker": "Говорител", | ||
"Spotlight": "Прожектор", | ||
"Submit feedback": "Изпрати обратна връзка", | ||
"This call already exists, would you like to join?": "Този разговор вече съществува, искате ли да се присъедините?", | ||
"User menu": "Потребителско меню", | ||
"Username": "Потребителско име", | ||
"Version: {{version}}": "Версия: {{version}}", | ||
"Video": "Видео", | ||
"Waiting for other participants…": "Изчакване на други участници…", | ||
"Yes, join call": "Да, присъедини се" | ||
"a11y": { | ||
"user_menu": "Потребителско меню" | ||
}, | ||
"action": { | ||
"close": "Затвори", | ||
"go": "Напред", | ||
"no": "Не", | ||
"register": "Регистрация", | ||
"remove": "Премахни", | ||
"sign_in": "Влез", | ||
"sign_out": "Излез" | ||
}, | ||
"call_ended_view": { | ||
"create_account_button": "Създай акаунт", | ||
"create_account_prompt": "<0>Защо не настройте парола за да запазите акаунта си?</0><1>Ще можете да запазите името и аватара си за бъдещи разговори</1>", | ||
"not_now_button": "Не сега, върни се на началния екран" | ||
}, | ||
"common": { | ||
"audio": "Звук", | ||
"avatar": "Аватар", | ||
"camera": "Камера", | ||
"copied": "Копирано!", | ||
"display_name": "Име/псевдоним", | ||
"home": "Начало", | ||
"loading": "Зареждане…", | ||
"microphone": "Микрофон", | ||
"password": "Парола", | ||
"profile": "Профил", | ||
"settings": "Настройки", | ||
"username": "Потребителско име", | ||
"video": "Видео" | ||
}, | ||
"exit_fullscreen_button_label": "Излез от цял екран", | ||
"fullscreen_button_label": "Цял екран", | ||
"join_existing_call_modal": { | ||
"join_button": "Да, присъедини се", | ||
"text": "Този разговор вече съществува, искате ли да се присъедините?", | ||
"title": "Присъединяване към съществуващ разговор?" | ||
}, | ||
"layout_spotlight_label": "Прожектор", | ||
"lobby": { | ||
"join_button": "Влез в разговора" | ||
}, | ||
"local_volume_label": "Локална сила на звука", | ||
"logging_in": "Влизане…", | ||
"login_auth_links": "<0>Създайте акаунт</0> или <2>Влезте като гост</2>", | ||
"login_title": "Влез", | ||
"rageshake_request_modal": { | ||
"body": "Друг потребител в този разговор има проблем. За да диагностицираме този проблем по-добре ни се иска да съберем debug логове.", | ||
"title": "Заявка за debug логове" | ||
}, | ||
"rageshake_send_logs": "Изпратете debug логове", | ||
"rageshake_sending": "Изпращане…", | ||
"recaptcha_dismissed": "Recaptcha отхвърлена", | ||
"recaptcha_not_loaded": "Recaptcha не е заредена", | ||
"register": { | ||
"passwords_must_match": "Паролите не съвпадат", | ||
"registering": "Регистриране…" | ||
}, | ||
"register_auth_links": "<0>Вече имате акаунт?</0><1><0>Влезте с него</0> или <2>Влезте като гост</2></1>", | ||
"register_confirm_password_label": "Потвърди паролата", | ||
"return_home_button": "Връщане на началния екран", | ||
"room_auth_view_join_button": "Влез в разговора сега", | ||
"screenshare_button_label": "Сподели екрана", | ||
"select_input_unset_button": "Изберете опция", | ||
"settings": { | ||
"developer_tab_title": "Разработчик", | ||
"feedback_tab_h4": "Изпрати обратна връзка", | ||
"feedback_tab_send_logs_label": "Включи debug логове", | ||
"more_tab_title": "Още", | ||
"speaker_device_selection_label": "Говорител" | ||
}, | ||
"unauthenticated_view_body": "Все още не сте регистрирани? <2>Създайте акаунт</2>", | ||
"unauthenticated_view_login_button": "Влезте в акаунта си", | ||
"version": "Версия: {{version}}", | ||
"waiting_for_participants": "Изчакване на други участници…" | ||
} |
Oops, something went wrong.