Skip to content

Commit 5516c71

Browse files
committed
l10n [nfc]: Explain why we skip translating licenses
Fixes: zulip#277 Signed-off-by: Zixuan James Li <[email protected]>
1 parent 9517336 commit 5516c71

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/licenses.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ Stream<LicenseEntry> additionalLicenses() async* {
2323
rootBundle.loadString('assets/Pygments/AUTHORS.txt'),
2424
]);
2525

26+
// This does not need to be translated, as it is just a small fragment
27+
// of text surrounded by a large quantity of English text that isn't
28+
// translated anyway.
2629
return '$licenseFileText\n\nAUTHORS file follows:\n\n$authorsFileText';
2730
}());
2831
yield LicenseEntryWithLineBreaks(

0 commit comments

Comments
 (0)