Home | History | Annotate | Download | only in grit
      1 #!/usr/bin/env python
      2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
      3 # Use of this source code is governed by a BSD-style license that can be
      4 # found in the LICENSE file.
      5 
      6 '''Constant definitions for GRIT.
      7 '''
      8 
      9 
     10 # This is the Icelandic noun meaning "grit" and is used to check that our
     11 # input files are in the correct encoding.  The middle character gets encoded
     12 # as two bytes in UTF-8, so this is sufficient to detect incorrect encoding.
     13 ENCODING_CHECK = u'm\u00f6l'
     14 
     15 # A special language, translations into which are always "TTTTTT".
     16 CONSTANT_LANGUAGE = 'x_constant'
     17 
     18 FAKE_BIDI = 'fake-bidi'
     19