Bug 988614
Summary: | RFE: Additional .po file error checking | ||
---|---|---|---|
Product: | [Retired] Zanata | Reporter: | Isaac Rooskov <irooskov> |
Component: | Component-PythonClient | Assignee: | Michelle Kim <mkim> |
Status: | CLOSED UPSTREAM | QA Contact: | Zanata-QA Mailling List <zanata-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | damason, dchen, msuchy, yshao, zanata-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-31 01:16:14 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Isaac Rooskov
2013-07-26 00:52:48 UTC
Zanata has validators that run in the editor for the two examples given, as well as several others. Default validations for projects and versions can be set in the Edit Project and Edit Version pages respectively (or during project or version creation). The validations currently cause errors to be shown in the editor, but do not prevent saving of invalid strings. I recommend that we allow validations for each project to be set to 'off by default', 'on by default' or 'required' so that project maintainers can ensure that invalid strings cannot be saved, but allow translators to configure the non-essential validations to suit their workflow. Validators for each of the cases listed could be added to Zanata - individual validators generally do not take a lot of effort to add, particularly with reference to the implementation in msgfmt. This bug should be addressed in 2 places: 1) When pushing and upload What should we do for the po files that's failed the checking? a) Reject the whole file or b) Skip the invalid entry 2) When translating I think zanata translation editor, like mentioned in comment #1, show warning in the editor, is that sufficient? Reassigned to PM Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-392 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |