Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new translation to messages and validators #8

Merged
merged 2 commits into from
Aug 24, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Resources/translations/messages.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ bitbag:
subheader: Manage your blocks
text_block: Text block
image_block: Image block
pages: Pages
products: Products
enabled: Enabled
form:
code: Code
contents: Contents
Expand Down
3 changes: 3 additions & 0 deletions src/Resources/translations/messages.fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ bitbag:
subheader: Gérez vos blocs
text_block: Bloc de texte
image_block: Bloc d'image
pages: Pages
products: Des produits
enabled: Activée
form:
code: Code
contents: Contenu
Expand Down
3 changes: 3 additions & 0 deletions src/Resources/translations/messages.pl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ bitbag:
subheader: Zarządzaj swoimi blokami
text_block: Blok tekstowy
image_block: Blok obrazkowy
pages: Strony
products: Produkty
enabled: Włączone
form:
code: Kod
contents: Treści
Expand Down
23 changes: 22 additions & 1 deletion src/Resources/translations/validators.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,25 @@ bitbag:
code:
unique: A block with a given code exists.
not_blank: Enter the block code.
min_length: Code should be at least {{ limit }} long.
min_length: Code should be at least {{ limit }} long.
page:
code:
unique: The site already exists.
not_blank: The page can not be empty.
min_lenght: Minimum code lenght.
max_lenght: Maksimum code lenght.
slug:
min_lenght: Minimum slug lenght.
max_lenght: Maximum slug lenght.
meta_keywords:
min_lenght: Minimum meta keywords lenght.
max lenght: Maximum meta keywords lenght.
meta_description:
min_lenght: Minimum meta description lenght.
max_lenght: Maximum meta description lenght.
content:
min_lenght: Minimum content lenght.
name:
not_blank: Page name can not be blank.
min_lenght: Minimum name lenght.
max_lenght: Maximum name lenght.
23 changes: 22 additions & 1 deletion src/Resources/translations/validators.fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,25 @@ bitbag:
code:
unique: Un bloc avec un code donné existe.
not_blank: Entrez le code de bloc.
min_length: Le code doit être au moins {{ limit }} long.
min_length: Le code doit être au moins {{ limit }} long.
page:
code:
unique: Le site existe déjà.
not_blank: La page ne peut pas être vide.
min_lenght: Durée minimale du code.
max_lenght: Longueur du code Maksimum.
slug:
min_lenght: Longueur minimale de la slug.
max_lenght: Longueur maximale de la slug.
meta_keywords:
min_lenght: Mots-clés minimum de mots-clés.
max lenght: Mots-clés Meta maximum.
meta_description:
min_lenght: Longueur minimale de la méta-description.
max_lenght: Longueur maximale de la méta-description.
content:
min_lenght: Longeur minimale de la contenu.
name:
not_blank: Le nom de la page ne peut pas être vide.
min_lenght: Longeur minimale de la prénom.
max_lenght: Longeur maximale de la prénom.
23 changes: 22 additions & 1 deletion src/Resources/translations/validators.pl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,25 @@ bitbag:
code:
unique: Blok z podanym kodem istnieje.
not_blank: Wprowadź kod blocku.
min_length: Kod musi posiadać minimum {{ limit }} znaków.
min_length: Kod musi posiadać minimum {{ limit }} znaków.
page:
code:
unique: Strona już istnieje.
not_blank: Strona nie może być pusta.
min_lenght: Minimalna długość kodu.
max_lenght: Maksymalna długość kodu.
slug:
min_lenght: Minimalna długość sluga.
max_lenght: Maksymalna długość sluga.
meta_keywords:
min_lenght: Minimalna długość pola słowa kluczowe.
max lenght: Maksymalna długość pola słowa kluczowe.
meta_description:
min_lenght: Minimalna długość opisu.
max_lenght: Maksymalna długość opisu.
content:
min_lenght: Minimalna długośc treści.
name:
not_blank: Pole nazwy nie może być puste.
min_lenght: Minimalna długość nazwy.
max_lenght: Maksymalna długość nazwy.