diff --git a/library/i18n/locales/ar/studio.json b/library/i18n/locales/ar/studio.json index faa061824..f5abc6f10 100644 --- a/library/i18n/locales/ar/studio.json +++ b/library/i18n/locales/ar/studio.json @@ -28,6 +28,7 @@ "collapse": "طي", "partOf": "جزء من {name}، غير منشور بمفرده", "mapToken": "رمز الخريطة", + "mapboxToken": "رمز Mapbox", "tokenPaste": "رمز Mapbox العام (pk.…)", "tokenUrlLabel": "…أو رابط خدمة الرموز", "tokenApply": "استخدام", diff --git a/library/i18n/locales/de/studio.json b/library/i18n/locales/de/studio.json index 8e9f1c2f1..e8e769d5f 100644 --- a/library/i18n/locales/de/studio.json +++ b/library/i18n/locales/de/studio.json @@ -28,6 +28,7 @@ "collapse": "Einklappen", "partOf": "Teil von {name}, nicht eigenständig veröffentlicht", "mapToken": "Karten-Token", + "mapboxToken": "Mapbox-Token", "tokenPaste": "Öffentlicher Mapbox-Token (pk.…)", "tokenUrlLabel": "…oder die URL eines Token-Dienstes", "tokenApply": "Verwenden", diff --git a/library/i18n/locales/en/studio.json b/library/i18n/locales/en/studio.json index d7b826e92..fbf0e8b85 100644 --- a/library/i18n/locales/en/studio.json +++ b/library/i18n/locales/en/studio.json @@ -28,6 +28,7 @@ "collapse": "Collapse", "partOf": "part of {name}, not published on its own", "mapToken": "Map token", + "mapboxToken": "Mapbox token", "tokenPaste": "Mapbox public token (pk.…)", "tokenUrlLabel": "…or the URL of a token service", "tokenApply": "Use", diff --git a/library/i18n/locales/es/studio.json b/library/i18n/locales/es/studio.json index 6972a60f2..c45ee14ad 100644 --- a/library/i18n/locales/es/studio.json +++ b/library/i18n/locales/es/studio.json @@ -28,6 +28,7 @@ "collapse": "Contraer", "partOf": "parte de {name}, no publicada por separado", "mapToken": "Token del mapa", + "mapboxToken": "Token de Mapbox", "tokenPaste": "Token público de Mapbox (pk.…)", "tokenUrlLabel": "…o la URL de un servicio de tokens", "tokenApply": "Usar", diff --git a/library/i18n/locales/fr/studio.json b/library/i18n/locales/fr/studio.json index a80829f4b..24c56e6a0 100644 --- a/library/i18n/locales/fr/studio.json +++ b/library/i18n/locales/fr/studio.json @@ -28,6 +28,7 @@ "collapse": "Replier", "partOf": "partie de {name}, non publiée seule", "mapToken": "Jeton de carte", + "mapboxToken": "Jeton Mapbox", "tokenPaste": "Jeton public Mapbox (pk.…)", "tokenUrlLabel": "…ou l’URL d’un service de jetons", "tokenApply": "Utiliser", diff --git a/library/i18n/locales/hi/studio.json b/library/i18n/locales/hi/studio.json index 47d7f54ff..420f1fa4b 100644 --- a/library/i18n/locales/hi/studio.json +++ b/library/i18n/locales/hi/studio.json @@ -28,6 +28,7 @@ "collapse": "संक्षिप्त करें", "partOf": "{name} का भाग, अलग से प्रकाशित नहीं", "mapToken": "मानचित्र टोकन", + "mapboxToken": "Mapbox टोकन", "tokenPaste": "Mapbox सार्वजनिक टोकन (pk.…)", "tokenUrlLabel": "…या किसी टोकन सेवा का URL", "tokenApply": "उपयोग करें", diff --git a/library/i18n/locales/it/studio.json b/library/i18n/locales/it/studio.json index 350287008..f2eb97312 100644 --- a/library/i18n/locales/it/studio.json +++ b/library/i18n/locales/it/studio.json @@ -28,6 +28,7 @@ "collapse": "Comprimi", "partOf": "parte di {name}, non pubblicata da sola", "mapToken": "Token mappa", + "mapboxToken": "Token Mapbox", "tokenPaste": "Token pubblico Mapbox (pk.…)", "tokenUrlLabel": "…o l’URL di un servizio di token", "tokenApply": "Usa", diff --git a/library/i18n/locales/pt/studio.json b/library/i18n/locales/pt/studio.json index aeca3abfb..79f10d6f9 100644 --- a/library/i18n/locales/pt/studio.json +++ b/library/i18n/locales/pt/studio.json @@ -28,6 +28,7 @@ "collapse": "Recolher", "partOf": "parte de {name}, não publicada separadamente", "mapToken": "Token do mapa", + "mapboxToken": "Token do Mapbox", "tokenPaste": "Token público do Mapbox (pk.…)", "tokenUrlLabel": "…ou o URL de um serviço de tokens", "tokenApply": "Usar", diff --git a/library/i18n/locales/ro/studio.json b/library/i18n/locales/ro/studio.json index 6f4a26b87..69af02e43 100644 --- a/library/i18n/locales/ro/studio.json +++ b/library/i18n/locales/ro/studio.json @@ -28,6 +28,7 @@ "collapse": "Restrânge", "partOf": "parte din {name}, nepublicată separat", "mapToken": "Token hartă", + "mapboxToken": "Token Mapbox", "tokenPaste": "Token public Mapbox (pk.…)", "tokenUrlLabel": "…sau adresa URL a unui serviciu de tokenuri", "tokenApply": "Folosește", diff --git a/library/i18n/locales/ru/studio.json b/library/i18n/locales/ru/studio.json index 7447b0c47..462f9c08e 100644 --- a/library/i18n/locales/ru/studio.json +++ b/library/i18n/locales/ru/studio.json @@ -28,6 +28,7 @@ "collapse": "Свернуть", "partOf": "часть {name}, не публикуется отдельно", "mapToken": "Токен карты", + "mapboxToken": "Токен Mapbox", "tokenPaste": "Публичный токен Mapbox (pk.…)", "tokenUrlLabel": "…или адрес службы токенов", "tokenApply": "Применить", diff --git a/library/i18n/locales/zh/studio.json b/library/i18n/locales/zh/studio.json index a9aa023d6..30862eee5 100644 --- a/library/i18n/locales/zh/studio.json +++ b/library/i18n/locales/zh/studio.json @@ -28,6 +28,7 @@ "collapse": "折叠", "partOf": "{name} 的一部分,不单独发布", "mapToken": "地图令牌", + "mapboxToken": "Mapbox 令牌", "tokenPaste": "Mapbox 公开令牌 (pk.…)", "tokenUrlLabel": "…或令牌服务的网址", "tokenApply": "使用", diff --git a/plugin-designs/plugin-studio/plugin-studio.vue b/plugin-designs/plugin-studio/plugin-studio.vue index 49bc0ab38..44bc6b662 100644 --- a/plugin-designs/plugin-studio/plugin-studio.vue +++ b/plugin-designs/plugin-studio/plugin-studio.vue @@ -122,9 +122,8 @@
@@ -251,6 +250,7 @@ const PS_SHADOW_CSS = ` .ps-locale-btn:hover { background:#d1d4cd; } .ps-flag { font-size:13px; line-height:1; } .ps-locale-name { max-width:11ch; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } +.ps-token-btn .ps-locale-name { max-width:none; } /* "Mapbox token" is read in full: it names the prop */ .ps-dots { color:#6d766e; } .ps-locale-menu { position:absolute; top:100%; right:0; margin-top:4px; z-index:30; min-width:180px; list-style:none; padding:6px; border:1px solid #d1d4cd; border-radius:10px; background:#ffffff; box-shadow:0 12px 32px rgba(0,0,0,.5); max-height:320px; overflow:auto; } .ps-locale-opt { display:flex; align-items:center; gap:8px; width:100%; text-align:left; font:inherit; font-size:13px; padding:7px 9px; border:0; border-radius:7px; background:none; color:#3b463d; cursor:pointer; } @@ -1093,6 +1093,7 @@ export default defineComponent({ .ps-locale-btn:hover { background: #d1d4cd; } .ps-flag { font-size: 13px; line-height: 1; } .ps-locale-name { max-width: 11ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +.ps-token-btn .ps-locale-name { max-width: none; } .ps-dots { color: #6d766e; } .ps-locale-menu { position: absolute; top: 100%; right: 0; margin-top: 4px; z-index: 30; min-width: 180px; list-style: none; padding: 6px; border: 1px solid #d1d4cd; border-radius: 10px; background: #ffffff; box-shadow: 0 12px 32px rgba(0,0,0,.5); max-height: 320px; overflow: auto; } .ps-locale-opt { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; font: inherit; font-size: 13px; padding: 7px 9px; border: 0; border-radius: 7px; background: none; color: #3b463d; cursor: pointer; }