Skip to content

identifying / unifying similar messages for streamlined translation#4299

Merged
mattdowle merged 14 commits intomasterfrom
translation-similar-msg
Aug 27, 2021
Merged

identifying / unifying similar messages for streamlined translation#4299
mattdowle merged 14 commits intomasterfrom
translation-similar-msg

Conversation

@MichaelChirico
Copy link
Copy Markdown
Member

@MichaelChirico MichaelChirico commented Mar 11, 2020

You can see from the diff here that there are lots of messages that are very close in different parts of the source:

verbose must be TRUE or FALSE
# vs
'verbose' must be TRUE or FALSE

Both look quite similar but will create different msgid in the po template, potentially 1000s of lines apart -- this led to some duplicate efforts already. hoping to at least make the maintenance burden smaller going forward by unifying some similar messages I found.

MichaelChirico/potools#1 is intended to help automate this kind of thing eventually, but I'm not really sure how to attack that issue well. Anyway, this PR is progress in that direciton.

@MichaelChirico MichaelChirico added the translation issues/PRs related to message translation projects label Mar 12, 2020
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 13, 2020

Codecov Report

Merging #4299 (17bf145) into master (01df48c) will decrease coverage by 0.15%.
The diff coverage is 74.71%.

❗ Current head 17bf145 differs from pull request most recent head 20e5dfd. Consider uploading reports for the commit 20e5dfd to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4299      +/-   ##
==========================================
- Coverage   99.53%   99.38%   -0.16%     
==========================================
  Files          76       76              
  Lines       14467    14490      +23     
==========================================
+ Hits        14400    14401       +1     
- Misses         67       89      +22     
Impacted Files Coverage Δ
src/frank.c 100.00% <ø> (ø)
src/nafill.c 100.00% <ø> (ø)
src/bmerge.c 99.50% <50.00%> (-0.50%) ⬇️
src/openmp-utils.c 92.85% <50.00%> (-1.12%) ⬇️
src/gsumm.c 97.66% <61.70%> (-2.34%) ⬇️
src/assign.c 99.85% <66.66%> (-0.15%) ⬇️
src/uniqlist.c 99.52% <80.00%> (-0.48%) ⬇️
src/between.c 100.00% <100.00%> (ø)
src/cj.c 100.00% <100.00%> (ø)
src/coalesce.c 100.00% <100.00%> (ø)
... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 01df48c...20e5dfd. Read the comment docs.

@MichaelChirico
Copy link
Copy Markdown
Member Author

coverage dropped because I added a bunch of newlines before errors in src -- glad to have caught them! might leave them here and address all such cases in a separate PR

@mattdowle mattdowle added this to the 1.14.1 milestone Aug 26, 2021
@mattdowle mattdowle merged commit 9e6e453 into master Aug 27, 2021
@mattdowle mattdowle deleted the translation-similar-msg branch August 27, 2021 00:27
@jangorecki jangorecki modified the milestones: 1.14.9, 1.15.0 Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

translation issues/PRs related to message translation projects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants