Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(7) | Call(7) | Derive(0) | Import(0)
Add the given translations to the catalog. If the domain of the translations is different than that of the current catalog, they are added as a catalog that is only accessible by the various ``d*gettext`` functions. :param translations: the `Translations` instance with the messages to add :param merge: whether translations for message domains that have already been added should be merged with the existing(more...)
src/f/j/fjord-HEAD/vendor/packages/Babel/tests/test_support.py fjord(Download)
translations1 = support.Translations(catalog1_fp) translations2 = support.Translations(catalog2_fp, domain='messages1') self.translations = translations1.add(translations2, merge=False) def assertEqualTypeToo(self, expected, result):
src/z/e/ZenPacks.zenoss.OpenStack-HEAD/src/Babel-1.3/tests/test_support.py ZenPacks.zenoss.OpenStack(Download)
translations1 = support.Translations(catalog1_fp) translations2 = support.Translations(catalog2_fp, domain='messages1') self.translations = translations1.add(translations2, merge=False) def assertEqualTypeToo(self, expected, result):
src/b/a/Babel-1.3/tests/test_support.py Babel(Download)
translations1 = support.Translations(catalog1_fp) translations2 = support.Translations(catalog2_fp, domain='messages1') self.translations = translations1.add(translations2, merge=False) def assertEqualTypeToo(self, expected, result):
src/w/e/webapp-improved-HEAD/lib/babel/babel/tests/support.py webapp-improved(Download)
translations1 = support.Translations(catalog1_fp) translations2 = support.Translations(catalog2_fp, domain='messages1') self.translations = translations1.add(translations2, merge=False) def assertEqualTypeToo(self, expected, result):
src/p/l/plexnet-HEAD/third_party/python/babel/tests/support.py plexnet(Download)
translations1 = support.Translations(catalog1_fp) translations2 = support.Translations(catalog2_fp, domain='messages1') self.translations = translations1.add(translations2, merge=False) def assertEqualTypeToo(self, expected, result):
src/b/a/babel-HEAD/babel/tests/support.py babel(Download)
translations1 = support.Translations(catalog1_fp) translations2 = support.Translations(catalog2_fp, domain='messages1') self.translations = translations1.add(translations2, merge=False) def assertEqualTypeToo(self, expected, result):
src/b/a/Babel-CLDR-HEAD/babel/tests/support.py Babel-CLDR(Download)
translations1 = support.Translations(catalog1_fp) translations2 = support.Translations(catalog2_fp, domain='messages1') self.translations = translations1.add(translations2, merge=False) def assertEqualTypeToo(self, expected, result):