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
7cf62c92
Commit
7cf62c92
authored
Apr 03, 2023
by
halweg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix : 西语翻译补充
parent
76ddf55d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
12 deletions
+17
-12
app/code/Joshine/Category/Observer/Frontend/Catalog/CategoryLoadAfter.php
+4
-4
app/code/Magento/Checkout/view/frontend/web/template/security.html
+4
-4
app/design/frontend/Joshine/breeze/Magento_Theme/templates/html/topmenu.phtml
+1
-1
app/design/frontend/Joshine/breeze/i18n/es_ES.csv
+8
-3
No files found.
app/code/Joshine/Category/Observer/Frontend/Catalog/CategoryLoadAfter.php
View file @
7cf62c92
...
@@ -42,8 +42,8 @@ class CategoryLoadAfter implements \Magento\Framework\Event\ObserverInterface
...
@@ -42,8 +42,8 @@ class CategoryLoadAfter implements \Magento\Framework\Event\ObserverInterface
$str
=
$this
->
getUrlParameter
(
$category
);
$str
=
$this
->
getUrlParameter
(
$category
);
$oldMetaDescription
=
$category
->
getMetaDescription
();
$oldMetaDescription
=
$category
->
getMetaDescription
();
$oldMetaKeyword
=
$category
->
getMetaKeywords
();
$oldMetaKeyword
=
$category
->
getMetaKeywords
();
$category
->
setMetaTitle
(
'Buy the Latest '
.
$str
[
'title'
]
.
' on '
.
$url
);
$category
->
setMetaTitle
(
__
(
'Buy the Latest'
)
.
' '
.
$str
[
'title'
]
.
__
(
' on '
)
.
$url
);
$category
->
setMetaDescription
(
'Shop '
.
$str
[
'title'
]
.
'. '
.
$oldMetaDescription
);
$category
->
setMetaDescription
(
__
(
'Shop '
)
.
$str
[
'title'
]
.
'. '
.
$oldMetaDescription
);
if
(
$str
[
'keyword'
]
&&
$str
[
'keyword'
]
!=
'.'
){
if
(
$str
[
'keyword'
]
&&
$str
[
'keyword'
]
!=
'.'
){
$category
->
setMetaKeywords
(
$str
[
'keyword'
]);
$category
->
setMetaKeywords
(
$str
[
'keyword'
]);
}
else
{
}
else
{
...
@@ -59,8 +59,8 @@ class CategoryLoadAfter implements \Magento\Framework\Event\ObserverInterface
...
@@ -59,8 +59,8 @@ class CategoryLoadAfter implements \Magento\Framework\Event\ObserverInterface
$arr
=
[
'title'
=>
''
,
'keyword'
=>
''
];
$arr
=
[
'title'
=>
''
,
'keyword'
=>
''
];
if
(
isset
(
$data
[
'product_list_order'
])){
if
(
isset
(
$data
[
'product_list_order'
])){
$sortBy
=
$category
->
getAvailableSortByOptions
();
$sortBy
=
$category
->
getAvailableSortByOptions
();
$arr
[
'title'
]
.=
$sortBy
[
$data
[
'product_list_order'
]]
.
' '
;
$arr
[
'title'
]
.=
__
(
$sortBy
[
$data
[
'product_list_order'
]])
.
' '
;
$arr
[
'keyword'
]
.=
$sortBy
[
$data
[
'product_list_order'
]]
.
' '
.
$categoryName
.
','
;
$arr
[
'keyword'
]
.=
__
(
$sortBy
[
$data
[
'product_list_order'
]])
.
' '
.
$categoryName
.
','
;
}
}
if
(
isset
(
$data
[
'color'
])){
if
(
isset
(
$data
[
'color'
])){
...
...
app/code/Magento/Checkout/view/frontend/web/template/security.html
View file @
7cf62c92
...
@@ -9,15 +9,15 @@
...
@@ -9,15 +9,15 @@
<div
style=
"position: relative;"
>
<div
style=
"position: relative;"
>
<img
style=
"position: absolute; left: 2px; top: 0;"
alt=
""
src=
"/media/wysiwyg/cart.png"
>
<img
style=
"position: absolute; left: 2px; top: 0;"
alt=
""
src=
"/media/wysiwyg/cart.png"
>
<div
style=
"padding-left: 45px;"
>
<div
style=
"padding-left: 45px;"
>
<span
style=
"display: block; font-family: Lato-Bold; font-size: 14px; margin-bottom: 5px;color: #1d1d1d;"
>
EASY RETURNS
</span>
<span
style=
"display: block; font-family: Lato-Bold; font-size: 14px; margin-bottom: 5px;color: #1d1d1d;"
translate=
"'EASY RETURNS'"
>
</span>
<span
style=
"display: block; font-family: Regular; font-size: 12px; margin-bottom: 15px;color: #1d1d1d;"
>
No-quibble return
&
exchange within 15 Days
</span>
<span
style=
"display: block; font-family: Regular; font-size: 12px; margin-bottom: 15px;color: #1d1d1d;"
translate=
"'No-quibble return & exchange within 15 Days'"
>
</span>
</div>
</div>
</div>
</div>
<div
style=
"position: relative;"
>
<div
style=
"position: relative;"
>
<img
style=
"position: absolute; left: 9px; top: 0;"
alt=
""
src=
"/media/wysiwyg/key.png"
>
<img
style=
"position: absolute; left: 9px; top: 0;"
alt=
""
src=
"/media/wysiwyg/key.png"
>
<div
style=
"padding-left: 45px;"
>
<div
style=
"padding-left: 45px;"
>
<span
style=
"display: block; font-family: Lato-Bold; font-size: 14px; margin-bottom: 5px;color: #1d1d1d;"
>
SAFE
&
SECURE
</span>
<span
style=
"display: block; font-family: Lato-Bold; font-size: 14px; margin-bottom: 5px;color: #1d1d1d;"
translate=
"'SAFE & SECURE'"
>
</span>
<span
style=
"display: block; font-family: Regular; font-size: 12px; margin-bottom: 15px;color: #1d1d1d;"
>
Your information is always protected
</span>
<span
style=
"display: block; font-family: Regular; font-size: 12px; margin-bottom: 15px;color: #1d1d1d;"
translate=
"'Your information is always protected'"
>
</span>
</div>
</div>
</div>
</div>
<div>
<div>
...
...
app/design/frontend/Joshine/breeze/Magento_Theme/templates/html/topmenu.phtml
View file @
7cf62c92
...
@@ -212,7 +212,7 @@ $_menuHtml = $block->getHtml('level-top', 'submenu', $columnsLimit)
...
@@ -212,7 +212,7 @@ $_menuHtml = $block->getHtml('level-top', 'submenu', $columnsLimit)
<div
class=
"nav-sections"
>
<div
class=
"nav-sections"
>
<nav
class=
"navigation"
data-action=
"navigation"
id=
"joshine-navigation"
>
<nav
class=
"navigation"
data-action=
"navigation"
id=
"joshine-navigation"
>
<ul
data-mage-init=
'{"menu":{"responsive":true,"dropdown":"div", "expanded":true, "position":{"my":"left top","at":"left bottom"}}}'
>
<ul
data-mage-init=
'{"menu":{"responsive":true,"dropdown":"div", "expanded":true, "position":{"my":"left top","at":"left bottom"}}}'
>
<li
class=
"level0 nav-0 level-top"
><a
href=
"/"
class=
"level-top"
><span>
Home
</span></a></li>
<li
class=
"level0 nav-0 level-top"
><a
href=
"/"
class=
"level-top"
><span>
<?=
__
(
'Home'
)
?>
</span></a></li>
<?=
/* @noEscape */
$_menuHtml
?>
<?=
/* @noEscape */
$_menuHtml
?>
<?=
$block
->
getChildHtml
()
?>
<?=
$block
->
getChildHtml
()
?>
</ul>
</ul>
...
...
app/design/frontend/Joshine/breeze/i18n/es_ES.csv
View file @
7cf62c92
...
@@ -15619,9 +15619,14 @@ Coupon Code,Código preferencial
...
@@ -15619,9 +15619,14 @@ Coupon Code,Código preferencial
WHY CHOOSE US,¿¿ por qué nos eligen?
WHY CHOOSE US,¿¿ por qué nos eligen?
We Accept,Aceptamos
We Accept,Aceptamos
"JOIN OUR LIST FOR SPECIAL OFFERS!","¡¡ Únete a nuestra lista de preferencias!"
"JOIN OUR LIST FOR SPECIAL OFFERS!","¡¡ Únete a nuestra lista de preferencias!"
Recommend,Recomendación
Top Rated,La calificación más alta
New Arrivals,Recién llegado
Review Count,Recuento de revisión
Buy the Latest,Comprar los últimos productos
"Shop ","Tiendas "
" on "," En "
Best Seller,Mejor vendedora
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