mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-01-08 11:11:51 +00:00
merge: use proper singular/plural versions for error message for #1420
This commit is contained in:
parent
f30daa4363
commit
8c2b139489
@ -76,7 +76,8 @@ ac3_packetizer_c::get_frame() {
|
||||
m_packet_extensions.push_back(std::make_shared<before_adding_to_cluster_cb_packet_extension_c>([this, bytes](packet_cptr const &packet, int64_t timecode_offset) {
|
||||
mxwarn_tid(m_ti.m_fname, m_ti.m_id,
|
||||
boost::format("%1% %2%\n")
|
||||
% (boost::format(Y("This audio track contains %1% bytes of invalid data which were skipped before timecode %2%.")) % bytes % format_timecode(packet->assigned_timecode - timecode_offset))
|
||||
% (boost::format(NY("This audio track contains %1% byte of invalid data which was skipped before timecode %2%.",
|
||||
"This audio track contains %1% bytes of invalid data which were skipped before timecode %2%.", bytes)) % bytes % format_timecode(packet->assigned_timecode - timecode_offset))
|
||||
% Y("The audio/video synchronization may have been lost."));
|
||||
}));
|
||||
}
|
||||
|
@ -67,7 +67,8 @@ mp3_packetizer_c::handle_garbage(int64_t bytes) {
|
||||
m_packet_extensions.push_back(std::make_shared<before_adding_to_cluster_cb_packet_extension_c>([this, bytes](packet_cptr const &packet, int64_t timecode_offset) {
|
||||
mxwarn_tid(m_ti.m_fname, m_ti.m_id,
|
||||
boost::format("%1% %2%\n")
|
||||
% (boost::format(Y("This audio track contains %1% bytes of invalid data which were skipped before timecode %2%.")) % bytes % format_timecode(packet->assigned_timecode - timecode_offset))
|
||||
% (boost::format(NY("This audio track contains %1% byte of invalid data which was skipped before timecode %2%.",
|
||||
"This audio track contains %1% bytes of invalid data which were skipped before timecode %2%.", bytes)) % bytes % format_timecode(packet->assigned_timecode - timecode_offset))
|
||||
% Y("The audio/video synchronization may have been lost."));
|
||||
}));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user