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

VCST-2207: fix localization #68

Merged
merged 3 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"customerReviews": {
"main-menu-title": "Bewertungen und Rezensionen",
"blades": {
"review-list": {
"title": "Produktbewertungen",
Expand All @@ -21,6 +22,7 @@
}
},
"review-detail": {
"title": "Rezension",
"labels": {
"title": "Titel",
"content": "Inhalt",
Expand Down Expand Up @@ -119,4 +121,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"customerReviews": {
"main-menu-title": "Rating and reviews",
"blades": {
"review-list": {
"title": "Product reviews",
Expand All @@ -21,6 +22,7 @@
}
},
"review-detail": {
"title": "Review",
"labels": {
"title": "Title",
"content": "Content",
Expand Down Expand Up @@ -119,4 +121,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"customerReviews": {
"main-menu-title": "Calificación y reseñas",
"blades": {
"review-list": {
"title": "Reseñas de productos",
Expand All @@ -21,6 +22,7 @@
}
},
"review-detail": {
"title": "Reseña",
"labels": {
"title": "Título",
"content": "Contenido",
Expand Down Expand Up @@ -119,4 +121,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"customerReviews": {
"main-menu-title": "Évaluation et avis",
"blades": {
"review-list": {
"title": "Avis sur le produit",
Expand All @@ -21,6 +22,7 @@
}
},
"review-detail": {
"title": "Avis",
"labels": {
"title": "Titre",
"content": "Contenu",
Expand Down Expand Up @@ -119,4 +121,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"customerReviews": {
"main-menu-title": "Valutazioni e recensioni",
"blades": {
"review-list": {
"title": "Recensioni del prodotto",
Expand All @@ -21,6 +22,7 @@
}
},
"review-detail": {
"title": "Recensione",
"labels": {
"title": "Titolo",
"content": "Contenuto",
Expand Down Expand Up @@ -119,4 +121,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"customerReviews": {
"main-menu-title": "評価とレビュー",
"blades": {
"review-list": {
"title": "製品レビュー",
Expand All @@ -21,6 +22,7 @@
}
},
"review-detail": {
"title": "レビュー",
"labels": {
"title": "タイトル",
"content": "内容",
Expand Down Expand Up @@ -119,4 +121,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"customerReviews": {
"main-menu-title": "Oceny i recenzje",
"blades": {
"review-list": {
"title": "Opinie o produkcie",
Expand All @@ -21,6 +22,7 @@
}
},
"review-detail": {
"title": "Recenzja",
"labels": {
"title": "Tytuł",
"content": "Treść",
Expand Down Expand Up @@ -119,4 +121,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"customerReviews": {
"main-menu-title": "Avaliações e classificações",
"blades": {
"review-list": {
"title": "Avaliações de produtos",
Expand All @@ -21,6 +22,7 @@
}
},
"review-detail": {
"title": "Avaliação",
"labels": {
"title": "Título",
"content": "Conteúdo",
Expand Down Expand Up @@ -119,4 +121,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"customerReviews": {
"main-menu-title": "Рейтинг и отзывы",
"blades": {
"review-list": {
"title": "Отзывы о продукте",
Expand All @@ -21,6 +22,7 @@
}
},
"review-detail": {
"title": "Отзыв",
"labels": {
"title": "Заголовок",
"content": "Содержание",
Expand Down Expand Up @@ -119,4 +121,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"customerReviews": {
"main-menu-title": "评分和评论",
"blades": {
"review-list": {
"title": "产品评论",
Expand All @@ -21,6 +22,7 @@
}
},
"review-detail": {
"title": "评论",
"labels": {
"title": "标题",
"content": "内容",
Expand Down Expand Up @@ -119,4 +121,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ angular.module(moduleTemplateName, [])
var menuItemNewReviews = {
path: 'browse/customerReviewsNew',
icon: 'fa fa-comments',
title: 'Rating and Reviews',
title: 'customerReviews.main-menu-title',
priority: 100,
action: function () { $state.go('workspace.customerReviews') },
permission: 'customerReviews:read'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,20 @@ angular.module('VirtoCommerce.CustomerReviews')
id: 'reviewDetails',
currentEntityId: data.id,
currentEntity: angular.copy(data),
title: 'Customer review',
title: 'customerReviews.blades.review-detail.title',
controller: 'VirtoCommerce.CustomerReviews.reviewDetailController',
template: 'Modules/$(VirtoCommerce.CustomerReviews)/Scripts/blades/review-detail.tpl.html'
};
bladeNavigationService.showBlade(newBlade, blade);
}

blade.headIcon = 'fa fa-comments';
blade.title = 'Rating and Reviews';
blade.title = 'customerReviews.main-menu-title';

blade.toolbarCommands = [
{
name: "platform.commands.refresh", icon: 'fa fa-refresh',
name: 'platform.commands.refresh',
icon: 'fa fa-refresh',
executeMethod: blade.refresh,
canExecuteMethod: function () {
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ angular.module('VirtoCommerce.CustomerReviews')

var newBlade = {
id: 'sellerReviewsList',
title: 'Customer review',
title: 'customerReviews.blades.review-detail.title',
controller: 'VirtoCommerce.CustomerReviews.reviewsListController',
template: 'Modules/$(VirtoCommerce.CustomerReviews)/Scripts/blades/reviews-list.tpl.html',
filter: { entityIds: [productId], entityType: 'Product' }
Expand Down
Loading
Loading