~ubuntu-branches/ubuntu/intrepid/gconf/intrepid

« back to all changes in this revision

Viewing changes to gconf/gconf.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-01-14 12:02:38 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080114120238-x0lnsu9iffod1bzz
Tags: 2.21.1-0ubuntu1
* New upstream version:
  Misc
  - Lots of string fixes
  - Documentation fixes
* debian/control.in:
  - updated maintainer information
* debian/patches/01_no_syslog_thanks.patch:
  - new version update

Show diffs side-by-side

added added

removed removed

Lines of Context:
710
710
                      /* Don't set error because realistically this
711
711
                         doesn't matter to clients */
712
712
#ifdef GCONF_ENABLE_DEBUG
713
 
                      g_warning("Failure removing listener %u from the config server: %s",
 
713
                      g_warning("Failure removing listener %u from the configuration server: %s",
714
714
                                (guint)gcnxn->server_id,
715
715
                                err->message);
716
716
#endif
2321
2321
 * gconf_debug_shutdown:
2322
2322
 * @void: 
2323
2323
 * 
2324
 
 * Detach from the config server and release
 
2324
 * Detach from the configuration server and release
2325
2325
 * all related resources.
2326
2326
 *
2327
2327
 * Returns: 1 if an exception occurs, 0 otherwise.
2620
2620
  if (*key != '/')
2621
2621
    {
2622
2622
      if (why_invalid != NULL)
2623
 
        *why_invalid = g_strdup(_("Must begin with a slash (/)"));
 
2623
        *why_invalid = g_strdup(_("Must begin with a slash '/'"));
2624
2624
      return FALSE;
2625
2625
    }
2626
2626
  
2642
2642
              if (why_invalid != NULL)
2643
2643
                {
2644
2644
                  if (*s == '/')
2645
 
                    *why_invalid = g_strdup(_("Can't have two slashes (/) in a row"));
 
2645
                    *why_invalid = g_strdup(_("Can't have two slashes '/' in a row"));
2646
2646
                  else
2647
 
                    *why_invalid = g_strdup(_("Can't have a period (.) right after a slash (/)"));
 
2647
                    *why_invalid = g_strdup(_("Can't have a period '.' right after a slash '/'"));
2648
2648
                }
2649
2649
              return FALSE;
2650
2650
            }
2664
2664
          if (c > 127)
2665
2665
            {
2666
2666
              if (why_invalid != NULL)
2667
 
                *why_invalid = g_strdup_printf (_("'\\%o' is not an ASCII character, so isn't allowed in key names"),
 
2667
                *why_invalid = g_strdup_printf (_("'\\%o' is not an ASCII character and thus isn't allowed in key names"),
2668
2668
                                                (guint) c);
2669
2669
              return FALSE;
2670
2670
            }
2688
2688
  if (just_saw_slash)
2689
2689
    {
2690
2690
      if (why_invalid != NULL)
2691
 
        *why_invalid = g_strdup(_("Key/directory may not end with a slash (/)"));
 
2691
        *why_invalid = g_strdup(_("Key/directory may not end with a slash '/'"));
2692
2692
      return FALSE;
2693
2693
    }
2694
2694
  else
3059
3059
  if (ev._major != CORBA_NO_EXCEPTION)
3060
3060
    {
3061
3061
      if (err)
3062
 
        *err = gconf_error_new (GCONF_ERROR_FAILED, _("Failure shutting down config server: %s"),
 
3062
        *err = gconf_error_new (GCONF_ERROR_FAILED, _("Failure shutting down configuration server: %s"),
3063
3063
                                CORBA_exception_id (&ev));
3064
3064
 
3065
3065
      CORBA_exception_free(&ev);