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 header of search result sections (RhBug:1301868) #792
Fix header of search result sections (RhBug:1301868) #792
Conversation
Header of the section will be correctly denote its content. examples: * Name Exactly Matched: ... * Name & Summary Matched: ... * Name Matched: ... * Summary Matched: ...
b2a8b2c
to
dcc3921
Compare
8c5e140
to
43d9293
Compare
Test this please |
Do I understand correctly that this causes, for example, “Name” to be concatenated with “Matched”, displaying “Name Matched” in the UI? If so, then it makes i18n very difficult for many languages: https://wiki.gnome.org/TranslationProject/DevGuidelines/Never%20split%20sentences |
Examples of generated group headers in English:
... |
OK, so it’d work for languages other than English if you:
|
43d9293
to
9130a98
Compare
@dnf-bot r+ |
📌 Commit 9130a98 has been approved by |
☀️ Test successful - status-jenkins |
It’s much improved now, thanks! Any chance of using C_( ) for the attributes? |
DNF code (Python) uses only two functions for translation now. |
Header of the section will be correctly denote its content. examples: * Name Exactly Matched: ... * Name & Summary Matched: ... * Name Matched: ... * Summary Matched: ... Closes: rpm-software-management#792 Approved by: j-mracek
Header of the section will be correctly denote its content. examples: * Name Exactly Matched: ... * Name & Summary Matched: ... * Name Matched: ... * Summary Matched: ... Closes: rpm-software-management#792 Approved by: j-mracek
Header of the section will be correctly denote its content.
examples: