Commit 0b73776d by Tute Costa

Remove locales from main repository

Extract another repository only concerned with locales:
https://github.com/thoughtbot/paperclip-i18n

A user of paperclip might choose to add `paperclip-i18n` as a dependency
for their application, or copy over the related locale file into their
project.

This is a first step in splitting some parts of the codebase into other
projects. Simple and relevant contributions like new translations might
get lost in the shuffle of dozens of PRs awaiting for approval, that
take time to review and merge.

Locales are a simple enough problem to be handled in an external
repository, where tests for consistency across translations run in less
than a second, and PRs can almost trivially be merged in.
parent 8c537796
......@@ -22,6 +22,7 @@ Paperclip
- [Deleting an Attachment](#deleting-an-attachment)
- [Usage](#usage)
- [Validations](#validations)
- [Internationalization (I18n)](#internationalization-i18n)
- [Security Validations](#security-validations)
- [Defaults](#defaults)
- [Migrations](#migrations-1)
......@@ -400,6 +401,12 @@ inferred content_type, regardless of the actual contents of the file.
---
Internationalization (I18n)
---------------------------
For using or adding locale files in different languages, check the project
https://github.com/thoughtbot/paperclip-i18n.
Security Validations
====================
......
de:
errors:
messages:
in_between: "muss zwischen %{min} und %{max} sein"
spoofed_media_type: "trägt eine Dateiendung, die nicht mit dem Inhalt der Datei übereinstimmt"
number:
human:
storage_units:
format: "%n %u"
units:
byte:
one: "Byte"
other: "Bytes"
kb: "KB"
mb: "MB"
gb: "GB"
tb: "TB"
es:
errors:
messages:
in_between: "debe estar entre %{min} y %{max}"
spoofed_media_type: "tiene una extensión que no coincide con su contenido"
number:
human:
storage_units:
format: "%n %u"
units:
byte:
one: "Byte"
other: "Bytes"
kb: "KB"
mb: "MB"
gb: "GB"
tb: "TB"
ja:
errors:
messages:
in_between: "の容量は%{min}以上%{max}以下にしてください。"
spoofed_media_type: "の拡張子と内容が一致していません。"
number:
human:
storage_units:
format: "%n %u"
units:
byte:
one: "Byte"
other: "Bytes"
kb: "KB"
mb: "MB"
gb: "GB"
tb: "TB"
pt-BR:
errors:
messages:
in_between: "deve ter entre %{min} e %{max}"
spoofed_media_type: "tem uma extensão que não corresponde ao seu conteúdo"
number:
human:
storage_units:
format: "%n %u"
units:
byte:
one: "Byte"
other: "Bytes"
kb: "KB"
mb: "MB"
gb: "GB"
tb: "TB"
tr:
errors:
messages:
in_between: "%{min} ile %{max} arasında olmalıdır"
spoofed_media_type: "olmaması gerektiği raporlanan içerik bulunuyor"
number:
human:
storage_units:
format: "%n %u"
units:
byte:
one: "Bayt"
other: "Bayt"
kb: "KB"
mb: "MB"
gb: "GB"
tb: "TB"
zh-CN:
errors:
messages:
in_between: "文件大小必须介于 %{min} %{max} 之间"
spoofed_media_type: "扩展名与内容类型不符"
number:
human:
storage_units:
format: "%n %u"
units:
byte:
one: "Byte"
other: "Bytes"
kb: "KB"
mb: "MB"
gb: "GB"
tb: "TB"
zh-HK:
errors:
messages:
in_between: "必須介於%{min}到%{max}之間"
spoofed_media_type: "副檔名與內容類型不匹配"
number:
human:
storage_units:
format: "%n %u"
units:
byte:
one: "Byte"
other: "Bytes"
kb: "KB"
mb: "MB"
gb: "GB"
tb: "TB"
zh-TW:
errors:
messages:
in_between: "檔案大小必須介於 %{min} %{max} 之間"
spoofed_media_type: "副檔名與內容類型不符"
number:
human:
storage_units:
format: "%n %u"
units:
byte:
one: "Byte"
other: "Bytes"
kb: "KB"
mb: "MB"
gb: "GB"
tb: "TB"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment