diff options
author | lakoliu <99976966+lakoliu@users.noreply.github.com> | 2022-06-12 18:42:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-12 18:42:38 -0700 |
commit | a64af13fb2f6837244359e6a18efb0e24fb56970 (patch) | |
tree | bfab44f00f603268ba8371c841a03357f9cfc889 /src/gtk | |
parent | f19023ce3917efde04ff37fb77c00f6bd56b2c13 (diff) | |
parent | c8c681ec835dd2bd84215916a85b3ef108be716c (diff) | |
download | Furtherance-a64af13fb2f6837244359e6a18efb0e24fb56970.tar.zst |
Merge pull request #71 from flxzt/translatable-export-options
fix: CSV export options translatable
Diffstat (limited to 'src/gtk')
-rw-r--r-- | src/gtk/dialogs.ui | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/gtk/dialogs.ui b/src/gtk/dialogs.ui index e419e45..ef141e0 100644 --- a/src/gtk/dialogs.ui +++ b/src/gtk/dialogs.ui @@ -68,26 +68,27 @@ <object class="AdwComboRow" id="csv_export_tasksort_row"> <property name="title" translatable="yes">Sort by</property> <property name="model"> - <object class="AdwEnumListModel"> - <property name="enum-type">TaskSort</property> + <object class="GtkStringList"> + <items> + <item translatable="yes">Start time</item> + <item translatable="yes">Stop time</item> + <item translatable="yes">Task name</item> + </items> </object> </property> - <property name="expression"> - <lookup type="AdwEnumListItem" name="nick" /> - </property> </object> </child> <child> <object class="AdwComboRow" id="csv_export_sortorder_row"> <property name="title" translatable="yes">Sort order</property> <property name="model"> - <object class="AdwEnumListModel"> - <property name="enum-type">SortOrder</property> + <object class="GtkStringList"> + <items> + <item translatable="yes">Ascending</item> + <item translatable="yes">Descending</item> + </items> </object> </property> - <property name="expression"> - <lookup type="AdwEnumListItem" name="nick" /> - </property> </object> </child> </object> @@ -97,4 +98,4 @@ </object> </child> </object> -</interface> +</interface> \ No newline at end of file |