[hindi] Cleanup PO file#10736
Conversation
|
|
||
| msgid "The email address is not valid." | ||
| msgid "Email is not valid." | ||
| msgstr "ईमेल पता मान्य नहीं है." |
There was a problem hiding this comment.
This is outside the scope of this PR but I do not like replacing "The email address is not valid." by "Email is not valid.".
I do think that "The email address is not valid." is the better version because of the following use case :
If we don't want to modify that again as part of this PR, I doubt that my below suggestion makes sense because the current hindi translation conveys the right information, it just doesn't match the msgid correctly.
| msgstr "ईमेल पता मान्य नहीं है." | |
| msgstr "ईमेल मान्य नहीं है।" |
There was a problem hiding this comment.
It doesn't need to match the msgid exactly, it needs to make sense and sound natural to a native speaker who is using LORIS. I do not speak or read any hindi at all, so I can't evaluate which one makes more sense. "The email address is not valid." doesn't exist in the code, so I left the old translation with the updated msgid because that was already there.
@skarya22 you're the closest we have to a native hindi speaker, what translation do you like?
There was a problem hiding this comment.
The current version is better for what the form requires. But yeah I think that the module should say in english "The email address is not valid" instead of "Email not valid" anyway like Jad said
|
Sorry for the missing spaces. I messed up with the GitHub reviewing tool. I'm waiting on @skarya22 to validate the version preferred so I can approve the changes. |
The Hindi translations were the first done, and in some cases the po files have drifted out of sync with the pot file either because the code changed, or the exact wording changed. This cleans up the strings that are unused in the code that are referenced in the Hindi po file that don't have an entry in the pot file, except for the issue tracker. (The issue tracker have a significant amount that need to be validating if they should be removed from the hindi or added to the pot to get them in sync.)
Co-authored-by: Jad El Hachem <156138084+HachemJ@users.noreply.github.com>
Co-authored-by: Jad El Hachem <156138084+HachemJ@users.noreply.github.com>
Co-authored-by: Jad El Hachem <156138084+HachemJ@users.noreply.github.com>
| msgid "Email is not valid." | ||
| msgstr "विद्युतडाक मान्य नहीं है।" |
| msgid "status!" | ||
| msgstr "स्थिति!" |
There was a problem hiding this comment.
You could either leave this change as is (deleting 'status!' translation) or just adapt it like the others locale to 'Updated {{name}} status!' and its corresponding translation in Hindi.
Here's what I got using AI
msgid "Updated {{name}} status!"
msgstr "{{name}} की स्थिति अपडेट कर दी गई!"| msgstr "स्पष्टता और अद्वितीयता के लिए उपयोगकर्ता नाम के रूप में ईमेल पते का उपयोग करने की अनुशंसा की जाती है।" | ||
|
|
||
| msgid "When generating a new password, please notify the user by checking 'Send email to user' box" | ||
| msgid "When generating a new password, please notify the user by checking 'Send email to user' box below!" |
There was a problem hiding this comment.
That looks like a bug in general.. all the other languages (and the pot) have "below!" in the msgid. Just pushed a commit to fix it here
| msgstr "न्यूनतम आयु (दिन)" | ||
|
|
||
| msgid "An error occurred while saving the test." | ||
| msgstr "परीक्षण सहेजते समय एक त्रुटि हुई।" |
|
|
||
| msgid "An error occurred while saving the test." | ||
| msgstr "परीक्षण सहेजते समय एक त्रुटि हुई।" | ||
|
|
||
| msgid "This will deactivate the current test." | ||
| msgstr "इससे वर्तमान परीक्षण निष्क्रिय हो जाएगा।" | ||
|
|
||
| msgid "Unspecified Request" | ||
| msgstr "अनिर्दिष्ट अनुरोध" | ||
|
|
||
| msgid "This Test already exists in the database" | ||
| msgstr "यह परीक्षण पहले से ही डेटाबेस में मौजूद है।" | ||
|
|
||
| msgid "Edit Permission Denied" | ||
| msgstr "संपादन की अनुमति अस्वीकृत" | ||
|
|
||
| msgid "Could not add entry to the Test Battery" | ||
| msgstr "परीक्षण बैटरी में प्रविष्टि जोड़ना संभव नहीं हुआ।" |
There was a problem hiding this comment.
There was a conflict when I rebased and I thought the conflict was that they were supposed to be removed, might have resolved it the wrong way, will re-add









The Hindi translations were the first done, and in some cases the po files have drifted out of sync with the pot file either because the code changed, or the exact wording changed.
This cleans up the strings that are unused in the code that are referenced in the Hindi po file that don't have an entry in the pot file, except for the issue tracker. (The issue tracker have a significant amount that need to be validating if they should be removed from the hindi or added to the pot to get them in sync.)