| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- Original: https://gitlab.gnome.org/GNOME/gnome-calculator/-/blob/main/src/ui/math-shortcuts.ui --> |
| 3 |
<interface> |
| 4 |
<object class="AdwShortcutsDialog" id="shortcuts_dialog"> |
| 5 |
<child> |
| 6 |
<object class="AdwShortcutsSection"> |
| 7 |
<property name="title" translatable="yes" context="shortcuts dialog">General</property> |
| 8 |
<child> |
| 9 |
<object class="AdwShortcutsItem"> |
| 10 |
<property name="accelerator"><control>N</property> |
| 11 |
<property name="title" translatable="yes" context="shortcuts dialog">Open a new window</property> |
| 12 |
</object> |
| 13 |
</child> |
| 14 |
<child> |
| 15 |
<object class="AdwShortcutsItem"> |
| 16 |
<property name="accelerator"><control>W</property> |
| 17 |
<property name="title" translatable="yes" context="shortcuts dialog">Close current window</property> |
| 18 |
</object> |
| 19 |
</child> |
| 20 |
<child> |
| 21 |
<object class="AdwShortcutsItem"> |
| 22 |
<property name="accelerator"><control>Q</property> |
| 23 |
<property name="title" translatable="yes" context="shortcuts dialog">Quit the application</property> |
| 24 |
</object> |
| 25 |
</child> |
| 26 |
<child> |
| 27 |
<object class="AdwShortcutsItem"> |
| 28 |
<property name="accelerator">F1</property> |
| 29 |
<property name="title" translatable="yes" context="shortcuts dialog">Show help</property> |
| 30 |
</object> |
| 31 |
</child> |
| 32 |
<child> |
| 33 |
<object class="AdwShortcutsItem"> |
| 34 |
<property name="accelerator">F10</property> |
| 35 |
<property name="title" translatable="yes" context="shortcuts dialog">Open menu</property> |
| 36 |
</object> |
| 37 |
</child> |
| 38 |
<child> |
| 39 |
<object class="AdwShortcutsItem"> |
| 40 |
<property name="accelerator"><control>comma</property> |
| 41 |
<property name="title" translatable="yes" context="shortcuts dialog">Show preferences</property> |
| 42 |
</object> |
| 43 |
</child> |
| 44 |
<child> |
| 45 |
<object class="AdwShortcutsItem"> |
| 46 |
<property name="accelerator"><control>question</property> |
| 47 |
<property name="title" translatable="yes" context="shortcuts dialog">Keyboard shortcuts</property> |
| 48 |
</object> |
| 49 |
</child> |
| 50 |
<child> |
| 51 |
<object class="AdwShortcutsItem"> |
| 52 |
<property name="accelerator"><control>Escape</property> |
| 53 |
<property name="title" translatable="yes" context="shortcuts dialog">Clear history</property> |
| 54 |
</object> |
| 55 |
</child> |
| 56 |
</object> |
| 57 |
</child> |
| 58 |
<child> |
| 59 |
<object class="AdwShortcutsSection"> |
| 60 |
<property name="title" translatable="yes" context="shortcuts dialog">Switching Modes</property> |
| 61 |
<child> |
| 62 |
<object class="AdwShortcutsItem"> |
| 63 |
<property name="accelerator"><control><alt>B</property> |
| 64 |
<property name="title" translatable="yes" context="shortcuts dialog">Switch to Basic mode</property> |
| 65 |
</object> |
| 66 |
</child> |
| 67 |
<child> |
| 68 |
<object class="AdwShortcutsItem"> |
| 69 |
<property name="accelerator"><control><alt>A</property> |
| 70 |
<property name="title" translatable="yes" context="shortcuts dialog">Switch to Advanced mode</property> |
| 71 |
</object> |
| 72 |
</child> |
| 73 |
<child> |
| 74 |
<object class="AdwShortcutsItem"> |
| 75 |
<property name="accelerator"><control><alt>F</property> |
| 76 |
<property name="title" translatable="yes" context="shortcuts dialog">Switch to Financial mode</property> |
| 77 |
</object> |
| 78 |
</child> |
| 79 |
<child> |
| 80 |
<object class="AdwShortcutsItem"> |
| 81 |
<property name="accelerator"><control><alt>P</property> |
| 82 |
<property name="title" translatable="yes" context="shortcuts dialog">Switch to Programming mode</property> |
| 83 |
</object> |
| 84 |
</child> |
| 85 |
<child> |
| 86 |
<object class="AdwShortcutsItem"> |
| 87 |
<property name="accelerator"><control><alt>k</property> |
| 88 |
<property name="title" translatable="yes" context="shortcuts dialog">Switch to Keyboard mode</property> |
| 89 |
</object> |
| 90 |
</child> |
| 91 |
<child> |
| 92 |
<object class="AdwShortcutsItem"> |
| 93 |
<property name="accelerator"><control><alt>t</property> |
| 94 |
<property name="title" translatable="yes" context="shortcuts dialog">Switch to Keyboard mode (alt.)</property> |
| 95 |
</object> |
| 96 |
</child> |
| 97 |
<child> |
| 98 |
<object class="AdwShortcutsItem"> |
| 99 |
<property name="accelerator"><control><alt>C</property> |
| 100 |
<property name="title" translatable="yes" context="shortcuts dialog">Switch to Conversion mode</property> |
| 101 |
</object> |
| 102 |
</child> |
| 103 |
</object> |
| 104 |
</child> |
| 105 |
<child> |
| 106 |
<object class="AdwShortcutsSection"> |
| 107 |
<property name="title" translatable="yes" context="shortcuts dialog">Keyboard Entry</property> |
| 108 |
<child> |
| 109 |
<object class="AdwShortcutsItem"> |
| 110 |
<property name="accelerator">asterisk</property> |
| 111 |
<property name="title" translatable="yes" context="shortcuts dialog">Multiply (×)</property> |
| 112 |
</object> |
| 113 |
</child> |
| 114 |
<child> |
| 115 |
<object class="AdwShortcutsItem"> |
| 116 |
<property name="accelerator">slash</property> |
| 117 |
<property name="title" translatable="yes" context="shortcuts dialog">Divide (÷)</property> |
| 118 |
</object> |
| 119 |
</child> |
| 120 |
<child> |
| 121 |
<object class="AdwShortcutsItem"> |
| 122 |
<property name="accelerator"><ctrl>2</property> |
| 123 |
<property name="title" translatable="yes" context="shortcuts dialog">Square (²)</property> |
| 124 |
</object> |
| 125 |
</child> |
| 126 |
<child> |
| 127 |
<object class="AdwShortcutsItem"> |
| 128 |
<property name="accelerator"><ctrl>R</property> |
| 129 |
<property name="title" translatable="yes" context="shortcuts dialog">Square root (√)</property> |
| 130 |
</object> |
| 131 |
</child> |
| 132 |
<child> |
| 133 |
<object class="AdwShortcutsItem"> |
| 134 |
<property name="accelerator"><ctrl>I</property> |
| 135 |
<property name="title" translatable="yes" context="shortcuts dialog">Inverse (⁻¹)</property> |
| 136 |
</object> |
| 137 |
</child> |
| 138 |
<child> |
| 139 |
<object class="AdwShortcutsItem"> |
| 140 |
<property name="accelerator"><ctrl>P</property> |
| 141 |
<property name="title" translatable="yes" context="shortcuts dialog">Pi (π)</property> |
| 142 |
</object> |
| 143 |
</child> |
| 144 |
<child> |
| 145 |
<object class="AdwShortcutsItem"> |
| 146 |
<property name="accelerator"><ctrl>T</property> |
| 147 |
<property name="title" translatable="yes" context="shortcuts dialog">Tau (τ)</property> |
| 148 |
</object> |
| 149 |
</child> |
| 150 |
<child> |
| 151 |
<object class="AdwShortcutsItem"> |
| 152 |
<property name="accelerator"><ctrl>apostrophe</property> |
| 153 |
<property name="title" translatable="yes" context="shortcuts dialog">Degree (°)</property> |
| 154 |
</object> |
| 155 |
</child> |
| 156 |
<child> |
| 157 |
<object class="AdwShortcutsItem"> |
| 158 |
<property name="accelerator"><alt>bracketleft+bracketright</property> |
| 159 |
<property name="title" translatable="yes" context="shortcuts dialog">Floor (⌊⌋)</property> |
| 160 |
<property name="direction">ltr</property> |
| 161 |
</object> |
| 162 |
</child> |
| 163 |
<child> |
| 164 |
<object class="AdwShortcutsItem"> |
| 165 |
<property name="accelerator"><ctrl>bracketleft+bracketright</property> |
| 166 |
<property name="title" translatable="yes" context="shortcuts dialog">Ceiling (⌈⌉)</property> |
| 167 |
<property name="direction">ltr</property> |
| 168 |
</object> |
| 169 |
</child> |
| 170 |
<child> |
| 171 |
<object class="AdwShortcutsItem"> |
| 172 |
<property name="accelerator"><alt>bracketright+bracketleft</property> |
| 173 |
<property name="title" translatable="yes" context="shortcuts dialog">Floor (⌊⌋)</property> |
| 174 |
<property name="direction">rtl</property> |
| 175 |
</object> |
| 176 |
</child> |
| 177 |
<child> |
| 178 |
<object class="AdwShortcutsItem"> |
| 179 |
<property name="accelerator"><ctrl>bracketright+bracketleft</property> |
| 180 |
<property name="title" translatable="yes" context="shortcuts dialog">Ceiling (⌈⌉)</property> |
| 181 |
<property name="direction">rtl</property> |
| 182 |
</object> |
| 183 |
</child> |
| 184 |
<child> |
| 185 |
<object class="AdwShortcutsItem"> |
| 186 |
<property name="accelerator"><ctrl>E</property> |
| 187 |
<property name="title" translatable="yes" context="shortcuts dialog">Enter numbers in scientific format</property> |
| 188 |
</object> |
| 189 |
</child> |
| 190 |
<child> |
| 191 |
<object class="AdwShortcutsItem"> |
| 192 |
<property name="accelerator"><alt>0...9</property> |
| 193 |
<property name="title" translatable="yes" context="shortcuts dialog">Enter subscript numbers</property> |
| 194 |
</object> |
| 195 |
</child> |
| 196 |
<child> |
| 197 |
<object class="AdwShortcutsItem"> |
| 198 |
<property name="accelerator"><ctrl>0...9</property> |
| 199 |
<property name="title" translatable="yes" context="shortcuts dialog">Enter superscript numbers</property> |
| 200 |
</object> |
| 201 |
</child> |
| 202 |
<child> |
| 203 |
<object class="AdwShortcutsItem"> |
| 204 |
<property name="accelerator"><ctrl>minus</property> |
| 205 |
<property name="title" translatable="yes" context="shortcuts dialog">Enter superscript minus sign</property> |
| 206 |
</object> |
| 207 |
</child> |
| 208 |
</object> |
| 209 |
</child> |
| 210 |
<child> |
| 211 |
<object class="AdwShortcutsSection"> |
| 212 |
<property name="title" translatable="yes" context="shortcuts dialog">Programming Mode</property> |
| 213 |
<child> |
| 214 |
<object class="AdwShortcutsItem"> |
| 215 |
<property name="accelerator"><ctrl>B</property> |
| 216 |
<property name="title" translatable="yes" context="shortcuts dialog">Switch to binary</property> |
| 217 |
</object> |
| 218 |
</child> |
| 219 |
<child> |
| 220 |
<object class="AdwShortcutsItem"> |
| 221 |
<property name="accelerator"><ctrl>O</property> |
| 222 |
<property name="title" translatable="yes" context="shortcuts dialog">Switch to octal</property> |
| 223 |
</object> |
| 224 |
</child> |
| 225 |
<child> |
| 226 |
<object class="AdwShortcutsItem"> |
| 227 |
<property name="accelerator"><ctrl>D</property> |
| 228 |
<property name="title" translatable="yes" context="shortcuts dialog">Switch to decimal</property> |
| 229 |
</object> |
| 230 |
</child> |
| 231 |
<child> |
| 232 |
<object class="AdwShortcutsItem"> |
| 233 |
<property name="accelerator"><ctrl>H</property> |
| 234 |
<property name="title" translatable="yes" context="shortcuts dialog">Switch to hexadecimal</property> |
| 235 |
</object> |
| 236 |
</child> |
| 237 |
</object> |
| 238 |
</child> |
| 239 |
<child> |
| 240 |
<object class="AdwShortcutsSection"> |
| 241 |
<property name="title" translatable="yes" context="shortcuts dialog">Equation</property> |
| 242 |
<child> |
| 243 |
<object class="AdwShortcutsItem"> |
| 244 |
<property name="accelerator"><control>C</property> |
| 245 |
<property name="title" translatable="yes" context="shortcuts dialog">Copy</property> |
| 246 |
</object> |
| 247 |
</child> |
| 248 |
<child> |
| 249 |
<object class="AdwShortcutsItem"> |
| 250 |
<property name="accelerator"><control>V</property> |
| 251 |
<property name="title" translatable="yes" context="shortcuts dialog">Paste</property> |
| 252 |
</object> |
| 253 |
</child> |
| 254 |
<child> |
| 255 |
<object class="AdwShortcutsItem"> |
| 256 |
<property name="accelerator"><control>Z</property> |
| 257 |
<property name="title" translatable="yes" context="shortcuts dialog">Undo</property> |
| 258 |
</object> |
| 259 |
</child> |
| 260 |
<child> |
| 261 |
<object class="AdwShortcutsItem"> |
| 262 |
<property name="accelerator"><control><shift>Z</property> |
| 263 |
<property name="title" translatable="yes" context="shortcuts dialog">Redo</property> |
| 264 |
</object> |
| 265 |
</child> |
| 266 |
<child> |
| 267 |
<object class="AdwShortcutsItem"> |
| 268 |
<property name="accelerator"><alt>Left</property> |
| 269 |
<property name="title" translatable="yes" context="shortcuts dialog">Previous equation</property> |
| 270 |
</object> |
| 271 |
</child> |
| 272 |
<child> |
| 273 |
<object class="AdwShortcutsItem"> |
| 274 |
<property name="accelerator"><alt>Right</property> |
| 275 |
<property name="title" translatable="yes" context="shortcuts dialog">Next equation</property> |
| 276 |
</object> |
| 277 |
</child> |
| 278 |
<child> |
| 279 |
<object class="AdwShortcutsItem"> |
| 280 |
<property name="accelerator">Escape</property> |
| 281 |
<property name="title" translatable="yes" context="shortcuts dialog">Clear display</property> |
| 282 |
</object> |
| 283 |
</child> |
| 284 |
<child> |
| 285 |
<object class="AdwShortcutsItem"> |
| 286 |
<property name="accelerator"><ctrl>F</property> |
| 287 |
<property name="title" translatable="yes" context="shortcuts dialog">Factorize</property> |
| 288 |
</object> |
| 289 |
</child> |
| 290 |
</object> |
| 291 |
</child> |
| 292 |
</object> |
| 293 |
</interface> |