mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-25 02:48:23 +01:00
Make all OS menus localizable
Turns out that Electron is not localizing the 'role' elements like we expected would happen.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
"type": "separator"
|
||||
},
|
||||
{
|
||||
"label": "Quit Signal",
|
||||
"role": "quit"
|
||||
}
|
||||
]
|
||||
@@ -18,30 +19,38 @@
|
||||
"label": "&Edit",
|
||||
"submenu": [
|
||||
{
|
||||
"label": "Undo",
|
||||
"role": "undo"
|
||||
},
|
||||
{
|
||||
"label": "Redo",
|
||||
"role": "redo"
|
||||
},
|
||||
{
|
||||
"type": "separator"
|
||||
},
|
||||
{
|
||||
"label": "Cut",
|
||||
"role": "cut"
|
||||
},
|
||||
{
|
||||
"label": "Copy",
|
||||
"role": "copy"
|
||||
},
|
||||
{
|
||||
"label": "Paste",
|
||||
"role": "paste"
|
||||
},
|
||||
{
|
||||
"label": "Paste and Match Style",
|
||||
"role": "pasteandmatchstyle"
|
||||
},
|
||||
{
|
||||
"label": "Delete",
|
||||
"role": "delete"
|
||||
},
|
||||
{
|
||||
"label": "Select All",
|
||||
"role": "selectall"
|
||||
}
|
||||
]
|
||||
@@ -50,18 +59,22 @@
|
||||
"label": "&View",
|
||||
"submenu": [
|
||||
{
|
||||
"label": "Actual Size",
|
||||
"role": "resetzoom"
|
||||
},
|
||||
{
|
||||
"label": "Zoom In",
|
||||
"role": "zoomin"
|
||||
},
|
||||
{
|
||||
"label": "Zoom Out",
|
||||
"role": "zoomout"
|
||||
},
|
||||
{
|
||||
"type": "separator"
|
||||
},
|
||||
{
|
||||
"label": "Toggle Full Screen",
|
||||
"role": "togglefullscreen"
|
||||
},
|
||||
{
|
||||
@@ -75,6 +88,7 @@
|
||||
"type": "separator"
|
||||
},
|
||||
{
|
||||
"label": "Toggle Developer Tools",
|
||||
"role": "toggledevtools"
|
||||
}
|
||||
]
|
||||
@@ -84,6 +98,7 @@
|
||||
"role": "window",
|
||||
"submenu": [
|
||||
{
|
||||
"label": "Minimize",
|
||||
"role": "minimize"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user