File: pt.pm

package info (click to toggle)
libdatetime-format-human-duration-perl 0.64-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 168 kB
  • sloc: perl: 431; makefile: 2
file content (30 lines) | stat: -rw-r--r-- 755 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package DateTime::Format::Human::Duration::Locale::pt;

use strict;
use warnings;

sub get_human_span_hashref {
    return {
        'no_oxford_comma' => 0,
        'no_time' => 'nenhum momento',
        'and'     => 'e',    
        'year'  => 'ano',
        'years' => 'anos',
        'month'  => 'mês',
        'months' => 'meses',
        'week'  => 'semana',
        'weeks' => 'semanas',
        'day'  => 'dia',
        'days' => 'dias',
        'hour'  => 'hora',
        'hours' => 'horas',
        'minute'  => 'minuto',
        'minutes' => 'minutos',
        'second'  => 'segundo',
        'seconds' => 'segundos',
        'nanosecond'  => 'nanosegundo', # nanosecond ?
        'nanoseconds' => 'nanosegundos', # nanosegundos ?
    };
}

1;