Codebase list lightdm-gtk-greeter-settings / 6a8d999
Fixing context for translated strings Andrew P. 9 years ago
4 changed file(s) with 63 addition(s) and 61 deletion(s). Raw diff Collapse all Expand all
99 <object class="GtkMenuItem" id="greeter_default-user-image_icon_item">
1010 <property name="visible">True</property>
1111 <property name="can_focus">False</property>
12 <property name="label" translatable="yes">Icon</property>
12 <property name="label" translatable="yes" context="option|greeter|default-user-image">Icon</property>
1313 </object>
1414 </child>
1515 <child>
1616 <object class="GtkMenuItem" id="greeter_default-user-image_path_item">
1717 <property name="visible">True</property>
1818 <property name="can_focus">False</property>
19 <property name="label" translatable="yes">Path</property>
19 <property name="label" translatable="yes" context="option|greeter|default-user-image">Path</property>
2020 </object>
2121 </child>
2222 </object>
4949 <data>
5050 <row>
5151 <col id="0">~host</col>
52 <col id="1" translatable="yes" context="option|indicators">Host name</col>
52 <col id="1" translatable="yes" context="option|greeter|indicators">Host name</col>
5353 <col id="2">False</col>
5454 <col id="3">True</col>
5555 <col id="4">False</col>
5656 </row>
5757 <row>
5858 <col id="0">~clock</col>
59 <col id="1" translatable="yes" context="option|indicators">Clock</col>
59 <col id="1" translatable="yes" context="option|greeter|indicators">Clock</col>
6060 <col id="2">False</col>
6161 <col id="3">True</col>
6262 <col id="4">False</col>
6363 </row>
6464 <row>
6565 <col id="0">~layout</col>
66 <col id="1" translatable="yes" context="option|indicators">Layout indicator</col>
66 <col id="1" translatable="yes" context="option|greeter|indicators">Layout indicator</col>
6767 <col id="2">False</col>
6868 <col id="3">True</col>
6969 <col id="4">False</col>
7070 </row>
7171 <row>
7272 <col id="0">~session</col>
73 <col id="1" translatable="yes" context="option|indicators">Sessions menu (xfce, unity, gnome etc.)</col>
73 <col id="1" translatable="yes" context="option|greeter|indicators">Sessions menu (xfce, unity, gnome etc.)</col>
7474 <col id="2">False</col>
7575 <col id="3">True</col>
7676 <col id="4">False</col>
7777 </row>
7878 <row>
7979 <col id="0">~language</col>
80 <col id="1" translatable="yes" context="option|indicators">Languages menu</col>
80 <col id="1" translatable="yes" context="option|greeter|indicators">Languages menu</col>
8181 <col id="2">False</col>
8282 <col id="3">True</col>
8383 <col id="4">False</col>
8484 </row>
8585 <row>
8686 <col id="0">~a11y</col>
87 <col id="1" translatable="yes" context="option|indicators">Accessibility menu</col>
87 <col id="1" translatable="yes" context="option|greeter|indicators">Accessibility menu</col>
8888 <col id="2">False</col>
8989 <col id="3">True</col>
9090 <col id="4">False</col>
9191 </row>
9292 <row>
9393 <col id="0">~power</col>
94 <col id="1" translatable="yes" context="option|indicators">Power menu</col>
94 <col id="1" translatable="yes" context="option|greeter|indicators">Power menu</col>
9595 <col id="2">False</col>
9696 <col id="3">True</col>
9797 <col id="4">False</col>
123123 <data>
124124 <row>
125125 <col id="0">hintnone</col>
126 <col id="1" translatable="yes" context="option|hintstyle">None</col>
126 <col id="1" translatable="yes" context="option|greeter|xft-hintstyle">None</col>
127127 </row>
128128 <row>
129129 <col id="0">hintslight</col>
130 <col id="1" translatable="yes" context="option|hintstyle">Slight</col>
130 <col id="1" translatable="yes" context="option|greeter|xft-hintstyle">Slight</col>
131131 </row>
132132 <row>
133133 <col id="0">hintmedium</col>
134 <col id="1" translatable="yes" context="option|hintstyle">Medium</col>
134 <col id="1" translatable="yes" context="option|greeter|xft-hintstyle">Medium</col>
135135 </row>
136136 <row>
137137 <col id="0">hintfull</col>
138 <col id="1" translatable="yes" context="option|hintstyle">Full</col>
138 <col id="1" translatable="yes" context="option|greeter|xft-hintstyle">Full</col>
139139 </row>
140140 </data>
141141 </object>
149149 <data>
150150 <row>
151151 <col id="0">none</col>
152 <col id="1" translatable="yes" context="option|rgba">None</col>
152 <col id="1" translatable="yes" context="option|greeter|xft-rgba">None</col>
153153 </row>
154154 <row>
155155 <col id="0">rgb</col>
156 <col id="1" translatable="yes" context="option|rgba">RGB</col>
156 <col id="1" translatable="yes" context="option|greeter|xft-rgba">RGB</col>
157157 </row>
158158 <row>
159159 <col id="0">bgr</col>
160 <col id="1" translatable="yes" context="option|rgba">BGR</col>
160 <col id="1" translatable="yes" context="option|greeter|xft-rgba">BGR</col>
161161 </row>
162162 <row>
163163 <col id="0">vrgb</col>
164 <col id="1" translatable="yes" context="option|rgba">Vertical RGB</col>
164 <col id="1" translatable="yes" context="option|greeter|xft-rgba">Vertical RGB</col>
165165 </row>
166166 <row>
167167 <col id="0">vbgr</col>
168 <col id="1" translatable="yes" context="option|rgba">Vertical BGR</col>
168 <col id="1" translatable="yes" context="option|greeter|xft-rgba">Vertical BGR</col>
169169 </row>
170170 </data>
171171 </object>
239239 <property name="can_focus">False</property>
240240 <property name="halign">start</property>
241241 <property name="hexpand">True</property>
242 <property name="label" translatable="yes" context="option|gtk-theme">Theme</property>
242 <property name="label" translatable="yes" context="option|greeter|theme-name">Theme</property>
243243 <attributes>
244244 <attribute name="weight" value="semibold"/>
245245 </attributes>
255255 <property name="can_focus">False</property>
256256 <property name="halign">start</property>
257257 <property name="hexpand">True</property>
258 <property name="label" translatable="yes" context="option|icons-theme">Icons</property>
258 <property name="label" translatable="yes" context="option|greeter|icon-theme-name">Icons</property>
259259 <attributes>
260260 <attribute name="weight" value="semibold"/>
261261 </attributes>
271271 <property name="can_focus">False</property>
272272 <property name="halign">start</property>
273273 <property name="hexpand">True</property>
274 <property name="label" translatable="yes" context="option|font">Font</property>
274 <property name="label" translatable="yes" context="option|greeter|font-name">Font</property>
275275 <attributes>
276276 <attribute name="weight" value="semibold"/>
277277 </attributes>
359359 </child>
360360 <child>
361361 <object class="GtkCheckButton" id="greeter_xft-rgba_use">
362 <property name="label" translatable="yes" context="option|rgba">Subpixel rendering</property>
362 <property name="label" translatable="yes" context="option|greeter|xft-rgba">Subpixel rendering</property>
363363 <property name="visible">True</property>
364364 <property name="can_focus">False</property>
365365 <property name="receives_default">False</property>
377377 </child>
378378 <child>
379379 <object class="GtkCheckButton" id="greeter_xft-dpi_use">
380 <property name="label" translatable="yes" context="option|dpi">DPI</property>
380 <property name="label" translatable="yes" context="option|greeter|xft-dpi">DPI</property>
381381 <property name="visible">True</property>
382382 <property name="can_focus">False</property>
383383 <property name="receives_default">False</property>
395395 </child>
396396 <child>
397397 <object class="GtkCheckButton" id="greeter_xft-antialias_use">
398 <property name="label" translatable="yes" context="option|antialias">Antialias</property>
398 <property name="label" translatable="yes" context="option|greeter|xft-antialias">Antialias</property>
399399 <property name="visible">True</property>
400400 <property name="can_focus">False</property>
401401 <property name="receives_default">False</property>
413413 </child>
414414 <child>
415415 <object class="GtkCheckButton" id="greeter_xft-hintstyle_use">
416 <property name="label" translatable="yes" context="option|hintstyle">Hinting</property>
416 <property name="label" translatable="yes" context="option|greeter|xft-hintstyle">Hinting</property>
417417 <property name="visible">True</property>
418418 <property name="can_focus">False</property>
419419 <property name="receives_default">False</property>
466466 </child>
467467 <child>
468468 <object class="GtkRadioButton" id="greeter_background_image_choice">
469 <property name="label" translatable="yes" context="option|background">Image</property>
469 <property name="label" translatable="yes" context="option|greeter|background">Image</property>
470470 <property name="visible">True</property>
471471 <property name="can_focus">False</property>
472472 <property name="receives_default">False</property>
495495 </child>
496496 <child>
497497 <object class="GtkRadioButton" id="greeter_background_color_choice">
498 <property name="label" translatable="yes" context="option|background">Color</property>
498 <property name="label" translatable="yes" context="option|greeter|background">Color</property>
499499 <property name="visible">True</property>
500500 <property name="can_focus">False</property>
501501 <property name="receives_default">False</property>
529529 <property name="can_focus">False</property>
530530 <property name="halign">start</property>
531531 <property name="valign">start</property>
532 <property name="label" translatable="yes" context="option|user-image">Default user image</property>
532 <property name="label" translatable="yes" context="option|greeter|default-user-image">Default user image</property>
533533 <attributes>
534534 <attribute name="weight" value="semibold"/>
535535 </attributes>
594594 </child>
595595 <child>
596596 <object class="GtkCheckButton" id="greeter_user-background_value">
597 <property name="label" translatable="yes">Use user wallpaper if available</property>
597 <property name="label" translatable="yes" context="option|greeter|user-background">Use user wallpaper if available</property>
598598 <property name="visible">True</property>
599599 <property name="can_focus">True</property>
600600 <property name="receives_default">False</property>
618618 <property name="visible">True</property>
619619 <property name="can_focus">False</property>
620620 <property name="halign">start</property>
621 <property name="label" translatable="yes" context="option|background">Background</property>
621 <property name="label" translatable="yes" context="option|greeter|background">Background</property>
622622 <attributes>
623623 <attribute name="weight" value="semibold"/>
624624 </attributes>
633633 <object class="GtkLabel" id="multihead_label">
634634 <property name="visible">True</property>
635635 <property name="can_focus">True</property>
636 <property name="label" translatable="yes"> &lt;i&gt;(or you can use &lt;a href=""&gt;multihead setup for individual monitors&lt;/a&gt;)&lt;/i&gt;</property>
636 <property name="label" translatable="yes" context="option|multihead"> &lt;i&gt;(or you can use &lt;a href=""&gt;multihead setup for individual monitors&lt;/a&gt;)&lt;/i&gt;</property>
637637 <property name="use_markup">True</property>
638638 <property name="angle">0.029999999999999999</property>
639639 </object>
684684 <property name="can_focus">False</property>
685685 <property name="halign">start</property>
686686 <property name="hexpand">True</property>
687 <property name="label" translatable="yes" context="option|indicators">Redefine indicators</property>
687 <property name="label" translatable="yes" context="option|greeter|indicators">Redefine indicators</property>
688688 <attributes>
689689 <attribute name="weight" value="semibold"/>
690690 </attributes>
729729 <property name="halign">start</property>
730730 <property name="margin_left">24</property>
731731 <property name="hexpand">True</property>
732 <property name="label" translatable="yes" context="option|clock-format">%H %I - hours, %M - minutes, %S - seconds
732 <property name="label" translatable="yes" context="option|greeter|clock-format">%H %I - hours, %M - minutes, %S - seconds
733733 %d - day, %m - month, %y %Y - year
734734 %a %A - day of the week, %b %B - month name</property>
735735 <attributes>
820820 <object class="GtkToolButton" id="greeter_indicators_add">
821821 <property name="visible">True</property>
822822 <property name="can_focus">False</property>
823 <property name="tooltip_text" translatable="yes" context="option|indicators">Add indicator to list</property>
824 <property name="label" translatable="yes" context="option|indicators">Add</property>
823 <property name="tooltip_text" translatable="yes" context="option|greeter|indicators">Add indicator to list</property>
824 <property name="label" translatable="yes" context="option|greeter|indicators">Add</property>
825825 <property name="use_underline">True</property>
826826 <property name="icon_name">list-add-symbolic</property>
827827 </object>
834834 <object class="GtkToolButton" id="greeter_indicators_remove">
835835 <property name="visible">True</property>
836836 <property name="can_focus">False</property>
837 <property name="tooltip_text" translatable="yes" context="option|indicators">Remove indicator from list</property>
838 <property name="label" translatable="yes" context="option|indicators">Remove</property>
837 <property name="tooltip_text" translatable="yes" context="option|greeter|indicators">Remove indicator from list</property>
838 <property name="label" translatable="yes" context="option|greeter|indicators">Remove</property>
839839 <property name="use_underline">True</property>
840840 <property name="icon_name">list-remove-symbolic</property>
841841 </object>
848848 <object class="GtkToolButton" id="greeter_indicators_up">
849849 <property name="visible">True</property>
850850 <property name="can_focus">False</property>
851 <property name="tooltip_text" translatable="yes" context="option|indicators">Move up</property>
852 <property name="label" translatable="yes" context="option|indicators">Up</property>
851 <property name="tooltip_text" translatable="yes" context="option|greeter|indicators">Move up</property>
852 <property name="label" translatable="yes" context="option|greeter|indicators">Up</property>
853853 <property name="use_underline">True</property>
854854 <property name="icon_name">go-up-symbolic</property>
855855 </object>
862862 <object class="GtkToolButton" id="greeter_indicators_down">
863863 <property name="visible">True</property>
864864 <property name="can_focus">False</property>
865 <property name="tooltip_text" translatable="yes" context="option|indicators">Move down</property>
866 <property name="label" translatable="yes" context="option|indicators">Down</property>
865 <property name="tooltip_text" translatable="yes" context="option|greeter|indicators">Move down</property>
866 <property name="label" translatable="yes" context="option|greeter|indicators">Down</property>
867867 <property name="use_underline">True</property>
868868 <property name="icon_name">go-down-symbolic</property>
869869 </object>
899899 <object class="GtkLabel" id="greeter_clock-format_label">
900900 <property name="visible">True</property>
901901 <property name="can_focus">False</property>
902 <property name="label" translatable="yes" context="option|clock-format">Clock format:</property>
902 <property name="label" translatable="yes" context="option|greeter|clock-format">Clock format:</property>
903903 </object>
904904 <packing>
905905 <property name="expand">False</property>
967967 <property name="visible">True</property>
968968 <property name="can_focus">False</property>
969969 <property name="halign">start</property>
970 <property name="label" translatable="yes" context="option|position">Select base point and its position</property>
970 <property name="label" translatable="yes" context="option|greeter|position">Select base point and its position</property>
971971 <attributes>
972972 <attribute name="style" value="oblique"/>
973973 </attributes>
10831083 <property name="visible">True</property>
10841084 <property name="can_focus">False</property>
10851085 <property name="halign">start</property>
1086 <property name="label" translatable="yes">Horizontal</property>
1086 <property name="label" translatable="yes" context="option|greeter|position">Horizontal</property>
10871087 </object>
10881088 <packing>
10891089 <property name="left_attach">0</property>
10951095 <property name="visible">True</property>
10961096 <property name="can_focus">False</property>
10971097 <property name="halign">start</property>
1098 <property name="label" translatable="yes">Vertical</property>
1098 <property name="label" translatable="yes" context="option|greeter|position">Vertical</property>
10991099 </object>
11001100 <packing>
11011101 <property name="left_attach">2</property>
11281128 </child>
11291129 <child>
11301130 <object class="GtkCheckButton" id="greeter_position_x_percents">
1131 <property name="label" translatable="yes" context="option|position">in %</property>
1131 <property name="label" translatable="yes" context="option|greeter|position">in %</property>
11321132 <property name="visible">True</property>
11331133 <property name="can_focus">True</property>
11341134 <property name="receives_default">False</property>
11731173 </child>
11741174 <child>
11751175 <object class="GtkCheckButton" id="greeter_position_y_percents">
1176 <property name="label" translatable="yes" context="option|position">in %</property>
1176 <property name="label" translatable="yes" context="option|greeter|position">in %</property>
11771177 <property name="visible">True</property>
11781178 <property name="can_focus">True</property>
11791179 <property name="receives_default">False</property>
11941194 </child>
11951195 <child>
11961196 <object class="GtkCheckButton" id="greeter_position_x_mirror">
1197 <property name="label" translatable="yes" context="option|position">from right</property>
1197 <property name="label" translatable="yes" context="option|greeter|position">from right</property>
11981198 <property name="visible">True</property>
11991199 <property name="can_focus">True</property>
12001200 <property name="receives_default">False</property>
12081208 </child>
12091209 <child>
12101210 <object class="GtkCheckButton" id="greeter_position_y_mirror">
1211 <property name="label" translatable="yes" context="option|position">from bottom</property>
1211 <property name="label" translatable="yes" context="option|greeter|position">from bottom</property>
12121212 <property name="visible">True</property>
12131213 <property name="can_focus">True</property>
12141214 <property name="receives_default">False</property>
12561256 <property name="can_focus">False</property>
12571257 <property name="halign">start</property>
12581258 <property name="hexpand">True</property>
1259 <property name="label" translatable="yes" context="option|timeout">Timeout until the screen blanks </property>
1259 <property name="label" translatable="yes" context="option|greeter|screensaver-timeout">Timeout until the screen blanks </property>
12601260 <attributes>
12611261 <attribute name="weight" value="semibold"/>
12621262 </attributes>
12781278 <property name="visible">True</property>
12791279 <property name="can_focus">False</property>
12801280 <property name="valign">start</property>
1281 <property name="label" translatable="yes" context="option|timeout">Never</property>
1281 <property name="label" translatable="yes" context="option|greeter|screensaver-timeout">Never</property>
12821282 </object>
12831283 <packing>
12841284 <property name="expand">False</property>
13471347 <property name="column_spacing">8</property>
13481348 <child>
13491349 <object class="GtkCheckButton" id="greeter_keyboard_use">
1350 <property name="label" translatable="yes">Keyboard</property>
1350 <property name="label" translatable="yes" context="greeter|option|keyboard">Keyboard</property>
13511351 <property name="visible">True</property>
13521352 <property name="can_focus">True</property>
13531353 <property name="receives_default">False</property>
13611361 </child>
13621362 <child>
13631363 <object class="GtkCheckButton" id="greeter_reader_use">
1364 <property name="label" translatable="yes">Reader</property>
1364 <property name="label" translatable="yes" context="greeter|option|reader">Reader</property>
13651365 <property name="visible">True</property>
13661366 <property name="can_focus">True</property>
13671367 <property name="receives_default">False</property>
15871587 <object class="GtkFileChooserDialog" id="greeter_default-user-image_path_dialog">
15881588 <property name="can_focus">False</property>
15891589 <property name="border_width">5</property>
1590 <property name="title" translatable="yes">Select image</property>
1590 <property name="title" translatable="yes" context="option|greeter|default-user-image">Select image</property>
15911591 <property name="role">GtkFileChooserDialog</property>
15921592 <property name="window_position">center</property>
15931593 <property name="default_width">600</property>
6464 <object class="MultiheadSetupDialog" id="multihead_setup_dialog">
6565 <property name="width_request">500</property>
6666 <property name="can_focus">False</property>
67 <property name="title" translatable="yes" context="option|monitors">Multihead setup</property>
67 <property name="title" translatable="yes" context="option|multihead">Multihead setup</property>
6868 <property name="modal">True</property>
6969 <property name="window_position">center</property>
7070 <property name="destroy_with_parent">True</property>
205205 <child>
206206 <object class="GtkTreeViewColumn" id="background_column">
207207 <property name="resizable">True</property>
208 <property name="sizing">autosize</property>
208209 <property name="title" translatable="yes" context="option|multihead">Background</property>
210 <property name="expand">True</property>
209211 <child>
210212 <object class="GtkCellRendererPixbuf" id="color_renderer"/>
211213 <attributes>
245247 <object class="GtkToolButton" id="add_button">
246248 <property name="visible">True</property>
247249 <property name="can_focus">False</property>
248 <property name="tooltip_text" translatable="yes" context="option|monitors">Add monior to the list</property>
249 <property name="label" translatable="yes" context="option|monitors">Add</property>
250 <property name="tooltip_text" translatable="yes" context="option|multihead">Add monior to the list</property>
251 <property name="label" translatable="yes" context="option|multihead">Add</property>
250252 <property name="use_underline">True</property>
251253 <property name="icon_name">list-add-symbolic</property>
252254 <signal name="clicked" handler="on_monitors_add_clicked" swapped="no"/>
260262 <object class="GtkToolButton" id="remove_button">
261263 <property name="visible">True</property>
262264 <property name="can_focus">False</property>
263 <property name="tooltip_text" translatable="yes" context="option|monitors">Remove monitor from the list</property>
264 <property name="label" translatable="yes" context="option|monitors">Remove</property>
265 <property name="tooltip_text" translatable="yes" context="option|multihead">Remove monitor from the list</property>
266 <property name="label" translatable="yes" context="option|multihead">Remove</property>
265267 <property name="use_underline">True</property>
266268 <property name="icon_name">list-remove-symbolic</property>
267269 <signal name="clicked" handler="on_monitors_remove_clicked" swapped="no"/>
201201 10))):
202202 timeout_view.add_mark(mark, Gtk.PositionType.BOTTOM, None)
203203 total = int(timeout_adjustment.props.upper - 60) + 1
204 timeout_end_label.props.label = C_('option|timeout', '{count} min').format(count=total)
204 timeout_end_label.props.label = C_('option|greeter|screensaver-timeout', '{count} min').format(count=total)
205205
206206 timeout_view.connect('format-value', self.on_entry_format_scale_greeter_screensaver_timeout, timeout_adjustment)
207207 entry.get.connect(self.on_entry_get_greeter_screensaver_timeout)
7373 used = set(row[ROW.NAME] for row in self._model)
7474 monitors = ['<a href="{name}">{name}</a>'.format(name=name)
7575 for name in self._available_monitors if name not in used]
76 label = C_('option|monitors', 'Available monitors: <i>{monitors}</i>')\
76 label = C_('option|multihead', 'Available monitors: <i>{monitors}</i>')\
7777 .format(monitors=', '.join(monitors or ('none',)))
7878 self._widgets['monitors_label'].props.label = label
7979