Skip to content

Adding localization#445

Open
Future998 wants to merge 3 commits into
project-zot:mainfrom
Future998:localization
Open

Adding localization#445
Future998 wants to merge 3 commits into
project-zot:mainfrom
Future998:localization

Conversation

@Future998
Copy link
Copy Markdown
Contributor

  • Replaced the text for localization.
  • Added Select to select the language in the Header.
  • Localization of the DateTime format.
  • Added Russian language.

@rchincha
Copy link
Copy Markdown
Contributor

@Future998 thanks for the PR.

@rchincha
Copy link
Copy Markdown
Contributor

image

@rchincha
Copy link
Copy Markdown
Contributor

@Future998 seems to be working nicely.

Can you pls rebase and fix the merge conflicts?

Copy link
Copy Markdown
Contributor

@andaaron andaaron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rchincha
Copy link
Copy Markdown
Contributor

rchincha commented Nov 1, 2024

@Future998 pls address the ci failures.

@Future998 Future998 force-pushed the localization branch 4 times, most recently from 3dd802a to 0eef473 Compare November 5, 2024 11:17
@Future998
Copy link
Copy Markdown
Contributor Author

@rchincha, OK, it's ready

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 9, 2024

Codecov Report

❌ Patch coverage is 89.84375% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.12%. Comparing base (c78b303) to head (94348ea).
⚠️ Report is 24 commits behind head on main.

Files with missing lines Patch % Lines
src/components/Login/ThirdPartyLoginComponents.jsx 25.00% 3 Missing ⚠️
src/components/Header/Header.jsx 71.42% 2 Missing ⚠️
src/components/Shared/TagCard.jsx 83.33% 1 Missing ⚠️
src/components/User/ApiKeys/ApiKeyCard.jsx 0.00% 1 Missing ⚠️
...rc/components/User/ApiKeys/ApiKeyConfirmDialog.jsx 0.00% 1 Missing ⚠️
src/components/User/ApiKeys/ApiKeyDialog.jsx 0.00% 1 Missing ⚠️
src/components/User/ApiKeys/ApiKeyRevokeDialog.jsx 0.00% 1 Missing ⚠️
src/components/User/ApiKeys/ApiKeys.jsx 0.00% 1 Missing ⚠️
src/utilities/i18n.js 0.00% 1 Missing ⚠️
.../utilities/vulnerabilityAndSignatureComponents.jsx 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #445      +/-   ##
==========================================
- Coverage   85.00%   84.12%   -0.89%     
==========================================
  Files          63       64       +1     
  Lines        1961     2041      +80     
  Branches      532      543      +11     
==========================================
+ Hits         1667     1717      +50     
- Misses        284      311      +27     
- Partials       10       13       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Future998
Copy link
Copy Markdown
Contributor Author

I don't quite understand what to do next?

@Future998 Future998 force-pushed the localization branch 2 times, most recently from 4f37f4e to 73b21a5 Compare November 14, 2024 17:01
@Future998
Copy link
Copy Markdown
Contributor Author

@rchincha, OK, it's ready

@rchincha
Copy link
Copy Markdown
Contributor

@Future998 This PR is a little late for the very next release. Will consider this for the next release after.
Also canvasing feedback from the community about ii8n in OCI registries in general.

Copy link
Copy Markdown
Collaborator

@raulkele raulkele left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR. The changes look good to me. If we want to add localisation, this will also set the basis for implementing other locales.

Comment thread src/components/Header/Header.jsx Outdated
@Future998
Copy link
Copy Markdown
Contributor Author

Like that?

@Future998
Copy link
Copy Markdown
Contributor Author

@andaaron @raulkele @Andreea-Lupu, Please take a look at my PR and approve it or close it.

@Future998 Future998 requested review from andaaron and raulkele May 13, 2026 15:48
Future998 added 2 commits May 14, 2026 16:58
- Replaced the text for localization.
- Added Select to select the language in the Header.
- Localization of the DateTime format.
- Added Russian language.

Signed-off-by: Alexander Burmatov <thatman@altlinux.org>
The translation of the application affected the tests.

Signed-off-by: Alexander Burmatov <thatman@altlinux.org>
Signed-off-by: Alexander Burmatov <thatman@altlinux.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants