| 1 |
numfmt-about = Convert numbers from/to human-readable strings |
| 2 |
numfmt-usage = numfmt [OPTION]... [NUMBER]... |
| 3 |
numfmt-after-help = UNIT options: |
| 4 |
|
| 5 |
- none: no auto-scaling is done; suffixes will trigger an error |
| 6 |
|
| 7 |
- auto: accept optional single/two letter suffix: |
| 8 |
|
| 9 |
1K = 1000, 1Ki = 1024, 1M = 1000000, 1Mi = 1048576, |
| 10 |
|
| 11 |
- si: accept optional single letter suffix: |
| 12 |
|
| 13 |
1K = 1000, 1M = 1000000, ... |
| 14 |
|
| 15 |
- iec: accept optional single letter suffix: |
| 16 |
|
| 17 |
1K = 1024, 1M = 1048576, ... |
| 18 |
|
| 19 |
- iec-i: accept optional two-letter suffix: |
| 20 |
|
| 21 |
1Ki = 1024, 1Mi = 1048576, ... |
| 22 |
|
| 23 |
- FIELDS supports cut(1) style field ranges: |
| 24 |
|
| 25 |
N N'th field, counted from 1 |
| 26 |
N- from N'th field, to end of line |
| 27 |
N-M from N'th to M'th field (inclusive) |
| 28 |
-M from first to M'th field (inclusive) |
| 29 |
- all fields |
| 30 |
|
| 31 |
Multiple fields/ranges can be separated with commas |
| 32 |
|
| 33 |
FORMAT must be suitable for printing one floating-point argument %f. |
| 34 |
Optional quote (%'f) will enable --grouping (if supported by current locale). |
| 35 |
Optional width value (%10f) will pad output. Optional zero (%010f) width |
| 36 |
will zero pad the number. Optional negative values (%-10f) will left align. |
| 37 |
Optional precision (%.1f) will override the input determined precision. |
| 38 |
|
| 39 |
# Help messages |
| 40 |
numfmt-help-debug = print warnings about invalid input |
| 41 |
numfmt-help-delimiter = use X instead of whitespace for field delimiter |
| 42 |
numfmt-help-field = replace the numbers in these input fields; see FIELDS below |
| 43 |
numfmt-help-format = use printf style floating-point FORMAT; see FORMAT below for details |
| 44 |
numfmt-help-from = auto-scale input numbers to UNITs; see UNIT below |
| 45 |
numfmt-help-from-unit = specify the input unit size |
| 46 |
numfmt-help-grouping = use locale-defined grouping of digits, for example 1,000,000 (which means it has no effect in the C/POSIX locale) |
| 47 |
numfmt-help-to = auto-scale output numbers to UNITs; see UNIT below |
| 48 |
numfmt-help-to-unit = the output unit size |
| 49 |
numfmt-help-padding = pad the output to N characters; positive N will right-align; negative N will left-align; padding is ignored if the output is wider than N; the default is to automatically pad if a whitespace is found |
| 50 |
numfmt-help-header = print (without converting) the first N header lines; N defaults to 1 if not specified |
| 51 |
numfmt-help-round = use METHOD for rounding when scaling |
| 52 |
numfmt-help-suffix = print SUFFIX after each formatted number, and accept inputs optionally ending with SUFFIX |
| 53 |
numfmt-help-unit-separator = use STRING to separate the number from any unit when printing; by default, no separator is used |
| 54 |
numfmt-help-invalid = set the failure mode for invalid input |
| 55 |
numfmt-help-zero-terminated = line delimiter is NUL, not newline |
| 56 |
|
| 57 |
# Error messages |
| 58 |
numfmt-error-unsupported-unit = Unsupported unit is specified |
| 59 |
numfmt-error-invalid-unit-size = invalid unit size: { $size } |
| 60 |
numfmt-error-invalid-padding = invalid padding value { $value } |
| 61 |
numfmt-error-invalid-header = invalid header value { $value } |
| 62 |
numfmt-error-grouping-cannot-be-combined-with-format = --grouping cannot be combined with --format |
| 63 |
numfmt-error-grouping-cannot-be-combined-with-to = grouping cannot be combined with --to |
| 64 |
numfmt-error-delimiter-must-be-single-character = the delimiter must be a single character |
| 65 |
numfmt-error-invalid-number-empty = invalid number: '' |
| 66 |
numfmt-error-invalid-specific-suffix = invalid suffix in input { $input }: { $suffix } |
| 67 |
numfmt-error-invalid-suffix = invalid suffix in input: { $input } |
| 68 |
numfmt-error-invalid-number = invalid number: { $input } |
| 69 |
numfmt-error-missing-i-suffix = missing 'i' suffix in input: '{ $number }{ $suffix }' (e.g Ki/Mi/Gi) |
| 70 |
numfmt-error-rejecting-suffix = rejecting suffix in input: '{ $number }{ $suffix }' (consider using --from) |
| 71 |
numfmt-error-suffix-unsupported-for-unit = This suffix is unsupported for specified unit |
| 72 |
numfmt-error-invalid-unit-argument = invalid argument '{$arg}' for '{$opt}' |
| 73 |
numfmt-error-number-too-big = Number is too big and unsupported |
| 74 |
numfmt-error-format-no-percent = format '{ $format }' has no % directive |
| 75 |
numfmt-error-format-ends-in-percent = format '{ $format }' ends in % |
| 76 |
numfmt-error-invalid-format-directive = invalid format '{ $format }', directive must be %[0]['][-][N][.][N]f |
| 77 |
numfmt-error-invalid-format-width-overflow = invalid format '{ $format }' (width overflow) |
| 78 |
numfmt-error-invalid-precision = invalid precision in format '{ $format }' |
| 79 |
numfmt-error-format-too-many-percent = format '{ $format }' has too many % directives |
| 80 |
numfmt-error-unknown-invalid-mode = Unknown invalid mode: { $mode } |
| 81 |
|
| 82 |
# Debug messages |
| 83 |
numfmt-debug-no-conversion = no conversion option specified |
| 84 |
numfmt-debug-grouping-no-effect = grouping has no effect in this locale |
| 85 |
numfmt-debug-failed-to-convert = failed to convert some of the input numbers |
| 86 |
numfmt-debug-header-ignored = --header ignored with command-line input |
| 87 |
|
| 88 |
# Diagnostic labels and help lines: what the caret points at, and the advice under it |
| 89 |
numfmt-diag-label-number-overflow = this number is too large |
| 90 |
numfmt-diag-label-stray-percent = a literal % must be written %% |
| 91 |
numfmt-diag-label-bad-conversion = f is the only conversion numfmt has; %d, %e, %g and the other C conversions are not accepted |
| 92 |
numfmt-diag-help-format-syntax = a format is [PREFIX]%[0]['][-][WIDTH][.PRECISION]f[SUFFIX], as in "%'-10.2f" |
| 93 |
numfmt-diag-label-auto-from-only = auto guesses the unit of the input, so only --from takes it |
| 94 |
numfmt-diag-help-unit = --from and --to take none, si, iec or iec-i, and --from also takes auto |
| 95 |
numfmt-diag-label-zero-unit-size = a unit size must be at least 1 |
| 96 |
numfmt-diag-help-unit-size = a unit size is a number, a K, M, G, T, P or E multiplier, or both, as in 512, K or 2Ki |
| 97 |
numfmt-diag-label-zero-padding = a padding is a width in characters, so 0 asks for nothing |
| 98 |
numfmt-diag-help-padding = --padding takes a non-zero whole number; a negative one left-aligns, as in --padding=-10 |
| 99 |
numfmt-diag-label-zero-header = leave --header out to convert every line |
| 100 |
numfmt-diag-help-header = --header takes the number of leading lines to pass through unchanged, at least 1 |
| 101 |
numfmt-diag-help-input-no-from = without --from a number must be plain; --from=auto reads a K, M or Gi suffix |
| 102 |
numfmt-diag-help-input-suffixes = the suffixes are K, M, G, T, P, E, Z, Y, R and Q, with an optional i under --from=auto or iec-i |
| 103 |
numfmt-diag-label-zero-field = fields are numbered from 1 |
| 104 |
numfmt-diag-help-field-syntax = --field takes N, N-M, N- or -M, separated by commas, as in --field=1,3-5 |