mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 03:47:23 +01:00
editor: Add some mnemonics
This commit is contained in:
parent
a16dc446d6
commit
3b02dc98a6
17 changed files with 48 additions and 28 deletions
|
|
@ -46,7 +46,8 @@ template $MusicusAlbumEditor: Adw.NavigationPage {
|
|||
]
|
||||
|
||||
Adw.ActionRow {
|
||||
title: _("Add recording");
|
||||
title: _("Add _recording");
|
||||
use-underline: true;
|
||||
activatable: true;
|
||||
activated => $select_recording() swapped;
|
||||
|
||||
|
|
@ -68,7 +69,8 @@ template $MusicusAlbumEditor: Adw.NavigationPage {
|
|||
]
|
||||
|
||||
Adw.ButtonRow save_row {
|
||||
title: _("Create album");
|
||||
title: _("_Create album");
|
||||
use-underline: true;
|
||||
activated => $save() swapped;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,7 +35,8 @@ template $MusicusEnsembleEditor: Adw.NavigationPage {
|
|||
]
|
||||
|
||||
Adw.ButtonRow save_row {
|
||||
title: _("Create ensemble");
|
||||
title: _("_Create ensemble");
|
||||
use-underline: true;
|
||||
activated => $save() swapped;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,7 +35,8 @@ template $MusicusInstrumentEditor: Adw.NavigationPage {
|
|||
]
|
||||
|
||||
Adw.ButtonRow save_row {
|
||||
title: _("Create instrument");
|
||||
title: _("_Create instrument");
|
||||
use-underline: true;
|
||||
activated => $save() swapped;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,7 +35,8 @@ template $MusicusPersonEditor: Adw.NavigationPage {
|
|||
]
|
||||
|
||||
Adw.ButtonRow save_row {
|
||||
title: _("Create person");
|
||||
title: _("_Create person");
|
||||
use-underline: true;
|
||||
activated => $save() swapped;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,7 +35,8 @@ template $MusicusRecordingEditor: Adw.NavigationPage {
|
|||
]
|
||||
|
||||
Adw.ActionRow work_row {
|
||||
title: _("Select work");
|
||||
title: _("Select _work");
|
||||
use-underline: true;
|
||||
activatable: true;
|
||||
activated => $select_work() swapped;
|
||||
|
||||
|
|
@ -48,7 +49,8 @@ template $MusicusRecordingEditor: Adw.NavigationPage {
|
|||
}
|
||||
|
||||
Adw.SpinRow year_row {
|
||||
title: _("Year");
|
||||
title: _("_Year");
|
||||
use-underline: true;
|
||||
|
||||
adjustment: Gtk.Adjustment {
|
||||
lower: 0;
|
||||
|
|
@ -79,7 +81,8 @@ template $MusicusRecordingEditor: Adw.NavigationPage {
|
|||
]
|
||||
|
||||
Adw.ActionRow {
|
||||
title: _("Add performer");
|
||||
title: _("Add _performer");
|
||||
use-underline: true;
|
||||
activatable: true;
|
||||
activated => $select_person() swapped;
|
||||
|
||||
|
|
@ -111,7 +114,8 @@ template $MusicusRecordingEditor: Adw.NavigationPage {
|
|||
]
|
||||
|
||||
Adw.ActionRow {
|
||||
title: _("Add ensemble");
|
||||
title: _("Add _ensemble");
|
||||
use-underline: true;
|
||||
activatable: true;
|
||||
activated => $select_ensemble() swapped;
|
||||
|
||||
|
|
@ -133,7 +137,8 @@ template $MusicusRecordingEditor: Adw.NavigationPage {
|
|||
]
|
||||
|
||||
Adw.ButtonRow save_row {
|
||||
title: _("Create recording");
|
||||
title: _("_Create recording");
|
||||
use-underline: true;
|
||||
activated => $save() swapped;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,7 +35,8 @@ template $MusicusRoleEditor: Adw.NavigationPage {
|
|||
]
|
||||
|
||||
Adw.ButtonRow save_row {
|
||||
title: _("Create role");
|
||||
title: _("_Create role");
|
||||
use-underline: true;
|
||||
activated => $save() swapped;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,9 @@ template $MusicusTracksEditor: Adw.NavigationPage {
|
|||
margin-end: 12;
|
||||
|
||||
Gtk.Label {
|
||||
label: _("Recording");
|
||||
label: _("_Recording");
|
||||
use-underline: true;
|
||||
mnemonic-widget: recording_row;
|
||||
xalign: 0;
|
||||
margin-top: 24;
|
||||
|
||||
|
|
@ -69,7 +71,8 @@ template $MusicusTracksEditor: Adw.NavigationPage {
|
|||
]
|
||||
|
||||
Adw.ActionRow {
|
||||
title: _("Add files");
|
||||
title: _("Add _files");
|
||||
use-underline: true;
|
||||
activatable: true;
|
||||
activated => $add_files() swapped;
|
||||
|
||||
|
|
@ -89,7 +92,8 @@ template $MusicusTracksEditor: Adw.NavigationPage {
|
|||
]
|
||||
|
||||
Adw.ButtonRow save_row {
|
||||
title: _("Import tracks");
|
||||
title: _("_Import tracks");
|
||||
use-underline: true;
|
||||
activated => $save() swapped;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,8 @@ template $MusicusTranslationEditor: Adw.Bin {
|
|||
]
|
||||
|
||||
Adw.EntryRow entry_row {
|
||||
title: _("Name");
|
||||
title: _("_Name");
|
||||
use-underline: true;
|
||||
}
|
||||
|
||||
Adw.ActionRow {
|
||||
|
|
|
|||
|
|
@ -49,7 +49,8 @@ template $MusicusWorkEditor: Adw.NavigationPage {
|
|||
]
|
||||
|
||||
Adw.ActionRow {
|
||||
title: _("Add composer");
|
||||
title: _("Add _composer");
|
||||
use-underline: true;
|
||||
activatable: true;
|
||||
activated => $add_person() swapped;
|
||||
|
||||
|
|
@ -81,7 +82,8 @@ template $MusicusWorkEditor: Adw.NavigationPage {
|
|||
]
|
||||
|
||||
Adw.ActionRow {
|
||||
title: _("Add part");
|
||||
title: _("Add _part");
|
||||
use-underline: true;
|
||||
activatable: true;
|
||||
activated => $add_part() swapped;
|
||||
|
||||
|
|
@ -112,7 +114,8 @@ template $MusicusWorkEditor: Adw.NavigationPage {
|
|||
]
|
||||
|
||||
Adw.ActionRow {
|
||||
title: _("Add instrument");
|
||||
title: _("Add _instrument");
|
||||
use-underline: true;
|
||||
activatable: true;
|
||||
activated => $add_instrument() swapped;
|
||||
|
||||
|
|
@ -134,7 +137,8 @@ template $MusicusWorkEditor: Adw.NavigationPage {
|
|||
]
|
||||
|
||||
Adw.ButtonRow save_row {
|
||||
title: _("Create work");
|
||||
title: _("_Create work");
|
||||
use-underline: true;
|
||||
activated => $save() swapped;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue