Ruby-GetText-Package Test Application

## Singular message

## 1 error prohibited this user from being saved

There was a problem with the following field:

- Name is too short (minimum is 10 characters)

## Plural messages

## 2 errors prohibited this article from being saved

There were problems with the following fields:

- Title can't be blank
- Description is too short (minimum is 3 characters)

## Multi object

## 3 errors prohibited this article from being saved

There were problems with the following fields:

- Title can't be blank
- Description is too short (minimum is 3 characters)
- Name is too short (minimum is 10 characters)

## Multi object with :object_name

## 3 errors prohibited this Contents from being saved

There were problems with the following fields:

- Title can't be blank
- Description is too short (minimum is 3 characters)
- Name is too short (minimum is 10 characters)

## Multi object with :object

## 3 errors prohibited this from being saved

There were problems with the following fields:

- Title can't be blank
- Description is too short (minimum is 3 characters)
- Name is too short (minimum is 10 characters)

## Change header with gettext options

## Singular Custom Error message user: 1

Singular Custom Error explanation 1

- Name is too short (minimum is 10 characters)

## Same result with Rails options

## Singular Custom Error message user: 1

Singular Custom Error explanation 1

- Name is too short (minimum is 10 characters)

## nil header

Singular Custom Error explanation 1

- Name is too short (minimum is 10 characters)

## nil message

## Singular Custom Error message user: 1

- Name is too short (minimum is 10 characters)

## nil header message and nil message

- Name is too short (minimum is 10 characters)

## String header message

String Message

- Name is too short (minimum is 10 characters)

Back to Top