diff --git a/config/locale/app.pot b/config/locale/app.pot index cda18a0..4a70af8 100644 --- a/config/locale/app.pot +++ b/config/locale/app.pot @@ -2885,3 +2885,52 @@ #public_plans_page.no_plans_body_text_html msgid "There are no public DMPs." msgstr "" + +# Timeago - found in lib/assets/javascripts/jquery.timeago.js +# --------------------- +# suffix ago +msgid "ago" +msgstr "" + +#suffix from now +msgid "from now" +msgstr "" + +#seconds +msgid "less than a minute" +msgstr "" + +#minute +msgid "about a minute" +msgstr "" +#minutes +msgid "%{d} minutes" +msgstr "" + +#hour +msgid "about an hour" +msgstr "" +#hours +msgid "about %{d} hours" +msgstr "" + +#day +msgid "a day" +msgstr "" +#days +msgid "%{d} days" +msgstr "" + +#month +msgid "about a month" +msgstr "" +#months +msgid "%{d} months" +msgstr "" + +#year +msgid "about a year" +msgstr "" +#years +msgid "%{d} years" +msgstr "" \ No newline at end of file diff --git a/config/locale/de/app.po b/config/locale/de/app.po index 31c9761..7176a36 100644 --- a/config/locale/de/app.po +++ b/config/locale/de/app.po @@ -2876,3 +2876,52 @@ #public_plans_page.no_plans_body_text_html msgid "There are no public DMPs." msgstr "Es wurden noch keine DMPs veröffentlicht." + +# Timeago - found in lib/assets/javascripts/jquery.timeago.js +# --------------------- +# suffix ago +msgid "ago" +msgstr "" + +#suffix from now +msgid "from now" +msgstr "" + +#seconds +msgid "less than a minute" +msgstr "" + +#minute +msgid "about a minute" +msgstr "" +#minutes +msgid "%{d} minutes" +msgstr "" + +#hour +msgid "about an hour" +msgstr "" +#hours +msgid "about %{d} hours" +msgstr "" + +#day +msgid "a day" +msgstr "" +#days +msgid "%{d} days" +msgstr "" + +#month +msgid "about a month" +msgstr "" +#months +msgid "%{d} months" +msgstr "" + +#year +msgid "about a year" +msgstr "" +#years +msgid "%{d} years" +msgstr "" \ No newline at end of file diff --git a/config/locale/en_GB/app.po b/config/locale/en_GB/app.po index 6490e62..74ca475 100644 --- a/config/locale/en_GB/app.po +++ b/config/locale/en_GB/app.po @@ -2876,3 +2876,52 @@ #public_plans_page.no_plans_body_text_html msgid "There are no public DMPs." msgstr "There are no public DMPs." + +# Timeago - found in lib/assets/javascripts/jquery.timeago.js +# --------------------- +# suffix ago +msgid "ago" +msgstr "ago" + +#suffix from now +msgid "from now" +msgstr "from now" + +#seconds +msgid "less than a minute" +msgstr "less than a minute" + +#minute +msgid "about a minute" +msgstr "about a minute" +#minutes +msgid "%{d} minutes" +msgstr "%{d} minutes" + +#hour +msgid "about an hour" +msgstr "about an hour" +#hours +msgid "about %{d} hours" +msgstr "about %{d} hours" + +#day +msgid "a day" +msgstr "a day" +#days +msgid "%{d} days" +msgstr "%{d} days" + +#month +msgid "about a month" +msgstr "about a month" +#months +msgid "%{d} months" +msgstr "%{d} months" + +#year +msgid "about a year" +msgstr "about a year" +#years +msgid "%{d} years" +msgstr "%{d} years" \ No newline at end of file diff --git a/config/locale/en_US/app.po b/config/locale/en_US/app.po index 07af549..181c931 100644 --- a/config/locale/en_US/app.po +++ b/config/locale/en_US/app.po @@ -2876,3 +2876,52 @@ #public_plans_page.no_plans_body_text_html msgid "There are no public DMPs." msgstr "There are no public DMPs." + +# Timeago - found in lib/assets/javascripts/jquery.timeago.js +# --------------------- +# suffix ago +msgid "ago" +msgstr "ago" + +#suffix from now +msgid "from now" +msgstr "from now" + +#seconds +msgid "less than a minute" +msgstr "less than a minute" + +#minute +msgid "about a minute" +msgstr "about a minute" +#minutes +msgid "%{d} minutes" +msgstr "%{d} minutes" + +#hour +msgid "about an hour" +msgstr "about an hour" +#hours +msgid "about %{d} hours" +msgstr "about %{d} hours" + +#day +msgid "a day" +msgstr "a day" +#days +msgid "%{d} days" +msgstr "%{d} days" + +#month +msgid "about a month" +msgstr "about a month" +#months +msgid "%{d} months" +msgstr "%{d} months" + +#year +msgid "about a year" +msgstr "about a year" +#years +msgid "%{d} years" +msgstr "%{d} years" \ No newline at end of file diff --git a/config/locale/es/app.po b/config/locale/es/app.po index f1e0f26..b67e612 100644 --- a/config/locale/es/app.po +++ b/config/locale/es/app.po @@ -2780,3 +2780,52 @@ #magic_strings.token_permission_types.statistics msgid "statistics" msgstr "statistics" + +# Timeago - found in lib/assets/javascripts/jquery.timeago.js +# --------------------- +# suffix ago +msgid "ago" +msgstr "" + +#suffix from now +msgid "from now" +msgstr "" + +#seconds +msgid "less than a minute" +msgstr "" + +#minute +msgid "about a minute" +msgstr "" +#minutes +msgid "%{d} minutes" +msgstr "" + +#hour +msgid "about an hour" +msgstr "" +#hours +msgid "about %{d} hours" +msgstr "" + +#day +msgid "a day" +msgstr "" +#days +msgid "%{d} days" +msgstr "" + +#month +msgid "about a month" +msgstr "" +#months +msgid "%{d} months" +msgstr "" + +#year +msgid "about a year" +msgstr "" +#years +msgid "%{d} years" +msgstr "" \ No newline at end of file diff --git a/config/locale/fr/app.po b/config/locale/fr/app.po index d8c14e2..189cc3c 100644 --- a/config/locale/fr/app.po +++ b/config/locale/fr/app.po @@ -2884,3 +2884,52 @@ #public_plans_page.no_plans_body_text_html msgid "There are no public DMPs." msgstr "Aucun DMP n'a été rendu public." + +# Timeago - found in lib/assets/javascripts/jquery.timeago.js +# --------------------- +# suffix ago +msgid "ago" +msgstr "" + +#suffix from now +msgid "from now" +msgstr "" + +#seconds +msgid "less than a minute" +msgstr "" + +#minute +msgid "about a minute" +msgstr "" +#minutes +msgid "%{d} minutes" +msgstr "" + +#hour +msgid "about an hour" +msgstr "" +#hours +msgid "about %{d} hours" +msgstr "" + +#day +msgid "a day" +msgstr "" +#days +msgid "%{d} days" +msgstr "" + +#month +msgid "about a month" +msgstr "" +#months +msgid "%{d} months" +msgstr "" + +#year +msgid "about a year" +msgstr "" +#years +msgid "%{d} years" +msgstr "" \ No newline at end of file diff --git a/lib/assets/javascripts/jquery.timeago.js b/lib/assets/javascripts/jquery.timeago.js index 893b382..7ef6b1c 100644 --- a/lib/assets/javascripts/jquery.timeago.js +++ b/lib/assets/javascripts/jquery.timeago.js @@ -45,19 +45,19 @@ strings: { prefixAgo: null, prefixFromNow: null, - suffixAgo: "ago", - suffixFromNow: "from now", - seconds: "less than a minute", - minute: "about a minute", - minutes: "%d minutes", - hour: "about an hour", - hours: "about %d hours", - day: "a day", - days: "%d days", - month: "about a month", - months: "%d months", - year: "about a year", - years: "%d years", + suffixAgo: _("ago"), + suffixFromNow: _("from now"), + seconds: _("less than a minute"), + minute: _("about a minute"), + minutes: _("%{d} minutes", '%d'), // This is a bit hacky but didn't want '%d' in the gettext so used the normal %{d} and then swap it back with '%d' so substitute() function below works properly + hour: _("about an hour"), + hours: _("about %{d} hours", '%d'), + day: _("a day"), + days: _("%{d} days", '%d'), + month: _("about a month"), + months: _("%{d} months", '%d'), + year: _("about a year"), + years: _("%{d} years", '%d'), wordSeparator: " ", numbers: [] }