Skip to content

Updating and adding missing labels on pt_BR locale#6154

Merged
GutoVeronezi merged 18 commits intoapache:mainfrom
scclouds:updating-br-locale
Jun 28, 2022
Merged

Updating and adding missing labels on pt_BR locale#6154
GutoVeronezi merged 18 commits intoapache:mainfrom
scclouds:updating-br-locale

Conversation

@BryanMLima
Copy link
Copy Markdown
Contributor

Description

This PR aims to improve the pt_BR labels and messages to enhance the user experience. This PR adds more than a thousand lines of new labels (to PT-BR) based on the English labels.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

How Has This Been Tested?

It was tested in a local lab changing the default the language to pt_BR and then I navigated in the ACS UI to see if there was something odd or missing.

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Mar 23, 2022

We need someone with language expertise to review/approve this - @GabrielBrascher maybe?

@yadvr yadvr closed this Apr 6, 2022
@yadvr yadvr reopened this Apr 6, 2022
@yadvr
Copy link
Copy Markdown
Member

yadvr commented Apr 6, 2022

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@rohityadavcloud a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6154 (SL-JID-1346)

@BryanMLima
Copy link
Copy Markdown
Contributor Author

@GutoVeronezi and/or @GabrielBrascher could you guys review this PR, thanks.

Comment thread ui/public/locales/pt_BR.json Outdated
Comment thread ui/public/locales/pt_BR.json Outdated
Comment thread ui/public/locales/pt_BR.json Outdated
Comment thread ui/public/locales/pt_BR.json Outdated
Co-authored-by: SadiJr <sadijacinto@gmail.com>
@acs-robot
Copy link
Copy Markdown

Found UI changes, kicking a new UI QA build
@blueorangutan ui

@acs-robot
Copy link
Copy Markdown

Found Java/XML changes, kicking packaging job
@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@acs-robot a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@acs-robot
Copy link
Copy Markdown

Found UI changes, kicking a new UI QA build
@blueorangutan ui

@acs-robot
Copy link
Copy Markdown

Found Java/XML changes, kicking packaging job
@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@acs-robot a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@acs-robot
Copy link
Copy Markdown

PR Coverage Report

CLASS INSTRUCTION MISSED INSTRUCTION COVERED BRANCH MISSED BRANCH COVERED LINE MISSED LINE COVERED
StorageManager 0 211 0 0 0 18
AgentAttache 1042 0 124 0 219 0
AgentManagerImpl 3463 0 380 0 714 0
ClusteredAgentManagerImpl 2361 0 242 0 536 0
NetworkOrchestrator 9636 0 1176 0 1901 0
VolumeOrchestrator 5170 0 560 0 977 0
NetworkDaoImpl 3307 0 116 0 467 0
SnapshotVO 172 58 12 0 48 20
SnapshotDaoImpl 768 0 8 0 128 0
Upgrade41610to41700 82 7 4 0 23 2
DirectDownloadCertificateHostMapDaoImpl 121 0 0 0 18 0
DirectDownloadCertificateHostMapVO 54 0 4 0 19 0
AncientDataMotionStrategy 1458 52 170 4 338 10
DefaultSnapshotStrategy 758 220 100 10 164 37
SnapshotDataFactoryImpl 152 58 15 5 37 13
DefaultVMSnapshotStrategy 486 677 52 30 100 140
ScaleIOVMSnapshotStrategy 1063 4 80 0 224 1
StorageStrategyFactoryImpl 37 77 1 5 8 18
SnapshotDataStoreDaoImpl 1683 60 44 2 292 13
DefaultHostListener 537 0 40 0 101 0
LibvirtComputingResource 8927 1961 1096 140 1992 444
LibvirtVMDef 37 114 6 4 11 36
LibvirtReadyCommandWrapper 8 37 2 2 1 10
LibvirtRevertSnapshotCommandWrapper 387 130 20 0 69 16
LibvirtUtilitiesHelper 115 58 4 2 27 8
IscsiAdmStorageAdaptor 981 0 52 0 178 0
IscsiAdmStoragePool 129 0 0 0 32 0
KVMStoragePoolManager 926 4 76 0 192 1
KVMStorageProcessor 5992 498 448 22 1239 71
LibvirtStorageAdaptor 3376 19 257 0 797 2
LibvirtStoragePool 239 89 15 9 64 29
LinstorStorageAdaptor 1076 0 50 0 246 0
ManagedNfsStorageAdaptor 446 0 20 0 125 0
ScaleIOStorageAdaptor 684 121 75 13 152 31
KVMHostInfo 150 146 10 4 30 38
QemuImg 674 0 64 0 160 0
MockVmManagerImpl 1495 0 90 0 338 0
VmwareServerDiscoverer 1586 0 182 0 378 0
VmwareManagerImpl 2613 528 296 38 615 117
VmwareResource 20060 0 2242 0 4330 0
VmwareStorageProcessor 9886 9 940 0 2121 2
XcpServerDiscoverer 1554 101 176 6 345 21
CitrixResourceBase 14566 557 1452 34 3160 122
CitrixReadyCommandWrapper 58 37 3 1 15 11
KubernetesClusterManagerImpl 4724 0 480 0 760 0
KubernetesClusterVO 298 0 6 0 109 0
KubernetesClusterActionWorker 1540 0 114 0 281 0
KubernetesClusterResourceModifierActionWorker 1843 0 140 0 325 0
KubernetesClusterStartWorker 2678 0 168 0 426 0
ListVMsMetricsCmd 39 0 0 0 10 0
MetricsServiceImpl 1673 0 98 0 337 0
NetScalerControlCenterResource 1943 0 144 0 468 0
NetscalerResource 6882 0 806 0 1623 0
ElastistorHostListener 150 0 14 0 30 0
DateraPrimaryDataStoreDriver 3195 0 283 0 748 0
DateraHostListener 635 0 74 0 136 0
CloudStackPrimaryDataStoreDriverImpl 903 0 114 0 229 0
LinstorPrimaryDataStoreDriverImpl 1442 0 91 0 348 0
ScaleIOPrimaryDataStoreDriver 2537 0 246 0 537 0
ScaleIOHostListener 196 0 14 0 43 0
SolidFirePrimaryDataStoreDriver 3347 0 284 0 697 0
SolidFireHostListener 545 0 60 0 112 0
SolidFireSharedHostListener 407 0 30 0 82 0
SAMLUtils 202 465 41 11 53 108
ApiDBUtils 2361 0 206 0 588 0
ApiResponseHelper 11878 0 1242 0 2711 0
ParamProcessWorker 1027 0 147 0 237 0
QueryManagerImpl 14153 0 1242 0 2389 0
ViewResponseHelper 1662 0 150 0 305 0
UserVmJoinDaoImpl 1531 0 184 0 328 0
Config 152 5162 30 6 42 342
ConfigurationManagerImpl 18094 0 3042 0 3571 0
LibvirtServerDiscoverer 988 0 116 0 218 0
AutoScaleManagerImpl 3297 0 320 0 691 0
ConfigDriveNetworkElement 1466 0 173 0 306 0
NetworkHelperImpl 2019 0 264 0 428 0
SecurityGroupManagerImpl 2330 0 260 0 497 0
NetworkACLServiceImpl 2698 0 302 0 520 0
ResourceManagerImpl 8512 0 982 0 1658 0
ManagementServerImpl 11764 0 1048 0 2349 0
StatsCollector 1875 0 104 0 308 0
StorageManagerImpl 8547 0 974 0 1704 0
VolumeApiServiceImpl 10826 0 1498 0 2031 0
StoragePoolMonitor 427 0 72 0 107 0
SnapshotManager 107 0 0 0 9 0
SnapshotManagerImpl 4186 0 410 0 751 0
TaggedResourceManagerImpl 473 0 58 0 96 0
TemplateManagerImpl 4996 0 696 0 1042 0
AccountManagerImpl 6427 0 900 0 1348 0
UserVmManagerImpl 20824 0 2576 0 3873 0
VMSnapshotManagerImpl 3135 0 292 0 623 0
BackupManagerImpl 2776 0 224 0 488 0
DirectDownloadManagerImpl 1679 0 186 0 361 0
UnmanagedVMsManagerImpl 4881 0 542 0 800 0
PremiumSecondaryStorageManagerImpl 775 0 64 0 116 0
SecondaryStorageManagerImpl 3494 149 343 11 623 32

1 similar comment
@acs-robot
Copy link
Copy Markdown

PR Coverage Report

CLASS INSTRUCTION MISSED INSTRUCTION COVERED BRANCH MISSED BRANCH COVERED LINE MISSED LINE COVERED
StorageManager 0 211 0 0 0 18
AgentAttache 1042 0 124 0 219 0
AgentManagerImpl 3463 0 380 0 714 0
ClusteredAgentManagerImpl 2361 0 242 0 536 0
NetworkOrchestrator 9636 0 1176 0 1901 0
VolumeOrchestrator 5170 0 560 0 977 0
NetworkDaoImpl 3307 0 116 0 467 0
SnapshotVO 172 58 12 0 48 20
SnapshotDaoImpl 768 0 8 0 128 0
Upgrade41610to41700 82 7 4 0 23 2
DirectDownloadCertificateHostMapDaoImpl 121 0 0 0 18 0
DirectDownloadCertificateHostMapVO 54 0 4 0 19 0
AncientDataMotionStrategy 1458 52 170 4 338 10
DefaultSnapshotStrategy 758 220 100 10 164 37
SnapshotDataFactoryImpl 152 58 15 5 37 13
DefaultVMSnapshotStrategy 486 677 52 30 100 140
ScaleIOVMSnapshotStrategy 1063 4 80 0 224 1
StorageStrategyFactoryImpl 37 77 1 5 8 18
SnapshotDataStoreDaoImpl 1683 60 44 2 292 13
DefaultHostListener 537 0 40 0 101 0
LibvirtComputingResource 8927 1961 1096 140 1992 444
LibvirtVMDef 37 114 6 4 11 36
LibvirtReadyCommandWrapper 8 37 2 2 1 10
LibvirtRevertSnapshotCommandWrapper 387 130 20 0 69 16
LibvirtUtilitiesHelper 115 58 4 2 27 8
IscsiAdmStorageAdaptor 981 0 52 0 178 0
IscsiAdmStoragePool 129 0 0 0 32 0
KVMStoragePoolManager 926 4 76 0 192 1
KVMStorageProcessor 5992 498 448 22 1239 71
LibvirtStorageAdaptor 3376 19 257 0 797 2
LibvirtStoragePool 239 89 15 9 64 29
LinstorStorageAdaptor 1076 0 50 0 246 0
ManagedNfsStorageAdaptor 446 0 20 0 125 0
ScaleIOStorageAdaptor 684 121 75 13 152 31
KVMHostInfo 150 146 10 4 30 38
QemuImg 674 0 64 0 160 0
MockVmManagerImpl 1495 0 90 0 338 0
VmwareServerDiscoverer 1586 0 182 0 378 0
VmwareManagerImpl 2613 528 296 38 615 117
VmwareResource 20060 0 2242 0 4330 0
VmwareStorageProcessor 9886 9 940 0 2121 2
XcpServerDiscoverer 1554 101 176 6 345 21
CitrixResourceBase 14566 557 1452 34 3160 122
CitrixReadyCommandWrapper 58 37 3 1 15 11
KubernetesClusterManagerImpl 4724 0 480 0 760 0
KubernetesClusterVO 298 0 6 0 109 0
KubernetesClusterActionWorker 1540 0 114 0 281 0
KubernetesClusterResourceModifierActionWorker 1843 0 140 0 325 0
KubernetesClusterStartWorker 2678 0 168 0 426 0
ListVMsMetricsCmd 39 0 0 0 10 0
MetricsServiceImpl 1673 0 98 0 337 0
NetScalerControlCenterResource 1943 0 144 0 468 0
NetscalerResource 6882 0 806 0 1623 0
ElastistorHostListener 150 0 14 0 30 0
DateraPrimaryDataStoreDriver 3195 0 283 0 748 0
DateraHostListener 635 0 74 0 136 0
CloudStackPrimaryDataStoreDriverImpl 903 0 114 0 229 0
LinstorPrimaryDataStoreDriverImpl 1442 0 91 0 348 0
ScaleIOPrimaryDataStoreDriver 2537 0 246 0 537 0
ScaleIOHostListener 196 0 14 0 43 0
SolidFirePrimaryDataStoreDriver 3347 0 284 0 697 0
SolidFireHostListener 545 0 60 0 112 0
SolidFireSharedHostListener 407 0 30 0 82 0
SAMLUtils 202 465 41 11 53 108
ApiDBUtils 2361 0 206 0 588 0
ApiResponseHelper 11878 0 1242 0 2711 0
ParamProcessWorker 1027 0 147 0 237 0
QueryManagerImpl 14153 0 1242 0 2389 0
ViewResponseHelper 1662 0 150 0 305 0
UserVmJoinDaoImpl 1531 0 184 0 328 0
Config 152 5162 30 6 42 342
ConfigurationManagerImpl 18094 0 3042 0 3571 0
LibvirtServerDiscoverer 988 0 116 0 218 0
AutoScaleManagerImpl 3297 0 320 0 691 0
ConfigDriveNetworkElement 1466 0 173 0 306 0
NetworkHelperImpl 2019 0 264 0 428 0
SecurityGroupManagerImpl 2330 0 260 0 497 0
NetworkACLServiceImpl 2698 0 302 0 520 0
ResourceManagerImpl 8512 0 982 0 1658 0
ManagementServerImpl 11764 0 1048 0 2349 0
StatsCollector 1875 0 104 0 308 0
StorageManagerImpl 8547 0 974 0 1704 0
VolumeApiServiceImpl 10826 0 1498 0 2031 0
StoragePoolMonitor 427 0 72 0 107 0
SnapshotManager 107 0 0 0 9 0
SnapshotManagerImpl 4186 0 410 0 751 0
TaggedResourceManagerImpl 473 0 58 0 96 0
TemplateManagerImpl 4996 0 696 0 1042 0
AccountManagerImpl 6427 0 900 0 1348 0
UserVmManagerImpl 20824 0 2576 0 3873 0
VMSnapshotManagerImpl 3135 0 292 0 623 0
BackupManagerImpl 2776 0 224 0 488 0
DirectDownloadManagerImpl 1679 0 186 0 361 0
UnmanagedVMsManagerImpl 4881 0 542 0 800 0
PremiumSecondaryStorageManagerImpl 775 0 64 0 116 0
SecondaryStorageManagerImpl 3494 149 343 11 623 32

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3201

@blueorangutan
Copy link
Copy Markdown

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3202

Copy link
Copy Markdown
Contributor

@GutoVeronezi GutoVeronezi left a comment

Choose a reason for hiding this comment

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

@BryanMLima, I couldn't review all the changes yet; however, I noticed that sometimes we write the entities in capitalized and sometimes in lowercase (Armazenamento Primário/armazenamento primário, Template/template). I think we should standardize the entities written, what do you think?

cc: @GabrielBrascher, @SadiJr


edit

PR #6281 is standardizing entities in lowercase. IMHO it's better (and clean) to read than capitalized.

Comment thread ui/public/locales/pt_BR.json Outdated
Comment thread ui/public/locales/pt_BR.json Outdated
Comment thread ui/public/locales/pt_BR.json Outdated
@DaanHoogland
Copy link
Copy Markdown
Contributor

DaanHoogland commented Apr 25, 2022

@BryanMLima, I couldn't review all the changes yet; however, I noticed that sometimes we write the entities in capitalized and sometimes in lowercase (Armazenamento Primário/armazenamento primário, Template/template). I think we should standardize the entities written, what do you think?

cc: @GabrielBrascher, @SadiJr

edit

PR #6281 is standardizing entities in lowercase. IMHO it's better (and clean) to read than capitalized.

@GutoVeronezi in English and German they tend to overcapitalise a lot, each with their own rules. Spanish and Dutch don´t do it as much and I imagine Portuguese neither. I´d advice you to use your Portuguese or Brazilian conventions for this.
The same goes for translations btw: the Dutch wouldn´t translate 'cloud' but would translate environment. I saw 'cloud' was translated in 'nuvem'. make sure this is really the local convention.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6154 (SL-JID-1542)

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Copy Markdown
Member

@GabrielBrascher GabrielBrascher left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @BryanMLima.
LGTM

@github-actions
Copy link
Copy Markdown

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

@github-actions
Copy link
Copy Markdown

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

Comment thread ui/public/locales/pt_BR.json
Comment thread ui/public/locales/pt_BR.json Outdated
Comment thread ui/public/locales/pt_BR.json Outdated
Comment thread ui/public/locales/pt_BR.json Outdated
Comment thread ui/public/locales/pt_BR.json Outdated
Comment thread ui/public/locales/pt_BR.json Outdated
Comment thread ui/public/locales/pt_BR.json Outdated
Comment thread ui/public/locales/pt_BR.json Outdated
Comment thread ui/public/locales/pt_BR.json Outdated
Comment thread ui/public/locales/pt_BR.json Outdated
Co-authored-by: Daniel Augusto Veronezi Salvador <38945620+GutoVeronezi@users.noreply.github.com>
@acs-robot
Copy link
Copy Markdown

Found UI changes, kicking a new UI QA build
@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6154 (SL-JID-1855)

@BryanMLima BryanMLima requested a review from GutoVeronezi June 27, 2022 17:59
@acs-robot
Copy link
Copy Markdown

Found UI changes, kicking a new UI QA build
@blueorangutan ui

@acs-robot
Copy link
Copy Markdown

Found UI changes, kicking a new UI QA build
@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6154 (SL-JID-1857)

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@DaanHoogland
Copy link
Copy Markdown
Contributor

@GabrielBrascher @GutoVeronezi @, can we merge this?

@GutoVeronezi
Copy link
Copy Markdown
Contributor

Merging based in the approvals and test results.

@GutoVeronezi GutoVeronezi merged commit c1cb84b into apache:main Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants