[pitivi] Fix typos
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Fix typos
- Date: Sun, 15 Mar 2020 22:33:56 +0000 (UTC)
commit 01b92d1be8a6c46dcd7059950a5fd3a687747201
Author: luz.paz <luzpaz users noreply github com>
Date: Sun Mar 15 17:08:33 2020 -0400
Fix typos
Found via `codespell -q 3 -S *.po,./po -L
amin,dur,iff,ith,que,ressources,splitted,superceded,uint,unselect`
pitivi/utils/proxy.py | 6 +++---
tests/test_medialibrary.py | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/pitivi/utils/proxy.py b/pitivi/utils/proxy.py
index ed510e9e..87ba79a6 100644
--- a/pitivi/utils/proxy.py
+++ b/pitivi/utils/proxy.py
@@ -467,7 +467,7 @@ class ProxyManager(GObject.Object, Loggable):
if asset_duration != proxy_duration:
duration = min(asset_duration, proxy_duration)
- self.info("Reseting %s duration from %s to %s as"
+ self.info("Resetting %s duration from %s to %s as"
" new proxy has a different duration",
asset.props.id, Gst.TIME_ARGS(asset_duration), Gst.TIME_ARGS(duration))
asset.set_uint64(ASSET_DURATION_META, duration)
@@ -479,13 +479,13 @@ class ProxyManager(GObject.Object, Loggable):
if clip.props.in_point + clip.props.duration > duration:
new_duration = duration - clip.props.in_point
if new_duration > 0:
- self.warning("%s reseting duration to %s as"
+ self.warning("%s resetting duration to %s as"
" new proxy has a shorter duration",
clip, Gst.TIME_ARGS(new_duration))
clip.set_duration(new_duration)
else:
new_inpoint = new_duration - clip.props.in_point
- self.error("%s reseting duration to %s"
+ self.error("%s resetting duration to %s"
" and inpoint to %s as the proxy"
" is shorter",
clip, Gst.TIME_ARGS(new_duration), Gst.TIME_ARGS(new_inpoint))
diff --git a/tests/test_medialibrary.py b/tests/test_medialibrary.py
index 38f7261c..f72b42fe 100644
--- a/tests/test_medialibrary.py
+++ b/tests/test_medialibrary.py
@@ -113,7 +113,7 @@ class BaseTestMediaLibrary(common.TestCase):
check_progress=True):
self.assertFalse(self.app.proxy_manager.is_proxy_asset(asset))
- # Check the inital state of the asset, nothing should be going on.
+ # Check the initial state of the asset, nothing should be going on.
self.assertNotIn("Proxy creation progress:",
self.medialibrary.storemodel[0][medialibrary.COL_INFOTEXT])
self.assertIn(
@@ -149,7 +149,7 @@ class BaseTestMediaLibrary(common.TestCase):
if check_progress:
self.assertTrue(was_in_progress)
- # Finally, check the final staus of the asset after proxying.
+ # Finally, check the final status of the asset after proxying.
self.assertNotIn("Proxy creation progress:",
self.medialibrary.storemodel[0][medialibrary.COL_INFOTEXT])
if scaled:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]