Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/Changelog.txt3
-rw-r--r--src/Subtitles/RTS.cpp35
-rw-r--r--src/Subtitles/RTS.h2
-rw-r--r--src/Subtitles/STS.cpp26
-rw-r--r--src/Subtitles/STS.h46
-rw-r--r--src/Subtitles/USFSubtitles.cpp8
-rw-r--r--src/mpc-hc/AppSettings.cpp2
-rw-r--r--src/mpc-hc/MainFrm.cpp2
-rw-r--r--src/mpc-hc/PPageSubStyle.cpp5
-rw-r--r--src/mpc-hc/mpc-hc.rc10
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.be.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.bn.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.ca.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.cs.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.de.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.el.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.en_GB.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.es.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.eu.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.fr.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.gl.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.he.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.hr.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.hu.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.hy.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.it.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.ja.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.ko.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.ms_MY.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.nl.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.pl.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.pt_BR.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.ro.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.ru.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.sk.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.sl.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.strings.pot8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.sv.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.tr.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.tt.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.uk.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.vi.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.zh_CN.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/PO/mpc-hc.zh_TW.strings.po8
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.be.rcbin349392 -> 349854 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.bn.rcbin364090 -> 364494 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.ca.rcbin359816 -> 360282 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.cs.rcbin352434 -> 352870 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.de.rcbin360756 -> 361282 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.el.rcbin366012 -> 366464 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.en_GB.rcbin344300 -> 344766 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.es.rcbin362084 -> 362542 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.eu.rcbin355002 -> 355448 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.fr.rcbin369840 -> 370308 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.gl.rcbin361552 -> 362012 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.he.rcbin337954 -> 338424 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.hr.rcbin350108 -> 350574 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.hu.rcbin358532 -> 358980 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.hy.rcbin349188 -> 349678 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.it.rcbin355132 -> 355606 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.ja.rcbin317474 -> 318034 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.ko.rcbin318998 -> 319566 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.ms_MY.rcbin350110 -> 350592 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.nl.rcbin348850 -> 349272 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.pl.rcbin363272 -> 363580 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.pt_BR.rcbin357976 -> 358446 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.ro.rcbin363246 -> 363674 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.ru.rcbin354090 -> 354538 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.sk.rcbin357218 -> 357684 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.sl.rcbin354002 -> 354480 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.sv.rcbin349138 -> 349592 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.tr.rcbin350242 -> 350708 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.tt.rcbin352646 -> 353094 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.uk.rcbin355494 -> 355952 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.vi.rcbin347884 -> 348326 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.zh_CN.rcbin302046 -> 302624 bytes
-rw-r--r--src/mpc-hc/mpcresources/mpc-hc.zh_TW.rcbin302122 -> 302694 bytes
-rw-r--r--src/mpc-hc/resource.h1
78 files changed, 291 insertions, 121 deletions
diff --git a/docs/Changelog.txt b/docs/Changelog.txt
index 4311ac169..7dbf8c05c 100644
--- a/docs/Changelog.txt
+++ b/docs/Changelog.txt
@@ -12,6 +12,9 @@ next version - not released yet
===============================
+ Accept loading more than one subtitle file at a time using the "Load subtitle" dialog or drag-and-drop
+ Add advanced settings page
++ Ticket #4345, Text subtitles: Add a mode that automatically chooses the rendering target based on the
+ subtitle type, ASS/SSA subtitles will be rendered on the video frame while other text subtitles will
+ be rendered on the full window
* Text subtitles: Faster subtitle parsing (up to 4 times faster for SSA/ASS subtitles)
* Text subtitles: Much faster subtitle opening in the Subresync bar
* Ticket #4428, Improve the clarity of the error message when opening a subtitle file fails
diff --git a/src/Subtitles/RTS.cpp b/src/Subtitles/RTS.cpp
index a55eb2751..f42a2fcef 100644
--- a/src/Subtitles/RTS.cpp
+++ b/src/Subtitles/RTS.cpp
@@ -1099,7 +1099,7 @@ CSubtitle::CSubtitle(COutlineCache& outlineCache, COverlayCache& overlayCache)
, m_scrAlignment(0)
, m_wrapStyle(0)
, m_fAnimated(false)
- , m_relativeTo(1)
+ , m_relativeTo(STSStyle::AUTO)
, m_topborder(0)
, m_bottomborder(0)
, m_overlayCache(overlayCache)
@@ -2157,7 +2157,7 @@ bool CRenderedTextSubtitle::CreateSubFromSSATag(CSubtitle* sub, const SSATagsLis
if (nParams == 1 && nParamsInt == 0 && !sub->m_pClipper) {
sub->m_pClipper = DEBUG_NEW CClipper(tag.params[0], CSize(m_size.cx >> 3, m_size.cy >> 3), sub->m_scalex, sub->m_scaley,
- invert, (sub->m_relativeTo == 1) ? CPoint(m_vidrect.left, m_vidrect.top) : CPoint(0, 0),
+ invert, (sub->m_relativeTo == STSStyle::VIDEO) ? CPoint(m_vidrect.left, m_vidrect.top) : CPoint(0, 0),
m_outlineCache, m_overlayCache);
} else if (nParams == 1 && nParamsInt == 1 && !sub->m_pClipper) {
long scale = tag.paramsInt[0];
@@ -2166,7 +2166,7 @@ bool CRenderedTextSubtitle::CreateSubFromSSATag(CSubtitle* sub, const SSATagsLis
}
sub->m_pClipper = DEBUG_NEW CClipper(tag.params[0], CSize(m_size.cx >> 3, m_size.cy >> 3),
sub->m_scalex / (1 << (scale - 1)), sub->m_scaley / (1 << (scale - 1)), invert,
- (sub->m_relativeTo == 1) ? CPoint(m_vidrect.left, m_vidrect.top) : CPoint(0, 0),
+ (sub->m_relativeTo == STSStyle::VIDEO) ? CPoint(m_vidrect.left, m_vidrect.top) : CPoint(0, 0),
m_outlineCache, m_overlayCache);
} else if (nParamsInt == 4) {
sub->m_clipInverse = invert;
@@ -2176,7 +2176,7 @@ bool CRenderedTextSubtitle::CreateSubFromSSATag(CSubtitle* sub, const SSATagsLis
double dRight = sub->m_scalex * tag.paramsInt[2];
double dBottom = sub->m_scaley * tag.paramsInt[3];
- if (sub->m_relativeTo == 1) {
+ if (sub->m_relativeTo == STSStyle::VIDEO) {
double dOffsetX = m_vidrect.left / 8.0;
double dOffsetY = m_vidrect.top / 8.0;
dLeft += dOffsetX;
@@ -2373,7 +2373,7 @@ bool CRenderedTextSubtitle::CreateSubFromSSATag(CSubtitle* sub, const SSATagsLis
e->param[0] = std::lround(sub->m_scalex * tag.paramsReal[0] * 8.0);
e->param[1] = std::lround(sub->m_scaley * tag.paramsReal[1] * 8.0);
- if (sub->m_relativeTo == 1) {
+ if (sub->m_relativeTo == STSStyle::VIDEO) {
e->param[0] += m_vidrect.left;
e->param[1] += m_vidrect.top;
}
@@ -2691,8 +2691,8 @@ CSubtitle* CRenderedTextSubtitle::GetSubtitle(int entry)
sub->m_wrapStyle = m_defaultWrapStyle;
sub->m_fAnimated = false;
sub->m_relativeTo = stss.relativeTo;
- sub->m_scalex = m_dstScreenSize.cx > 0 ? double(stss.relativeTo == 1 ? m_vidrect.Width() : m_size.cx) / (m_dstScreenSize.cx * 8.0) : 1.0;
- sub->m_scaley = m_dstScreenSize.cy > 0 ? double(stss.relativeTo == 1 ? m_vidrect.Height() : m_size.cy) / (m_dstScreenSize.cy * 8.0) : 1.0;
+ sub->m_scalex = m_dstScreenSize.cx > 0 ? double((sub->m_relativeTo == STSStyle::VIDEO) ? m_vidrect.Width() : m_size.cx) / (m_dstScreenSize.cx * 8.0) : 1.0;
+ sub->m_scaley = m_dstScreenSize.cy > 0 ? double((sub->m_relativeTo == STSStyle::VIDEO) ? m_vidrect.Height() : m_size.cy) / (m_dstScreenSize.cy * 8.0) : 1.0;
STSEntry stse = GetAt(entry);
CRect marginRect = stse.marginRect;
@@ -2714,7 +2714,7 @@ CSubtitle* CRenderedTextSubtitle::GetSubtitle(int entry)
marginRect.right = std::lround(sub->m_scalex * marginRect.right * 8.0);
marginRect.bottom = std::lround(sub->m_scaley * marginRect.bottom * 8.0);
- if (stss.relativeTo == 1) { // Don't be strict when using undefined mode (relativeTo == 2)
+ if (sub->m_relativeTo == STSStyle::VIDEO) {
// Account for the user trying to fool the renderer by setting negative margins
CRect clipRect = m_vidrect;
if (marginRect.left < 0) {
@@ -2735,7 +2735,7 @@ CSubtitle* CRenderedTextSubtitle::GetSubtitle(int entry)
sub->m_clip.SetRect(0, 0, m_size.cx >> 3, m_size.cy >> 3);
}
- if (stss.relativeTo == 1) {
+ if (sub->m_relativeTo == STSStyle::VIDEO) {
marginRect.left += m_vidrect.left;
marginRect.top += m_vidrect.top;
marginRect.right += m_size.cx - m_vidrect.right;
@@ -3021,7 +3021,7 @@ STDMETHODIMP CRenderedTextSubtitle::Render(SubPicDesc& spd, REFERENCE_TIME rt, d
s->m_scrAlignment <= 3 ? p.y - spaceNeeded.cy : s->m_scrAlignment <= 6 ? p.y - (spaceNeeded.cy + 1) / 2 : p.y),
spaceNeeded);
- if (s->m_relativeTo == 1) {
+ if (s->m_relativeTo == STSStyle::VIDEO) {
r.OffsetRect(m_vidrect.TopLeft());
}
fPosOverride = true;
@@ -3060,8 +3060,8 @@ STDMETHODIMP CRenderedTextSubtitle::Render(SubPicDesc& spd, REFERENCE_TIME rt, d
}
break;
case EF_BANNER: { // Banner;delay=param[0][;leftoright=param[1];fadeawaywidth=param[2]]
- int left = s->m_relativeTo == 1 ? m_vidrect.left : 0,
- right = s->m_relativeTo == 1 ? m_vidrect.right : m_size.cx;
+ int left = (s->m_relativeTo == STSStyle::VIDEO) ? m_vidrect.left : 0,
+ right = (s->m_relativeTo == STSStyle::VIDEO) ? m_vidrect.right : m_size.cx;
r.left = !!s->m_effects[k]->param[1]
? (left/*marginRect.left*/ - spaceNeeded.cx) + (int)(m_time * 8.0 / s->m_effects[k]->param[0])
@@ -3083,11 +3083,12 @@ STDMETHODIMP CRenderedTextSubtitle::Render(SubPicDesc& spd, REFERENCE_TIME rt, d
CRect cr(0, (s->m_effects[k]->param[0] + 4) >> 3, spd.w, (s->m_effects[k]->param[1] + 4) >> 3);
- if (s->m_relativeTo == 1)
- r.top += m_vidrect.top,
- r.bottom += m_vidrect.top,
- cr.top += m_vidrect.top >> 3,
- cr.bottom += m_vidrect.top >> 3;
+ if (s->m_relativeTo == STSStyle::VIDEO) {
+ r.top += m_vidrect.top;
+ r.bottom += m_vidrect.top;
+ cr.top += m_vidrect.top >> 3;
+ cr.bottom += m_vidrect.top >> 3;
+ }
clipRect &= cr;
diff --git a/src/Subtitles/RTS.h b/src/Subtitles/RTS.h
index 666c08ca0..50e181b55 100644
--- a/src/Subtitles/RTS.h
+++ b/src/Subtitles/RTS.h
@@ -278,7 +278,7 @@ public:
int m_wrapStyle;
bool m_fAnimated;
bool m_bIsAnimated;
- int m_relativeTo;
+ STSStyle::RelativeTo m_relativeTo;
Effect* m_effects[EF_NUMBEROFEFFECTS];
diff --git a/src/Subtitles/STS.cpp b/src/Subtitles/STS.cpp
index 6f7725ac2..7509d51c9 100644
--- a/src/Subtitles/STS.cpp
+++ b/src/Subtitles/STS.cpp
@@ -1479,7 +1479,7 @@ static bool OpenSubStationAlpha(CTextFile* file, CSimpleTextSubtitle& ret, int C
}
style->charSet = GetInt(pszBuff, nBuffLength);
if (sver >= 6) {
- style->relativeTo = GetInt(pszBuff, nBuffLength);
+ style->relativeTo = (STSStyle::RelativeTo)GetInt(pszBuff, nBuffLength);
}
if (sver <= 4) {
@@ -2392,8 +2392,16 @@ bool CSimpleTextSubtitle::GetStyle(int i, STSStyle& stss)
}
stss = *style;
- if (stss.relativeTo == 2 && defstyle) {
+ if (stss.relativeTo == STSStyle::AUTO && defstyle) {
stss.relativeTo = defstyle->relativeTo;
+ // If relative to is set to "auto" even for the default style, decide based on the subtitle type
+ if (stss.relativeTo == STSStyle::AUTO) {
+ if (m_subtitleType == Subtitle::ASS || m_subtitleType == Subtitle::SSA) {
+ stss.relativeTo = STSStyle::VIDEO;
+ } else {
+ stss.relativeTo = STSStyle::WINDOW;
+ }
+ }
}
return true;
@@ -2413,8 +2421,16 @@ bool CSimpleTextSubtitle::GetStyle(CString styleName, STSStyle& stss)
STSStyle* defstyle = nullptr;
m_styles.Lookup(def, defstyle);
- if (defstyle && stss.relativeTo == 2) {
+ if (defstyle && stss.relativeTo == STSStyle::AUTO) {
stss.relativeTo = defstyle->relativeTo;
+ // If relative to is set to "auto" even for the default style, decide based on the subtitle type
+ if (stss.relativeTo == STSStyle::AUTO) {
+ if (m_subtitleType == Subtitle::ASS || m_subtitleType == Subtitle::SSA) {
+ stss.relativeTo = STSStyle::VIDEO;
+ } else {
+ stss.relativeTo = STSStyle::WINDOW;
+ }
+ }
}
return true;
@@ -2975,7 +2991,7 @@ void STSStyle::SetDefault()
fBlur = 0;
fGaussianBlur = 0;
fontShiftX = fontShiftY = fontAngleZ = fontAngleX = fontAngleY = 0;
- relativeTo = 2;
+ relativeTo = STSStyle::AUTO;
}
bool STSStyle::operator == (const STSStyle& s) const
@@ -3118,7 +3134,7 @@ STSStyle& operator <<= (STSStyle& s, const CString& style)
s.fontAngleZ = GetFloat(pszBuff, nBuffLength, L';');
s.fontAngleX = GetFloat(pszBuff, nBuffLength, L';');
s.fontAngleY = GetFloat(pszBuff, nBuffLength, L';');
- s.relativeTo = GetInt(pszBuff, nBuffLength, L';');
+ s.relativeTo = (STSStyle::RelativeTo)GetInt(pszBuff, nBuffLength, L';');
}
} catch (...) {
s.SetDefault();
diff --git a/src/Subtitles/STS.h b/src/Subtitles/STS.h
index f723c77c9..ad3614d39 100644
--- a/src/Subtitles/STS.h
+++ b/src/Subtitles/STS.h
@@ -32,27 +32,33 @@ enum tmode { TIME, FRAME }; // the meaning of STSEntry::start/end
class STSStyle
{
public:
- CRect marginRect; // measured from the sides
- int scrAlignment; // 1 - 9: as on the numpad, 0: default
- int borderStyle; // 0: outline, 1: opaque box
- double outlineWidthX, outlineWidthY;
- double shadowDepthX, shadowDepthY;
- std::array<COLORREF, 4> colors; // usually: {primary, secondary, outline/background, shadow}
+ enum RelativeTo {
+ WINDOW,
+ VIDEO,
+ AUTO // ~video for SSA/ASS, ~window for the rest
+ };
+
+ CRect marginRect; // measured from the sides
+ int scrAlignment; // 1 - 9: as on the numpad, 0: default
+ int borderStyle; // 0: outline, 1: opaque box
+ double outlineWidthX, outlineWidthY;
+ double shadowDepthX, shadowDepthY;
+ std::array<COLORREF, 4> colors; // usually: {primary, secondary, outline/background, shadow}
std::array<BYTE, 4> alpha;
- int charSet;
- CString fontName;
- double fontSize; // height
- double fontScaleX, fontScaleY; // percent
- double fontSpacing; // +/- pixels
- LONG fontWeight;
- int fItalic;
- int fUnderline;
- int fStrikeOut;
- int fBlur;
- double fGaussianBlur;
- double fontAngleZ, fontAngleX, fontAngleY;
- double fontShiftX, fontShiftY;
- int relativeTo; // 0: window, 1: video, 2: undefined (~window)
+ int charSet;
+ CString fontName;
+ double fontSize; // height
+ double fontScaleX, fontScaleY; // percent
+ double fontSpacing; // +/- pixels
+ LONG fontWeight;
+ int fItalic;
+ int fUnderline;
+ int fStrikeOut;
+ int fBlur;
+ double fGaussianBlur;
+ double fontAngleZ, fontAngleX, fontAngleY;
+ double fontShiftX, fontShiftY;
+ RelativeTo relativeTo;
STSStyle();
diff --git a/src/Subtitles/USFSubtitles.cpp b/src/Subtitles/USFSubtitles.cpp
index a63327534..7e50225ac 100644
--- a/src/Subtitles/USFSubtitles.cpp
+++ b/src/Subtitles/USFSubtitles.cpp
@@ -1,6 +1,6 @@
/*
* (C) 2003-2006 Gabest
- * (C) 2006-2013 see Authors.txt
+ * (C) 2006-2014 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -334,9 +334,9 @@ bool CUSFSubtitles::ConvertToSTS(CSimpleTextSubtitle& sts)
stss->scrAlignment = TranslateAlignment(s->pal.alignment);
if (!s->pal.relativeto.IsEmpty()) stss->relativeTo =
- !s->pal.relativeto.CompareNoCase(L"window") ? 0 :
- !s->pal.relativeto.CompareNoCase(L"video") ? 1 :
- 0;
+ !s->pal.relativeto.CompareNoCase(L"window") ? STSStyle::WINDOW :
+ !s->pal.relativeto.CompareNoCase(L"video") ? STSStyle::VIDEO :
+ STSStyle::WINDOW;
stss->borderStyle = 0;
if (!s->fontstyle.outline.IsEmpty()) {
diff --git a/src/mpc-hc/AppSettings.cpp b/src/mpc-hc/AppSettings.cpp
index c261ca837..52d25bb7e 100644
--- a/src/mpc-hc/AppSettings.cpp
+++ b/src/mpc-hc/AppSettings.cpp
@@ -1313,7 +1313,7 @@ void CAppSettings::LoadSettings()
CString temp = pApp->GetProfileString(IDS_R_SETTINGS, IDS_RS_SPSTYLE);
subtitlesDefStyle <<= temp;
if (temp.IsEmpty()) {
- subtitlesDefStyle.relativeTo = 1; // default "Position subtitles relative to the video frame" option is checked
+ subtitlesDefStyle.relativeTo = STSStyle::AUTO; // default to auto mode
}
}
fOverridePlacement = !!pApp->GetProfileInt(IDS_R_SETTINGS, IDS_RS_SPOVERRIDEPLACEMENT, FALSE);
diff --git a/src/mpc-hc/MainFrm.cpp b/src/mpc-hc/MainFrm.cpp
index ca43a2c9a..44ca8a0ef 100644
--- a/src/mpc-hc/MainFrm.cpp
+++ b/src/mpc-hc/MainFrm.cpp
@@ -13435,7 +13435,7 @@ void CMainFrame::SetSubtitle(const SubtitleInput& subInput)
if (pRTS->m_fUsingAutoGeneratedDefaultStyle) {
pRTS->SetDefaultStyle(style);
- } else if (pRTS->GetDefaultStyle(style) && style.relativeTo == 2 && s.subtitlesDefStyle.relativeTo != 2) {
+ } else if (pRTS->GetDefaultStyle(style) && style.relativeTo == STSStyle::AUTO && s.subtitlesDefStyle.relativeTo != STSStyle::AUTO) {
style.relativeTo = s.subtitlesDefStyle.relativeTo;
pRTS->SetDefaultStyle(style);
}
diff --git a/src/mpc-hc/PPageSubStyle.cpp b/src/mpc-hc/PPageSubStyle.cpp
index d193a76ff..7560e1567 100644
--- a/src/mpc-hc/PPageSubStyle.cpp
+++ b/src/mpc-hc/PPageSubStyle.cpp
@@ -185,6 +185,9 @@ BOOL CPPageSubStyle::OnInitDialog()
UpdateData(FALSE);
CreateToolTip();
+ if (m_bDefaultStyle) {
+ m_wndToolTip.AddTool(GetDlgItem(IDC_CHECK_RELATIVETO), ResStr(IDS_TEXT_SUB_RENDERING_TARGET));
+ }
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
@@ -208,7 +211,7 @@ BOOL CPPageSubStyle::OnApply()
m_stss.scrAlignment = m_screenAlignment + 1;
m_stss.marginRect = m_margin;
- m_stss.relativeTo = m_iRelativeTo;
+ m_stss.relativeTo = (STSStyle::RelativeTo)m_iRelativeTo;
for (size_t i = 0; i < m_alpha.size(); i++) {
m_stss.alpha[i] = BYTE_MAX - m_alpha[i];
diff --git a/src/mpc-hc/mpc-hc.rc b/src/mpc-hc/mpc-hc.rc
index 93217be04..9c25d0804 100644
--- a/src/mpc-hc/mpc-hc.rc
+++ b/src/mpc-hc/mpc-hc.rc
@@ -2104,6 +2104,8 @@ BEGIN
IDS_STATSBAR_SIGNAL "Signal"
IDS_STATSBAR_SIGNAL_FORMAT "Strength: %d dB, Quality: %d%%"
IDS_SUBTITLES_STYLES_CAPTION "Styles"
+ IDS_TEXT_SUB_RENDERING_TARGET
+ "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
END
STRINGTABLE
@@ -2385,7 +2387,7 @@ END
STRINGTABLE
BEGIN
- IDC_CHECK_RELATIVETO "Default state gets inherited to other styles where it is still undefined"
+ IDC_CHECK_RELATIVETO "If the rendering target is left undefined, it will be inherited from the default style."
IDC_CHECK_SPCPOW2TEX "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
IDC_CHECK_SPCANIMWITHBUFFER
"Allows subtitle animation when using a subpicture buffer larger than 0. Disabling this option will lower CPU usage. Also disable if you experience flashing subtitles."
@@ -2550,8 +2552,10 @@ BEGIN
IDS_CREDENTIALS_CONNECT "Enter your credentials to connect"
IDS_SUB_SAVE_EXTERNAL_STYLE_FILE "Save custom style"
IDS_CONTENT_EDUCATION_SCIENCE "Education/Science/Factual topics"
- IDS_PPAGEADVANCED_HIDE_WINDOWED "Hides controls and panels also in windowed mode."
- IDS_PPAGEADVANCED_BLOCK_VSFILTER "Prevent external subtitle renderer to be loaded when internal is in use."
+ IDS_PPAGEADVANCED_HIDE_WINDOWED
+ "Hides controls and panels also in windowed mode."
+ IDS_PPAGEADVANCED_BLOCK_VSFILTER
+ "Prevent external subtitle renderer to be loaded when internal is in use."
IDS_PPAGEADVANCED_COL_NAME "Name"
IDS_PPAGEADVANCED_COL_VALUE "Value"
END
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.be.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.be.strings.po
index 94c7d92ba..0435936c0 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.be.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.be.strings.po
@@ -112,6 +112,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Стылі"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr ""
@@ -837,8 +841,8 @@ msgid "Accurate VSync"
msgstr "Акуратны VSync"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Стандартны стан наследуецца іншымі стылямі там, дзе ён яшчэ не вызначаны."
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.bn.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.bn.strings.po
index a4d53e0c3..de9bef788 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.bn.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.bn.strings.po
@@ -112,6 +112,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "ধরনসমূহ"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "কখনোই না (সবচেয়ে দ্রুত পদ্ধতি)"
@@ -837,8 +841,8 @@ msgid "Accurate VSync"
msgstr "যথোপযোগী VSync"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "ডিফল্ট অবস্থাকে অন্যান্য ধরনসমূহ উত্তরাধিকারসূত্রে গ্রহণ করে যেখানে সেসব তখনও অনির্দিষ্ট অবস্থায় রয়েছে।"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.ca.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.ca.strings.po
index fb585a795..04fdc71e5 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.ca.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.ca.strings.po
@@ -114,6 +114,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Estils"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Mai(mètode més ràpid)"
@@ -839,8 +843,8 @@ msgid "Accurate VSync"
msgstr "VSync precisa"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "L'estat predeterminat s'hereda cap a altres estils encara indeterminats "
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.cs.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.cs.strings.po
index b0f730530..7a2a77cce 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.cs.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.cs.strings.po
@@ -112,6 +112,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Styly"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Nikdy (nejrychlejší)"
@@ -837,8 +841,8 @@ msgid "Accurate VSync"
msgstr "Přesný VSync"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Výchozí stav bude převzat ostatními styly ve kterých ještě nebyla tato volba nastavena."
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.de.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.de.strings.po
index ce1117810..fabf79c72 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.de.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.de.strings.po
@@ -118,6 +118,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Style anpassen"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Bei keinem Wechsel (schnell)"
@@ -843,8 +847,8 @@ msgid "Accurate VSync"
msgstr "Genauer VSync (ein/aus)"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Gilt auch für bislang undefinierte Styles."
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.el.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.el.strings.po
index 6ef7ee6ce..ead380393 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.el.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.el.strings.po
@@ -113,6 +113,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Στυλ"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Ποτέ (ταχύτερη προσέγγιση)"
@@ -838,8 +842,8 @@ msgid "Accurate VSync"
msgstr "Ακριβής VSync"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Η προεπιλεγμένη τιμή χρησιμοποιείται και σε άλλα στυλ, όπου δεν έχει καθοριστεί"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.en_GB.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.en_GB.strings.po
index 94cefe8d8..648a17a6a 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.en_GB.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.en_GB.strings.po
@@ -112,6 +112,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Styles"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Never (fastest approach)"
@@ -837,8 +841,8 @@ msgid "Accurate VSync"
msgstr "Accurate VSync"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Default state gets inherited to other styles where it is still undefined"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.es.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.es.strings.po
index 1f1d3e402..5e8371116 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.es.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.es.strings.po
@@ -117,6 +117,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Estilos"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Nunca (método más rápido)"
@@ -842,8 +846,8 @@ msgid "Accurate VSync"
msgstr "VSync Precisa"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "El estado predeterminado se hereda a otros estilos donde aún esté indefinido"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.eu.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.eu.strings.po
index 4867b79cb..280eaa3f3 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.eu.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.eu.strings.po
@@ -112,6 +112,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Estiloak"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Inoiz ez (fokutze azkarrena)"
@@ -837,8 +841,8 @@ msgid "Accurate VSync"
msgstr "ZAldb Zehatza"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Berezko egoera beste estilo batzuetatik lortzen da oraindik zehaztugabe dagoenean."
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.fr.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.fr.strings.po
index 815929ddd..32cdd7df4 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.fr.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.fr.strings.po
@@ -112,6 +112,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Styles"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Jamais (méthode la plus rapide)"
@@ -837,8 +841,8 @@ msgid "Accurate VSync"
msgstr "Synchronisation verticale précise"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "L'état par défaut est transmis aux styles où l'état est encore indéfini"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.gl.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.gl.strings.po
index 8d5020461..a7a7ee976 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.gl.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.gl.strings.po
@@ -113,6 +113,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Estilos"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Nunca (maior aproveitamento)"
@@ -838,8 +842,8 @@ msgid "Accurate VSync"
msgstr "VSync Precisa"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "O estado predeterminado hérdase a outros estilos onde aínda está indefinido"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.he.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.he.strings.po
index 5be6a894b..46982369a 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.he.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.he.strings.po
@@ -113,6 +113,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "סגנונות"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "אף פעם (הגישה המהירה ביותר)"
@@ -838,8 +842,8 @@ msgid "Accurate VSync"
msgstr "סנכרון אנכי מדוייק"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "מצב ברירת המחדל עובר בירושה לסגנונות אחרים בהם שם הוא עדיין אינו מוגדר"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.hr.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.hr.strings.po
index e5028f9f3..8c9b1aaea 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.hr.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.hr.strings.po
@@ -115,6 +115,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Stilovi"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Nikad (najbrži pristup)"
@@ -840,8 +844,8 @@ msgid "Accurate VSync"
msgstr "Accurate VSync"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Default state gets inherited to other styles where it is still undefined"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.hu.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.hu.strings.po
index fb7f907b8..0cda242a4 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.hu.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.hu.strings.po
@@ -112,6 +112,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Stílusok"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Soha (leggyorsabb)"
@@ -837,8 +841,8 @@ msgid "Accurate VSync"
msgstr "Pontos függőleges szinkronizáció"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Az alapértelmezett pozíciót örökli a többi stílus, ahol ez még nincs meghatározva"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.hy.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.hy.strings.po
index 7db2f1020..4b86ca6bf 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.hy.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.hy.strings.po
@@ -112,6 +112,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Ոճեր"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Երբեք (արագ է)"
@@ -837,8 +841,8 @@ msgid "Accurate VSync"
msgstr "Ճշտապահ VSync"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Ծրագրային վիճակը որոշվում է այնտեղ, որտեղ այն դեռ չի որոշվել"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.it.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.it.strings.po
index 96fce0051..3dc696f91 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.it.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.it.strings.po
@@ -113,6 +113,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Stili"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Mai (metodo più veloce)"
@@ -838,8 +842,8 @@ msgid "Accurate VSync"
msgstr "VSync accurato"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Lo stato di default eredita da altri stili finché non viene definito"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.ja.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.ja.strings.po
index 097466198..fde56870e 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.ja.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.ja.strings.po
@@ -112,6 +112,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "スタイル"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "何もしない (最速のアプローチ)"
@@ -837,8 +841,8 @@ msgid "Accurate VSync"
msgstr "正確な垂直同期"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "未設定のスタイルには既定の状態の設定が適用されます"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.ko.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.ko.strings.po
index aafd90f75..fda4c120d 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.ko.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.ko.strings.po
@@ -112,6 +112,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "스타일"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr ""
@@ -837,8 +841,8 @@ msgid "Accurate VSync"
msgstr "정확한 VSync"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "기본 상태가 다른 스타일을 상속합니다."
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.ms_MY.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.ms_MY.strings.po
index 060ceacd3..8d9461cac 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.ms_MY.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.ms_MY.strings.po
@@ -112,6 +112,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Gaya"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Tidak sesekali (pendekatan terpantas)"
@@ -837,8 +841,8 @@ msgid "Accurate VSync"
msgstr "VSync Tepat"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Tahap lalai diwarisi ke gaya lain dimana ia masih tidak ditakrif"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.nl.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.nl.strings.po
index ee7224860..cbd75bcaa 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.nl.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.nl.strings.po
@@ -112,6 +112,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Stijlen"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr ""
@@ -837,8 +841,8 @@ msgid "Accurate VSync"
msgstr ""
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Standaardwaarden worden ook op andere stijlen toegepast, waar nog geen waarde voor bepaald is."
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.pl.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.pl.strings.po
index 6b475242b..126b32ee5 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.pl.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.pl.strings.po
@@ -113,6 +113,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Style"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Nigdy (najszybsza opcja)"
@@ -838,8 +842,8 @@ msgid "Accurate VSync"
msgstr "Dokładna synchronizacja pionowa"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Umieszcza napisy na ekranie zależnie od rozmiaru i położenia obrazu. Domyślny stan zostanie przypisany innym stylom, w których nie został zdefiniowany."
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.pt_BR.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.pt_BR.strings.po
index 60491a9e7..abfb0b40d 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.pt_BR.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.pt_BR.strings.po
@@ -117,6 +117,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Estilos"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Nunca (abordagem mais rápida)"
@@ -842,8 +846,8 @@ msgid "Accurate VSync"
msgstr "VSync com precisão"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "O estado padrão se herda a outros estilos aonde este esteja indefinido"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.ro.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.ro.strings.po
index b5e76d9fd..76f36b3c8 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.ro.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.ro.strings.po
@@ -113,6 +113,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Stiluri"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Niciodată (cea mai rapidă metodă)"
@@ -838,8 +842,8 @@ msgid "Accurate VSync"
msgstr "VSync precis"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Starea implicită va fi moștenită și de celelalte stiluri unde starea încă nu este definită."
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.ru.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.ru.strings.po
index 3fd7f4549..73450e750 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.ru.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.ru.strings.po
@@ -115,6 +115,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Стили"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Никогда (быстро)"
@@ -840,8 +844,8 @@ msgid "Accurate VSync"
msgstr "Аккуратный VSync"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Стандартное состояние наследуется другими стилями там, где оно ещё не определено."
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.sk.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.sk.strings.po
index f91da6dd1..e15f7ad0e 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.sk.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.sk.strings.po
@@ -113,6 +113,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Štýly"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Nikdy (najrýchlejší spôsob)"
@@ -838,8 +842,8 @@ msgid "Accurate VSync"
msgstr "Presná funkcia VSync"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Predvolený stav sa zdedí aj v iných štýloch, kde nie je stále definovaný"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.sl.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.sl.strings.po
index ce49bad65..2beee9bd1 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.sl.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.sl.strings.po
@@ -113,6 +113,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Slogi"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Nikoli (najhitrejši način)"
@@ -838,8 +842,8 @@ msgid "Accurate VSync"
msgstr "Natančni VSync"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Privzeto stanje se podeduje na ostale sloge, kjer še ni definirano"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.strings.pot b/src/mpc-hc/mpcresources/PO/mpc-hc.strings.pot
index a40503b90..8b94f2cb4 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.strings.pot
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.strings.pot
@@ -4,7 +4,7 @@
msgid ""
msgstr ""
"Project-Id-Version: MPC-HC\n"
-"POT-Creation-Date: 2014-07-06 19:15:01+0000\n"
+"POT-Creation-Date: 2014-07-12 21:48:59+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -109,6 +109,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr ""
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr ""
@@ -834,7 +838,7 @@ msgid "Accurate VSync"
msgstr ""
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.sv.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.sv.strings.po
index edc75386e..134ed7ce3 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.sv.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.sv.strings.po
@@ -113,6 +113,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Stilar"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Aldrig (Snabbast)"
@@ -838,8 +842,8 @@ msgid "Accurate VSync"
msgstr "Noggrann VSync"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Standard läget blir ärvda till andra stilar där de fortfarande är odefinierade"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.tr.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.tr.strings.po
index c10ae9af8..2b03c1648 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.tr.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.tr.strings.po
@@ -114,6 +114,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Biçimler"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Hiçbir zaman (en hızlı yöntem)"
@@ -839,8 +843,8 @@ msgid "Accurate VSync"
msgstr "Tam Eşzamanla"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Varsayılan durum hala tanımsız olduğu için diğer biçimlerden etkileniyor"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.tt.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.tt.strings.po
index a3ce2984a..58363b009 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.tt.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.tt.strings.po
@@ -115,6 +115,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Стильләр"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Беркайчан (тиз)"
@@ -840,8 +844,8 @@ msgid "Accurate VSync"
msgstr "Җыйнак VSync"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Стандартное состояние наследуется другими стилями там, где оно ещё не определено."
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.uk.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.uk.strings.po
index 395d86161..2868c5c0c 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.uk.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.uk.strings.po
@@ -112,6 +112,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Стилі"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Ніколи (найшвидший спосіб)"
@@ -837,8 +841,8 @@ msgid "Accurate VSync"
msgstr "Точний VSync"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Стандартний стан успадковується іншими стилями, в яких він ще не визначений."
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.vi.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.vi.strings.po
index 8c06bd657..07455f075 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.vi.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.vi.strings.po
@@ -113,6 +113,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "Dạng"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "Không bao giờ (cách tiếp cận nhanh nhất)"
@@ -838,8 +842,8 @@ msgid "Accurate VSync"
msgstr "VSync chính xác"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "Trạng thái mặc định được thừa hưởng phong cách khác, nơi mà nó vẫn là không xác định"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.zh_CN.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.zh_CN.strings.po
index 5696e4c7b..75ada6de2 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.zh_CN.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.zh_CN.strings.po
@@ -113,6 +113,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "样式"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "从不 (最快的方式)"
@@ -838,8 +842,8 @@ msgid "Accurate VSync"
msgstr "精确垂直同步"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "仍未定义从其它样式获取的默认区域"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/PO/mpc-hc.zh_TW.strings.po b/src/mpc-hc/mpcresources/PO/mpc-hc.zh_TW.strings.po
index 91240b526..bcbe847bd 100644
--- a/src/mpc-hc/mpcresources/PO/mpc-hc.zh_TW.strings.po
+++ b/src/mpc-hc/mpcresources/PO/mpc-hc.zh_TW.strings.po
@@ -116,6 +116,10 @@ msgctxt "IDS_SUBTITLES_STYLES_CAPTION"
msgid "Styles"
msgstr "樣式"
+msgctxt "IDS_TEXT_SUB_RENDERING_TARGET"
+msgid "If the rendering target is left undefined, SSA/ASS subtitles will be rendered relative to the video frame while all other text subtitles will be rendered relative to the window."
+msgstr ""
+
msgctxt "IDS_PPAGE_CAPTURE_FG0"
msgid "Never (fastest approach)"
msgstr "永不 (最快的方式)"
@@ -841,8 +845,8 @@ msgid "Accurate VSync"
msgstr "精確式垂直同步"
msgctxt "IDC_CHECK_RELATIVETO"
-msgid "Default state gets inherited to other styles where it is still undefined"
-msgstr "如果依舊沒定義, 預設會繼承其他的樣式"
+msgid "If the rendering target is left undefined, it will be inherited from the default style."
+msgstr ""
msgctxt "IDC_CHECK_SPCPOW2TEX"
msgid "Unchecking this frees up a little video memory and saves bandwidth on local to video memory transfers, but it may not work with older video cards."
diff --git a/src/mpc-hc/mpcresources/mpc-hc.be.rc b/src/mpc-hc/mpcresources/mpc-hc.be.rc
index 47184ffc3..cfc1fd875 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.be.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.be.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.bn.rc b/src/mpc-hc/mpcresources/mpc-hc.bn.rc
index 1e7e4953e..e311b05a2 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.bn.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.bn.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.ca.rc b/src/mpc-hc/mpcresources/mpc-hc.ca.rc
index 386404af8..96968315e 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.ca.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.ca.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.cs.rc b/src/mpc-hc/mpcresources/mpc-hc.cs.rc
index 653a91d4e..2615e17c4 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.cs.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.cs.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.de.rc b/src/mpc-hc/mpcresources/mpc-hc.de.rc
index 35aa70d05..0ed43f430 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.de.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.de.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.el.rc b/src/mpc-hc/mpcresources/mpc-hc.el.rc
index 3636555de..aff9d387c 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.el.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.el.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.en_GB.rc b/src/mpc-hc/mpcresources/mpc-hc.en_GB.rc
index 823a7ac6c..d77bf19e8 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.en_GB.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.en_GB.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.es.rc b/src/mpc-hc/mpcresources/mpc-hc.es.rc
index fa17aaab8..946f5fa52 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.es.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.es.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.eu.rc b/src/mpc-hc/mpcresources/mpc-hc.eu.rc
index ad3043fc9..efc664aaa 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.eu.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.eu.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.fr.rc b/src/mpc-hc/mpcresources/mpc-hc.fr.rc
index 922ea86ba..58f28e404 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.fr.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.fr.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.gl.rc b/src/mpc-hc/mpcresources/mpc-hc.gl.rc
index 476549909..e006fe4f5 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.gl.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.gl.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.he.rc b/src/mpc-hc/mpcresources/mpc-hc.he.rc
index 5f6bcc7ee..6dc5a195b 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.he.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.he.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.hr.rc b/src/mpc-hc/mpcresources/mpc-hc.hr.rc
index 4150c9712..a3d30a8d1 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.hr.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.hr.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.hu.rc b/src/mpc-hc/mpcresources/mpc-hc.hu.rc
index e5a8f20bf..711e469df 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.hu.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.hu.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.hy.rc b/src/mpc-hc/mpcresources/mpc-hc.hy.rc
index 84e1ac1e3..ceb1dd0e4 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.hy.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.hy.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.it.rc b/src/mpc-hc/mpcresources/mpc-hc.it.rc
index dab5e4240..a70079f6f 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.it.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.it.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.ja.rc b/src/mpc-hc/mpcresources/mpc-hc.ja.rc
index b79589a8d..69f16e386 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.ja.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.ja.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.ko.rc b/src/mpc-hc/mpcresources/mpc-hc.ko.rc
index 455e64c67..ab3a1436a 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.ko.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.ko.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.ms_MY.rc b/src/mpc-hc/mpcresources/mpc-hc.ms_MY.rc
index b6f7e45d8..3c33d37e7 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.ms_MY.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.ms_MY.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.nl.rc b/src/mpc-hc/mpcresources/mpc-hc.nl.rc
index 559f0e8b0..a9a300fc7 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.nl.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.nl.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.pl.rc b/src/mpc-hc/mpcresources/mpc-hc.pl.rc
index f767e5cc6..618c195a4 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.pl.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.pl.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.pt_BR.rc b/src/mpc-hc/mpcresources/mpc-hc.pt_BR.rc
index 7a3f0d004..db61c67b1 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.pt_BR.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.pt_BR.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.ro.rc b/src/mpc-hc/mpcresources/mpc-hc.ro.rc
index f6f878c21..c63d01d1e 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.ro.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.ro.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.ru.rc b/src/mpc-hc/mpcresources/mpc-hc.ru.rc
index f6c4d81d1..88335bc79 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.ru.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.ru.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.sk.rc b/src/mpc-hc/mpcresources/mpc-hc.sk.rc
index 3e59bb86a..14b3cc0f8 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.sk.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.sk.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.sl.rc b/src/mpc-hc/mpcresources/mpc-hc.sl.rc
index ccadd86ac..86cb8be9a 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.sl.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.sl.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.sv.rc b/src/mpc-hc/mpcresources/mpc-hc.sv.rc
index 8846fcf09..cdf223f8b 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.sv.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.sv.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.tr.rc b/src/mpc-hc/mpcresources/mpc-hc.tr.rc
index f9c1b3502..35e1bfcb4 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.tr.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.tr.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.tt.rc b/src/mpc-hc/mpcresources/mpc-hc.tt.rc
index bd0571871..df7de3d5d 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.tt.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.tt.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.uk.rc b/src/mpc-hc/mpcresources/mpc-hc.uk.rc
index 2d855f03e..2b8bec007 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.uk.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.uk.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.vi.rc b/src/mpc-hc/mpcresources/mpc-hc.vi.rc
index 80bc3d81c..0c06dcae8 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.vi.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.vi.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.zh_CN.rc b/src/mpc-hc/mpcresources/mpc-hc.zh_CN.rc
index cac3efbde..b8764b2ea 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.zh_CN.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.zh_CN.rc
Binary files differ
diff --git a/src/mpc-hc/mpcresources/mpc-hc.zh_TW.rc b/src/mpc-hc/mpcresources/mpc-hc.zh_TW.rc
index a3d3445dc..4e60799a4 100644
--- a/src/mpc-hc/mpcresources/mpc-hc.zh_TW.rc
+++ b/src/mpc-hc/mpcresources/mpc-hc.zh_TW.rc
Binary files differ
diff --git a/src/mpc-hc/resource.h b/src/mpc-hc/resource.h
index 48b02e26b..129422305 100644
--- a/src/mpc-hc/resource.h
+++ b/src/mpc-hc/resource.h
@@ -567,6 +567,7 @@
#define IDS_STATSBAR_SIGNAL 14199
#define IDS_STATSBAR_SIGNAL_FORMAT 14200
#define IDS_SUBTITLES_STYLES_CAPTION 14201
+#define IDS_TEXT_SUB_RENDERING_TARGET 14202
#define IDD_TUNER_SCAN 20002
#define IDS_AG_RESET_STATS 20004
#define IDD_NAVIGATION_DLG 20005