Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support from localization based on browser and languages #41

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

fnxpt
Copy link

@fnxpt fnxpt commented Apr 6, 2024

Description

  • Add support for i18n based on browser
  • Sorted EN file
  • Added missing strings to EN file
  • Removed unused strings from EN file
  • Removed md5/sha strings from messages and moved them to hashes
  • Added auto translation for de
  • Added auto translation for es
  • Added auto translation for fr
  • Added auto translation for hi
  • Added auto translation for it
  • Added auto translation for ja
  • Added auto translation for pl
  • Added auto translation for pt
  • Added auto translation for pt-BR
  • Added auto translation for ru
  • Added auto translation for zh

strings added missing:

┬────────────────────────────┬───────────────────────────────────────────────────────────────────┬──────┬
│            path            │                               file                                │ line │
┼────────────────────────────┼───────────────────────────────────────────────────────────────────┼──────┼
│    'admin.team_created'    │ './src/views/administration/accessmanagement/CreateTeamModal.vue' │  37  │
│ 'admin.oidc_group_deleted' │   './src/views/administration/accessmanagement/OidcGroups.vue'    │ 143  │
│   'condition.successful'   │    './src/views/administration/mixins/configPropertyMixin.js'     │  46  │
│       'message.purl'       │   './src/views/portfolio/projects/ProjectPolicyViolations.vue'    │ 168  │
│       'message.swid'       │   './src/views/portfolio/projects/ProjectPolicyViolations.vue'    │ 174  │
┴────────────────────────────┴───────────────────────────────────────────────────────────────────┴──────┴

strings removed unused:

'admin.enable_bom_spdx'
'admin.template_cloned'
'admin.threadfix'
'condition.http_status_code'
'condition.warning'
'message.add_service'
'message.affects'
'message.alias'
'message.audit'
'message.blake2b_256'
'message.blake2b_384'
'message.blake2b_512'
'message.blake3'
'message.component_added'
'message.component_group'
'message.component_removed'
'message.component_version'
'message.cwe_desc'
'message.dependencies'
'message.download'
'message.md5'
'message.remove_service'
'message.sha1'
'message.sha256'
'message.sha3_256'
'message.sha3_384'
'message.sha3_512'
'message.sha384'
'message.sha512'
'message.subject'
'message.used_by'
'message.vex_long_desc'
'message.vulnerability_source_desc'
'message.vulnerability_source'
'message.vulnerability_subtitle_desc'
'message.vulnerability_subtitle'
'message.vulnerable_dependencies'

Addressed Issue

Additional Details

Checklist

Marlon Pina Tojal added 6 commits April 6, 2024 18:10
Signed-off-by: Marlon Pina Tojal <marlont@backbase.com>
Signed-off-by: Marlon Pina Tojal <marlont@backbase.com>
Signed-off-by: Marlon Pina Tojal <marlont@backbase.com>
Signed-off-by: Marlon Pina Tojal <marlont@backbase.com>
Signed-off-by: Marlon Pina Tojal <marlont@backbase.com>
Signed-off-by: Marlon Pina Tojal <marlont@backbase.com>
Copy link
Collaborator

@sahibamittal sahibamittal left a comment

Choose a reason for hiding this comment

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

lgtm 👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants