public static void SetCulture(CultureInfo ci) { if (ci == null) throw new ArgumentNullException("ci"); c = Catalog.GetCatalogForCulture(ci, ns, true); }
public static void SetCulture(string name) { if (name == null) throw new ArgumentNullException("name"); c = Catalog.GetCatalogForCulture(name, ns, true); }
static S() { ns = String.Format("{0}.{1}", Assembly.GetCallingAssembly().GetName().Name, "po"); c = Catalog.GetCatalogForCulture(CultureInfo.CurrentUICulture, ns, true); }