padrino/padrino-framework

View on GitHub
padrino-helpers/lib/padrino-helpers/locale/lv.yml

Summary

Maintainability
Test Coverage
lv:
  number:
    # Used in number_with_delimiter().
    # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'.
    format:
      # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5).
      separator: ","
      # Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three).
      delimiter: "."
      # Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00).
      precision: 2

    # Used in number_to_currency().
    currency:
      format:
        # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00).
        format: "%u %n"
        unit: '€'
        # These three are to override number.format and are optional.
        separator: ","
        delimiter: "."
        precision: 2

    # Used in number_to_percentage().
    percentage:
      format:
        # These three are to override number.format and are optional.
        # separator:
        delimiter: ""
        # precision:

    # Used in number_to_precision().
    precision:
      format:
        # These three are to override number.format and are optional.
        # separator:
        delimiter: ""
        # precision:

    # Used in number_to_human_size().
    human:
      format:
        # These three are to override number.format and are optional.
        # separator:
        delimiter: ""
        precision: 1
      storage_units:
        # Storage units output formatting.
        # %u is the storage unit, %n is the number (default: 2 MB).
        format: "%n %u"
        units:
          byte:
            one:   "Baits"
            other: "Baiti"
          kb: "KB"
          mb: "MB"
          gb: "GB"
          tb: "TB"

  # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words().
  datetime:
    distance_in_words:
      half_a_minute: "pusminūte"
      less_than_x_seconds:
        one: "mazāk par vienu sekundi"
        other: "mazāk par %{count} sekundēm"
      x_seconds:
        one: "1 sekunde"
        other: "%{count} sekundes"
      less_than_x_minutes:
        one: "mazāk par vienu minūti"
        other: "mazāk par %{count} minūtēm"
      x_minutes:
        one: "1 minūte"
        other: "%{count} minūtes"
      about_x_hours:
        one: "apmēram 1 stunda"
        other: "apmēram %{count} stundas"
      x_days:
        one: "1 diena"
        other: "%{count} dienas"
      about_x_months:
        one: "apmēram 1 mēnesis"
        other: "apmēram %{count} mēneši"
      x_months:
        one: "1 mēnesis"
        other: "%{count} mēneši"
      about_x_years:
        one: "apmēram 1 gads"
        other: "apmēram %{count} gadi"
      over_x_years:
        one: "vairāk kā gads"
        other: "vairāk kā %{count} gadi"
      almost_x_years:
        one:   "gandrīz 1 gads"
        other: "gandrīz %{count} gadi"
  models:
    errors:
      template:
        header:
          one:    "Dēļ 1 kļūdas šis %{model} netika saglabāts"
          other:  "Dēļ %{count} kļūdām šis %{model} netika saglabāts"
        body: "Problēmas ir šajos ievades laukos:"