Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #6 from andreoav/master

Brazilian Portuguese localization
  • Loading branch information...
commit 7457a719e9dbb820a90873c73f4b030d720c3c35 2 parents d20641d + 10c3a64
@poshboytl poshboytl authored
Showing with 47 additions and 0 deletions.
  1. +27 −0 lib/locales/timeago.pt-br.js
  2. +20 −0 src/locales/timeago.pt-br.coffee
View
27 lib/locales/timeago.pt-br.js
@@ -0,0 +1,27 @@
+(function() {
+
+ $.fn.timeago.defaults.lang = {
+ units: {
+ second: "segundo",
+ seconds: "segundos",
+ minute: "minuto",
+ minutes: "minutos",
+ hour: "hora",
+ hours: "horas",
+ day: "dia",
+ days: "dias",
+ month: "mês",
+ months: "meses",
+ year: "ano",
+ years: "anos"
+ },
+ prefixes: {
+ lt: "menos de um",
+ about: "aproximadamente",
+ over: "pouco mais de",
+ almost: "quase"
+ },
+ suffix: ' atrás'
+ };
+
+}).call(this);
View
20 src/locales/timeago.pt-br.coffee
@@ -0,0 +1,20 @@
+$.fn.timeago.defaults.lang =
+ units:
+ second: "segundo"
+ seconds: "segundos"
+ minute: "minuto"
+ minutes: "minutos"
+ hour: "hora"
+ hours: "horas"
+ day: "dia"
+ days: "dias"
+ month: "mês"
+ months: "meses"
+ year: "ano"
+ years: "anos"
+ prefixes:
+ lt: "menos de um"
+ about: "aproximadamente"
+ over: "pouco mais de"
+ almost: "quase"
+ suffix: " atrás"
Please sign in to comment.
Something went wrong with that request. Please try again.