| 1 |
tr-about = Translate or delete characters |
| 2 |
tr-usage = tr [OPTION]... SET1 [SET2] |
| 3 |
tr-after-help = Translate, squeeze, and/or delete characters from standard input, writing to standard output. |
| 4 |
|
| 5 |
# Help messages |
| 6 |
tr-help-complement = use the complement of SET1 |
| 7 |
tr-help-delete = delete characters in SET1, do not translate |
| 8 |
tr-help-squeeze = replace each sequence of a repeated character that is listed in the last specified SET, with a single occurrence of that character |
| 9 |
tr-help-truncate-set1 = first truncate SET1 to length of SET2 |
| 10 |
|
| 11 |
# Error messages |
| 12 |
tr-error-missing-operand = missing operand |
| 13 |
tr-error-missing-operand-translating = missing operand after { $set } |
| 14 |
Two strings must be given when translating. |
| 15 |
tr-error-missing-operand-deleting-squeezing = missing operand after { $set } |
| 16 |
Two strings must be given when deleting and squeezing. |
| 17 |
tr-error-extra-operand-deleting-without-squeezing = extra operand { $operand } |
| 18 |
Only one string may be given when deleting without squeezing repeats. |
| 19 |
tr-error-extra-operand-simple = extra operand { $operand } |
| 20 |
tr-error-read-directory = read error: Is a directory |
| 21 |
tr-error-write-error = write error |
| 22 |
|
| 23 |
# Warning messages |
| 24 |
tr-warning-unescaped-backslash = warning: an unescaped backslash at end of string is not portable |
| 25 |
tr-warning-ambiguous-octal-escape = the ambiguous octal escape \{ $origin_octal } is being interpreted as the 2-byte sequence \0{ $actual_octal_tail }, { $outstand_char } |
| 26 |
tr-warning-invalid-utf8 = invalid utf8 sequence |
| 27 |
|
| 28 |
# Sequence parsing error messages |
| 29 |
tr-error-missing-char-class-name = missing character class name '[::]' |
| 30 |
tr-error-invalid-char-class = invalid character class { $class } |
| 31 |
tr-error-missing-equivalence-class-char = missing equivalence class character '[==]' |
| 32 |
tr-error-multiple-char-repeat-in-set2 = only one [c*] repeat construct may appear in string2 |
| 33 |
tr-error-char-repeat-in-set1 = the [c*] repeat construct may not appear in string1 |
| 34 |
tr-error-invalid-repeat-count = invalid repeat count { $count } in [c*n] construct |
| 35 |
tr-error-empty-set2-when-not-truncating = when not truncating set1, string2 must be non-empty |
| 36 |
tr-error-class-except-lower-upper-in-set2 = when translating, the only character classes that may appear in set2 are 'upper' and 'lower' |
| 37 |
tr-error-class-in-set2-not-matched = when translating, every 'upper'/'lower' in set2 must be matched by a 'upper'/'lower' in the same position in set1 |
| 38 |
tr-error-set1-longer-set2-ends-in-class = when translating with string1 longer than string2, |
| 39 |
the latter string must not end with a character class |
| 40 |
tr-error-complement-more-than-one-unique = when translating with complemented character classes, |
| 41 |
string2 must map all characters in the domain to one |
| 42 |
tr-error-backwards-range = range-endpoints of '{ $start }-{ $end }' are in reverse collating sequence order |
| 43 |
tr-error-multiple-char-in-equivalence = { $chars }: equivalence class operand must be a single character |
| 44 |
|
| 45 |
# Diagnostic labels: what the caret points at in a set |
| 46 |
tr-diag-label-backwards-range = did you mean '{ $suggestion }'? |
| 47 |
tr-diag-label-set1-longer-set2-ends-in-class = this set is longer than SET2 |
| 48 |
tr-diag-label-complement-more-than-one-unique = only one character may be complemented to |
| 49 |
tr-diag-help-char-class = classes are alnum, alpha, blank, cntrl, digit, graph, lower, print, punct, space, upper and xdigit |
| 50 |
tr-diag-help-equivalence = [=c=] stands for every character equivalent to c |
| 51 |
tr-diag-help-repeat = [c*N] repeats c N times, [c*] pads SET2 to the length of SET1 |
| 52 |
tr-diag-help-backwards-range = a range goes from the lower character to the higher one, as in a-z |