app-menu.ui 2.11 KB
Newer Older
1
<interface>
2
  <menu id="app-menu">
3 4 5 6 7 8 9 10 11 12 13 14
    <section>
      <item>
        <attribute name="label" translatable="yes">_New Game</attribute>
        <attribute name="action">app.new-game</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">_Scores</attribute>
        <attribute name="action">app.scores</attribute>
      </item>
    </section>
    <section>
      <submenu>
15
        <attribute name="label" translatable="yes">Si_ze</attribute>
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
        <section>
          <item>
            <attribute name="label" translatable="yes">_2x2</attribute>
            <attribute name="action">app.size</attribute>
            <attribute name="target">2</attribute>
          </item>
          <item>
            <attribute name="label" translatable="yes">_3x3</attribute>
            <attribute name="action">app.size</attribute>
            <attribute name="target">3</attribute>
          </item>
          <item>
            <attribute name="label" translatable="yes">_4x4</attribute>
            <attribute name="action">app.size</attribute>
            <attribute name="target">4</attribute>
          </item>
          <item>
            <attribute name="label" translatable="yes">_5x5</attribute>
            <attribute name="action">app.size</attribute>
            <attribute name="target">5</attribute>
          </item>
          <item>
            <attribute name="label" translatable="yes">_6x6</attribute>
            <attribute name="action">app.size</attribute>
            <attribute name="target">6</attribute>
          </item>
        </section>
      </submenu>
    </section>
    <section>
46 47 48 49
      <item>
        <attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
        <attribute name="action">win.show-help-overlay</attribute>
      </item>
50 51 52 53 54
      <item>
        <attribute name="label" translatable="yes">_Help</attribute>
        <attribute name="action">app.help</attribute>
      </item>
      <item>
55
        <attribute name="label" translatable="yes">_About Tetravex</attribute>
56 57 58 59 60
        <attribute name="action">app.about</attribute>
      </item>
    </section>
  </menu>
</interface>