-
Notifications
You must be signed in to change notification settings - Fork 34
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
Improve for multisite #105
Improve for multisite #105
Conversation
remove kana from customer name if they don't have the data. added validation message into locale. added translation against js validation. update checkout template.
…to improve-for-multisite
@magento run Unit Tests |
Co-Authored-By: Lena Orobei <[email protected]>
Co-Authored-By: Lena Orobei <[email protected]>
Co-Authored-By: Lena Orobei <[email protected]>
…to improve-for-multisite
removed class constant and use Magento/Directory/Helper/Data constant.
…o2-jp into improve-for-multisite
@magento run Unit Tests |
@magento run Static Tests |
|
||
/** | ||
* Use name widget that corresponds to Japanese traditions and contains kana fields. | ||
*/ | ||
class Name | ||
{ | ||
private $kanaFieldsConfig; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add PHPDoc block here.
|
||
/** | ||
* Use name widget that corresponds to Japanese traditions and contains kana fields. | ||
*/ | ||
class Name | ||
{ | ||
private $kanaFieldsConfig; | ||
|
||
public function __construct( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add PHPDoc block here.
@@ -68,4 +90,9 @@ private function walkChildren(array $component): array | |||
} | |||
return $component; | |||
} | |||
|
|||
private function getStoreLocale() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add PHPDoc block here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add missing PHPDoc blocks.
I wanted to commit these changes to your branch, but it turned out, I don't have access to do that.
system.xml's definitions are specified as "store", but retrieving system configuration value functions don't have 2nd argument to specify scope. So if Magento users hope to use Magento under multi-site & multi-language environment without kana or Japanese style, they cannot disable kana and other Japanese specific configuration.