| 236 | } |
| 237 | |
| 238 | void writeObsoleteEntries(QXmlStreamWriter& xml, TranslationEntries& entries, const QString& context) |
| 239 | { |
| 240 | for (auto& entry: entries) |
| 241 | { |
| 242 | if (entry.type.isEmpty() && entry.translation.isEmpty() && legacy_symbol_sets.contains(context)) |
| 243 | continue; |
| 244 | |
| 245 | if (entry.obsolete && entry.context == context) |
| 246 | { |
| 247 | entry.type = Obsolete; |
| 248 | entry.write(xml); |
| 249 | } |
| 250 | } |
| 251 | } |
| 252 | |
| 253 | |
| 254 | bool isMarked(const Symbol& symbol) noexcept |
no test coverage detected