各モジュール ライブラリの定義ファイルには、そのファイルで使用する各静的リソース文字列のエントリがあります。 You can find this entry in the module source code under the \Msdyn365.Commerce.Online\node_modules\@msdyn365-commerce-modules オンライン スフとウェア開発キット (SDK) ディレクトリの下のモジュール ソース コードで、エントリが表示されます。 たとえば、ヘッダー モジュールの「サイン イン」テキストを変更する場合、\Msdyn365.Commerce.Online\node_modules\@msdyn365-commerce-modules\header\src\modules\header\header.definition.json ファイルを開け、次の例で示すようにリソースセクションを参照します。
"resources": {
"mobileHamburgerAriaLabel": {
"comment": "The aria label used for mobile view hamburger",
"value": "Hamburger menu"
},
"wishlistTooltipText": {
"comment": "string to be shown for wishlist tooltip",
"value": "My Wishlist"
},
"cartLabel": {
"comment": "string to be shown for cart or shopping bag tooltip",
"value": "Shopping bag, ({0}) items"
},
"cartQtyLabel": {
"comment": "string to be shown for cart item quantity",
"value": "({0})"
},
"signInLinkText": {
"comment": "Sign-in Link text",
"value": "Sign in"
}
}