WordPress / openverse

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
https://openverse.org
MIT License
254 stars 203 forks source link

Update Nuxt i18n #5176

Closed obulat closed 5 hours ago

obulat commented 4 days ago

Fixes

Description

This PR updates Nuxt i18n, and adds the necessary changes:

The unused i18n-check script was removed

Testing Instructions

The CI should pass, and the app should work correctly without warning. Run the i18n scripts and check that they all work. Delete locale files between running the scripts.

Checklist

[best_practices]: https://git-scm.com/book/en/v2/Distributed-Git-Contributing-to-a-Project#_commit_guidelines

Developer Certificate of Origin

Developer Certificate of Origin ``` Developer Certificate of Origin Version 1.1 Copyright (C) 2004, 2006 The Linux Foundation and its contributors. 1 Letterman Drive Suite D4700 San Francisco, CA, 94129 Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Developer's Certificate of Origin 1.1 By making a contribution to this project, I certify that: (a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or (b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or (c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it. (d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. ```
github-actions[bot] commented 4 days ago

Latest k6 run output[^update]

     ✓ status was 200

     checks.........................: 100.00% ✓ 6400      ✗ 0   
     data_received..................: 1.5 GB  8.2 MB/s
     data_sent......................: 838 kB  4.7 kB/s
     http_req_blocked...............: avg=8.96µs   min=1.91µs  med=3.86µs   max=3.44ms  p(90)=5.31µs   p(95)=5.78µs  
     http_req_connecting............: avg=4.34µs   min=0s      med=0s       max=3.38ms  p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=626.22ms min=39.92ms med=543.75ms max=2.42s   p(90)=1.13s    p(95)=1.22s   
       { expected_response:true }...: avg=626.22ms min=39.92ms med=543.75ms max=2.42s   p(90)=1.13s    p(95)=1.22s   
   ✓ http_req_failed................: 0.00%   ✓ 0         ✗ 6400
     http_req_receiving.............: avg=162.76µs min=41.32µs med=114.71µs max=33.81ms p(90)=182.15µs p(95)=217.54µs
     http_req_sending...............: avg=29.6µs   min=6.14µs  med=19.34µs  max=25.84ms p(90)=25.17µs  p(95)=27.36µs 
     http_req_tls_handshaking.......: avg=0s       min=0s      med=0s       max=0s      p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=626.02ms min=39.75ms med=543.62ms max=2.42s   p(90)=1.13s    p(95)=1.22s   
     http_reqs......................: 6400    35.533319/s
     iteration_duration.............: avg=3.34s    min=1.22s   med=2.75s    max=9.65s   p(90)=6.53s    p(95)=6.85s   
     iterations.....................: 1200    6.662497/s
     vus............................: 5       min=5       max=30
     vus_max........................: 30      min=30      max=30

[^update]: This comment will automatically update with new output each time k6 runs for this PR

github-actions[bot] commented 4 days ago

Full-stack documentation: https://docs.openverse.org/_preview/5176

Please note that GitHub pages takes a little time to deploy newly pushed code, if the links above don't work or you see old versions, wait 5 minutes and try again.

You can check the GitHub pages deployment action list to see the current status of the deployments.