mnfst 0.5.134 → 0.5.135
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"manifest.dropdowns.js": "sha384-a2j9Z1LWolyZANlfeBc1aIFQ0kf0UDeOZ8TetulYbpRS6T/zaD/OWSMGvz+gRehX",
|
|
13
13
|
"manifest.export.js": "sha384-RsTGzsPCBw3yO4+TdAGd4F+o3FnzUNlqnMBqtnn/kUfv7axpzRdPc2AnsExV/93c",
|
|
14
14
|
"manifest.icons.js": "sha384-uOkboYrovjCpl22eey3Jaxpey+pOnot5NDnRRumcRxiR7IOVaRh1i20gYnWXR5dW",
|
|
15
|
-
"manifest.localization.js": "sha384-
|
|
15
|
+
"manifest.localization.js": "sha384-S7mxPHf1qFW5jCmxFAbvSd+lKEoWqGLO/eZ85/Nkq3vDXzSP81/32WvAuzBV3P5n",
|
|
16
16
|
"manifest.markdown.js": "sha384-IrtsTsNgCsKmrNQgnvrh5ETHdnrrsJeOg8r6zD5zfxEgXVUu+HZ6ai7e2iM9fXIM",
|
|
17
17
|
"manifest.payments.js": "sha384-Ng5y5hZfMqrSLo1AbQ8ucOni/BaaYsbEj16WW7rwsgRKEaflE+6lQRoZSlLA4PMd",
|
|
18
18
|
"manifest.resize.js": "sha384-S3v4RAJoA77LUH6MddYG9bx//dZX//up7XWeH69Ql2ge3bVHgC6mR/CJBe6y4nQI",
|
|
@@ -753,6 +753,10 @@ function registerLocaleMagic() {
|
|
|
753
753
|
if (prop === 'current') return currentStore?.current || document.documentElement.lang || 'en';
|
|
754
754
|
if (prop === 'available') return currentStore?.available || [document.documentElement.lang || 'en'];
|
|
755
755
|
if (prop === 'direction') return currentStore?.direction || 'ltr';
|
|
756
|
+
if (prop === 'name') {
|
|
757
|
+
const fallback = document.documentElement.lang || 'en';
|
|
758
|
+
return localeName(currentStore?.current || fallback);
|
|
759
|
+
}
|
|
756
760
|
if (prop === 'list') {
|
|
757
761
|
const fallback = document.documentElement.lang || 'en';
|
|
758
762
|
return buildLocaleList(
|