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

Show string/word numbers on search results #11853

Open
nijel opened this issue Jun 13, 2024 Discussed in #11770 · 5 comments
Open

Show string/word numbers on search results #11853

nijel opened this issue Jun 13, 2024 Discussed in #11770 · 5 comments
Labels
enhancement Adding or requesting a new feature. good first issue Opportunity for newcoming contributors. hacktoberfest This is suitable for Hacktoberfest. Don’t try to spam. help wanted Extra attention is needed.

Comments

@nijel
Copy link
Member

nijel commented Jun 13, 2024

Discussed in #11770

Originally posted by emmapeel2 June 3, 2024
I am still looking for numbers, and generating some stats with the api and gitlabci.

I think it would be great to provide the number of strings and words on the results of the search interface, for example here:

https://hosted.weblate.org/search/tor/community-portal/?q=+added%3A2024-03-06+AND+language%3Aen

In the top we could show '37 strings / 300 words'

This will help evaluate changes in a quicker and more organic way than elaborating reports, and will be available for translators without admin rights.

@nijel nijel added enhancement Adding or requesting a new feature. hacktoberfest This is suitable for Hacktoberfest. Don’t try to spam. help wanted Extra attention is needed. good first issue Opportunity for newcoming contributors. labels Jun 13, 2024
Copy link

This issue seems to be a good fit for newbie contributors. You are welcome to contribute to Weblate! Don't hesitate to ask any questions you would have while implementing this.

You can learn about how to get started in our contributors documentation.

@DevanshArora312
Copy link

Hello, I am quite new to Open source and I do want to contribute to this issue. Can you please give some basic ideas to what does a string and word mean in the context of this issue. I get the gist that we need to quantize the results , but what would be the results and inputs still remain a bit confusing.
Thanks!

@nijel
Copy link
Member Author

nijel commented Jun 17, 2024

String is the number of results, the number of words is available for each string in the database:

num_words = models.IntegerField(default=0)

@amkarn258
Copy link

Hi @nijel ,

Can you please assign it to me if no one is assigned yet. I would like to work on this.

@nijel
Copy link
Member Author

nijel commented Jun 18, 2024

You're welcome to work on this, no need to assign.

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. good first issue Opportunity for newcoming contributors. hacktoberfest This is suitable for Hacktoberfest. Don’t try to spam. help wanted Extra attention is needed.
Projects
None yet
Development

No branches or pull requests

4 participants
@nijel @amkarn258 @DevanshArora312 and others