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

fix: Fixing untranslated FR strings #20078

Merged

Conversation

aehanno
Copy link
Contributor

@aehanno aehanno commented May 16, 2022

SUMMARY

Fixing the untranslated strings

Add Information

Fixes #20060

@aehanno
Copy link
Contributor Author

aehanno commented Jun 6, 2022

@villebro, PR you ask me to create from an other one

@aehanno aehanno changed the title fix : Fixing the untranslated strings fix: Fixing the untranslated strings Jun 15, 2022
@codecov
Copy link

codecov bot commented Oct 3, 2022

Codecov Report

Merging #20078 (5ec8f83) into master (bb1db9e) will decrease coverage by 0.08%.
Report is 188 commits behind head on master.
The diff coverage is 58.26%.

❗ Current head 5ec8f83 differs from pull request most recent head bf7c5ff. Consider uploading reports for the commit bf7c5ff to get more accurate results

@@            Coverage Diff             @@
##           master   #20078      +/-   ##
==========================================
- Coverage   69.08%   69.00%   -0.08%     
==========================================
  Files        1906     1905       -1     
  Lines       74114    74135      +21     
  Branches     8155     8211      +56     
==========================================
- Hits        51201    51160      -41     
- Misses      20794    20852      +58     
- Partials     2119     2123       +4     
Flag Coverage Δ
hive 54.18% <ø> (+0.26%) ⬆️
mysql 79.21% <ø> (-0.19%) ⬇️
postgres 79.31% <ø> (-0.18%) ⬇️
presto 54.08% <ø> (+0.26%) ⬆️
python 83.31% <ø> (-0.18%) ⬇️
sqlite ?
unit 55.06% <ø> (+0.36%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...src/components/ColumnTypeLabel/ColumnTypeLabel.tsx 100.00% <ø> (ø)
...et-ui-chart-controls/src/components/labelUtils.tsx 100.00% <ø> (ø)
...d/packages/superset-ui-chart-controls/src/index.ts 100.00% <ø> (ø)
...-chart-controls/src/sections/advancedAnalytics.tsx 14.28% <ø> (ø)
...rset-ui-chart-controls/src/sections/chartTitle.tsx 100.00% <ø> (ø)
...d/packages/superset-ui-chart-controls/src/types.ts 100.00% <ø> (ø)
.../superset-ui-core/src/models/ExtensibleFunction.ts 100.00% <ø> (ø)
...s/legacy-plugin-chart-country-map/src/countries.ts 100.00% <ø> (ø)
...plugins/legacy-plugin-chart-heatmap/src/Heatmap.js 0.00% <ø> (ø)
...s/legacy-plugin-chart-heatmap/src/controlPanel.tsx 57.14% <ø> (ø)
... and 153 more

... and 213 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@villebro villebro left a comment

Choose a reason for hiding this comment

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

Left a few comments

@ETselikov
Copy link
Contributor

@aehanno Hi! We are looking forward into improving translations as the same places you address in this PR. Are you planning on finishing your work here and merging it into master?

@aehanno
Copy link
Contributor Author

aehanno commented Jan 24, 2023

@aehanno Hi! We are looking forward into improving translations as the same places you address in this PR. Are you planning on finishing your work here and merging it into master?

Hi @ETselikov, I'm a little block on this change #20078 (comment)
I don't have the list of values of the variable name

If you have any idea, I will do the change and merge my branch

Always-prog added a commit to TechAuditBI/superset that referenced this pull request Jan 24, 2023
@aehanno
Copy link
Contributor Author

aehanno commented Jan 25, 2023

Hi @villebro, I just do the changes you request

can you do a review of the new code to merge the PR after

Thanks

@aehanno aehanno requested review from villebro and Always-prog and removed request for villebro and Always-prog January 25, 2023 16:42
…-string

# Conflicts:
#	superset/translations/de/LC_MESSAGES/messages.json
#	superset/translations/de/LC_MESSAGES/messages.po
#	superset/translations/en/LC_MESSAGES/messages.po
#	superset/translations/es/LC_MESSAGES/messages.json
#	superset/translations/es/LC_MESSAGES/messages.po
#	superset/translations/fr/LC_MESSAGES/messages.json
#	superset/translations/fr/LC_MESSAGES/messages.po
#	superset/translations/it/LC_MESSAGES/messages.json
#	superset/translations/it/LC_MESSAGES/messages.po
#	superset/translations/ja/LC_MESSAGES/messages.json
#	superset/translations/ja/LC_MESSAGES/messages.po
#	superset/translations/ko/LC_MESSAGES/messages.json
#	superset/translations/ko/LC_MESSAGES/messages.po
#	superset/translations/messages.pot
#	superset/translations/nl/LC_MESSAGES/messages.json
#	superset/translations/nl/LC_MESSAGES/messages.po
#	superset/translations/pt_BR/LC_MESSAGES/messages.json
#	superset/translations/pt_BR/LC_MESSAGES/messages.po
#	superset/translations/ru/LC_MESSAGES/messages.po
#	superset/translations/sk/LC_MESSAGES/messages.json
#	superset/translations/sk/LC_MESSAGES/messages.po
#	superset/translations/sl/LC_MESSAGES/messages.json
#	superset/translations/sl/LC_MESSAGES/messages.po
#	superset/translations/zh/LC_MESSAGES/messages.json
#	superset/translations/zh/LC_MESSAGES/messages.po
@aehanno
Copy link
Contributor Author

aehanno commented Jul 7, 2023

Hi @villebro and @Always-prog, I've resolved the conflicts, so can I have a review before I have any more ?

Thanks

@aehanno aehanno requested a review from Always-prog July 7, 2023 13:37
@rusackas
Copy link
Member

@villebro @michael-s-molina can you confirm or deny a concern here? It looks like this PR is editing the JSON files, which were (or could be) generated from the .po files, according to the docs: https://superset.apache.org/docs/contributing/translations/

Is it a risky/bad idea to make these updates this way? Should people be editing the .po files rather than .json?

@aehanno
Copy link
Contributor Author

aehanno commented Aug 1, 2023

@villebro @michael-s-molina can you confirm or deny a concern here? It looks like this PR is editing the JSON files, which were (or could be) generated from the .po files, according to the docs: https://superset.apache.org/docs/contributing/translations/

Is it a risky/bad idea to make these updates this way? Should people be editing the .po files rather than .json?

Hi @rusackas, I used the script po2json.sh to generate json file from po file but All the translation with "#, fuzzy" are not display in the json file.
It's normal or not ?

Thanks for your answer

@rusackas
Copy link
Member

rusackas commented Aug 3, 2023

Oh, ok, if this JSON was generated by the script, I think we're good. I feared you hand-edited the JSON and opened a PR (it wouldn't be the first time that's happened).

@rusackas rusackas changed the title fix: Fixing the untranslated strings fix: Fixing untranslated FR strings Aug 3, 2023
@aehanno
Copy link
Contributor Author

aehanno commented Aug 4, 2023

Left a few comments

HI @villebro, I need your review to move this ticket forward.

Thanks

@rusackas
Copy link
Member

rusackas commented Aug 4, 2023

@villebro the merging is blocked awaiting your review. Holler if you think there's more to work on here :) Thanks!

@aehanno
Copy link
Contributor Author

aehanno commented Sep 1, 2023

Thanks @villebro and @rusackas for approvals. Do you know what's the next step to merge this PR now ?

@michael-s-molina michael-s-molina merged commit 2c4629a into apache:master Sep 1, 2023
29 checks passed
@michael-s-molina michael-s-molina added the v3.0 Label added by the release manager to track PRs to be included in the 3.0 branch label Sep 1, 2023
michael-s-molina pushed a commit that referenced this pull request Sep 1, 2023
darwinsubramaniam pushed a commit to darwinsubramaniam/superset that referenced this pull request Sep 7, 2023
@sfirke sfirke mentioned this pull request Nov 9, 2023
3 tasks
cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
@mistercrunch mistercrunch added 🍒 3.0.0 🍒 3.0.1 🍒 3.0.2 🍒 3.0.3 🍒 3.0.4 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 3.1.0 labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/L v3.0 Label added by the release manager to track PRs to be included in the 3.0 branch 🍒 3.0.0 🍒 3.0.1 🍒 3.0.2 🍒 3.0.3 🍒 3.0.4 🚢 3.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing French Translation
7 participants