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

Change mechanism of finding and showing occurrences #8425

Closed
petrenkonikita112263 opened this issue Dec 5, 2022 · 7 comments
Closed

Change mechanism of finding and showing occurrences #8425

petrenkonikita112263 opened this issue Dec 5, 2022 · 7 comments
Assignees
Labels
enhancement Adding or requesting a new feature.
Milestone

Comments

@petrenkonikita112263
Copy link

Describe the problem

Currently, the mechanism's work is based on the result of the comparison. If there's the exact string or word, then the named section's other occurrences will be displayed with all coincidences in translations.
However, there're some words, "add, delete, edit" & "Add, Delete, Edit" and others that are the same words(and strings), but on the platform, they're not.

Describe the solution you'd like

That's why it will be a great simplification if the mechanism of comparing strings is based on capitalized comparisons or lowercase.

Describe alternatives you've considered

No response

Screenshots

No response

Additional context

No response

@nijel
Copy link
Member

nijel commented Dec 5, 2022

I'm sorry, but I have no clue what feature you are talking about. Can you please clarify?

@petrenkonikita112263
Copy link
Author

Let's say you have the word "Add," and you need to translate it into any other language. Somehow you've also had the word "add" which needs to be translated. However, you won't see the word "add" as an occurrence when you're translating the word "Add" only will be words starting with the capital "A". The same works with string, for instance, "welcome to your page" won't be an occurrence for "Welcome to your page".

@nijel
Copy link
Member

nijel commented Dec 5, 2022

You mean on "Other occurrences" tab? (https://hosted.weblate.org/translate/weblate/application/cs/?checksum=1302f55c88f998e2#others) That one is supposed to show exactly same strings only.

@petrenkonikita112263
Copy link
Author

Yes, but the current comparison is a disadvantage.

@nijel
Copy link
Member

nijel commented Dec 5, 2022

If you want close matches, "Automatic suggestions" is the place to find them. "Other occurences" is only shown when there are same strings in the projects.

@petrenkonikita112263
Copy link
Author

petrenkonikita112263 commented Dec 5, 2022

Again, why can't an exact string be the string with the same letters but in upper, lower, or capital cases?

nijel added a commit that referenced this issue Dec 5, 2022
It is missing, especially when it is the only difference between
strings.

See #8425
@nijel nijel self-assigned this Dec 9, 2022
@nijel nijel added the enhancement Adding or requesting a new feature. label Dec 9, 2022
@nijel nijel added this to the 4.15 milestone Dec 9, 2022
@nijel nijel closed this as completed in 83af3d5 Dec 9, 2022
@github-actions
Copy link

github-actions bot commented Dec 9, 2022

Thank you for your report; the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding or requesting a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants