diff --git a/subsync/gui/layout/syncwin.fbp b/subsync/gui/layout/syncwin.fbp
index d4c56ae..46273fc 100644
--- a/subsync/gui/layout/syncwin.fbp
+++ b/subsync/gui/layout/syncwin.fbp
@@ -133,7 +133,7 @@
0
1
- m_panel1
+ m_panelMain
1
@@ -179,7 +179,7 @@
4
0
- fgSizer6
+ fgSizer2
wxFLEX_GROWMODE_SPECIFIED
none
0
@@ -439,7 +439,7 @@
0
0
- fgSizer82
+ fgSizer3
wxFLEX_GROWMODE_SPECIFIED
none
0
@@ -536,7 +536,7 @@
0,1
0
- fgSizer83
+ fgSizer4
wxFLEX_GROWMODE_SPECIFIED
none
0
@@ -723,7 +723,7 @@
0
0
- fgSizer8
+ fgSizer5
wxFLEX_GROWMODE_SPECIFIED
none
1
@@ -1916,6 +1916,89 @@
+
5
wxEXPAND | wxALL
@@ -2008,7 +2091,7 @@
0
- fgSizer81
+ fgSizer6
wxFLEX_GROWMODE_SPECIFIED
none
1
diff --git a/subsync/gui/layout/syncwin.py b/subsync/gui/layout/syncwin.py
index 33236b4..ace6ac8 100644
--- a/subsync/gui/layout/syncwin.py
+++ b/subsync/gui/layout/syncwin.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
###########################################################################
-## Python code generated with wxFormBuilder (version Nov 16 2018)
+## Python code generated with wxFormBuilder (version Dec 3 2017)
## http://www.wxformbuilder.org/
##
## PLEASE DO *NOT* EDIT THIS FILE!
@@ -24,91 +24,91 @@ def __init__( self, parent ):
bSizer1 = wx.BoxSizer( wx.VERTICAL )
- self.m_panel1 = wx.Panel( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
- fgSizer6 = wx.FlexGridSizer( 0, 1, 0, 0 )
- fgSizer6.AddGrowableCol( 0 )
- fgSizer6.AddGrowableRow( 4 )
- fgSizer6.SetFlexibleDirection( wx.BOTH )
- fgSizer6.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
+ self.m_panelMain = wx.Panel( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
+ fgSizer2 = wx.FlexGridSizer( 0, 1, 0, 0 )
+ fgSizer2.AddGrowableCol( 0 )
+ fgSizer2.AddGrowableRow( 4 )
+ fgSizer2.SetFlexibleDirection( wx.BOTH )
+ fgSizer2.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
- self.m_textStatus = wx.StaticText( self.m_panel1, wx.ID_ANY, _(u"Synchronizing..."), wx.DefaultPosition, wx.DefaultSize, 0 )
+ self.m_textStatus = wx.StaticText( self.m_panelMain, wx.ID_ANY, _(u"Synchronizing..."), wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_textStatus.Wrap( -1 )
- fgSizer6.Add( self.m_textStatus, 0, wx.ALL|wx.EXPAND, 5 )
+ fgSizer2.Add( self.m_textStatus, 0, wx.ALL|wx.EXPAND, 5 )
- self.m_gaugeProgress = wx.Gauge( self.m_panel1, wx.ID_ANY, 100, wx.DefaultPosition, wx.DefaultSize, wx.GA_HORIZONTAL )
+ self.m_gaugeProgress = wx.Gauge( self.m_panelMain, wx.ID_ANY, 100, wx.DefaultPosition, wx.DefaultSize, wx.GA_HORIZONTAL )
self.m_gaugeProgress.SetValue( 0 )
self.m_gaugeProgress.SetMinSize( wx.Size( 320,-1 ) )
- fgSizer6.Add( self.m_gaugeProgress, 0, wx.ALL|wx.EXPAND|wx.ALIGN_CENTER_VERTICAL, 5 )
+ fgSizer2.Add( self.m_gaugeProgress, 0, wx.ALL|wx.EXPAND|wx.ALIGN_CENTER_VERTICAL, 5 )
- self.m_panelError = wx.Panel( self.m_panel1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
+ self.m_panelError = wx.Panel( self.m_panelMain, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
self.m_panelError.Hide()
- fgSizer82 = wx.FlexGridSizer( 0, 2, 0, 0 )
- fgSizer82.AddGrowableCol( 1 )
- fgSizer82.AddGrowableRow( 0 )
- fgSizer82.SetFlexibleDirection( wx.BOTH )
- fgSizer82.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
+ fgSizer3 = wx.FlexGridSizer( 0, 2, 0, 0 )
+ fgSizer3.AddGrowableCol( 1 )
+ fgSizer3.AddGrowableRow( 0 )
+ fgSizer3.SetFlexibleDirection( wx.BOTH )
+ fgSizer3.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
self.m_bitmapErrorIcon = wx.StaticBitmap( self.m_panelError, wx.ID_ANY, wx.ArtProvider.GetBitmap( wx.ART_WARNING, wx.ART_CMN_DIALOG ), wx.DefaultPosition, wx.DefaultSize, 0 )
- fgSizer82.Add( self.m_bitmapErrorIcon, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_RIGHT|wx.TOP|wx.BOTTOM|wx.LEFT, 5 )
+ fgSizer3.Add( self.m_bitmapErrorIcon, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_RIGHT|wx.TOP|wx.BOTTOM|wx.LEFT, 5 )
- fgSizer83 = wx.FlexGridSizer( 0, 1, 0, 0 )
- fgSizer83.AddGrowableCol( 0 )
- fgSizer83.AddGrowableRow( 0 )
- fgSizer83.AddGrowableRow( 1 )
- fgSizer83.SetFlexibleDirection( wx.BOTH )
- fgSizer83.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
+ fgSizer4 = wx.FlexGridSizer( 0, 1, 0, 0 )
+ fgSizer4.AddGrowableCol( 0 )
+ fgSizer4.AddGrowableRow( 0 )
+ fgSizer4.AddGrowableRow( 1 )
+ fgSizer4.SetFlexibleDirection( wx.BOTH )
+ fgSizer4.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
self.m_textErrorMsg = wx.StaticText( self.m_panelError, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_textErrorMsg.Wrap( -1 )
- fgSizer83.Add( self.m_textErrorMsg, 0, wx.ALIGN_CENTER_VERTICAL|wx.TOP|wx.RIGHT|wx.LEFT, 5 )
+ fgSizer4.Add( self.m_textErrorMsg, 0, wx.ALIGN_CENTER_VERTICAL|wx.TOP|wx.RIGHT|wx.LEFT, 5 )
self.m_textErrorDetails = wx.StaticText( self.m_panelError, wx.ID_ANY, _(u"[details]"), wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_textErrorDetails.Wrap( -1 )
self.m_textErrorDetails.SetForegroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_HIGHLIGHT ) )
- fgSizer83.Add( self.m_textErrorDetails, 0, wx.ALIGN_CENTER_VERTICAL|wx.BOTTOM|wx.RIGHT|wx.LEFT, 5 )
+ fgSizer4.Add( self.m_textErrorDetails, 0, wx.ALIGN_CENTER_VERTICAL|wx.BOTTOM|wx.RIGHT|wx.LEFT, 5 )
- fgSizer82.Add( fgSizer83, 1, wx.ALIGN_CENTER_VERTICAL|wx.EXPAND, 5 )
+ fgSizer3.Add( fgSizer4, 1, wx.ALIGN_CENTER_VERTICAL|wx.EXPAND, 5 )
- self.m_panelError.SetSizer( fgSizer82 )
+ self.m_panelError.SetSizer( fgSizer3 )
self.m_panelError.Layout()
- fgSizer82.Fit( self.m_panelError )
- fgSizer6.Add( self.m_panelError, 1, wx.ALL|wx.ALIGN_CENTER_HORIZONTAL|wx.ALIGN_CENTER_VERTICAL|wx.EXPAND, 5 )
+ fgSizer3.Fit( self.m_panelError )
+ fgSizer2.Add( self.m_panelError, 1, wx.ALL|wx.ALIGN_CENTER_HORIZONTAL|wx.ALIGN_CENTER_VERTICAL|wx.EXPAND, 5 )
- fgSizer8 = wx.FlexGridSizer( 1, 0, 0, 0 )
- fgSizer8.AddGrowableCol( 2 )
- fgSizer8.AddGrowableRow( 0 )
- fgSizer8.SetFlexibleDirection( wx.BOTH )
- fgSizer8.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
+ fgSizer5 = wx.FlexGridSizer( 1, 0, 0, 0 )
+ fgSizer5.AddGrowableCol( 2 )
+ fgSizer5.AddGrowableRow( 0 )
+ fgSizer5.SetFlexibleDirection( wx.BOTH )
+ fgSizer5.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
- self.m_bitmapTick = wx.StaticBitmap( self.m_panel1, wx.ID_ANY, wx.ArtProvider.GetBitmap( wx.ART_TICK_MARK, wx.ART_MENU ), wx.DefaultPosition, wx.DefaultSize, 0 )
+ self.m_bitmapTick = wx.StaticBitmap( self.m_panelMain, wx.ID_ANY, wx.ArtProvider.GetBitmap( wx.ART_TICK_MARK, wx.ART_MENU ), wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_bitmapTick.Hide()
- fgSizer8.Add( self.m_bitmapTick, 0, wx.EXPAND|wx.TOP|wx.BOTTOM|wx.LEFT, 5 )
+ fgSizer5.Add( self.m_bitmapTick, 0, wx.EXPAND|wx.TOP|wx.BOTTOM|wx.LEFT, 5 )
- self.m_bitmapCross = wx.StaticBitmap( self.m_panel1, wx.ID_ANY, wx.ArtProvider.GetBitmap( wx.ART_CROSS_MARK, wx.ART_MENU ), wx.DefaultPosition, wx.DefaultSize, 0 )
+ self.m_bitmapCross = wx.StaticBitmap( self.m_panelMain, wx.ID_ANY, wx.ArtProvider.GetBitmap( wx.ART_CROSS_MARK, wx.ART_MENU ), wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_bitmapCross.Hide()
- fgSizer8.Add( self.m_bitmapCross, 0, wx.TOP|wx.BOTTOM|wx.LEFT, 5 )
+ fgSizer5.Add( self.m_bitmapCross, 0, wx.TOP|wx.BOTTOM|wx.LEFT, 5 )
- self.m_textSync = wx.StaticText( self.m_panel1, wx.ID_ANY, _(u"Synchronization: 0 points"), wx.DefaultPosition, wx.DefaultSize, 0 )
+ self.m_textSync = wx.StaticText( self.m_panelMain, wx.ID_ANY, _(u"Synchronization: 0 points"), wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_textSync.Wrap( -1 )
- fgSizer8.Add( self.m_textSync, 0, wx.ALL|wx.EXPAND, 5 )
+ fgSizer5.Add( self.m_textSync, 0, wx.ALL|wx.EXPAND, 5 )
- self.m_textShowDetails = wx.StaticText( self.m_panel1, wx.ID_ANY, _(u"[show more]"), wx.DefaultPosition, wx.DefaultSize, 0 )
+ self.m_textShowDetails = wx.StaticText( self.m_panelMain, wx.ID_ANY, _(u"[show more]"), wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_textShowDetails.Wrap( -1 )
self.m_textShowDetails.SetForegroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_HIGHLIGHT ) )
- fgSizer8.Add( self.m_textShowDetails, 0, wx.ALL|wx.EXPAND, 5 )
+ fgSizer5.Add( self.m_textShowDetails, 0, wx.ALL|wx.EXPAND, 5 )
- fgSizer6.Add( fgSizer8, 1, wx.EXPAND|wx.TOP, 5 )
+ fgSizer2.Add( fgSizer5, 1, wx.EXPAND|wx.TOP, 5 )
- self.m_panelDetails = wx.Panel( self.m_panel1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
+ self.m_panelDetails = wx.Panel( self.m_panelMain, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
self.m_panelDetails.Hide()
fgSizer61 = wx.FlexGridSizer( 0, 2, 0, 0 )
@@ -169,16 +169,22 @@ def __init__( self, parent ):
self.m_panelDetails.SetSizer( fgSizer61 )
self.m_panelDetails.Layout()
fgSizer61.Fit( self.m_panelDetails )
- fgSizer6.Add( self.m_panelDetails, 1, wx.EXPAND|wx.RIGHT|wx.LEFT, 5 )
+ fgSizer2.Add( self.m_panelDetails, 1, wx.EXPAND|wx.RIGHT|wx.LEFT, 5 )
+
+ self.m_textInitialSyncInfo = wx.StaticText( self.m_panelMain, wx.ID_ANY, _(u"Initial synchronization is done.\nYou could save subtitles already.\nIf they don't match, wait for a better result."), wx.DefaultPosition, wx.DefaultSize, wx.ALIGN_CENTRE )
+ self.m_textInitialSyncInfo.Wrap( -1 )
+ self.m_textInitialSyncInfo.Hide()
- self.m_staticline1 = wx.StaticLine( self.m_panel1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
- fgSizer6.Add( self.m_staticline1, 0, wx.EXPAND |wx.ALL, 5 )
+ fgSizer2.Add( self.m_textInitialSyncInfo, 0, wx.ALL|wx.EXPAND|wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_CENTER_HORIZONTAL, 10 )
- fgSizer81 = wx.FlexGridSizer( 1, 0, 0, 0 )
- fgSizer81.SetFlexibleDirection( wx.BOTH )
- fgSizer81.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
+ self.m_staticline1 = wx.StaticLine( self.m_panelMain, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
+ fgSizer2.Add( self.m_staticline1, 0, wx.EXPAND |wx.ALL, 5 )
+
+ fgSizer6 = wx.FlexGridSizer( 1, 0, 0, 0 )
+ fgSizer6.SetFlexibleDirection( wx.BOTH )
+ fgSizer6.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
- self.m_buttonDebugMenu = wx.Button( self.m_panel1, wx.ID_ANY, _(u"Debug"), wx.DefaultPosition, wx.DefaultSize, wx.BU_EXACTFIT )
+ self.m_buttonDebugMenu = wx.Button( self.m_panelMain, wx.ID_ANY, _(u"Debug"), wx.DefaultPosition, wx.DefaultSize, wx.BU_EXACTFIT )
self.m_buttonDebugMenu.Hide()
self.m_menuDebug = wx.Menu()
@@ -203,30 +209,30 @@ def __init__( self, parent ):
self.m_buttonDebugMenu.Bind( wx.EVT_RIGHT_DOWN, self.m_buttonDebugMenuOnContextMenu )
- fgSizer81.Add( self.m_buttonDebugMenu, 1, wx.ALL|wx.EXPAND|wx.ALIGN_CENTER_VERTICAL, 5 )
+ fgSizer6.Add( self.m_buttonDebugMenu, 1, wx.ALL|wx.EXPAND|wx.ALIGN_CENTER_VERTICAL, 5 )
- self.m_buttonClose = wx.Button( self.m_panel1, wx.ID_CANCEL, _(u"Close"), wx.DefaultPosition, wx.DefaultSize, 0 )
+ self.m_buttonClose = wx.Button( self.m_panelMain, wx.ID_CANCEL, _(u"Close"), wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_buttonClose.Hide()
- fgSizer81.Add( self.m_buttonClose, 1, wx.ALL|wx.ALIGN_CENTER_VERTICAL|wx.EXPAND, 5 )
+ fgSizer6.Add( self.m_buttonClose, 1, wx.ALL|wx.ALIGN_CENTER_VERTICAL|wx.EXPAND, 5 )
- self.m_buttonStop = wx.Button( self.m_panel1, wx.ID_STOP, _(u"Stop"), wx.DefaultPosition, wx.DefaultSize, 0 )
- fgSizer81.Add( self.m_buttonStop, 1, wx.ALL|wx.ALIGN_CENTER_VERTICAL|wx.EXPAND, 5 )
+ self.m_buttonStop = wx.Button( self.m_panelMain, wx.ID_STOP, _(u"Stop"), wx.DefaultPosition, wx.DefaultSize, 0 )
+ fgSizer6.Add( self.m_buttonStop, 1, wx.ALL|wx.ALIGN_CENTER_VERTICAL|wx.EXPAND, 5 )
- self.m_buttonSave = wx.Button( self.m_panel1, wx.ID_SAVE, _(u"Save"), wx.DefaultPosition, wx.DefaultSize, 0 )
+ self.m_buttonSave = wx.Button( self.m_panelMain, wx.ID_SAVE, _(u"Save"), wx.DefaultPosition, wx.DefaultSize, 0 )
self.m_buttonSave.SetDefault()
self.m_buttonSave.Enable( False )
- fgSizer81.Add( self.m_buttonSave, 1, wx.ALL|wx.ALIGN_CENTER_VERTICAL|wx.EXPAND, 5 )
+ fgSizer6.Add( self.m_buttonSave, 1, wx.ALL|wx.ALIGN_CENTER_VERTICAL|wx.EXPAND, 5 )
- fgSizer6.Add( fgSizer81, 1, wx.ALIGN_RIGHT, 5 )
+ fgSizer2.Add( fgSizer6, 1, wx.ALIGN_RIGHT, 5 )
- self.m_panel1.SetSizer( fgSizer6 )
- self.m_panel1.Layout()
- fgSizer6.Fit( self.m_panel1 )
- bSizer1.Add( self.m_panel1, 1, wx.EXPAND |wx.ALL, 5 )
+ self.m_panelMain.SetSizer( fgSizer2 )
+ self.m_panelMain.Layout()
+ fgSizer2.Fit( self.m_panelMain )
+ bSizer1.Add( self.m_panelMain, 1, wx.EXPAND |wx.ALL, 5 )
self.SetSizer( bSizer1 )
diff --git a/subsync/gui/syncwin.py b/subsync/gui/syncwin.py
index 59ced23..4c67654 100644
--- a/subsync/gui/syncwin.py
+++ b/subsync/gui/syncwin.py
@@ -78,7 +78,7 @@ def onUpdateTimerTick(self, event):
self.m_bitmapTick.Show()
if self.isSubReady:
- self.m_buttonSave.Enable()
+ self.onSubReady()
self.Layout()
@@ -99,6 +99,12 @@ def onSubReady(self):
if self.isCorrelated:
self.m_buttonSave.Enable()
+ if self.isRunning:
+ self.m_textInitialSyncInfo.Show()
+
+ self.Fit()
+ self.Layout()
+
@thread.gui_thread_cnt('pendingErrorsNo')
def onError(self, source, err):
msg = errorToString(source, err)
@@ -131,6 +137,7 @@ def stop(self, finished=False):
self.m_buttonStop.Show(False)
self.m_buttonClose.Enable(True)
self.m_buttonClose.Show(True)
+ self.m_textInitialSyncInfo.Show(False)
if self.isRunning:
self.isRunning = False
@@ -141,7 +148,7 @@ def stop(self, finished=False):
self.m_buttonSave.Enable()
self.m_bitmapTick.Show()
self.m_bitmapCross.Hide()
- if abs(self.sync.getMaxChange()) > 0.3:
+ if abs(self.sync.getMaxChange()) > 0.5:
self.m_textStatus.SetLabel(_('Subtitles synchronized'))
else:
self.m_textStatus.SetLabel(_('No need to synchronize'))
diff --git a/subsync/locale/pl/LC_MESSAGES/messages.mo b/subsync/locale/pl/LC_MESSAGES/messages.mo
index 64a61c8..6904e84 100644
Binary files a/subsync/locale/pl/LC_MESSAGES/messages.mo and b/subsync/locale/pl/LC_MESSAGES/messages.mo differ
diff --git a/subsync/locale/pl/LC_MESSAGES/messages.po b/subsync/locale/pl/LC_MESSAGES/messages.po
index bb3e88c..699e2ed 100644
--- a/subsync/locale/pl/LC_MESSAGES/messages.po
+++ b/subsync/locale/pl/LC_MESSAGES/messages.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: subsync\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2019-02-11 11:43+0100\n"
-"PO-Revision-Date: 2019-02-11 11:45+0100\n"
+"POT-Creation-Date: 2019-04-04 21:30+0200\n"
+"PO-Revision-Date: 2019-04-04 21:39+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: pl\n"
@@ -239,7 +239,7 @@ msgstr "Auto detekcja"
msgid ""
msgstr ""
-#: subsync/gui/choicelang.py:42
+#: subsync/gui/choicelang.py:39
msgid "default"
msgstr "domyślny"
@@ -264,7 +264,7 @@ msgid "Application upgrade"
msgstr "Aktualizacja aplikacji"
#: subsync/gui/errorwin.py:30 subsync/gui/layout/errorwin.py:21
-#: subsync/gui/layout/errorwin.py:43 subsync/gui/syncwin.py:227
+#: subsync/gui/layout/errorwin.py:43 subsync/gui/syncwin.py:237
msgid "Error"
msgstr "Błąd"
@@ -307,20 +307,20 @@ msgstr ""
"\n"
"Autor: Michał Szymaniak"
-#: subsync/gui/layout/aboutwin.py:79
+#: subsync/gui/layout/aboutwin.py:82
msgid "License"
msgstr "Licencja"
-#: subsync/gui/layout/aboutwin.py:82
+#: subsync/gui/layout/aboutwin.py:85
msgid "Credits"
msgstr "Użyte technologie"
-#: subsync/gui/layout/aboutwin.py:85
+#: subsync/gui/layout/aboutwin.py:88
msgid "Website"
msgstr "Strona programu"
-#: subsync/gui/layout/aboutwin.py:91 subsync/gui/layout/mainwin.py:99
-#: subsync/gui/layout/syncwin.py:200
+#: subsync/gui/layout/aboutwin.py:94 subsync/gui/layout/mainwin.py:99
+#: subsync/gui/layout/syncwin.py:214
msgid "Close"
msgstr "Zamknij"
@@ -360,7 +360,7 @@ msgstr "Pobieranie"
msgid "Download"
msgstr "Pobierz"
-#: subsync/gui/layout/errorwin.py:49 subsync/gui/layout/syncwin.py:67
+#: subsync/gui/layout/errorwin.py:49 subsync/gui/layout/syncwin.py:69
msgid "[details]"
msgstr "[więcej]"
@@ -405,7 +405,7 @@ msgid "Menu"
msgstr "Menu"
#: subsync/gui/layout/mainwin.py:84 subsync/gui/layout/settingswin.py:23
-#: subsync/gui/mainwin.py:100
+#: subsync/gui/mainwin.py:105
msgid "Settings"
msgstr "Ustawienia"
@@ -513,7 +513,7 @@ msgstr "Min współczynnik rozpoznawania mowy:"
msgid "Extractor jobs no:"
msgstr "Ilość wątków ekstrakcji:"
-#: subsync/gui/layout/settingswin.py:177 subsync/gui/layout/syncwin.py:21
+#: subsync/gui/layout/settingswin.py:177 subsync/gui/layout/syncwin.py:23
msgid "Synchronization"
msgstr "Synchronizacja"
@@ -557,7 +557,7 @@ msgstr "zapisz log do pliku"
msgid "Filter out logs from modules (one per line):"
msgstr "Odfiltruj logi modułów (każdy moduł w osobnej linii):"
-#: subsync/gui/layout/settingswin.py:238 subsync/gui/layout/syncwin.py:181
+#: subsync/gui/layout/settingswin.py:238 subsync/gui/layout/syncwin.py:187
msgid "Debug"
msgstr "Debug"
@@ -565,136 +565,153 @@ msgstr "Debug"
msgid "Restore defaults"
msgstr "Domyślne ustawienia"
-#: subsync/gui/layout/syncwin.py:34
+#: subsync/gui/layout/syncwin.py:36
msgid "Synchronizing..."
msgstr "Synchronizacja..."
-#: subsync/gui/layout/syncwin.py:98
+#: subsync/gui/layout/syncwin.py:100
msgid "Synchronization: 0 points"
msgstr "Synchronizacja: 0 punktów"
-#: subsync/gui/layout/syncwin.py:102
+#: subsync/gui/layout/syncwin.py:104
msgid "[show more]"
msgstr "[więcej]"
-#: subsync/gui/layout/syncwin.py:127
+#: subsync/gui/layout/syncwin.py:129
msgid "elapsed time:"
msgstr "czas trwania:"
-#: subsync/gui/layout/syncwin.py:131
+#: subsync/gui/layout/syncwin.py:133
msgid "0:00"
msgstr ""
-#: subsync/gui/layout/syncwin.py:135
+#: subsync/gui/layout/syncwin.py:137
msgid "correlation:"
msgstr "korelacja:"
-#: subsync/gui/layout/syncwin.py:139
+#: subsync/gui/layout/syncwin.py:141
msgid "0.00 %"
msgstr ""
-#: subsync/gui/layout/syncwin.py:143
+#: subsync/gui/layout/syncwin.py:145
msgid "formula:"
msgstr "wzór:"
-#: subsync/gui/layout/syncwin.py:147 subsync/gui/layout/syncwin.py:155
+#: subsync/gui/layout/syncwin.py:149 subsync/gui/layout/syncwin.py:157
msgid "-"
msgstr ""
-#: subsync/gui/layout/syncwin.py:151
+#: subsync/gui/layout/syncwin.py:153
msgid "max change:"
msgstr "max zmiana:"
-#: subsync/gui/layout/syncwin.py:162
+#: subsync/gui/layout/syncwin.py:164
msgid "[hide]"
msgstr "[ukryj]"
-#: subsync/gui/layout/syncwin.py:185
+#: subsync/gui/layout/syncwin.py:176
+msgid ""
+"Initial synchronization is done.\n"
+"You could save subtitles already.\n"
+"If they don't match, wait for a better result."
+msgstr ""
+"Wstępna synchronizacja zakończona.\n"
+"Możesz już zapisać napisy lub zaczekaj na lepszy rezultat."
+
+#: subsync/gui/layout/syncwin.py:191
msgid "Enable save button"
msgstr ""
-#: subsync/gui/layout/syncwin.py:190
+#: subsync/gui/layout/syncwin.py:196
msgid "Dump subtitle words"
msgstr ""
-#: subsync/gui/layout/syncwin.py:193
+#: subsync/gui/layout/syncwin.py:199
msgid "Dump reference words"
msgstr ""
-#: subsync/gui/layout/syncwin.py:205
+#: subsync/gui/layout/syncwin.py:204
+msgid "Dump all synchronization points"
+msgstr ""
+
+#: subsync/gui/layout/syncwin.py:207
+msgid "Dump used synchronization points"
+msgstr ""
+
+#: subsync/gui/layout/syncwin.py:219
msgid "Stop"
msgstr "Stop"
-#: subsync/gui/layout/syncwin.py:208
+#: subsync/gui/layout/syncwin.py:222
msgid "Save"
msgstr "Zapisz"
-#: subsync/gui/mainwin.py:73
+#: subsync/gui/mainwin.py:78
msgid "{} min"
msgstr ""
-#: subsync/gui/mainwin.py:99
+#: subsync/gui/mainwin.py:104
msgid "Language changes will take effect after application restart"
msgstr "Zmiana języka odniesie skutek po restarcie aplikacji"
-#: subsync/gui/mainwin.py:116
+#: subsync/gui/mainwin.py:121
msgid "Checking for update..."
msgstr "Wyszukiwanie aktualizacji..."
-#: subsync/gui/mainwin.py:126
+#: subsync/gui/mainwin.py:131
msgid "Your version is up to date"
msgstr "Twoja wersja jest aktualna"
-#: subsync/gui/mainwin.py:127 subsync/gui/mainwin.py:242
-#: subsync/gui/mainwin.py:261
+#: subsync/gui/mainwin.py:132 subsync/gui/mainwin.py:247
+#: subsync/gui/mainwin.py:266
msgid "Upgrade"
msgstr "Aktualizuj"
-#: subsync/gui/mainwin.py:165
+#: subsync/gui/mainwin.py:170
msgid "Subtitles not set"
msgstr "Nie wybrano napisów"
-#: subsync/gui/mainwin.py:167
+#: subsync/gui/mainwin.py:172
msgid "Reference file not set"
msgstr "Nie wybrano referencji"
-#: subsync/gui/mainwin.py:169
+#: subsync/gui/mainwin.py:174
msgid "Subtitles can't be the same as reference"
msgstr "Napisy i referencja nie mogą być tym samym"
-#: subsync/gui/mainwin.py:171
+#: subsync/gui/mainwin.py:176
msgid "Select reference language first"
msgstr "Wybierz najpierw język referencji"
-#: subsync/gui/mainwin.py:199
+#: subsync/gui/mainwin.py:204
msgid "Following assets must be download to continue:"
msgstr "Wymagane są następujące składniki:"
-#: subsync/gui/mainwin.py:201
+#: subsync/gui/mainwin.py:206
msgid "Download now?"
msgstr "Pobrać teraz?"
-#: subsync/gui/mainwin.py:202
+#: subsync/gui/mainwin.py:207
msgid "Download assets"
msgstr "Pobieranie"
-#: subsync/gui/mainwin.py:210
+#: subsync/gui/mainwin.py:215
msgid "Following assets could be updated:"
msgstr "Dostępna jest aktualizacja następujących składników:"
-#: subsync/gui/mainwin.py:212
+#: subsync/gui/mainwin.py:217
msgid "Update now?"
msgstr "Zaktualizować teraz?"
-#: subsync/gui/mainwin.py:213
+#: subsync/gui/mainwin.py:218
msgid "Update assets"
msgstr "Aktualizacja"
-#: subsync/gui/mainwin.py:241
+#: subsync/gui/mainwin.py:246
msgid "New version is available. Update now?"
msgstr "Nowa wersja jest dostępna. Zaktualizować?"
-#: subsync/gui/mainwin.py:260
+#: subsync/gui/mainwin.py:265
msgid "New version is ready to be installed. Upgrade now?"
msgstr "Nowa wersja jest gotowa do instalacji. Zaktualizować teraz?"
@@ -710,11 +727,12 @@ msgstr "Napisy"
msgid "Video files"
msgstr "Wideo"
-#: subsync/gui/openwin.py:25 subsync/gui/syncwin.py:232
+#: subsync/gui/openwin.py:25 subsync/gui/syncwin.py:242
+#: subsync/gui/syncwin.py:301
msgid "All files"
msgstr "Wszystkie pliki"
-#: subsync/gui/openwin.py:33 subsync/gui/syncwin.py:51
+#: subsync/gui/openwin.py:33 subsync/gui/syncwin.py:54
msgid "Loading, please wait..."
msgstr "Ładowanie, proszę czekać..."
@@ -742,64 +760,56 @@ msgstr "typ"
msgid "description"
msgstr "informacje"
-#: subsync/gui/syncwin.py:66
+#: subsync/gui/syncwin.py:69
msgid "Synchronization: {} points"
msgstr "Synchronizacja: {} punktów"
-#: subsync/gui/syncwin.py:142
+#: subsync/gui/syncwin.py:152
msgid "Subtitles synchronized"
msgstr "Napisy zsynchronizowane"
-#: subsync/gui/syncwin.py:144
+#: subsync/gui/syncwin.py:154
msgid "No need to synchronize"
msgstr "Synchronizacja niekonieczna"
-#: subsync/gui/syncwin.py:154
+#: subsync/gui/syncwin.py:164
msgid "Synchronization inconclusive"
msgstr "Synchronizacja niepełna"
-#: subsync/gui/syncwin.py:156
+#: subsync/gui/syncwin.py:166
msgid "Couldn't synchronize"
msgstr "Nie można zsynchronizować"
-#: subsync/gui/syncwin.py:158
+#: subsync/gui/syncwin.py:168
msgid "Subtitles not ready"
msgstr "Napisy nie są jeszcze gotowe"
-#: subsync/gui/syncwin.py:171
+#: subsync/gui/syncwin.py:181
msgid "Terminating, please wait..."
msgstr "Kończenie, proszę czekać..."
-#: subsync/gui/syncwin.py:287
+#: subsync/gui/syncwin.py:312
msgid "Some subtitles can't be decoded (invalid encoding?)"
msgstr "Błąd dekodowania napisów (nieprawidłowe kodowanie znaków?)"
-#: subsync/gui/syncwin.py:289
-msgid "Subtitles read failed"
-msgstr "Odczyt napisów nie powiódł się"
-
-#: subsync/gui/syncwin.py:291
+#: subsync/gui/syncwin.py:314
msgid "Error during subtitles read"
msgstr "Błąd odczytu napisów"
-#: subsync/gui/syncwin.py:294
+#: subsync/gui/syncwin.py:317
msgid "Some reference subtitles can't be decoded (invalid encoding?)"
msgstr ""
"Błąd dekodowania referencyjnych napisów (nieprawidłowe kodowanie znaków?)"
-#: subsync/gui/syncwin.py:296
-msgid "Reference read failed"
-msgstr "Odczyt referencji nie powiódł się"
-
-#: subsync/gui/syncwin.py:298
+#: subsync/gui/syncwin.py:319
msgid "Error during reference read"
msgstr "Błąd odczytu referencji"
-#: subsync/gui/syncwin.py:300
+#: subsync/gui/syncwin.py:321
msgid "Unexpected error occurred"
msgstr "Wystąpił niespodziewany błąd"
-#: subsync/pipeline.py:142
+#: subsync/pipeline.py:141
msgid "Not supported stream type"
msgstr "Niewspierany typ strumienia"