Skip to content

Commit

Permalink
fix: Add utility tooltip (#3098)
Browse files Browse the repository at this point in the history
  • Loading branch information
LautaroPetaccio authored May 8, 2024
1 parent 4c33e47 commit 742bf6e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ItemEditorPage/RightPanel/RightPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ export default class RightPanel extends React.PureComponent<Props, State> {
placeholder={t('item_editor.right_panel.utility_placeholder')}
disabled={!canEditItemMetadata}
value={utility}
tooltip={{ content: t('item_editor.right_panel.utility_tooltip') }}
rows="2"
cols="12"
/>
Expand Down
1 change: 1 addition & 0 deletions src/modules/translation/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1962,6 +1962,7 @@
"required_permissions": "Permissions",
"description_placeholder": "What makes your Item special?",
"utility_placeholder": "Describe your Item functionality",
"utility_tooltip": "Describe the in-world utility of the Wearable. E.g: Increase damage by 5%",
"copyright": {
"title": "VRM Export Permission",
"vrm_export": "Allow VRM Export",
Expand Down
1 change: 1 addition & 0 deletions src/modules/translation/languages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1981,6 +1981,7 @@
"required_permissions": "Permisos",
"description_placeholder": "¿Qué hace a tu Item especial?",
"utility_placeholder": "Describe la funcionalida de tu Item",
"utility_tooltip": "Describe la funcionalidad dentro del mundo del Wearable. Ej: Incrementa el daño en 5%",
"copyright": {
"title": "Permiso de exportación de VRM",
"vrm_export": "Permitir la exportación de VRM",
Expand Down
1 change: 1 addition & 0 deletions src/modules/translation/languages/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -1964,6 +1964,7 @@
"required_permissions": "权限",
"description_placeholder": "是什么让您的物品与众不同?",
"utility_placeholder": "描述您的物品功能",
"utility_tooltip": "描述可穿戴设备在现实世界中的用途。 例如:伤害增加5%",
"copyright": {
"title": "VRM出口许可",
"vrm_export": "允许VRM导出",
Expand Down

0 comments on commit 742bf6e

Please sign in to comment.