|
| 1 | +"en": |
| 2 | + number: |
| 3 | + # Used in number_with_delimiter() |
| 4 | + # These are also the defaults for 'currency', 'percentage', 'precision', and 'human' |
| 5 | + format: |
| 6 | + # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5) |
| 7 | + separator: "." |
| 8 | + # Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three) |
| 9 | + delimiter: "," |
| 10 | + # Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00) |
| 11 | + precision: 3 |
| 12 | + # If set to true, precision will mean the number of significant digits instead |
| 13 | + # of the number of decimal digits (1234 with precision 2 becomes 1200, 1.23543 becomes 1.2) |
| 14 | + significant: false |
| 15 | + # If set, the zeros after the decimal separator will always be stripped (eg.: 1.200 will be 1.2) |
| 16 | + strip_insignificant_zeros: false |
| 17 | + |
| 18 | + # Used in number_to_currency() |
| 19 | + currency: |
| 20 | + format: |
| 21 | + # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00) |
| 22 | + format: "%u%n" |
| 23 | + unit: "$" |
| 24 | + # These five are to override number.format and are optional |
| 25 | + separator: "." |
| 26 | + delimiter: "," |
| 27 | + precision: 2 |
| 28 | + significant: false |
| 29 | + strip_insignificant_zeros: false |
| 30 | + |
| 31 | + # Used in number_to_percentage() |
| 32 | + percentage: |
| 33 | + format: |
| 34 | + # These five are to override number.format and are optional |
| 35 | + # separator: |
| 36 | + delimiter: "" |
| 37 | + # precision: |
| 38 | + # significant: false |
| 39 | + # strip_insignificant_zeros: false |
| 40 | + |
| 41 | + # Used in number_to_precision() |
| 42 | + precision: |
| 43 | + format: |
| 44 | + # These five are to override number.format and are optional |
| 45 | + # separator: |
| 46 | + delimiter: "" |
| 47 | + # precision: |
| 48 | + # significant: false |
| 49 | + # strip_insignificant_zeros: false |
| 50 | + |
| 51 | + # Used in number_to_human_size() and number_to_human() |
| 52 | + human: |
| 53 | + format: |
| 54 | + # These five are to override number.format and are optional |
| 55 | + # separator: |
| 56 | + delimiter: "" |
| 57 | + precision: 3 |
| 58 | + significant: true |
| 59 | + strip_insignificant_zeros: true |
| 60 | + # Used in number_to_human_size() |
| 61 | + storage_units: |
| 62 | + # Storage units output formatting. |
| 63 | + # %u is the storage unit, %n is the number (default: 2 MB) |
| 64 | + format: "%n %u" |
| 65 | + units: |
| 66 | + byte: |
| 67 | + one: "Byte" |
| 68 | + other: "Bytes" |
| 69 | + kb: "KB" |
| 70 | + mb: "MB" |
| 71 | + gb: "GB" |
| 72 | + tb: "TB" |
| 73 | + # Used in number_to_human() |
| 74 | + decimal_units: |
| 75 | + format: "%n %u" |
| 76 | + # Decimal units output formatting |
| 77 | + # By default we will only quantify some of the exponents |
| 78 | + # but the commented ones might be defined or overridden |
| 79 | + # by the user. |
| 80 | + units: |
| 81 | + # femto: Quadrillionth |
| 82 | + # pico: Trillionth |
| 83 | + # nano: Billionth |
| 84 | + # micro: Millionth |
| 85 | + # mili: Thousandth |
| 86 | + # centi: Hundredth |
| 87 | + # deci: Tenth |
| 88 | + unit: "" |
| 89 | + # ten: |
| 90 | + # one: Ten |
| 91 | + # other: Tens |
| 92 | + # hundred: Hundred |
| 93 | + thousand: Thousand |
| 94 | + million: Million |
| 95 | + billion: Billion |
| 96 | + trillion: Trillion |
| 97 | + quadrillion: Quadrillion |
| 98 | + |
| 99 | + # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words() |
| 100 | + datetime: |
| 101 | + distance_in_words: |
| 102 | + half_a_minute: "half a minute" |
| 103 | + less_than_x_seconds: |
| 104 | + one: "less than 1 second" |
| 105 | + other: "less than %{count} seconds" |
| 106 | + x_seconds: |
| 107 | + one: "1 second" |
| 108 | + other: "%{count} seconds" |
| 109 | + less_than_x_minutes: |
| 110 | + one: "less than a minute" |
| 111 | + other: "less than %{count} minutes" |
| 112 | + x_minutes: |
| 113 | + one: "1 minute" |
| 114 | + other: "%{count} minutes" |
| 115 | + about_x_hours: |
| 116 | + one: "about 1 hour" |
| 117 | + other: "about %{count} hours" |
| 118 | + x_days: |
| 119 | + one: "1 day" |
| 120 | + other: "%{count} days" |
| 121 | + about_x_months: |
| 122 | + one: "about 1 month" |
| 123 | + other: "about %{count} months" |
| 124 | + x_months: |
| 125 | + one: "1 month" |
| 126 | + other: "%{count} months" |
| 127 | + about_x_years: |
| 128 | + one: "about 1 year" |
| 129 | + other: "about %{count} years" |
| 130 | + over_x_years: |
| 131 | + one: "over 1 year" |
| 132 | + other: "over %{count} years" |
| 133 | + almost_x_years: |
| 134 | + one: "almost 1 year" |
| 135 | + other: "almost %{count} years" |
| 136 | + prompts: |
| 137 | + year: "Year" |
| 138 | + month: "Month" |
| 139 | + day: "Day" |
| 140 | + hour: "Hour" |
| 141 | + minute: "Minute" |
| 142 | + second: "Seconds" |
| 143 | + |
| 144 | + helpers: |
| 145 | + select: |
| 146 | + # Default value for :prompt => true in FormOptionsHelper |
| 147 | + prompt: "Please select" |
| 148 | + |
| 149 | + # Default translation keys for submit FormHelper |
| 150 | + submit: |
| 151 | + create: 'Create %{model}' |
| 152 | + update: 'Update %{model}' |
| 153 | + submit: 'Save %{model}' |
| 154 | + |
0 commit comments