Package list lightdm-gtk-greeter-settings / 19d0110
Fix misspellings in the source files. Sean Davis 5 years ago
2 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
531531 <property name="can_focus">False</property>
532532 <property name="margin_left">8</property>
533533 <property name="xalign">0</property>
534 <property name="label" translatable="yes" context="option|multihead">&lt;i&gt;Note: greeter do not set monitors geometry.
534 <property name="label" translatable="yes" context="option|multihead">&lt;i&gt;Note: greeter does not set monitors geometry.
535535 You need to configure it by yourself.&lt;/i&gt;</property>
536536 <property name="use_markup">True</property>
537537 <property name="wrap">True</property>
201201 return _('Directory is not readable: {path}'.format(path=p))
202202 if st.st_uid == uid:
203203 return not (st.st_mode & stat.S_IRUSR) and \
204 _('LightDM do not have permissions to read path: {path}'.format(path=p))
204 _('LightDM does not have permissions to read path: {path}'.format(path=p))
205205 if st.st_gid in gids:
206206 return not (st.st_mode & stat.S_IRGRP) and \
207 _('LightDM do not have permissions to read path: {path}'.format(path=p))
207 _('LightDM does not have permissions to read path: {path}'.format(path=p))
208208 return not (st.st_mode & stat.S_IROTH) and \
209 _('LightDM do not have permissions to read path: {path}'.format(path=p))
209 _('LightDM does not have permissions to read path: {path}'.format(path=p))
210210
211211 errors = (check(p) for p in accumulate(parts, os.path.join))
212212 error = next((error for error in errors if error), None)
218218 st = os.stat(path)
219219 if st.st_uid == uid:
220220 if not st.st_mode & stat.S_IXUSR:
221 return _('LightDM do not have permissions to execute file: {path}'
221 return _('LightDM does not have permissions to execute file: {path}'
222222 .format(path=path))
223223 elif st.st_gid in gids:
224224 if not st.st_mode & stat.S_IXGRP:
225 return _('LightDM do not have permissions to execute file: {path}'
225 return _('LightDM does not have permissions to execute file: {path}'
226226 .format(path=path))
227227 elif not st.st_mode & stat.S_IXOTH:
228 return _('LightDM do not have permissions to execute file: {path}'.format(path=path))
228 return _('LightDM does not have permissions to execute file: {path}'.format(path=path))
229229
230230 return error
231231