I found 2 texts that, as they show in a MuseScore dialog, should be translated/translatable, but are not:
Affects the texts "empty document" and "unknown encoding". Code:
|
void XmlStreamReader::setData(const ByteArray& data_) |
|
{ |
|
TRACEFUNC; |
|
|
|
m_xml->doc.reset(); |
|
m_xml->customErr.clear(); |
|
m_token = TokenType::Invalid; |
|
|
|
if (data_.size() < 4) { |
|
m_xml->result = pugi::xml_parse_result{}; // zero it |
|
m_xml->result.status = pugi::status_no_document_element; |
|
m_xml->customErr = String(u"empty document"); |
|
LOGE() << m_xml->customErr; |
|
return; |
|
} |
|
|
|
UtfCodec::Encoding enc = UtfCodec::xmlEncoding(data_); |
|
if (enc == UtfCodec::Encoding::Unknown) { |
|
m_xml->result = pugi::xml_parse_result{}; |
|
m_xml->result.status = pugi::status_internal_error; |
|
m_xml->customErr = String(u"unknown encoding"); |
|
LOGE() << m_xml->customErr; |
|
return; |
|
} |
Apart from that both strings should probably start with a capital letter
I found 2 texts that, as they show in a MuseScore dialog, should be translated/translatable, but are not:
Affects the texts "empty document" and "unknown encoding". Code:
muse_framework/framework/global/serialization/xmlstreamreader.cpp
Lines 74 to 97 in 8c223d8
Apart from that both strings should probably start with a capital letter