[Xfce4-commits] r27289 - in xfconf/trunk: . po xfconfd xfsettingsd

Stephan Arts stephan at xfce.org
Tue Jul 15 00:02:23 CEST 2008


Author: stephan
Date: 2008-07-14 22:02:23 +0000 (Mon, 14 Jul 2008)
New Revision: 27289

Modified:
   xfconf/trunk/configure.ac.in
   xfconf/trunk/po/pt_BR.po
   xfconf/trunk/po/xfconf.pot
   xfconf/trunk/xfconfd/Makefile.am
   xfconf/trunk/xfsettingsd/Makefile.am
Log:
Add optional profiling support for xfconfd and xfsettingsd
Update .po(t) files.



Modified: xfconf/trunk/configure.ac.in
===================================================================
--- xfconf/trunk/configure.ac.in	2008-07-14 21:36:41 UTC (rev 27288)
+++ xfconf/trunk/configure.ac.in	2008-07-14 22:02:23 UTC (rev 27289)
@@ -196,6 +196,16 @@
 fi
 AM_CONDITIONAL([HAVE_GNUC_VISIBILITY], [test "x$have_gnuc_visibility" = "xyes"])
 
+AC_ARG_ENABLE([profiling],
+              AC_HELP_STRING([--enable-profiling],
+                             [Enable gprof profiling support]),
+              [enable_profiling=yes])
+if test "x$enable_profiling" = "xyes"; then
+    AC_DEFINE([XFCONF_ENABLE_PROFILING], [1],
+              [Define if gprof profiling should be compiled in])
+    AM_CONDITIONAL([ENABLE_PROFILING], [test "x$enable_profiling" = "xyes"])
+fi
+
 AC_OUTPUT([
 Makefile
 common/Makefile

Modified: xfconf/trunk/po/pt_BR.po
===================================================================
--- xfconf/trunk/po/pt_BR.po	2008-07-14 21:36:41 UTC (rev 27288)
+++ xfconf/trunk/po/pt_BR.po	2008-07-14 22:02:23 UTC (rev 27289)
@@ -4,11 +4,12 @@
 #
 # Og Maciel <ogmaciel at gnome.org>, 2008.
 #
+#: xfsettingsd/main.c:127
 msgid ""
 msgstr ""
 "Project-Id-Version: xfconf\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-04-23 23:57-0700\n"
+"POT-Creation-Date: 2008-07-14 23:25+0200\n"
 "PO-Revision-Date: 2008-05-01 19:00-0500\n"
 "Last-Translator: Og Maciel <ogmaciel at gnome.org>\n"
 "Language-Team: Brazilian Portuguese <ldp-br at bazar2.conectiva.com.br>\n"
@@ -24,32 +25,31 @@
 msgid "false"
 msgstr "false"
 
-#: xfsettingsd/main.c:50
-#: xfconf-query/main.c:94
+#: xfsettingsd/main.c:52 xfconf-query/main.c:96
 msgid "Version information"
 msgstr "Informação da versão"
 
-#: xfsettingsd/main.c:54
-#: xfconf-query/main.c:114
+#: xfsettingsd/main.c:56 xfconf-query/main.c:116
 msgid "Verbose output"
 msgstr "Saída detalhada"
 
-#: xfsettingsd/main.c:58
+#: xfsettingsd/main.c:60
 msgid "Force replace existing any xsettings daemon"
 msgstr "Forçar a substituição de qualquer serviço xsettings"
 
-#: xfsettingsd/main.c:62
+#: xfsettingsd/main.c:64
 msgid "Start in debug mode (don't fork to the background)"
 msgstr "Iniciar em mode de depuração (não bifurcar para o segundo plano)"
 
-#: xfsettingsd/main.c:119
+#: xfsettingsd/main.c:131
 #, c-format
 msgid ""
 "%s: %s\n"
 "Try %s --help to see a full list of available command line options.\n"
 msgstr ""
 "%s: %s\n"
-"Tente %s --help para ver uma lista completa dos comandos de linha de comando disponíveis.\n"
+"Tente %s --help para ver uma lista completa dos comandos de linha de comando "
+"disponíveis.\n"
 
 #: xfconfd/xfconf-backend-perchannel-xml.c:263
 #, c-format
@@ -59,7 +59,9 @@
 #: xfconfd/xfconf-backend-perchannel-xml.c:310
 #, c-format
 msgid "You don't have permission to modify property \"%s\" on channel \"%s\""
-msgstr "Você não possui permissões para modificar a propriedade \"%s\" no canal \"%s\""
+msgstr ""
+"Você não possui permissões para modificar a propriedade \"%s\" no canal \"%s"
+"\""
 
 #: xfconfd/xfconf-backend-perchannel-xml.c:361
 #: xfconfd/xfconf-backend-perchannel-xml.c:495
@@ -67,35 +69,35 @@
 msgid "Property \"%s\" does not exist on channel \"%s\""
 msgstr "A propriedade \"%s\" não existe no canal \"%s\""
 
-#: xfconfd/xfconf-backend-perchannel-xml.c:535
+#: xfconfd/xfconf-backend-perchannel-xml.c:569
 #, c-format
 msgid "Unable to remove channel \"%s\": %s"
 msgstr "Não foi possível remover o canal \"%s\": %s"
 
-#: xfconfd/xfconf-backend-perchannel-xml.c:1002
-#: xfconfd/xfconf-backend-perchannel-xml.c:1072
+#: xfconfd/xfconf-backend-perchannel-xml.c:1033
+#: xfconfd/xfconf-backend-perchannel-xml.c:1103
 #, c-format
 msgid "Invalid type for <%s>: \"%s\""
 msgstr "Tipo inválido para <%s>: \"%s\""
 
-#: xfconfd/xfconf-backend-perchannel-xml.c:1014
-#: xfconfd/xfconf-backend-perchannel-xml.c:1084
+#: xfconfd/xfconf-backend-perchannel-xml.c:1045
+#: xfconfd/xfconf-backend-perchannel-xml.c:1115
 #, c-format
 msgid "Unable to parse value of type \"%s\" from \"%s\""
 msgstr "Não foi possível analizar o valor do tipo \"%s\" de \"%s\""
 
-#: xfconfd/xfconf-backend-perchannel-xml.c:1063
+#: xfconfd/xfconf-backend-perchannel-xml.c:1094
 #, c-format
 msgid "The type attribute of <value> cannot be an array"
 msgstr "O tipo de atributo de <value> não pode ser uma matriz"
 
-#: xfconfd/xfconf-backend-perchannel-xml.c:1331
-#: xfconfd/xfconf-backend-perchannel-xml.c:1569
+#: xfconfd/xfconf-backend-perchannel-xml.c:1362
+#: xfconfd/xfconf-backend-perchannel-xml.c:1605
 #, c-format
 msgid "Channel \"%s\" does not exist"
 msgstr "O canal \"%s\" não existe"
 
-#: xfconfd/xfconf-backend-perchannel-xml.c:1614
+#: xfconfd/xfconf-backend-perchannel-xml.c:1650
 #, c-format
 msgid "Unable to write channel \"%s\": %s"
 msgstr "Não é possível escrever o canal \"%s\": %s"
@@ -105,81 +107,167 @@
 msgid "Unable to find Xfconf backend of type \"%s\""
 msgstr "Não foi possível encontrar o backend do tipo \"%s\""
 
-#: xfconfd/main.c:126
+#: xfconfd/xfconf-backend.c:103
+#, c-format
+msgid "Property names must start with a '/' character"
+msgstr ""
+
+#: xfconfd/xfconf-backend.c:118
+#, c-format
+msgid ""
+"Property names can only include the ASCII characters A-Z, a-z, 0-9, '_', "
+"'-', '<' and '>', as well as '/' as a separator"
+msgstr ""
+
+#: xfconfd/xfconf-backend.c:127
+#, c-format
+msgid "Property names cannot have two or more '/' characters in a row"
+msgstr ""
+
+#: xfconfd/xfconf-backend.c:147
+#, c-format
+msgid "Channel name cannot be an empty string"
+msgstr ""
+
+#: xfconfd/xfconf-backend.c:160
+#, c-format
+msgid ""
+"Channel names can only include the ASCII characters A-Z, a-z, 0-9, '_', and "
+"'-'"
+msgstr ""
+
+#: xfconfd/main.c:127
 msgid "Prints the xfconfd version"
 msgstr "Imprime a versão do xfconfd"
 
-#: xfconfd/main.c:128
-msgid "Configuration backends to use.  The first backend specified is opened read/write; the others, read-only."
-msgstr "Backends de configuração a usar. O primeiro backend especificado é aberto no modo de escrita e leitura; os outros somente de leitura."
+#: xfconfd/main.c:129
+msgid ""
+"Configuration backends to use.  The first backend specified is opened read/"
+"write; the others, read-only."
+msgstr ""
+"Backends de configuração a usar. O primeiro backend especificado é aberto no "
+"modo de escrita e leitura; os outros somente de leitura."
 
-#: xfconfd/main.c:157
+#: xfconfd/main.c:158
 msgid "Xfce configuration daemon"
 msgstr "Serviço de configuração do Xfce"
 
-#: xfconfd/main.c:159
+#: xfconfd/main.c:160
 msgid "Report bugs to http://bugs.xfce.org/\n"
 msgstr "Relate erros a http://bugs.xfce.org/\n"
 
-#: xfconfd/xfconf-daemon.c:396
+#: xfconfd/xfconf-daemon.c:438
 #, c-format
 msgid "Another Xfconf daemon is already running"
 msgstr "Um outro serviço Xfconf já está em execução"
 
-#: xfconfd/xfconf-daemon.c:432
+#: xfconfd/xfconf-daemon.c:474
 #, c-format
 msgid "No backends could be started"
 msgstr "Nenhum backend foi iniciado"
 
-#: xfconf-query/main.c:98
+#: xfconf-query/main.c:100
 msgid "pick the channel"
 msgstr "escolher o canal"
 
-#: xfconf-query/main.c:102
+#: xfconf-query/main.c:104
 msgid "pick the property"
 msgstr "escolha o canal"
 
-#: xfconf-query/main.c:106
+#: xfconf-query/main.c:108
 msgid "set (change the value)"
 msgstr "defina (modifique o valor)"
 
-#: xfconf-query/main.c:110
+#: xfconf-query/main.c:112
 msgid "List properties"
 msgstr "Listar propriedades"
 
-#: xfconf-query/main.c:118
+#: xfconf-query/main.c:120
 msgid "Create new entry"
 msgstr "Criar nova entrada"
 
-#: xfconf-query/main.c:122
+#: xfconf-query/main.c:124
 msgid "Specify the property value type"
 msgstr "Especificar o tipo de valor da propriedade"
 
-#: xfconf-query/main.c:126
+#: xfconf-query/main.c:128
 msgid "Remove property"
 msgstr "Remover propriedade"
 
-#: xfconf-query/main.c:212
+#: xfconf-query/main.c:196
+#, fuzzy, c-format
+msgid "Property \"%s\" doesn't exist on channel \"%s\".\n"
+msgstr "A propriedade \"%s\" não existe no canal \"%s\""
+
+#: xfconf-query/main.c:204 xfconf-query/main.c:222
+msgid "(unknown)"
+msgstr ""
+
+#: xfconf-query/main.c:213
 #, c-format
-msgid "Unable to convert \"%s\" to type\n"
+msgid ""
+"Value is an array with %d items:\n"
+"\n"
+msgstr ""
+
+#: xfconf-query/main.c:236
+#, c-format
+msgid ""
+"Property \"%s\" does not exist on channel \"%s\".  If you would\n"
+"like to create a new property, use the --create option.\n"
+msgstr ""
+
+#: xfconf-query/main.c:244
+#, c-format
+msgid "When creating a new property, you must specify the value type.\n"
+msgstr ""
+
+#: xfconf-query/main.c:254
+#, c-format
+msgid "Failed to get existing type for value.\n"
+msgstr ""
+
+#: xfconf-query/main.c:272
+#, c-format
+msgid "Unable to determine type of value.\n"
+msgstr ""
+
+#: xfconf-query/main.c:278
+#, c-format
+msgid "You must specify a value type to change an array into a single value.\n"
+msgstr ""
+
+#: xfconf-query/main.c:288 xfconf-query/main.c:350
+#, fuzzy, c-format
+msgid "Unable to convert \"%s\" to type \"%s\"\n"
 msgstr "Não foi possível converter \"%s\" para tipo\n"
 
-#: xfconf-query/main.c:226
+#: xfconf-query/main.c:295 xfconf-query/main.c:365
+#, fuzzy, c-format
+msgid "Failed to set property.\n"
+msgstr "escolha o canal"
+
+#: xfconf-query/main.c:320
 #, c-format
-msgid "ERROR: Could not convert value\n"
-msgstr "ERRO: Não foi possível converter o valor\n"
+msgid "Have %d new values, but could only determine %d types.\n"
+msgstr ""
 
-#: xfconf-query/main.c:233
+#: xfconf-query/main.c:341
 #, c-format
-msgid ""
-"ERROR: Property '%s' missing\n"
-"from channel '%s'\n"
+msgid "Unable to determine type of value at index %d.\n"
 msgstr ""
-"ERRO: A propriedade \"%s\" está faltando\n"
-"do canal \"%s\"\n"
 
-#: xfconf-query/main.c:249
+#: xfconf-query/main.c:383
 #, c-format
 msgid "Channel '%s' contains no properties\n"
 msgstr "o canal \"%s\" não possui propriedades\n"
 
+#~ msgid "ERROR: Could not convert value\n"
+#~ msgstr "ERRO: Não foi possível converter o valor\n"
+
+#~ msgid ""
+#~ "ERROR: Property '%s' missing\n"
+#~ "from channel '%s'\n"
+#~ msgstr ""
+#~ "ERRO: A propriedade \"%s\" está faltando\n"
+#~ "do canal \"%s\"\n"

Modified: xfconf/trunk/po/xfconf.pot
===================================================================
--- xfconf/trunk/po/xfconf.pot	2008-07-14 21:36:41 UTC (rev 27288)
+++ xfconf/trunk/po/xfconf.pot	2008-07-14 22:02:23 UTC (rev 27289)
@@ -3,13 +3,13 @@
 # This file is distributed under the same license as the PACKAGE package.
 # FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
 #
-#: xfsettingsd/main.c:115
+#: xfsettingsd/main.c:127
 #, fuzzy
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-04-23 23:57-0700\n"
+"POT-Creation-Date: 2008-07-14 23:25+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -25,23 +25,23 @@
 msgid "false"
 msgstr ""
 
-#: xfsettingsd/main.c:50 xfconf-query/main.c:94
+#: xfsettingsd/main.c:52 xfconf-query/main.c:96
 msgid "Version information"
 msgstr ""
 
-#: xfsettingsd/main.c:54 xfconf-query/main.c:114
+#: xfsettingsd/main.c:56 xfconf-query/main.c:116
 msgid "Verbose output"
 msgstr ""
 
-#: xfsettingsd/main.c:58
+#: xfsettingsd/main.c:60
 msgid "Force replace existing any xsettings daemon"
 msgstr ""
 
-#: xfsettingsd/main.c:62
+#: xfsettingsd/main.c:64
 msgid "Start in debug mode (don't fork to the background)"
 msgstr ""
 
-#: xfsettingsd/main.c:119
+#: xfsettingsd/main.c:131
 #, c-format
 msgid ""
 "%s: %s\n"
@@ -64,35 +64,35 @@
 msgid "Property \"%s\" does not exist on channel \"%s\""
 msgstr ""
 
-#: xfconfd/xfconf-backend-perchannel-xml.c:535
+#: xfconfd/xfconf-backend-perchannel-xml.c:569
 #, c-format
 msgid "Unable to remove channel \"%s\": %s"
 msgstr ""
 
-#: xfconfd/xfconf-backend-perchannel-xml.c:1002
-#: xfconfd/xfconf-backend-perchannel-xml.c:1072
+#: xfconfd/xfconf-backend-perchannel-xml.c:1033
+#: xfconfd/xfconf-backend-perchannel-xml.c:1103
 #, c-format
 msgid "Invalid type for <%s>: \"%s\""
 msgstr ""
 
-#: xfconfd/xfconf-backend-perchannel-xml.c:1014
-#: xfconfd/xfconf-backend-perchannel-xml.c:1084
+#: xfconfd/xfconf-backend-perchannel-xml.c:1045
+#: xfconfd/xfconf-backend-perchannel-xml.c:1115
 #, c-format
 msgid "Unable to parse value of type \"%s\" from \"%s\""
 msgstr ""
 
-#: xfconfd/xfconf-backend-perchannel-xml.c:1063
+#: xfconfd/xfconf-backend-perchannel-xml.c:1094
 #, c-format
 msgid "The type attribute of <value> cannot be an array"
 msgstr ""
 
-#: xfconfd/xfconf-backend-perchannel-xml.c:1331
-#: xfconfd/xfconf-backend-perchannel-xml.c:1569
+#: xfconfd/xfconf-backend-perchannel-xml.c:1362
+#: xfconfd/xfconf-backend-perchannel-xml.c:1605
 #, c-format
 msgid "Channel \"%s\" does not exist"
 msgstr ""
 
-#: xfconfd/xfconf-backend-perchannel-xml.c:1614
+#: xfconfd/xfconf-backend-perchannel-xml.c:1650
 #, c-format
 msgid "Unable to write channel \"%s\": %s"
 msgstr ""
@@ -102,80 +102,155 @@
 msgid "Unable to find Xfconf backend of type \"%s\""
 msgstr ""
 
-#: xfconfd/main.c:126
+#: xfconfd/xfconf-backend.c:103
+#, c-format
+msgid "Property names must start with a '/' character"
+msgstr ""
+
+#: xfconfd/xfconf-backend.c:118
+#, c-format
+msgid ""
+"Property names can only include the ASCII characters A-Z, a-z, 0-9, '_', "
+"'-', '<' and '>', as well as '/' as a separator"
+msgstr ""
+
+#: xfconfd/xfconf-backend.c:127
+#, c-format
+msgid "Property names cannot have two or more '/' characters in a row"
+msgstr ""
+
+#: xfconfd/xfconf-backend.c:147
+#, c-format
+msgid "Channel name cannot be an empty string"
+msgstr ""
+
+#: xfconfd/xfconf-backend.c:160
+#, c-format
+msgid ""
+"Channel names can only include the ASCII characters A-Z, a-z, 0-9, '_', and "
+"'-'"
+msgstr ""
+
+#: xfconfd/main.c:127
 msgid "Prints the xfconfd version"
 msgstr ""
 
-#: xfconfd/main.c:128
+#: xfconfd/main.c:129
 msgid ""
 "Configuration backends to use.  The first backend specified is opened read/"
 "write; the others, read-only."
 msgstr ""
 
-#: xfconfd/main.c:157
+#: xfconfd/main.c:158
 msgid "Xfce configuration daemon"
 msgstr ""
 
-#: xfconfd/main.c:159
+#: xfconfd/main.c:160
 msgid "Report bugs to http://bugs.xfce.org/\n"
 msgstr ""
 
-#: xfconfd/xfconf-daemon.c:396
+#: xfconfd/xfconf-daemon.c:438
 #, c-format
 msgid "Another Xfconf daemon is already running"
 msgstr ""
 
-#: xfconfd/xfconf-daemon.c:432
+#: xfconfd/xfconf-daemon.c:474
 #, c-format
 msgid "No backends could be started"
 msgstr ""
 
-#: xfconf-query/main.c:98
+#: xfconf-query/main.c:100
 msgid "pick the channel"
 msgstr ""
 
-#: xfconf-query/main.c:102
+#: xfconf-query/main.c:104
 msgid "pick the property"
 msgstr ""
 
-#: xfconf-query/main.c:106
+#: xfconf-query/main.c:108
 msgid "set (change the value)"
 msgstr ""
 
-#: xfconf-query/main.c:110
+#: xfconf-query/main.c:112
 msgid "List properties"
 msgstr ""
 
-#: xfconf-query/main.c:118
+#: xfconf-query/main.c:120
 msgid "Create new entry"
 msgstr ""
 
-#: xfconf-query/main.c:122
+#: xfconf-query/main.c:124
 msgid "Specify the property value type"
 msgstr ""
 
-#: xfconf-query/main.c:126
+#: xfconf-query/main.c:128
 msgid "Remove property"
 msgstr ""
 
-#: xfconf-query/main.c:212
+#: xfconf-query/main.c:196
 #, c-format
-msgid "Unable to convert \"%s\" to type\n"
+msgid "Property \"%s\" doesn't exist on channel \"%s\".\n"
 msgstr ""
 
-#: xfconf-query/main.c:226
+#: xfconf-query/main.c:204 xfconf-query/main.c:222
+msgid "(unknown)"
+msgstr ""
+
+#: xfconf-query/main.c:213
 #, c-format
-msgid "ERROR: Could not convert value\n"
+msgid ""
+"Value is an array with %d items:\n"
+"\n"
 msgstr ""
 
-#: xfconf-query/main.c:233
+#: xfconf-query/main.c:236
 #, c-format
 msgid ""
-"ERROR: Property '%s' missing\n"
-"from channel '%s'\n"
+"Property \"%s\" does not exist on channel \"%s\".  If you would\n"
+"like to create a new property, use the --create option.\n"
 msgstr ""
 
-#: xfconf-query/main.c:249
+#: xfconf-query/main.c:244
 #, c-format
+msgid "When creating a new property, you must specify the value type.\n"
+msgstr ""
+
+#: xfconf-query/main.c:254
+#, c-format
+msgid "Failed to get existing type for value.\n"
+msgstr ""
+
+#: xfconf-query/main.c:272
+#, c-format
+msgid "Unable to determine type of value.\n"
+msgstr ""
+
+#: xfconf-query/main.c:278
+#, c-format
+msgid "You must specify a value type to change an array into a single value.\n"
+msgstr ""
+
+#: xfconf-query/main.c:288 xfconf-query/main.c:350
+#, c-format
+msgid "Unable to convert \"%s\" to type \"%s\"\n"
+msgstr ""
+
+#: xfconf-query/main.c:295 xfconf-query/main.c:365
+#, c-format
+msgid "Failed to set property.\n"
+msgstr ""
+
+#: xfconf-query/main.c:320
+#, c-format
+msgid "Have %d new values, but could only determine %d types.\n"
+msgstr ""
+
+#: xfconf-query/main.c:341
+#, c-format
+msgid "Unable to determine type of value at index %d.\n"
+msgstr ""
+
+#: xfconf-query/main.c:383
+#, c-format
 msgid "Channel '%s' contains no properties\n"
 msgstr ""

Modified: xfconf/trunk/xfconfd/Makefile.am
===================================================================
--- xfconf/trunk/xfconfd/Makefile.am	2008-07-14 21:36:41 UTC (rev 27288)
+++ xfconf/trunk/xfconfd/Makefile.am	2008-07-14 22:02:23 UTC (rev 27289)
@@ -34,6 +34,10 @@
 	$(DBUS_GLIB_CFLAGS) \
 	$(LIBXFCE4UTIL_CFLAGS)
 
+if ENABLE_PROFILING
+xfconfd_CFLAGS += -pg
+endif
+
 xfconfd_LDADD = \
 	$(top_builddir)/common/libxfconf-common.la \
 	$(top_builddir)/common/libxfconf-gvaluefuncs.la \

Modified: xfconf/trunk/xfsettingsd/Makefile.am
===================================================================
--- xfconf/trunk/xfsettingsd/Makefile.am	2008-07-14 21:36:41 UTC (rev 27288)
+++ xfconf/trunk/xfsettingsd/Makefile.am	2008-07-14 22:02:23 UTC (rev 27289)
@@ -16,6 +16,10 @@
 	-DSRCDIR=\"$(top_srcdir)\" \
 	-DLOCALEDIR=\"$(localedir)\"
 
+if ENABLE_PROFILING
+xfsettingsd_CFLAGS += -pg
+endif
+
 xfsettingsd_LDADD = \
 	$(top_builddir)/xfconf/libxfconf-0.la \
 	$(GTK_LIBS) \



More information about the Xfce4-commits mailing list