Lines Matching refs:s_id
348 s_id = self.findString(s)
354 loc_r = TransLoc(s_id, fname, location)
373 s_id = int(loc.string_id)
374 if done.has_key(s_id): continue
376 s_row = maps_d[s_id]
380 s_row = strings_d[s_id]
382 log("Missing string_id %d, skipping" % s_id)
386 …hdf.setValue("%s.%d.%d.%s" % (prefix, int(s_id) / TIER1_DIV, int(s_id) / TIER2_DIV, s_id), s_row.s…
388 hdf.setValue("%s.%s" % (prefix, s_id), s_row.string)
389 done[s_id] = 1
415 def fetchString(self, s_id, lang): argument
417 …return "<?cs var:Lang.Extracted.%d.%d.%s ?>" % (int(s_id) / TIER1_DIV, int(s_id) / TIER2_DIV, s_id)
418 rows = self.tdb.maps.fetchRows( [('string_id', s_id), ('lang', lang)] )
421 row = self.tdb.strings.fetchRow( ('string_id', s_id) )
423 log("Unable to find string id %s" % s_id)
426 log("Untranslated string for id %s" % s_id)
516 for (name, s_id) in hdf_map:
517 …str = hdf.getValue('Lang.Extracted.%d.%d.%s' % (int(s_id) / TIER1_DIV, int(s_id) / TIER2_DIV, s_id…
529 s_id = obj.name()
533 map_r = self.tdb.maps.fetchRow( [('string_id', s_id), ('lang', lang)])
536 map_r.string_id = s_id