1
0
Fork 0

Merge pull request #494 from uniontech-lilinjie/fix-typos

fix typos
This commit is contained in:
Jaroslav Škarvada 2023-02-08 11:15:42 +01:00 committed by GitHub
commit af1e5142c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -206,7 +206,7 @@ class Base(object):
def is_tuned_connection_ok(self):
"""
Result True, False depends on if tuned daemon is running. If its not runing this method try to start tuned.
Result True, False depends on if tuned daemon is running. If its not running this method try to start tuned.
"""
try:
@ -356,14 +356,14 @@ class Base(object):
try:
if self._get_active_profile_name() == profile:
self.error_dialog('You can not remove active profile',
'Please deactivate profile by choosind another!'
'Please deactivate profile by choosing another!'
)
return
if profile is None:
self.error_dialog('No profile selected!', '')
return
if self._gobj('windowProfileEditor').is_active():
self.error_dialog('You are ediding '
self.error_dialog('You are editing '
+ self.editing_profile_name
+ ' profile.',
'Please close edit window and try again.'

View file

@ -323,7 +323,7 @@ class NetTuningPlugin(hotplug.Plugin):
# 0.6 is just a magical constant (empirical value): Typical workload on netcard won't exceed
# that and if it does, then the code is smart enough to adapt it.
# 1024 * 1024 as for MB -> B
# speed / 7 Mb -> MB
# speed / 8 Mb -> MB
return (int) (0.6 * 1024 * 1024 * speed / 8)
# parse features/coalesce config parameters (those defined in profile configuration)