File: es.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-- 725 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::es;

use strict;
use warnings;

sub get_human_span_hashref {
    return {
        'no_oxford_comma' => 0,
        'no_time' => 'no hay tiempo',
        'and'     => 'y',    
        'year'  => 'año',
        'years' => 'años',
        'month'  => 'mes',
        'months' => 'meses',
        'week'  => 'semana',
        'weeks' => 'semanas',
        'day'  => 'día',
        'days' => 'días',
        'hour'  => 'hora',
        'hours' => 'horas',
        'minute'  => 'minuto',
        'minutes' => 'minutos',
        'second'  => 'segundo',
        'seconds' => 'segundos',
        'nanosecond'  => 'nanosegundo',
        'nanoseconds' => 'nanosegundos',
    };
}

1;