You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe why it is important and where it will be useful
In Nextcloud each user can set the applications language to have the best user experience and lowest entry barrier. Unfortunately the current implementation of the registration of File Actions Menu, Top Menu Entry and Talk Bots does only support to register a menu in one single language without any hint which is the (preferred) language of the Nextcloud instance.
Describe your proposed solution
Enhance the registration of menu entries like that. If you check if displayName is a plain string or an object this solution is downwards compatible,too.
{
"name": "unique_name_of_file_actions_menu",
"displayName": [
{
"lang": "en",
"text": "Display name (for UI listing)"
},
{
"lang": "de",
"text": "Anzeige name"
},
{
"lang": "default",
"text": "Display name (for UI listing)"
}
],
"actionHandler": "/action_handler_route""mime": "mime of files where to display action menu",
"icon": "img/icon.svg",
"permissions": "permissions",
"order": "order_in_file_actions_menu",
}
Describe alternatives you've considered, if relevant
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe why it is important and where it will be useful
In Nextcloud each user can set the applications language to have the best user experience and lowest entry barrier. Unfortunately the current implementation of the registration of File Actions Menu, Top Menu Entry and Talk Bots does only support to register a menu in one single language without any hint which is the (preferred) language of the Nextcloud instance.
Describe your proposed solution
Enhance the registration of menu entries like that. If you check if displayName is a plain string or an object this solution is downwards compatible,too.
Describe alternatives you've considered, if relevant
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: