plugin.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "jupyter.lab.setting-icon": "ui-components:settings",
  3. "jupyter.lab.setting-icon-label": "Language",
  4. "jupyter.lab.menus": {
  5. "main": [
  6. {
  7. "id": "jp-mainmenu-settings",
  8. "items": [
  9. {
  10. "type": "separator",
  11. "rank": 1
  12. },
  13. {
  14. "type": "submenu",
  15. "rank": 1,
  16. "submenu": {
  17. "id": "jp-mainmenu-settings-language",
  18. "label": "Language"
  19. }
  20. },
  21. {
  22. "type": "separator",
  23. "rank": 1
  24. }
  25. ]
  26. }
  27. ]
  28. },
  29. "title": "Language",
  30. "description": "Language settings.",
  31. "type": "object",
  32. "properties": {
  33. "locale": {
  34. "type": "string",
  35. "title": "Language locale",
  36. "description": "Set the interface display language. Examples: 'es_CO', 'fr_FR'. Set 'default' to use the server default locale. Requires corresponding language pack to be installed.",
  37. "default": "default"
  38. },
  39. "stringsPrefix": {
  40. "type": "string",
  41. "title": "Localized strings prefix",
  42. "description": "Add a prefix to localized strings.",
  43. "default": "!!"
  44. },
  45. "displayStringsPrefix": {
  46. "type": "boolean",
  47. "title": "Display localized strings prefix",
  48. "description": "Display the `stringsPrefix` on localized strings.",
  49. "default": false
  50. }
  51. }
  52. }