mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Add widgets for translating data
This commit is contained in:
parent
3c8f5b8c31
commit
783d548bc2
10 changed files with 350 additions and 4 deletions
19
data/ui/translation_section.blp
Normal file
19
data/ui/translation_section.blp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
template $MusicusTranslationSection : Adw.PreferencesGroup {
|
||||
title: _("Name");
|
||||
header-suffix: Gtk.Button add_button {
|
||||
styles ["flat"]
|
||||
clicked => $add_translation() swapped;
|
||||
|
||||
Adw.ButtonContent {
|
||||
icon-name: "list-add-symbolic";
|
||||
label: _("Translate");
|
||||
}
|
||||
};
|
||||
|
||||
Adw.EntryRow entry_row {
|
||||
title: _("Name");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue