Closed Bug 1636641 Opened 5 years ago Closed 5 years ago

"Expected a character from range: "a-zA-Z"" check is not needed

Categories

(Mozilla Localizations :: zh-CN / Chinese (Simplified), defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: xiewensheng, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

  1. open page
    https://pontoon.mozilla.org/zh-CN/all-projects/all-resources/?status=missing&string=210139

  2. try to translate string
    Help create Common Voice’s first target segment in { $locale }
    to zh-CN
    帮助在{$ locale}中创建 Common Voice 的第一个目标细分市场

Actual results:

The is an error message:
The following checks have failed
Expected a character from range: "a-zA-Z"

Expected results:

But we have to use {$ locale} and Chinese. The check-rule is not valid.
We should override the rule and accept suggestions.

Some checks are optional and can give false positive.
https://mozilla-l10n.github.io/localizer-documentation/tools/pontoon/translate.html#warnings

Having said that, the problem in your suggestion is that you have a space between $ and locale, which happens with Google Translate suggestions.

The correct form for the variable is {$locale}.

 帮助在{$locale}中创建 Common Voice 的第一个目标细分市场
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.