Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
20b62f59
Commit
20b62f59
authored
Mar 22, 2023
by
halweg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat : 西语翻译
parent
f9299937
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
23 deletions
+23
-23
app/code/Joshine/Review/view/frontend/templates/product/view/list.phtml
+12
-12
app/code/Joshine/Review/view/frontend/templates/toolbar.phtml
+1
-1
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/view/addto.phtml
+6
-6
app/design/frontend/Joshine/breeze/Magento_Review/templates/form.phtml
+4
-4
app/design/frontend/Joshine/breeze/i18n/es_ES.csv
+0
-0
No files found.
app/code/Joshine/Review/view/frontend/templates/product/view/list.phtml
View file @
20b62f59
...
...
@@ -56,13 +56,13 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
<div
class=
"joshine-review-container joshine-clearfix joshine-hidden-md joshine-hidden-sm joshine-hidden-xs"
>
<h1
class=
"joshine-review-title"
>
Customer Reviews
<?=
__
(
"Customer Reviews"
)
?>
</h1>
<div
class=
"joshine-review"
>
<div
class=
"joshine-review-averate joshine-bg-silver"
>
<div
class=
"joshine-review-item joshine-review-rating-box"
>
<div
class=
"name"
>
Average Rating
<?=
__
(
"Average Rating"
)
?>
</div>
<div
class=
"ave-rate"
>
<div
class=
"joshine-rating-container"
>
...
...
@@ -73,7 +73,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
</div>
<div
class=
"joshine-review-item"
>
<div
class=
"name"
>
Did the item fit well?
<?=
__
(
"Did the item fit well?"
)
?>
</div>
<?php
foreach
(
$block
->
getDetailedSummary
()
as
$key
=>
$detail
)
:
?>
...
...
@@ -89,7 +89,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
</div>
<div
class=
"joshine-review-item add-new-box"
>
<a
href=
"#review-form"
title=
"Write a review"
class=
"add-new-button joshine-btn joshine-btn-dark joshine-review-add-btn"
>
Write a review
<?=
__
(
"Write a review"
)
?>
</a>
</div>
</div>
...
...
@@ -129,7 +129,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
<div
class=
"joshine-foot-mark rate-fit"
>
<div
class=
"rate-fit-item"
>
<?php
$fitsValue
=
$review
->
getSizeFits
();
?>
<span><strong
class=
"joshine-font-w-bolder"
>
Size Fits
:
</strong>
<?=
$helper
->
translateSizeFits
(
$fitsValue
);
?>
</span>
<span><strong
class=
"joshine-font-w-bolder"
>
<?=
__
(
"Size Fits"
)
?>
:
</strong>
<?=
$helper
->
translateSizeFits
(
$fitsValue
);
?>
</span>
</div>
</div>
</div>
...
...
@@ -139,7 +139,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
</div>
<div
class=
"joshine-review-list-item-right"
>
<div
class=
"joshine-review-helpful joshine-font-c-darkgray joshine-font-text"
>
<span>
helpful
</span>
<span>
<?=
__
(
'helpful'
)
?>
</span>
<span
class=
"joshine-like
<?=
$block
->
getPlusVotedClass
(
$review
->
getId
());
?>
"
data-review-id=
"
<?=
$review
->
getId
();
?>
"
>
<input
name=
"form_key"
type=
"hidden"
value=
"
<?=
/* @noEscape */
$block
->
getFormKey
();
?>
"
/>
</span>
...
...
@@ -160,13 +160,13 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
<div
class=
"joshine-review-container-mobile joshine-hidden-lg"
>
<h4
class=
"joshine-review-title joshine-font-w-bolder"
>
Customer Reviews
<?=
__
(
"Customer Reviews"
)
?>
</h4>
<div
class=
"joshine-review"
>
<div
class=
"joshine-review-averate joshine-bg-silver joshine-clearfix"
>
<div
class=
"joshine-review-item joshine-review-rating-box"
>
<div
class=
"name"
>
Average Rating
<?=
__
(
"Average Rating"
)
?>
</div>
<div
class=
"ave-rate row"
>
<div
class=
"joshine-rating-container joshine-col-xs-8"
>
...
...
@@ -177,7 +177,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
</div>
<div
class=
"joshine-review-item"
>
<div
class=
"name"
>
Did the item fit well?
<?=
__
(
"Did the item fit well?"
)
?>
</div>
<?php
foreach
(
$block
->
getDetailedSummary
()
as
$key
=>
$detail
)
:
?>
<div
class=
"fit-item"
>
...
...
@@ -194,7 +194,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
<div
class=
"joshine-review-item add-new-box"
>
<a
href=
"#review-form"
title=
"Write a review"
class=
"add-new-button joshine-btn joshine-btn-dark joshine-review-add-btn"
>
Write a review
<?=
__
(
"Write a review"
)
?>
</a>
</div>
...
...
@@ -231,7 +231,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
<div
class=
"row joshine-foot-mark"
>
<?php
$fitsValue
=
$review
->
getSizeFits
();
?>
<span><strong
class=
"joshine-font-w-bolder"
>
Size Fits
:
</strong>
<?=
$helper
->
translateSizeFits
(
$fitsValue
);
?>
</span>
<span><strong
class=
"joshine-font-w-bolder"
>
<?=
__
(
"Size Fits"
)
?>
:
</strong>
<?=
$helper
->
translateSizeFits
(
$fitsValue
);
?>
</span>
</div>
<div
class=
"row joshine-font-w-bolder"
style=
"font-size: .9em;"
>
...
...
@@ -653,7 +653,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
<div
class=
"joshine-foot-mark rate-fit"
>
<div
class=
"rate-fit-item"
>
<span><strong
class=
"joshine-font-w-bolder"
>
Size Fits
:
</strong>
<span
data-review-js=
"fits"
></span></span>
<span><strong
class=
"joshine-font-w-bolder"
>
<?=
__
(
"Size Fits"
)
?>
>
:
</strong>
<span
data-review-js=
"fits"
></span></span>
</div>
</div>
</div>
...
...
app/code/Joshine/Review/view/frontend/templates/toolbar.phtml
View file @
20b62f59
<div
class=
"joshine-review-filter joshine-clearfix"
>
<div
class=
"joshine-review-tab joshine-review-tab-container"
>
<span
class=
"tab active joshine-inline-block joshine-font-c-deepin review-js-with-image"
>
All Reviews
</span>
<span
class=
"tab active joshine-inline-block joshine-font-c-deepin review-js-with-image"
>
<?=
__
(
"All Reviews"
)
?>
</span>
<span
class=
"tab review-with-image joshine-inline-block review-js-with-image joshine-hidden"
>
With Image
</span>
</div>
<div
class=
"joshine-review-select-wrap joshine-hidden"
>
...
...
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/view/addto.phtml
View file @
20b62f59
...
...
@@ -60,17 +60,17 @@
<div
style=
"width: 100%"
class=
"product-view-freeshipping"
>
<div
class=
"product-intro__freeshipping product-intro__bg-none"
>
<div
class=
"product-intro__freeshipping-abt action"
id=
"freeshipping-button"
>
<div
class=
"product-intro__freeshipping-icon shipping "
><i
class=
"svgicon svgicon-gd-shipping"
></i>
<p>
Fast Delivery
</p>
<span
class=
"svgicon svgicon-gd-more-grey product-intro__freeshipping-more"
></span>
<div
class=
"product-intro__freeshipping-icon shipping "
><i
class=
"svgicon svgicon-gd-shipping"
></i>
<p>
<?=
__
(
"Fast Delivery"
);
?>
</p>
<span
class=
"svgicon svgicon-gd-more-grey product-intro__freeshipping-more"
></span>
</div>
<div
class=
"free-wrapper"
>
<p>
Estimated to be delivered on
<span
id=
"deliveredTime"
>
11/25/2021 - 12/03/2021
</span>
.
</p>
</div>
<p>
<?=
__
(
"Estimated to be delivered on"
)
?>
<span
id=
"deliveredTime"
>
11/25/2021 - 12/03/2021
</span>
.
</p>
</div>
</div>
<div
class=
"product-intro__freeshipping-item full-line paddingTop-0 paddingBottom-0 action"
id=
"free-return-button"
>
<div
class=
"product-intro__freeshipping-icon"
>
<i
class=
"svgicon svgicon-gd-freereturn"
></i><p>
Free Return
&
Exchange
</p>
<span
class=
"svgicon svgicon-gd-more-grey product-intro__freeshipping-more"
></span>
</div>
<div
class=
"product-intro__freeshipping-desc"
>
Learn More
<i
class=
"svgicon svgicon-gd-freereturn"
></i><p>
<?=
__
(
"Free Return & Exchange"
)
?>
:
</p>
<span
class=
"svgicon svgicon-gd-more-grey product-intro__freeshipping-more"
></span>
</div>
<div
class=
"product-intro__freeshipping-desc"
>
<?=
__
(
"Learn More"
)
?>
</div>
</div>
</div>
...
...
@@ -232,7 +232,7 @@ if ($description) :
}}'
>
<div
data-role=
"collapsible"
>
<div
data-role=
"trigger"
class=
"description-button"
>
<a
class=
"desction-left description info-desc"
href=
"#"
>
Description
</a>
<a
class=
"desction-left description info-desc"
href=
"#"
>
<?=
__
(
"Description"
)
?>
</a>
<a
class=
"desction-right description info-desc"
href=
"#"
>
-
</a>
</div>
</div>
...
...
@@ -257,7 +257,7 @@ if ($short_description) :
}}'
>
<div
data-role=
"collapsible"
>
<div
data-role=
"trigger"
class=
"short_description-button"
>
<a
class=
"desction-left short_description info-desc"
href=
"#"
>
Material
</a>
<a
class=
"desction-left short_description info-desc"
href=
"#"
>
<?=
__
(
"Material"
)
?>
</a>
<a
class=
"desction-right short_description info-desc"
href=
"#"
>
-
</a>
</div>
</div>
...
...
app/design/frontend/Joshine/breeze/Magento_Review/templates/form.phtml
View file @
20b62f59
...
...
@@ -75,24 +75,24 @@
</div>
</div>
<div
class=
"field size-fits"
>
<label
class=
"label"
>
<?
php
echo
'Size Fits'
?>
:
</label>
<label
class=
"label"
>
<?
=
__
(
'Size Fits'
)
?>
:
</label>
<div
class=
"options-list"
>
<div
class=
"field choice"
>
<input
type=
"radio"
class=
"radio"
id=
"size-fits-1"
data-validate=
"{'validate-one-required-by-name':true}"
name=
"size_fits"
value=
"1"
>
<label
class=
"label"
for=
"size-fits-1"
>
Small
<?=
__
(
'Small'
)
?>
</label>
</div>
<div
class=
"field choice"
>
<input
type=
"radio"
class=
"radio"
id=
"size-fits-2"
data-validate=
"{'validate-one-required-by-name':true}"
name=
"size_fits"
value=
"2"
>
<label
class=
"label"
for=
"size-fits-2"
>
True to Size
<?=
__
(
'True to Size'
)
?>
</label>
</div>
<div
class=
"field choice"
>
<input
type=
"radio"
class=
"radio"
id=
"size-fits-3"
data-validate=
"{'validate-one-required-by-name':true}"
name=
"size_fits"
value=
"3"
>
<label
class=
"label"
for=
"size-fits-3"
>
Large
<?=
__
(
'Large'
)
?>
</label>
</div>
</div>
...
...
app/design/frontend/Joshine/breeze/i18n/es_ES.csv
View file @
20b62f59
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment