solidus_reviews 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +12 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +18 -0
  5. data/CONTRIBUTING.md +28 -0
  6. data/Gemfile +14 -0
  7. data/LICENSE.md +26 -0
  8. data/README.md +93 -0
  9. data/Rakefile +21 -0
  10. data/app/assets/images/store/reviews/delete.gif +0 -0
  11. data/app/assets/images/store/reviews/star.gif +0 -0
  12. data/app/assets/javascripts/spree/backend/solidus_reviews.js +7 -0
  13. data/app/assets/javascripts/spree/frontend/solidus_reviews.js +7 -0
  14. data/app/assets/stylesheets/spree/backend/solidus_reviews.css +3 -0
  15. data/app/assets/stylesheets/spree/frontend/solidus_reviews.scss +83 -0
  16. data/app/controllers/spree/admin/feedback_reviews_controller.rb +6 -0
  17. data/app/controllers/spree/admin/review_settings_controller.rb +21 -0
  18. data/app/controllers/spree/admin/reviews_controller.rb +34 -0
  19. data/app/controllers/spree/feedback_reviews_controller.rb +41 -0
  20. data/app/controllers/spree/products_controller_decorator.rb +5 -0
  21. data/app/controllers/spree/reviews_controller.rb +48 -0
  22. data/app/helpers/spree/reviews_helper.rb +17 -0
  23. data/app/models/spree/feedback_review.rb +17 -0
  24. data/app/models/spree/product_decorator.rb +21 -0
  25. data/app/models/spree/review.rb +36 -0
  26. data/app/models/spree/reviews_ability.rb +17 -0
  27. data/app/models/spree/reviews_configuration.rb +26 -0
  28. data/app/overrides/add_reviews_after_product_properties.rb +5 -0
  29. data/app/overrides/add_reviews_tab_to_admin.rb +4 -0
  30. data/app/overrides/add_reviews_to_admin_configuration_sidebar.rb +5 -0
  31. data/app/views/spree/admin/feedback_reviews/index.html.erb +44 -0
  32. data/app/views/spree/admin/review_settings/edit.html.erb +40 -0
  33. data/app/views/spree/admin/reviews/_form.html.erb +22 -0
  34. data/app/views/spree/admin/reviews/edit.html.erb +26 -0
  35. data/app/views/spree/admin/reviews/index.html.erb +111 -0
  36. data/app/views/spree/feedback_reviews/_form.html.erb +13 -0
  37. data/app/views/spree/feedback_reviews/_summary.html.erb +6 -0
  38. data/app/views/spree/feedback_reviews/create.js.erb +7 -0
  39. data/app/views/spree/reviews/_form.html.erb +34 -0
  40. data/app/views/spree/reviews/_stars.html.erb +13 -0
  41. data/app/views/spree/reviews/index.html.erb +1 -0
  42. data/app/views/spree/reviews/new.html.erb +3 -0
  43. data/app/views/spree/shared/_rating.html.erb +15 -0
  44. data/app/views/spree/shared/_review.html.erb +28 -0
  45. data/app/views/spree/shared/_review_summary.html.erb +9 -0
  46. data/app/views/spree/shared/_reviews.html.erb +15 -0
  47. data/app/views/spree/shared/_shortrating.html.erb +9 -0
  48. data/bin/rails +5 -0
  49. data/config/initializers/constants.rb +1 -0
  50. data/config/initializers/load_preferences.rb +5 -0
  51. data/config/locales/de-CH.yml +68 -0
  52. data/config/locales/de.yml +68 -0
  53. data/config/locales/en-GB.yml +68 -0
  54. data/config/locales/en.yml +67 -0
  55. data/config/locales/es.yml +68 -0
  56. data/config/locales/fr.yml +68 -0
  57. data/config/locales/pl.yml +72 -0
  58. data/config/locales/pt-BR.yml +68 -0
  59. data/config/locales/pt.yml +69 -0
  60. data/config/locales/ro.yml +76 -0
  61. data/config/locales/ru.yml +73 -0
  62. data/config/locales/sv.yml +66 -0
  63. data/config/locales/tr.yml +68 -0
  64. data/config/locales/uk.yml +75 -0
  65. data/config/locales/zh-CN.yml +65 -0
  66. data/config/locales/zh-TW.yml +65 -0
  67. data/config/routes.rb +17 -0
  68. data/db/migrate/20081020220724_create_reviews.rb +18 -0
  69. data/db/migrate/20101222083309_create_feedback_reviews.rb +17 -0
  70. data/db/migrate/20110406083603_add_rating_to_products.rb +21 -0
  71. data/db/migrate/20110606150524_add_user_to_reviews.rb +9 -0
  72. data/db/migrate/20110806093221_add_ip_address_to_reviews.rb +9 -0
  73. data/db/migrate/20120110172331_namespace_tables.rb +6 -0
  74. data/db/migrate/20120123141326_recalculate_ratings.rb +20 -0
  75. data/db/migrate/20120712182514_add_locale_to_reviews.rb +9 -0
  76. data/db/migrate/20120712182627_add_locale_to_feedback_reviews.rb +9 -0
  77. data/db/migrate/20140703200946_add_show_identifier_to_reviews.rb +6 -0
  78. data/db/sample/ratings.yml +16 -0
  79. data/db/sample/reviews.yml +59 -0
  80. data/lib/generators/solidus_reviews/install/install_generator.rb +30 -0
  81. data/lib/solidus_reviews/factories/feedback_review_factory.rb +8 -0
  82. data/lib/solidus_reviews/factories/review_factory.rb +20 -0
  83. data/lib/solidus_reviews/factories.rb +5 -0
  84. data/lib/solidus_reviews.rb +6 -0
  85. data/lib/spree_reviews/engine.rb +17 -0
  86. data/solidus_reviews.gemspec +35 -0
  87. data/spec/controllers/admin/feedback_reviews_controller_spec.rb +29 -0
  88. data/spec/controllers/admin/review_settings_controller_spec.rb +57 -0
  89. data/spec/controllers/admin/reviews_controller_spec.rb +63 -0
  90. data/spec/controllers/feedback_reviews_controller_spec.rb +71 -0
  91. data/spec/controllers/products_controller_spec.rb +9 -0
  92. data/spec/controllers/reviews_controller_spec.rb +136 -0
  93. data/spec/features/admin_spec.rb +35 -0
  94. data/spec/features/reviews_spec.rb +122 -0
  95. data/spec/helpers/review_helper_spec.rb +28 -0
  96. data/spec/models/feedback_review_spec.rb +78 -0
  97. data/spec/models/product_spec.rb +62 -0
  98. data/spec/models/review_spec.rb +168 -0
  99. data/spec/models/reviews_ability_spec.rb +46 -0
  100. data/spec/models/reviews_configuration_spec.rb +45 -0
  101. data/spec/spec_helper.rb +55 -0
  102. data/vendor/assets/javascripts/jquery.rating.js +376 -0
  103. metadata +357 -0
@@ -0,0 +1,67 @@
1
+ ---
2
+ en:
3
+ activerecord:
4
+ attributes:
5
+ spree/review:
6
+ name: Your Name
7
+ title: Title
8
+ review: Content
9
+ rating: Rating
10
+ created_at: Date
11
+ ip_address: IP
12
+ user: User
13
+ show_identifier: Show Identifier
14
+ models:
15
+ spree/review:
16
+ one: one review
17
+ other: "%{count} reviews"
18
+ spree:
19
+ approval_status: Approval status
20
+ approve: Approve
21
+ approved_reviews: Approved
22
+ average_customer_rating: Average rating
23
+ back_reviews: Back to the reviews
24
+ based_upon_review_count:
25
+ one: based upon one review
26
+ other: "based upon %{count} reviews"
27
+ by: by
28
+ editing_review_for_html: 'Editing review for %{link}'
29
+ error_approve_review: Error approving review
30
+ error_no_product: The reviewed product doesn't exist anymore
31
+ feedback: Feedback
32
+ feedback_review_for: "Review: '%{review}'"
33
+ for: for
34
+ from: from
35
+ info_approve_review: Review approved
36
+ leave_us_a_review_for: "Please leave us a review and a rating for our '%{name}'"
37
+ no_reviews_available: "No reviews have been written for this product."
38
+ out_of_5: "out of 5"
39
+ rating: rating
40
+ reviews: Reviews
41
+ admin:
42
+ tab:
43
+ review_management: Reviews
44
+ review_successfully_submitted: Review was successfully submitted
45
+ spree_reviews:
46
+ feedback_rating: Rate feedback
47
+ include_unapproved: Include unapproved reviews in listings
48
+ manage_review_settings: Control the display of reviews
49
+ preview_size: Size of the review snippets
50
+ require_login: Require user to be logged in
51
+ review_settings: Review Settings
52
+ show_email: Show email addresses
53
+ track_locale: Track user's locale
54
+ star:
55
+ one: "1"
56
+ other: "%{count}"
57
+ stars: Stars
58
+ submit_your_review: Submit your review
59
+ submitted_on: Submitted on
60
+ unapproved_reviews: Unapproved
61
+ voice:
62
+ one: "1 voice"
63
+ other: "%{count} voices"
64
+ was_this_review_helpful: "Was this review helpful to you?"
65
+ write_your_own_review: Write your own review
66
+ you_must_enter_value_for_rating: "You must enter a value for rating."
67
+ anonymous: Anonymous
@@ -0,0 +1,68 @@
1
+ ---
2
+ es:
3
+ activerecord:
4
+ attributes:
5
+ spree/review:
6
+ name: Tu Nombre
7
+ title: Título
8
+ review: Contenido
9
+ rating: Puntuación
10
+ created_at: Fecha
11
+ ip_address: IP
12
+ user: Usuario
13
+ models:
14
+ spree/review:
15
+ one: una valoración
16
+ other: "%{count} valoraciones"
17
+ spree:
18
+ approval_status: Estado de aprobación
19
+ approve: Aprobar
20
+ approved_reviews: Aprobado
21
+ approved_text: "Los comentarios desbloqueados serán publicados en 1-2 días laborales."
22
+ average_customer_rating: "Puntuación media"
23
+ back_reviews: "Volver a las valoraciones"
24
+ based_upon_review_count:
25
+ one: "basado en una valoración"
26
+ other: "basado en %{count} valoraciones"
27
+ by: por
28
+ editing_review_for_html: 'Editando la valoración para %{link}'
29
+ error_approve_review: "Error aprobando la valoración"
30
+ error_no_product: "El producto valorado ya no existe"
31
+ feedback: Feedback
32
+ feedback_review_for: "Review: '%{review}'"
33
+ for: para
34
+ from: desde
35
+ info_approve_review: "Valoración aprobada"
36
+ leave_us_a_review_for: "Por favor, déjanos una valoración para %{name}"
37
+ no_reviews_available: "No hay ninguna valoración para este producto."
38
+ out_of_5: "de 5"
39
+ rating: puntuación
40
+ reviews: Valoraciones
41
+ admin:
42
+ tab:
43
+ review_management: "Valoraciones"
44
+ review_successfully_submitted: "La valoración se ha enviado correctamente"
45
+ spree_reviews:
46
+ feedback_rating: "Puntuación en el feedback"
47
+ include_unapproved: "Incluir en los listados las valoraciones sin aprobar"
48
+ manage_review_settings: "Gestionar la publicación de valoraciones"
49
+ preview_size: "Tamaño de la versión resumida de la valoración"
50
+ require_login: "Requerir que el usuario esté logado"
51
+ review_settings: "Configuración de las Valoraciones"
52
+ show_email: "Mostrar las direcciones de correo"
53
+ track_locale: "Rastrear el locale del usuario"
54
+ star:
55
+ one: "1"
56
+ other: "%{count}"
57
+ stars: Estrellas
58
+ submit_your_review: "Envía tu valoración"
59
+ submitted_on: "Enviada el"
60
+ unapproved_reviews: "Sin aprobar"
61
+ voice:
62
+ one: "1 voz"
63
+ other: "%{count} voces"
64
+ was_this_review_helpful: "¿Te ha sido útil esta valoración?"
65
+ write_your_own_review: "Escribe tu propia valoración"
66
+ you_must_enter_value_for_rating: "Debes incluir una puntuación."
67
+ anonymous: Anónimo
68
+
@@ -0,0 +1,68 @@
1
+ ---
2
+ fr:
3
+ activerecord:
4
+ attributes:
5
+ spree/review:
6
+ name: Votre nom
7
+ title: Titre
8
+ review: Contenu
9
+ rating: Note
10
+ created_at: Date
11
+ ip_address: IP
12
+ user: Utilisateur
13
+ models:
14
+ spree/review:
15
+ one: un commentaire
16
+ other: "%{count} commentaires"
17
+ spree:
18
+ approval_status: Statut de l'approbation
19
+ approve: Approuver
20
+ approved_reviews: Approuvé
21
+ approved_text: Les commentaires authorisés seront affichés dans un délai de un à deux jours ouvrables.
22
+ average_customer_rating: Note moyenne
23
+ back_reviews: Retour aux commentaires
24
+ based_upon_review_count:
25
+ one: basé sur un commentaire
26
+ other: "basé sur %{count} commentaires"
27
+ by: par
28
+ editing_review_for_html: 'Modification du commentaire pour %{link}'
29
+ error_approve_review: Erreur en approuvant le commentaire
30
+ error_no_product: Le produit commenté n'existe plus
31
+ feedback: Réaction
32
+ feedback_review_for: "Commentaire: '%{review}'"
33
+ for: pour
34
+ from: de la part de
35
+ info_approve_review: Commentaire approuvé
36
+ leave_us_a_review_for: "Veuillez laisser un commentaire et une note pour le produit : %{name}"
37
+ no_reviews_available: "Il n'y pas encore de commentaire pour ce produit."
38
+ out_of_5: "sur 5"
39
+ rating: note
40
+ reviews: Commentaires
41
+ admin:
42
+ tab:
43
+ review_management: Commentaires
44
+ review_successfully_submitted: Votre commentaire a été envoyé avec succès
45
+ spree_reviews:
46
+ feedback_rating: Note de réaction
47
+ include_unapproved: Afficher les commentaires non modérés
48
+ manage_review_settings: Contrôler l'affichage des commentaires
49
+ preview_size: Taille des extraits de commentaires
50
+ require_login: Demander à l'utilisateur d'être connecté
51
+ review_settings: Paramètres des commentaires
52
+ show_email: Montrer l'adresse de courriel
53
+ track_locale: Détécter la langue de l'utilisateur
54
+ star:
55
+ one: "1"
56
+ other: "%{count}"
57
+ stars: Étoiles
58
+ submit_your_review: Envoyer votre commentaire
59
+ submitted_on: Envoyé le
60
+ unapproved_reviews: Non approuvé
61
+ voice:
62
+ one: "1 voix"
63
+ other: "%{count} voix"
64
+ was_this_review_helpful: "Est-ce que ce commentaire vous a été utile ?"
65
+ write_your_own_review: Écrire un commentaire
66
+ you_must_enter_value_for_rating: "Vous devez entrer une valeur pour noter."
67
+ anonymous: Anonyme
68
+
@@ -0,0 +1,72 @@
1
+ ---
2
+ pl:
3
+ activerecord:
4
+ attributes:
5
+ spree/review:
6
+ name: Imię
7
+ title: Tytuł
8
+ review: Treść
9
+ rating: Ocena
10
+ created_at: Utworzone
11
+ ip_address: IP
12
+ user: Użytkownik
13
+ models:
14
+ spree/review:
15
+ one: jedna opinia
16
+ few: "%{count} opinii"
17
+ other: "%{count} opinii"
18
+ spree:
19
+ approval_status: Status zatwierdzenia
20
+ approve: Zatwierdź
21
+ approved_reviews: Zatwierdzone opinie
22
+ approved_text: Zatwierdzone opinie zostaną opublikowane w ciągu 1-2 dni roboczych.
23
+ average_customer_rating: Średnia ocena
24
+ back_reviews: Wróc do opinii
25
+ based_upon_review_count:
26
+ one: na podstawie jednej opinii
27
+ few: "na podstawie %{count} opinii"
28
+ other: "na podstawie %{count} opinii"
29
+ by: "przez"
30
+ editing_review_for_html: 'Edycja opinii dla %{link}'
31
+ error_approve_review: Błąd przy zatwierdzaniu opinii
32
+ error_no_product: Oceniamy produkt nie istnieje
33
+ feedback: Komentarz
34
+ feedback_review_for: "Komentarz: '%{review}'"
35
+ for: dla
36
+ from: od
37
+ info_approve_review: Opinia zatwierdzona
38
+ leave_us_a_review_for: "Dodaj opinię o %{name}"
39
+ no_reviews_available: "Ten produkt nie posiada opinii."
40
+ out_of_5: "z 5"
41
+ rating: Ocena
42
+ reviews: Opinie
43
+ admin:
44
+ tab:
45
+ review_management: Opinie
46
+ review_successfully_submitted: Opinia została dodana
47
+ spree_reviews:
48
+ feedback_rating: Oceń komentarz
49
+ include_unapproved: Załącz niezaakceptowane do listy
50
+ manage_review_settings: Zarządzaj wyśiwetlaniem opinii
51
+ preview_size: Liczba opinii na stronie produktu
52
+ require_login: "Wymagaj, aby użytkownik był zalogowany"
53
+ review_settings: Ustawienia opinii
54
+ show_email: Pokaż adresy email
55
+ track_locale: Śledź język użytkownika
56
+ star:
57
+ one: "1"
58
+ few: "%{count}"
59
+ other: "%{count}"
60
+ stars: Gwiazdki
61
+ submit_your_review: Dodaj opinię
62
+ submitted_on: Dodano
63
+ unapproved_reviews: Niezaakceptowane
64
+ voice:
65
+ one: "1 głos"
66
+ few: "%{count} głosów"
67
+ other: "%{count} głosów"
68
+ was_this_review_helpful: "Czy ta opinia była pomocna dla Ciebie?"
69
+ write_your_own_review: Napisz swoją opinię
70
+ you_must_enter_value_for_rating: "Musisz wystawić jakąś ocenę."
71
+ anonymous: Anonimowy
72
+
@@ -0,0 +1,68 @@
1
+ ---
2
+ pt-BR:
3
+ activerecord:
4
+ attributes:
5
+ spree/review:
6
+ name: 'Seu Nome'
7
+ title: 'Titulo'
8
+ review: 'Conteúdo'
9
+ rating: 'Avaliação'
10
+ created_at: 'Data'
11
+ ip_address: 'IP'
12
+ user: 'Usuário'
13
+ models:
14
+ spree/review:
15
+ one: 'uma avaliação'
16
+ other: "%{count} avaliações"
17
+ spree:
18
+ approval_status: 'Estado de aprovação'
19
+ approve: 'Aprovar'
20
+ approved_reviews: 'Aprovado'
21
+ approved_text: 'Comentários destravados serão publicados em 1-2 dias.'
22
+ average_customer_rating: 'Média de avaliação'
23
+ back_reviews: 'Voltar para as avaliações'
24
+ based_upon_review_count:
25
+ one: 'baseado em uma avaliação'
26
+ other: "baseado em %{count} avaliações"
27
+ by: 'por'
28
+ editing_review_for_html: 'Editando avaliação para %{link}'
29
+ error_approve_review: 'Erro aprovando avaliação'
30
+ error_no_product: "O produto avaliado não existe mais"
31
+ feedback: 'Parecer'
32
+ feedback_review_for: "Avaliação: '%{review}'"
33
+ for: 'para'
34
+ from: 'de'
35
+ info_approve_review: 'Avaliação aprovada'
36
+ leave_us_a_review_for: "Por favor, deixe uma avaliação para nosso %{name}"
37
+ no_reviews_available: "Nenhuma avaliação feita ainda para esse produto."
38
+ out_of_5: "fora de 5"
39
+ rating: 'classificação'
40
+ reviews: 'Avaliações'
41
+ admin:
42
+ tab:
43
+ review_management: 'Avaliações'
44
+ review_successfully_submitted: 'Avaliação enviada com sucesso'
45
+ spree_reviews:
46
+ feedback_rating: 'Classifique um parecer'
47
+ include_unapproved: 'Incluir avaliações não aprovadas na listagem'
48
+ manage_review_settings: 'Controlar aparições das avaliações'
49
+ preview_size: 'Tamanho da avaliação'
50
+ require_login: 'É necessário estar logado'
51
+ review_settings: 'Configurações de avaliação'
52
+ show_email: 'Mostrar endereço de email'
53
+ track_locale: 'Rastrear localização do usuário'
54
+ star:
55
+ one: "1"
56
+ other: "%{count}"
57
+ stars: 'Estrelas'
58
+ submit_your_review: 'Enviar sua avaliação'
59
+ submitted_on: 'Enviado em'
60
+ unapproved_reviews: 'Desaprovado'
61
+ voice:
62
+ one: "1 voz"
63
+ other: "%{count} vozes"
64
+ was_this_review_helpful: 'Essa avaliação foi útil?'
65
+ write_your_own_review: 'Escreva sua avaliação'
66
+ you_must_enter_value_for_rating: "Você tem que preencher um valor para avaliar."
67
+ anonymous: Anônimo
68
+
@@ -0,0 +1,69 @@
1
+ ---
2
+ pt:
3
+ activerecord:
4
+ attributes:
5
+ spree/review:
6
+ name: Nome
7
+ title: Título Avaliação
8
+ review: Conteúdo
9
+ rating: Avaliação
10
+ created_at: Data
11
+ ip_address: IP
12
+ user: Utilizador
13
+ models:
14
+ spree/review:
15
+ one: uma avaliação
16
+ other: "%{count} avaliações"
17
+ spree:
18
+ approval_status: Estado de aprovação
19
+ approve: Aprovar
20
+ approved_reviews: Avaliações aprovadas
21
+ approved_text: As avaliações podem demorar 1-2 dias úteis a ser publicadas.
22
+ average_customer_rating: Pontuação média dos utilizadores fruga
23
+ back_reviews: Voltar para as avaliações
24
+ based_upon_review_count:
25
+ one: baseada numa avaliação
26
+ other: "baseada em %{count} avaliações"
27
+ by: por
28
+ editing_review_for_html: 'Editando a avaliação para %{link}'
29
+ error_approve_review: Erro aprovando a avaliação
30
+ error_no_product: O produto avaliado já não existe
31
+ feedback: Feedback
32
+ feedback_review_for: "Avaliação: '%{review}'"
33
+ for: para
34
+ from: de
35
+ info_approve_review: Avaliação aprovada
36
+ leave_us_a_review_for: "Por favor, deixe-nos uma avaliação para produto %{name}"
37
+ no_reviews_available: "Não foram ainda feitas avaliações para este produto."
38
+ out_of_5: "de 5"
39
+ rating: pontuação
40
+ reviews: Avaliações
41
+ admin:
42
+ tab:
43
+ review_management: Gestão Avaliações
44
+ review_successfully_submitted: A avaliação foi enviada com sucesso
45
+ submission_guidelines: Diretrizes para enviar boas avaliações
46
+ spree_reviews:
47
+ feedback_rating: Pontuação de feedback
48
+ include_unapproved: Incluir avaliaçoes não-aprovadas nas lista
49
+ manage_review_settings: Gerir a publicação de avaliações
50
+ preview_size: Tamanho da versão resumida de avaliações
51
+ require_login: Requerer que utilizador esteja registado
52
+ review_settings: Configurações de Avaliação
53
+ show_email: Mostrar email
54
+ track_locale: Seguir locale do utilizador
55
+ star:
56
+ one: "1"
57
+ other: "%{count}"
58
+ stars: Stars
59
+ submit_your_review: Envia tua avaliação
60
+ submitted_on: Enviada em
61
+ unapproved_reviews: Não aprovadas
62
+ voice:
63
+ one: "uma opinião"
64
+ other: "%{count} opiniões"
65
+ was_this_review_helpful: "Esta avaliação foi util?"
66
+ write_your_own_review: Escreve a tua própria avaliação
67
+ you_must_enter_value_for_rating: "Tem de incluir uma pontuação."
68
+ anonymous: Anônimo
69
+
@@ -0,0 +1,76 @@
1
+ ---
2
+ ro:
3
+ activerecord:
4
+ attributes:
5
+ spree/review:
6
+ name: Nume
7
+ title: Titlu
8
+ review: Conținut
9
+ rating: Evaluare
10
+ created_at: Data
11
+ ip_address: IP
12
+ user: Utilizator
13
+ models:
14
+ spree/review:
15
+ one: o recenzie
16
+ few: "%{count} recenzii"
17
+ other: "%{count} recenzii"
18
+ many: "%{count} de recenzii"
19
+ spree:
20
+ approval_status: Starea de aprobare
21
+ approve: Aprobă
22
+ approved_reviews: Aprobate
23
+ approved_text: Comentariile deblocate vor fi publicate în 1-2 zile lucrătoare.
24
+ average_customer_rating: Evaluare media
25
+ back_reviews: Înapoi la recenzii
26
+ based_upon_review_count:
27
+ one: bazată pe o recenzie
28
+ few: "bazată pe %{count} recenzii"
29
+ other: "bazată pe %{count} recenzii"
30
+ many: "bazată pe %{count} de recenzii"
31
+ by: de
32
+ editing_review_for_html: 'Editare recenzie pentru %{link}'
33
+ error_approve_review: Eroare la aprobarea recenziei
34
+ error_no_product: Produsul recenziat nu mai există
35
+ feedback: Feedback
36
+ feedback_review_for: "Recenzie: '%{review}'"
37
+ for: pentru
38
+ from: de la
39
+ info_approve_review: Recenzie aprobată
40
+ leave_us_a_review_for: "Vă rugăm să publicați o recenzie și să evaluați '%{name}'"
41
+ no_reviews_available: "Încă nu au fost scrise recenzii pentru acest produs."
42
+ out_of_5: "din 5"
43
+ rating: evaluare
44
+ reviews: Recenzii
45
+ admin:
46
+ tab:
47
+ review_management: Recenzii
48
+ review_successfully_submitted: Recenzia a fost trimisă cu succes
49
+ spree_reviews:
50
+ feedback_rating: Evaluează feedback
51
+ include_unapproved: Include recenzii neaprobate în listări
52
+ manage_review_settings: Controlează afișarea recenziilor
53
+ preview_size: Mărimea fragmentului recenziei
54
+ require_login: Solicită ca utilizatorul să fie autentificat
55
+ review_settings: Setări recenzii
56
+ show_email: Afișează adresa de email
57
+ track_locale: Urmărește setarea de limbă a utilizatorului
58
+ star:
59
+ one: "o stea"
60
+ few: "%{count} stele"
61
+ other: "%{count} stele"
62
+ many: "%{count} de stele"
63
+ stars: Stele
64
+ submit_your_review: Trimite recenzia
65
+ submitted_on: Trimisă la
66
+ unapproved_reviews: Neaprobat
67
+ voice:
68
+ one: "o opinie"
69
+ few: "%{count} opinii"
70
+ other: "%{count} opinii"
71
+ many: "%{count} de opinii"
72
+ was_this_review_helpful: "A fost de ajutor această recenzie?"
73
+ write_your_own_review: Scrie propria ta recenzie
74
+ you_must_enter_value_for_rating: "Trebuie să introduci o valoare pentru evaluare."
75
+ anonymous: anonim
76
+
@@ -0,0 +1,73 @@
1
+ ---
2
+ ru:
3
+ activerecord:
4
+ attributes:
5
+ spree/review:
6
+ title: Заголовок
7
+ review: Содержание
8
+ rating: Рейтинг
9
+ name: Ваше имя
10
+ created_at: Дата отзыва
11
+ ip_address: IP
12
+ user: Пользователь
13
+ models:
14
+ spree/review:
15
+ zero: "0 отзывов"
16
+ one: "%{count} отзыв"
17
+ few: "%{count} отзыва"
18
+ other: "%{count} отзывов"
19
+ many: "%{count} отзыва"
20
+ spree:
21
+ reviews: Отзывы
22
+ write_your_own_review: Оставьте свой отзыв
23
+ admin:
24
+ tab:
25
+ review_management: Управление отзывами
26
+ back_reviews: Назад к отзывам
27
+ info_approve_review: Отзыв одобрен
28
+ error_approve_review: Ошибка при одобрении отзыва
29
+ approve: Одобрить
30
+ leave_us_a_review_for: "Пожалуйста, оставьте отзыв и оценку для"
31
+ review_successfully_submitted: Ваш отзыв был успешно отправлен
32
+ rating: Оценка
33
+ submit_your_review: Оставить отзыв
34
+ spree_reviews:
35
+ review_settings: Настройки отзывов покупателей
36
+ manage_review_settings: Управление отображением отзывов
37
+ preview_size: Количество отзывов на странице товара
38
+ include_unapproved: Показывать неодобренные отзывы на странице товара
39
+ your_name: Ваше имя
40
+ your_location: Город
41
+ feedback_rating: Рейтинг отзыва
42
+ show_email: Показывать электронную почту
43
+ require_login: Требовать вход
44
+ track_locale: Отслеживать язык
45
+ average_customer_rating: Средняя оценка
46
+ approved_text: Разблокированные комментарии будут опубликованы в течение 1-2 рабочих дней.
47
+ for: для
48
+ approval_status: Статус отзывов
49
+ unapproved_reviews: Неутверждённые отзывы
50
+ approved_reviews: Утверждённые отзывы
51
+ from: от
52
+ by: ""
53
+ submitted_on: Добавлено
54
+ based_upon: "на основе"
55
+ voice:
56
+ zero: "0 голосов"
57
+ one: "%{count} голос"
58
+ few: "%{count} голоса"
59
+ other: "%{count} голосов"
60
+ many: "%{count} голоса"
61
+ star: "%{count}"
62
+ feedback: Обратная связь
63
+ stars: Звёзды
64
+ feedback_review_for: "Отзывы: '%{review}'"
65
+ out_of_5: "из 5"
66
+ was_this_review_helpful: "Был ли Вам полезен этот отзыв?"
67
+ you_must_enter_value_for_rating: "Вы должны оценить отзыв."
68
+ editing_review_for_html: 'Редактирование отзыва для HTML'
69
+ no_reviews_available: "Отзывов нет"
70
+ based_upon_review_count: "На основании всех отзывов"
71
+ error_no_product: Отзывы продукт больше не существует
72
+ anonymous: анонимный
73
+
@@ -0,0 +1,66 @@
1
+ ---
2
+ sv:
3
+ activerecord:
4
+ attributes:
5
+ spree/review:
6
+ created_at: Datum
7
+ ip_address: IP
8
+ name: "Ditt namn"
9
+ rating: Betyg
10
+ review: Innehåll
11
+ title: Rubrik
12
+ user: Användare
13
+ models:
14
+ spree/review:
15
+ one: "en recension"
16
+ other: "%{count} recensioner"
17
+ spree:
18
+ anonymous: Anonym
19
+ approval_status: Status för godkännande
20
+ approve: Godkänn
21
+ approved_reviews: Godkänd
22
+ average_customer_rating: "Genomsnittligt betyg"
23
+ back_reviews: "Tillbaka till recensionerna"
24
+ based_upon_review_count:
25
+ one: "baserad på en recension"
26
+ other: "baserad på %{count} recensioner"
27
+ by: av
28
+ editing_review_for_html: "Editerad recension för %{link}"
29
+ error_approve_review: "Problem med att godkänna recension"
30
+ error_no_product: "Den betygsatta produkten finns inte längre"
31
+ feedback: Återkoppling
32
+ feedback_review_for: "Recension: '%{review}'"
33
+ for: för
34
+ from: från
35
+ info_approve_review: "Recensionen godkänd"
36
+ leave_us_a_review_for: "Recension och betyg för %{name}"
37
+ no_reviews_available: "Inga recensioner har ännu skrivits för den här produkten."
38
+ out_of_5: "ut av 5"
39
+ rating: betyg
40
+ admin:
41
+ tab:
42
+ review_management: "Hantera recensioner"
43
+ review_successfully_submitted: "Recension har skapats"
44
+ reviews: Recensioner
45
+ spree_reviews:
46
+ feedback_rating: Betygsåterkoppling
47
+ include_unapproved: "Inkludera inte godkända recensioner i listan"
48
+ manage_review_settings: "Kontrollera visningen av recensionerna"
49
+ preview_size: "Storlek på recensions snippets"
50
+ require_login: "Kräv att användaren är inloggad"
51
+ review_settings: "Recensions inställningar"
52
+ show_email: "Visa epost adresser"
53
+ track_locale: "Spåra användarens språk"
54
+ star:
55
+ one: "1"
56
+ other: "%{count}"
57
+ stars: Stärnor
58
+ submit_your_review: "Skicka in din recension"
59
+ submitted_on: "Skapad den"
60
+ unapproved_reviews: "Icke godkänd"
61
+ voice:
62
+ one: "1 röst"
63
+ other: "%{count} röster"
64
+ was_this_review_helpful: "Var denna recension användbar för dig?"
65
+ write_your_own_review: "Skriv din egen recension"
66
+ you_must_enter_value_for_rating: "Du måste ange ett värde för betyg."