Bug 820048
Summary: | RFE: Maven client should print helpful messages when translation files do not exist | ||
---|---|---|---|
Product: | [Retired] Zanata | Reporter: | Joyce Chang <jochang> |
Component: | Component-Maven | Assignee: | Isaac Rooskov <irooskov> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Zanata-QA Mailling List <zanata-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.6-SNAPSHOT | CC: | djansen, mkim, pahuang, petersen, sflaniga, yshao, zanata-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | 2 | |
Clone Of: | Environment: | ||
Last Closed: | 2014-12-17 01:57:39 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
Joyce Chang
2012-05-09 01:44:33 UTC
Request for technical evalutaion. To avoid having too many warnings, we should probably only generate one warning per language if no files were found. The warning could give the full filename it tried for the first file, which should help the user to work out where Zanata is looking for the files. For example: Warning: no translations found in locale zh-CN: first expected file was "working_dir/pot/zh-CN/xxx.po". Please check the values of srcDir and transDir. (This is a sign that the user should have used a srcDir value of "pot".) We could also add a warning (with an option to switch it off) when the source file path names start with something suspicious like "pot" or "src". The warning could suggest the fix of changing srcDir to be $suspiciousPrefix. |