File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
src/ui/widgets/image_dialog Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 71
71
<object class =" AdwPreferencesGroup" >
72
72
<child >
73
73
<object class =" AdwEntryRow" id =" name_entry" >
74
- <property name =" title" >Name</property >
74
+ <property name =" title" translatable = " yes " >Name</property >
75
75
</object >
76
76
</child >
77
77
<child >
78
78
<object class =" AdwEntryRow" id =" year_entry" >
79
- <property name =" title" >Year</property >
79
+ <property name =" title" translatable = " yes " >Year</property >
80
80
</object >
81
81
</child >
82
82
</object >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<interface >
3
3
<template parent =" AdwNavigationPage" class =" ImageDialogEditPage" >
4
- <property name =" title" >Edit Image</property >
4
+ <property name =" title" translatable = " yes " >Edit Image</property >
5
5
<child >
6
6
<object class =" AdwToolbarView" >
7
7
<child type =" top" >
16
16
<object class =" AdwPreferencesGroup" >
17
17
<child >
18
18
<object class =" ImageDropRow" id =" image_drop_row" >
19
- <property name =" title" >Upload Image</property >
19
+ <property name =" title" translatable = " yes " >Upload Image</property >
20
20
</object >
21
21
</child >
22
22
<child >
23
23
<object class =" AdwEntryRow" id =" entry" >
24
- <property name =" title" >External Url</property >
24
+ <property name =" title" translatable = " yes " >External Url</property >
25
25
<child type =" prefix" >
26
26
<object class =" GtkCheckButton" id =" url_check_button" >
27
27
</object >
34
34
<child >
35
35
<object class =" AdwButtonRow" >
36
36
<signal name =" activated" handler =" on_save_button_clicked" swapped =" yes" />
37
- <property name =" title" >Save</property >
37
+ <property name =" title" translatable = " yes " >Save</property >
38
38
</object >
39
39
</child >
40
40
</object >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<interface >
3
3
<template parent =" AdwNavigationPage" class =" ImageDialogSearchPage" >
4
- <property name =" title" >Choose Image</property >
4
+ <property name =" title" translatable = " yes " >Choose Image</property >
5
5
<child >
6
6
<object class =" AdwToolbarView" >
7
7
<child type =" top" >
Original file line number Diff line number Diff line change 176
176
</child >
177
177
<child >
178
178
<object class =" AdwPreferencesGroup" >
179
- <property name =" description" >Overview</property >
179
+ <property name =" description" translatable = " yes " >Overview</property >
180
180
<property name =" margin-start" >12</property >
181
181
<property name =" margin-end" >12</property >
182
182
<child >
193
193
</child >
194
194
<child >
195
195
<object class =" AdwPreferencesGroup" id =" ids_group" >
196
- <property name =" description" >External Ids</property >
196
+ <property name =" description" translatable = " yes " >External Ids</property >
197
197
<property name =" margin-start" >12</property >
198
198
<property name =" margin-end" >12</property >
199
199
<property name =" visible" >false</property >
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ mod imp {
123
123
impl ImagesDialog {
124
124
fn init ( & self ) {
125
125
if IS_ADMIN . load ( std:: sync:: atomic:: Ordering :: Relaxed ) {
126
- self . page . set_title ( "View Images" ) ;
126
+ self . page . set_title ( & gettextrs :: gettext ( "View Images" ) ) ;
127
127
self . hint . set_visible ( false ) ;
128
128
}
129
129
You can’t perform that action at this time.
0 commit comments