Merge pull request #4258 from gschlager/i18n
Add notes to date and number formats to help translators
This commit is contained in:
commit
23e32839b0
|
@ -18,7 +18,9 @@ en:
|
|||
js:
|
||||
number:
|
||||
format:
|
||||
# symbol used to separate the integer part from the fractional part of a number
|
||||
separator: "."
|
||||
# symbol for the thousands separator used in digit grouping
|
||||
delimiter: ","
|
||||
human:
|
||||
storage_units:
|
||||
|
@ -35,18 +37,31 @@ en:
|
|||
thousands: "{{number}}k"
|
||||
millions: "{{number}}M"
|
||||
dates:
|
||||
# Use Moment.js format string: http://momentjs.com/docs/#/displaying/format/
|
||||
time: "h:mm a"
|
||||
# Use Moment.js format string: http://momentjs.com/docs/#/displaying/format/
|
||||
timeline_date: "MMM YYYY"
|
||||
# Use Moment.js format string: http://momentjs.com/docs/#/displaying/format/
|
||||
long_no_year: "MMM D h:mm a"
|
||||
# Use Moment.js format string: http://momentjs.com/docs/#/displaying/format/
|
||||
long_no_year_no_time: "MMM D"
|
||||
# Use Moment.js format string: http://momentjs.com/docs/#/displaying/format/
|
||||
full_no_year_no_time: "MMMM Do"
|
||||
# Use Moment.js format string: http://momentjs.com/docs/#/displaying/format/
|
||||
long_with_year: "MMM D, YYYY h:mm a"
|
||||
# Use Moment.js format string: http://momentjs.com/docs/#/displaying/format/
|
||||
long_with_year_no_time: "MMM D, YYYY"
|
||||
# Use Moment.js format string: http://momentjs.com/docs/#/displaying/format/
|
||||
full_with_year_no_time: "MMMM Do, YYYY"
|
||||
# Use Moment.js format string: http://momentjs.com/docs/#/displaying/format/
|
||||
long_date_with_year: "MMM D, 'YY LT"
|
||||
# Use Moment.js format string: http://momentjs.com/docs/#/displaying/format/
|
||||
long_date_without_year: "MMM D, LT"
|
||||
# Use Moment.js format string: http://momentjs.com/docs/#/displaying/format/
|
||||
long_date_with_year_without_time: "MMM D, 'YY"
|
||||
# Use Moment.js format string: http://momentjs.com/docs/#/displaying/format/
|
||||
long_date_without_year_with_linebreak: "MMM D <br/>LT"
|
||||
# Use Moment.js format string: http://momentjs.com/docs/#/displaying/format/
|
||||
long_date_with_year_with_linebreak: "MMM D, 'YY <br/>LT"
|
||||
|
||||
wrap_ago: "%{date} ago"
|
||||
|
|
|
@ -16,18 +16,22 @@
|
|||
|
||||
en:
|
||||
dates:
|
||||
# Use Moment.js format string: http://momentjs.com/docs/#/displaying/format/
|
||||
short_date_no_year: "D MMM"
|
||||
# Use Moment.js format string: http://momentjs.com/docs/#/displaying/format/
|
||||
short_date: "D MMM, YYYY"
|
||||
# Use Moment.js format string: http://momentjs.com/docs/#/displaying/format/
|
||||
long_date: "MMMM D, YYYY h:mma"
|
||||
|
||||
datetime_formats: &datetime_formats
|
||||
formats:
|
||||
# Format directives: http://ruby-doc.org/core-2.2.0/Time.html#method-i-strftime
|
||||
# Format directives: http://ruby-doc.org/core-2.3.1/Time.html#method-i-strftime
|
||||
short: "%m-%d-%Y"
|
||||
# Format directives: http://ruby-doc.org/core-2.2.0/Time.html#method-i-strftime
|
||||
# Format directives: http://ruby-doc.org/core-2.3.1/Time.html#method-i-strftime
|
||||
short_no_year: "%B %-d"
|
||||
# Format directives: http://ruby-doc.org/core-2.2.0/Time.html#method-i-strftime
|
||||
# Format directives: http://ruby-doc.org/core-2.3.1/Time.html#method-i-strftime
|
||||
date_only: "%B %-d, %Y"
|
||||
# Format directives: http://ruby-doc.org/core-2.3.1/Time.html#method-i-strftime
|
||||
long: "%B %-d, %Y, %l:%M%P"
|
||||
date:
|
||||
# Do not remove the brackets and commas and do not translate the first month name. It should be "null".
|
||||
|
|
Loading…
Reference in New Issue