Commits

Georg Brandl committed 95f741c

small grammar fix in multibyte filename messages

Comments (0)

Files changed (5)

sphinx/cmdline.py

         return 1
     except UnicodeError:
         print >>sys.stderr, (
-            'Error: Multibyte filename did not support on this filesystem '
-            'encoding: %s' % fs_encoding)
+            'Error: Multibyte filename not supported on this filesystem '
+            'encoding (%r).' % fs_encoding)
         return 1
 
     filenames = args[2:]

sphinx/util/osutil.py

             fullpath = path.join(top, name)
         except UnicodeError:
             print >>sys.stderr, (
-                '%s:: ERROR: multibyte filename did not support on this filesystem '
-                'encoding %r, skipped.' % (name, fs_encoding))
+                '%s:: ERROR: multibyte filename not supported on this '
+                'filesystem encoding %r, skipped.' % (name, fs_encoding))
             continue
         if path.isdir(fullpath):
             dirs.append(name)

tests/test_build.py

     except UnicodeEncodeError:
         from path import FILESYSTEMENCODING
         raise SkipTest(
-            'multibyte filename did not support on this filesystem encoding: '
+            'multibyte filename not supported on this filesystem encoding: '
             '%s', FILESYSTEMENCODING)
 
     (srcdir / mb_name / (mb_name + '.txt')).write_text(dedent("""

tests/test_quickstart.py

         qs.do_prompt(d, 'k1', 'Q1', default=u'\u65e5\u672c')
     except UnicodeEncodeError:
         raise SkipTest(
-            'multibyte console input did not support on this encoding: %s',
+            'multibyte console input not supported on this encoding: %s',
             qs.TERM_ENCODING)
     assert d['k1'] == u'\u30c9\u30a4\u30c4'
 

tests/test_setup_command.py

     except UnicodeEncodeError:
         from path import FILESYSTEMENCODING
         raise SkipTest(
-            'multibyte filename did not support on this filesystem encoding: '
+            'multibyte filename not supported on this filesystem encoding: '
             '%s', FILESYSTEMENCODING)
 
     (srcdir / mb_name / (mb_name + '.txt')).write_text(dedent("""