| 65 | } |
| 66 | |
| 67 | [[noreturn]] void FailExport(const TranslatableString& title, int errorCode = 0) |
| 68 | { |
| 69 | if (errorCode != 0) |
| 70 | { |
| 71 | throw ExportException(Verbatim("%s: %s") |
| 72 | .Format(title, GetOpusEncErrorString(errorCode)) |
| 73 | .Translation()); |
| 74 | } |
| 75 | |
| 76 | throw ExportException(title.Translation()); |
| 77 | } |
| 78 | |
| 79 | /* i18n-hint: kbps abbreviates "thousands of bits per second" */ |
| 80 | TranslatableString n_kbps(int n) |
no test coverage detected