HomeSort by relevance Sort by last modified time
    Searched refs:translateable (Results 1 - 15 of 15) sorted by null

  /external/chromium_org/tools/grit/grit/gather/
muppet_strings.py 25 '''A very dumb parser for splitting the strings.xml file into translateable
34 self.translateable = True
45 if 'translateable' in attr_names:
46 value = attrs.getValueByQName('translateable')
48 self.translateable = False
68 self.meaning, self.translateable)
74 self.translateable = True
82 def AddMessage(self, msgtext, description, meaning, translateable):
106 self.uberclique.MakeClique(msg, translateable=translateable))
    [all...]
igoogle_strings.py 24 '''A very dumb parser for splitting the strings.xml file into translateable
33 self.translateable = True
61 self.meaning, self.translateable)
67 self.translateable = True
76 def AddMessage(self, msgtext, description, meaning, translateable):
100 self.uberclique.MakeClique(msg, translateable=translateable))
104 if translateable:
muppet_strings_unittest.py 37 self.failUnless(gatherer.GetCliques()[0].translateable)
47 original = "<strings><MESSAGE translateable='True'>Hello [![USER]!] how are you? [![HOUR]!]:[![MINUTE]!]</MESSAGE></strings>"
50 self.failUnless(gatherer.GetCliques()[0].translateable)
58 original = "<strings><BINGO translateable='false'>Yo yo hi there</BINGO></strings>"
63 self.failUnless(not gatherer.GetCliques()[0].translateable)
admin_template.py 22 '''Gatherer for the translateable portions of an admin template.
27 - translateable strings do not need to be escaped.
35 # Finds the translateable sections from within the [strings] section.
interface.py 32 translateable bits.
41 # we should not do some types of processing on the translateable bits.
100 '''Returns the MessageClique objects for all translateable portions.'''
112 '''Returns the resource being gathered, with translateable portions filled
policy_json_unittest.py 164 self.failUnless(gatherer.GetCliques()[0].translateable)
tr_html.py 31 a translateable section or not. Translateable sections are:
34 can contain translateable text (which is all tags except
148 # Matches elements that may have translateable attributes. The value of these
169 # Matches stuff that is translateable if it occurs in the right context
217 chunks, where each chunk is either translateable or non-translateable.
232 # Needed in the case where document starts with a translateable.
241 # Append a translateable chunk
251 def AddChunk(self, translateable, text)
    [all...]
tr_html_unittest.py 67 # Ensure translateable sections that start with inline tags contain
75 # Ensure translateable sections that end with inline tags contain
104 # translateable, it will actually apply to the second translateable.
171 # Check that the translateable attributes in <img>, <submit>, <button> and
310 of a translateable section the inline tag will be included.
330 # Right after the translateable the nontranslateable should start with
406 num translateable sections.
  /external/chromium_org/tools/grit/grit/node/
include.py 45 return {'translateable' : 'true',
127 def Construct(parent, name, type, file, translateable=True,
133 translateable = util.BoolToString(translateable)
143 node.HandleAttribute('translateable', translateable)
message.py 61 if name not in ['name', 'offset', 'translateable', 'desc', 'meaning',
66 if (name in ('translateable', 'sub_variable') and
83 'translateable' : 'true',
118 return self.attrs['translateable'] == 'true'
235 def Construct(parent, message, name, desc='', meaning='', translateable=True):
237 name, desc, meaning and translateable attributes set using the same-named
241 translateable = 'true' if translateable else 'false'
248 node.HandleAttribute('translateable', translateable)
    [all...]
base.py 411 if not 'translateable' in self.attrs:
414 return self.attrs['translateable'] == 'true'
  /external/chromium_org/tools/grit/grit/
clique.py 30 # same translateable portion and placeholder names, but occur in different
89 def MakeClique(self, message, translateable=True):
94 translateable: True | False
96 clique = MessageClique(self, message, translateable)
311 def __init__(self, uber_clique, message, translateable=True, custom_type=None):
320 translateable: True | False
325 # If not translateable, we only store the original message.
326 self.translateable = translateable
329 # non-translateable
    [all...]
  /external/chromium_org/tools/grit/grit/tool/
resize.py 67 // dialogs. Any changes made to translateable portions of the dialogs will
118 of the <structure> node for the dialog. The translateable bits of the dialog
120 translateable bits from the original dialog) but the layout changes you make
122 translateable elements in the RC file.
rc2grd.py 117 translateable. Default is 'Not locali(s|z)able'.
345 # in the role model, use the description, meaning and translateable
362 translateable=is_translateable,
android2grd.py 412 translateable=translatable)

Completed in 437 milliseconds