Fix misspellings in the source files.
Sean Davis
5 years ago
531 | 531 |
<property name="can_focus">False</property>
|
532 | 532 |
<property name="margin_left">8</property>
|
533 | 533 |
<property name="xalign">0</property>
|
534 | |
<property name="label" translatable="yes" context="option|multihead"><i>Note: greeter do not set monitors geometry.
|
|
534 |
<property name="label" translatable="yes" context="option|multihead"><i>Note: greeter does not set monitors geometry.
|
535 | 535 |
You need to configure it by yourself.</i></property>
|
536 | 536 |
<property name="use_markup">True</property>
|
537 | 537 |
<property name="wrap">True</property>
|
201 | 201 |
return _('Directory is not readable: {path}'.format(path=p))
|
202 | 202 |
if st.st_uid == uid:
|
203 | 203 |
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))
|
205 | 205 |
if st.st_gid in gids:
|
206 | 206 |
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))
|
208 | 208 |
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))
|
210 | 210 |
|
211 | 211 |
errors = (check(p) for p in accumulate(parts, os.path.join))
|
212 | 212 |
error = next((error for error in errors if error), None)
|
|
218 | 218 |
st = os.stat(path)
|
219 | 219 |
if st.st_uid == uid:
|
220 | 220 |
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}'
|
222 | 222 |
.format(path=path))
|
223 | 223 |
elif st.st_gid in gids:
|
224 | 224 |
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}'
|
226 | 226 |
.format(path=path))
|
227 | 227 |
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))
|
229 | 229 |
|
230 | 230 |
return error
|
231 | 231 |
|