billy-gtk4-interface/menu_bar.ui
2024-10-28 18:58:19 +01:00

59 lines
2.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gio" version="2.0"/>
<menu id="menu">
<submenu id="file_submenu">
<attribute name="label" translatable="yes" context="&quot;Files&quot; menu used here">Fichiers</attribute>
<section>
<item>
<attribute name="action">file.new</attribute>
<attribute name="icon">document-new</attribute>
<attribute name="label" translatable="yes" context="It means New File in french">Nouveau fichier</attribute>
</item>
<item>
<attribute name="action">file.open</attribute>
<attribute name="icon">document-open</attribute>
<attribute name="label" translatable="yes" context="It means Open in french">Ouvrir</attribute>
</item>
<item>
<attribute name="action">file.save</attribute>
<attribute name="icon">document-save</attribute>
<attribute name="label" translatable="yes" context="It means Save">Enregistrer</attribute>
</item>
<item>
<attribute name="action">file.save_as</attribute>
<attribute name="icon">document-save-as</attribute>
<attribute name="label" translatable="yes" context="It means Save">Enregistrer sous</attribute>
</item>
</section>
<section>
<item>
<attribute name="action">file.quit</attribute>
<attribute name="icon">application-exit</attribute>
<attribute name="label" translatable="yes" context="It means Quit">Quitter</attribute>
</item>
</section>
</submenu>
<submenu id="edit_submenu">
<attribute name="label" translatable="yes" context="It means Edit">Éditer</attribute>
<section>
<item>
<attribute name="action">edit.copy</attribute>
<attribute name="icon">edit-copy</attribute>
<attribute name="label" translatable="yes">Copier</attribute>
</item>
<item>
<attribute name="action">edit.cut</attribute>
<attribute name="icon">edit-cut</attribute>
<attribute name="label" translatable="yes">Couper</attribute>
</item>
<item>
<attribute name="action">edit.paste</attribute>
<attribute name="icon">edit-paste</attribute>
<attribute name="label" translatable="yes">Coller</attribute>
</item>
</section>
</submenu>
</menu>
</interface>