]> Shamusworld >> Repos - ardour-manual-diverged/blobdiff - build.py
Fix a minor language nit in the 'broken link' reportage.
[ardour-manual-diverged] / build.py
index 1d9b89e4123e92c7aac32ea87f912c5905a8d4cd..e27efce8ae22fc0d17322f74a5830daead35a4d1 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -213,7 +213,7 @@ def FixInternalLinks(links, content, title):
        match = re.findall('"@@.*"', result)
 
        if len(match) > 0:
-               print('\nMissing link target(s) in "' + title + '":')
+               print('\nMissing link target' + ('s' if len(match) > 1 else '') + ' in "' + title + '":')
 
                for s in match:
                        print('  ' + s[3:-1])