[Xfce4-commits] <xfce4-sensors-plugin:master> full checkin of current devel branch. contains lots of bugs and produces crashes, but git sux again. If you want a working version, use the previous 0.10.99.7 one / svn branch respectively.
Fabian Nowak
noreply at xfce.org
Mon Mar 22 20:28:01 CET 2010
Updating branch refs/heads/master
to 29a82e9c4067e3945e4e909bfa55261725fcea32 (commit)
from c9513b8a591a7d4b41f757a7a53427ea1cd24c27 (commit)
commit 29a82e9c4067e3945e4e909bfa55261725fcea32
Author: Fabian Nowak <timystery at arcor.de>
Date: Mon Mar 22 20:25:40 2010 +0100
full checkin of current devel branch. contains lots of bugs and produces
crashes, but git sux again. If you want a working version, use the
previous 0.10.99.7 one / svn branch respectively.
ChangeLog | 10 +-
aclocal.m4 | 199 +++++++++++++---
config.guess | 149 +++++-------
config.sub | 47 +++-
configure.in | 7 +-
include/Makefile.am | 1 +
include/Makefile.in | 1 +
include/acpi.h | 2 +-
include/configuration.h | 2 +-
include/cpu.h | 76 ++++++
include/hddtemp.h | 2 +-
include/lmsensors.h | 2 +-
include/middlelayer.h | 12 +-
include/sensors-interface-common.h | 25 ++-
include/sensors-interface.h | 4 +-
include/types.h | 2 +-
lib/Makefile.am | 1 +
lib/Makefile.in | 18 +-
lib/acpi.c | 6 +-
lib/configuration.c | 6 +-
lib/cpu.c | 475 +++++++++++++++++++++++++++++++++++
lib/hddtemp.c | 17 +-
lib/helpers.c | 9 +-
lib/lmsensors.c | 9 +-
lib/middlelayer.c | 13 +-
lib/sensors-interface-common.c | 7 +-
lib/sensors-interface.c | 132 +++++++----
ltmain.sh | 8 +-
panel-plugin/sensors-plugin.c | 477 ++++++++++++++++++++++++++++--------
panel-plugin/sensors-plugin.h | 2 +-
po/ar.po | 159 +++++++-----
po/ast.po | 168 ++++++++-----
po/ca.po | 228 +++++++++++-------
po/cs.po | 224 ++++++++++-------
po/da.po | 215 ++++++++++-------
po/de.po | 169 ++++++++-----
po/el.po | 173 ++++++++------
po/en_GB.po | 168 ++++++++-----
po/es.po | 169 ++++++++-----
po/eu.po | 168 ++++++++-----
po/fi.po | 168 ++++++++-----
po/fr.po | 168 ++++++++-----
po/id.po | 168 ++++++++-----
po/ja.po | 168 ++++++++-----
po/ko.po | 169 ++++++++-----
po/lt.po | 167 ++++++++-----
po/lv.po | 168 ++++++++-----
po/pl.po | 169 ++++++++-----
po/pt.po | 222 ++++++++++-------
po/pt_BR.po | 168 ++++++++-----
po/sq.po | 169 ++++++++-----
po/sv.po | 195 +++++++++-------
po/tr.po | 168 ++++++++-----
po/ur.po | 168 ++++++++-----
po/ur_PK.po | 168 ++++++++-----
po/vi.po | 173 ++++++++------
po/zh_CN.po | 168 ++++++++-----
po/zh_TW.po | 173 ++++++++------
src/actions.c | 213 ++++++++++++++++-
src/actions.h | 17 ++-
src/callbacks.c | 273 +++++++++++++++++++--
src/callbacks.h | 8 +-
src/interface.c | 85 ++++++-
src/interface.h | 2 +-
src/main.c | 68 ++++-
65 files changed, 4985 insertions(+), 2360 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a80e180..b87303c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-03-22 timystery
+ * check-in corrected check for netcat.
+ * version bump to 0.10.99.8
+
+2010-01-05 timystery
+ * updated xfce4-sensors by new tab with tachometer-like widgets
+ * regularly and customizably update sensor data in xfce4-sensors
+
2008-11-16 timystery
*
* Removed invalid columns such as color and "show" from application's treeview
@@ -18,7 +26,7 @@
at a glance
* libnotify support for error messages
* Netcat support for hddtemp
- * hard disk name swhen used with netcat
+ * hard disk names when used with netcat
2008-10-26 timystery
* New Xfce-style header
diff --git a/aclocal.m4 b/aclocal.m4
index b84c76e..b5f52f1 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -2646,7 +2646,7 @@ linux*oldld* | linux*aout* | linux*coff*)
;;
# This must be Linux ELF.
-linux* | k*bsd*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
version_type=linux
need_lib_prefix=no
need_version=no
@@ -3285,7 +3285,7 @@ irix5* | irix6* | nonstopux*)
;;
# This must be Linux ELF.
-linux* | k*bsd*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
lt_cv_deplibs_check_method=pass_all
;;
@@ -3906,7 +3906,7 @@ m4_if([$1], [CXX], [
;;
esac
;;
- linux* | k*bsd*-gnu)
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
case $cc_basename in
KCC*)
# KAI C++ Compiler
@@ -4190,7 +4190,7 @@ m4_if([$1], [CXX], [
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
;;
- linux* | k*bsd*-gnu)
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
case $cc_basename in
# old Intel for x86_64 which still supported -KPIC.
ecc*)
@@ -4486,6 +4486,7 @@ dnl Note also adjust exclude_expsyms for C++ above.
fi
supports_anon_versioning=no
case `$LD -v 2>&1` in
+ *GNU\ gold*) supports_anon_versioning=yes ;;
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
@@ -4577,7 +4578,7 @@ _LT_EOF
_LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
;;
- gnu* | linux* | tpf* | k*bsd*-gnu)
+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
tmp_diet=no
if test "$host_os" = linux-dietlibc; then
case $cc_basename in
@@ -6057,7 +6058,7 @@ if test "$_lt_caught_CXX_error" != yes; then
_LT_TAGVAR(inherit_rpath, $1)=yes
;;
- linux* | k*bsd*-gnu)
+ linux* | k*bsd*-gnu | kopensolaris*-gnu)
case $cc_basename in
KCC*)
# Kuck and Associates, Inc. (KAI) C++ Compiler
@@ -8064,15 +8065,15 @@ m4_define([lt_dict_filter],
# Generated from ltversion.in.
-# serial 3012 ltversion.m4
+# serial 3017 ltversion.m4
# This file is part of GNU Libtool
-m4_define([LT_PACKAGE_VERSION], [2.2.6])
-m4_define([LT_PACKAGE_REVISION], [1.3012])
+m4_define([LT_PACKAGE_VERSION], [2.2.6b])
+m4_define([LT_PACKAGE_REVISION], [1.3017])
AC_DEFUN([LTVERSION_VERSION],
-[macro_version='2.2.6'
-macro_revision='1.3012'
+[macro_version='2.2.6b'
+macro_revision='1.3017'
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
_LT_DECL(, macro_revision, 0)
])
@@ -9461,7 +9462,7 @@ AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
])dnl
-dnl $Id: xdt-depends.m4 21591 2006-05-08 09:10:26Z benny $
+dnl $Id$
dnl
dnl Copyright (c) 2002-2006
dnl The Xfce development team. All rights reserved.
@@ -9891,7 +9892,7 @@ AC_DEFUN([BM_LIBXPM_REQUIRE],
])
-dnl $Id: xdt-features.m4 22990 2006-09-02 11:33:28Z benny $
+dnl $Id$
dnl
dnl Copyright (c) 2002-2006
dnl The Xfce development team. All rights reserved.
@@ -9924,46 +9925,180 @@ dnl We need recent a autoconf version
AC_PREREQ([2.53])
+dnl XDT_SUPPORTED_FLAGS(VAR, FLAGS)
+dnl
+dnl For each token in FLAGS, checks to be sure the compiler supports
+dnl the flag, and if so, adds each one to VAR.
+dnl
+AC_DEFUN([XDT_SUPPORTED_FLAGS],
+[
+ for flag in $2; do
+ AC_MSG_CHECKING([if $CC supports $flag])
+ saved_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $flag"
+ AC_COMPILE_IFELSE([ ], [flag_supported=yes], [flag_supported=no])
+ CFLAGS="$saved_CFLAGS"
+ AC_MSG_RESULT([$flag_supported])
+
+ if test "x$flag_supported" = "xyes"; then
+ $1="$$1 $flag"
+ fi
+ done
+])
+
+
-dnl XDT_FEATURE_DEBUG()
+dnl XDT_FEATURE_DEBUG(default_level=minimum)
dnl
AC_DEFUN([XDT_FEATURE_DEBUG],
[
+ dnl weird indentation to keep output indentation correct
AC_ARG_ENABLE([debug],
-AC_HELP_STRING([--enable-debug[=yes|no|full]], [Build with debugging support])
-AC_HELP_STRING([--disable-debug], [Include no debugging support [default]]),
- [], [enable_debug=no])
+ AC_HELP_STRING([--enable-debug@<:@=no|minimum|yes|full@:>@],
+ [Build with debugging support @<:@default=m4_default([$1], [minimum])@:>@])
+AC_HELP_STRING([--disable-debug], [Include no debugging support]),
+ [enable_debug=$enableval], [enable_debug=m4_default([$1], [minimum])])
AC_MSG_CHECKING([whether to build with debugging support])
- if test x"$enable_debug" != x"no"; then
+ if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
AC_DEFINE([DEBUG], [1], [Define for debugging support])
- if test x"$GCC" = x"yes"; then
- xdt_cv_additional_CFLAGS="-Wall"
- fi
- xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -DXFCE_DISABLE_DEPRECATED"
+ xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
+ -Wall -Wextra \
+ -Wno-missing-field-initializers \
+ -Wno-unused-parameter -Wold-style-definition \
+ -Wdeclaration-after-statement \
+ -Wmissing-declarations -Wredundant-decls \
+ -Wmissing-noreturn -Wshadow -Wpointer-arith \
+ -Wcast-align -Wformat-security \
+ -Winit-self -Wmissing-include-dirs -Wundef \
+ -Wmissing-format-attribute -Wnested-externs \
+ -fstack-protector"
+ CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
if test x"$enable_debug" = x"full"; then
AC_DEFINE([DEBUG_TRACE], [1], [Define for tracing support])
- if test x"$GCC" = x"yes"; then
- xdt_cv_additional_CFLAGS="-g3 -Werror $xdt_cv_additional_CFLAGS"
- fi
+ xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g3 -Werror"
+ CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
AC_MSG_RESULT([full])
else
- if test x"$GCC" = x"yes"; then
- xdt_cv_additional_CFLAGS="-g $xdt_cv_additional_CFLAGS"
- fi
+ xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g"
AC_MSG_RESULT([yes])
fi
- CFLAGS="$CFLAGS $xdt_cv_additional_CFLAGS"
- CXXFLAGS="$CXXFLAGS $xdt_cv_additional_CFLAGS"
+ XDT_SUPPORTED_FLAGS([supported_CFLAGS], [$xdt_cv_additional_CFLAGS])
+
+ ifelse([$CXX], , , [
+ dnl FIXME: should test on c++ compiler, but the following line causes
+ dnl autoconf errors for projects that don't check for a
+ dnl c++ compiler at all.
+ dnl AC_LANG_PUSH([C++])
+ dnl XDT_SUPPORTED_FLAGS([supported_CXXFLAGS], [$xdt_cv_additional_CFLAGS])
+ dnl AC_LANG_POP()
+ dnl instead, just use supported_CFLAGS...
+ supported_CXXFLAGS="$supported_CFLAGS"
+ ])
+
+ CFLAGS="$CFLAGS $supported_CFLAGS"
+ CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
else
- AC_MSG_RESULT([no])
+ CPPFLAGS="$CPPFLAGS -DNDEBUG"
+
+ if test x"$enable_debug" = x"no"; then
+ CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
+ AC_MSG_RESULT([no])
+ else
+ AC_MSG_RESULT([minimum])
+ fi
fi
])
+dnl XDT_FEATURE_VISIBILITY()
+dnl
+dnl Checks to see if the compiler supports the 'visibility' attribute
+dnl If so, adds -DHAVE_GNUC_VISIBILTY to CPPFLAGS. Also sets the
+dnl automake conditional HAVE_GNUC_VISIBILITY.
+dnl
+AC_DEFUN([XDT_FEATURE_VISIBILITY],
+[
+ AC_ARG_ENABLE([visibility],
+ AC_HELP_STRING([--disable-visibility],
+ [Don't use ELF visibility attributes]),
+ [enable_visibility=$enableval], [enable_visibility=yes])
+ have_gnuc_visibility=no
+ if test "x$enable_visibility" != "xno"; then
+ XDT_SUPPORTED_FLAGS([xdt_vis_test_cflags], [-Wall -Werror -Wno-unused-parameter])
+ saved_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $xdt_vis_test_cflags"
+ AC_MSG_CHECKING([whether $CC supports the GNUC visibility attribute])
+ AC_COMPILE_IFELSE(AC_LANG_SOURCE(
+ [
+ void test_default (void);
+ void test_hidden (void);
+
+ void __attribute__ ((visibility("default"))) test_default (void) {}
+ void __attribute__ ((visibility("hidden"))) test_hidden (void) {}
+
+ int main (int argc, char **argv) {
+ test_default ();
+ test_hidden ();
+ return 0;
+ }
+ ]),
+ [
+ have_gnuc_visibility=yes
+ AC_MSG_RESULT([yes])
+ ],
+ [
+ AC_MSG_RESULT([no])
+ ])
+ CFLAGS="$saved_CFLAGS"
+ fi
+
+ if test "x$have_gnuc_visibility" = "xyes"; then
+ CPPFLAGS="$CPPFLAGS -DHAVE_GNUC_VISIBILITY"
+ XDT_SUPPORTED_FLAGS([xdt_vis_hidden_cflags], [-fvisibility=hidden])
+ CFLAGS="$CFLAGS $xdt_vis_hidden_cflags"
+ fi
+
+ AM_CONDITIONAL([HAVE_GNUC_VISIBILITY], [test "x$have_gnuc_visibility" = "xyes"])
+])
+
+dnl XDT_FEATURE_LINKER_OPTS
+dnl
+dnl Checks for and enables any special linker optimizations.
+dnl
+AC_DEFUN([XDT_FEATURE_LINKER_OPTS],
+[
+ AC_ARG_ENABLE([linker-opts],
+ AC_HELP_STRING([--disable-linker-opts],
+ [Disable linker optimizations]),
+ [enable_linker_opts=$enableval], [enable_linker_opts=yes])
+
+ if test "x$enable_linker_opts" != "xno"; then
+ AC_MSG_CHECKING([whether $LD accepts --as-needed])
+ case `$LD --as-needed -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ LDFLAGS="$LDFLAGS -Wl,--as-needed"
+ AC_MSG_RESULT([yes])
+ ;;
+ *)
+ AC_MSG_RESULT([no])
+ ;;
+ esac
+ AC_MSG_CHECKING([whether $LD accepts -O1])
+ case `$LD -O1 -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ LDFLAGS="$LDFLAGS -Wl,-O1"
+ AC_MSG_RESULT([yes])
+ ;;
+ *)
+ AC_MSG_RESULT([no])
+ ;;
+ esac
+ fi
+])
dnl BM_DEBUG_SUPPORT()
dnl
@@ -10043,7 +10178,7 @@ AC_HELP_STRING([--enable-final], [Build final version]),
fi
])
-dnl $Id: xdt-i18n.m4 24486 2007-01-15 17:47:49Z benny $
+dnl $Id$
dnl
dnl Copyright (c) 2002-2006
dnl The Xfce development team. All rights reserved.
diff --git a/config.guess b/config.guess
index e3a2116..c2246a4 100755
--- a/config.guess
+++ b/config.guess
@@ -1,10 +1,10 @@
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
-timestamp='2009-06-10'
+timestamp='2009-12-30'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -27,16 +27,16 @@ timestamp='2009-06-10'
# the same distribution terms that you use for the rest of that program.
-# Originally written by Per Bothner <per at bothner.com>.
-# Please send patches to <config-patches at gnu.org>. Submit a context
-# diff and a properly formatted ChangeLog entry.
+# Originally written by Per Bothner. Please send patches (context
+# diff format) to <config-patches at gnu.org> and include a ChangeLog
+# entry.
#
# This script attempts to guess a canonical system name similar to
# config.sub. If it succeeds, it prints the system name on stdout, and
# exits with 0. Otherwise, it exits with 1.
#
-# The plan is that this can be called by configure scripts if you
-# don't specify an explicit build system type.
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
me=`echo "$0" | sed -e 's,.*/,,'`
@@ -56,8 +56,9 @@ version="\
GNU config.guess ($timestamp)
Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
+Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -333,6 +334,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
+ echo i386-pc-auroraux${UNAME_RELEASE}
+ exit ;;
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
eval $set_cc_for_build
SUN_ARCH="i386"
@@ -807,12 +811,12 @@ EOF
i*:PW*:*)
echo ${UNAME_MACHINE}-pc-pw32
exit ;;
- *:Interix*:[3456]*)
+ *:Interix*:*)
case ${UNAME_MACHINE} in
x86)
echo i586-pc-interix${UNAME_RELEASE}
exit ;;
- EM64T | authenticamd | genuineintel)
+ authenticamd | genuineintel | EM64T)
echo x86_64-unknown-interix${UNAME_RELEASE}
exit ;;
IA64)
@@ -854,6 +858,20 @@ EOF
i*86:Minix:*:*)
echo ${UNAME_MACHINE}-pc-minix
exit ;;
+ alpha:Linux:*:*)
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+ EV5) UNAME_MACHINE=alphaev5 ;;
+ EV56) UNAME_MACHINE=alphaev56 ;;
+ PCA56) UNAME_MACHINE=alphapca56 ;;
+ PCA57) UNAME_MACHINE=alphapca56 ;;
+ EV6) UNAME_MACHINE=alphaev6 ;;
+ EV67) UNAME_MACHINE=alphaev67 ;;
+ EV68*) UNAME_MACHINE=alphaev68 ;;
+ esac
+ objdump --private-headers /bin/sh | grep -q ld.so.1
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
+ exit ;;
arm*:Linux:*:*)
eval $set_cc_for_build
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
@@ -876,6 +894,17 @@ EOF
frv:Linux:*:*)
echo frv-unknown-linux-gnu
exit ;;
+ i*86:Linux:*:*)
+ LIBC=gnu
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #ifdef __dietlibc__
+ LIBC=dietlibc
+ #endif
+EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
+ exit ;;
ia64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
@@ -901,39 +930,18 @@ EOF
#endif
#endif
EOF
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- /^CPU/{
- s: ::g
- p
- }'`"
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
;;
or32:Linux:*:*)
echo or32-unknown-linux-gnu
exit ;;
- ppc:Linux:*:*)
- echo powerpc-unknown-linux-gnu
- exit ;;
- ppc64:Linux:*:*)
- echo powerpc64-unknown-linux-gnu
- exit ;;
- alpha:Linux:*:*)
- case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
- EV5) UNAME_MACHINE=alphaev5 ;;
- EV56) UNAME_MACHINE=alphaev56 ;;
- PCA56) UNAME_MACHINE=alphapca56 ;;
- PCA57) UNAME_MACHINE=alphapca56 ;;
- EV6) UNAME_MACHINE=alphaev6 ;;
- EV67) UNAME_MACHINE=alphaev67 ;;
- EV68*) UNAME_MACHINE=alphaev68 ;;
- esac
- objdump --private-headers /bin/sh | grep -q ld.so.1
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
- exit ;;
padre:Linux:*:*)
echo sparc-unknown-linux-gnu
exit ;;
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
+ echo hppa64-unknown-linux-gnu
+ exit ;;
parisc:Linux:*:* | hppa:Linux:*:*)
# Look for CPU level
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -942,8 +950,11 @@ EOF
*) echo hppa-unknown-linux-gnu ;;
esac
exit ;;
- parisc64:Linux:*:* | hppa64:Linux:*:*)
- echo hppa64-unknown-linux-gnu
+ ppc64:Linux:*:*)
+ echo powerpc64-unknown-linux-gnu
+ exit ;;
+ ppc:Linux:*:*)
+ echo powerpc-unknown-linux-gnu
exit ;;
s390:Linux:*:* | s390x:Linux:*:*)
echo ${UNAME_MACHINE}-ibm-linux
@@ -966,58 +977,6 @@ EOF
xtensa*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu
exit ;;
- i*86:Linux:*:*)
- # The BFD linker knows what the default object file format is, so
- # first see if it will tell us. cd to the root directory to prevent
- # problems with other programs or directories called `ld' in the path.
- # Set LC_ALL=C to ensure ld outputs messages in English.
- ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
- | sed -ne '/supported targets:/!d
- s/[ ][ ]*/ /g
- s/.*supported targets: *//
- s/ .*//
- p'`
- case "$ld_supported_targets" in
- elf32-i386)
- TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
- ;;
- esac
- # Determine whether the default compiler is a.out or elf
- eval $set_cc_for_build
- sed 's/^ //' << EOF >$dummy.c
- #include <features.h>
- #ifdef __ELF__
- # ifdef __GLIBC__
- # if __GLIBC__ >= 2
- LIBC=gnu
- # else
- LIBC=gnulibc1
- # endif
- # else
- LIBC=gnulibc1
- # endif
- #else
- #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
- LIBC=gnu
- #else
- LIBC=gnuaout
- #endif
- #endif
- #ifdef __dietlibc__
- LIBC=dietlibc
- #endif
-EOF
- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
- /^LIBC/{
- s: ::g
- p
- }'`"
- test x"${LIBC}" != x && {
- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
- exit
- }
- test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
- ;;
i*86:DYNIX/ptx:4*:*)
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
# earlier versions are messed up and put the nodename in both
@@ -1247,6 +1206,16 @@ EOF
*:Darwin:*:*)
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
case $UNAME_PROCESSOR in
+ i386)
+ eval $set_cc_for_build
+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ UNAME_PROCESSOR="x86_64"
+ fi
+ fi ;;
unknown) UNAME_PROCESSOR=powerpc ;;
esac
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
diff --git a/config.sub b/config.sub
index eb0389a..c2d1257 100755
--- a/config.sub
+++ b/config.sub
@@ -1,10 +1,10 @@
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Free Software Foundation, Inc.
-timestamp='2009-06-11'
+timestamp='2010-01-22'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@@ -32,13 +32,16 @@ timestamp='2009-06-11'
# Please send patches to <config-patches at gnu.org>. Submit a context
-# diff and a properly formatted ChangeLog entry.
+# diff and a properly formatted GNU ChangeLog entry.
#
# Configuration subroutine to validate and canonicalize a configuration type.
# Supply the specified configuration type as an argument.
# If it is invalid, we print an error message on stderr and exit with code 1.
# Otherwise, we print the canonical config type on stdout and succeed.
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
+
# This file is supposed to be the same for all GNU packages
# and recognize all the CPU types, system types and aliases
# that are meaningful with *any* GNU software.
@@ -72,8 +75,9 @@ Report bugs and patches to <config-patches at gnu.org>."
version="\
GNU config.sub ($timestamp)
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
+Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -149,7 +153,7 @@ case $os in
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
- -apple | -axis | -knuth | -cray)
+ -apple | -axis | -knuth | -cray | -microblaze)
os=
basic_machine=$1
;;
@@ -284,6 +288,7 @@ case $basic_machine in
| pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
| pyramid \
+ | rx \
| score \
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
| sh64 | sh64le \
@@ -291,13 +296,14 @@ case $basic_machine in
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
| spu | strongarm \
| tahoe | thumb | tic4x | tic80 | tron \
+ | ubicom32 \
| v850 | v850e \
| we32k \
| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
| z8k | z80)
basic_machine=$basic_machine-unknown
;;
- m6811 | m68hc11 | m6812 | m68hc12)
+ m6811 | m68hc11 | m6812 | m68hc12 | picochip)
# Motorola 68HC11/12.
basic_machine=$basic_machine-unknown
os=-none
@@ -340,7 +346,7 @@ case $basic_machine in
| lm32-* \
| m32c-* | m32r-* | m32rle-* \
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
| mips16-* \
| mips64-* | mips64el-* \
@@ -368,15 +374,17 @@ case $basic_machine in
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
| pyramid-* \
- | romp-* | rs6000-* \
+ | romp-* | rs6000-* | rx-* \
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
| sparclite-* \
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
| tahoe-* | thumb-* \
- | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
+ | tile-* | tilegx-* \
| tron-* \
+ | ubicom32-* \
| v850-* | v850e-* | vax-* \
| we32k-* \
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
@@ -726,6 +734,9 @@ case $basic_machine in
basic_machine=ns32k-utek
os=-sysv
;;
+ microblaze)
+ basic_machine=microblaze-xilinx
+ ;;
mingw32)
basic_machine=i386-pc
os=-mingw32
@@ -1076,6 +1087,11 @@ case $basic_machine in
basic_machine=tic6x-unknown
os=-coff
;;
+ # This must be matched before tile*.
+ tilegx*)
+ basic_machine=tilegx-unknown
+ os=-linux-gnu
+ ;;
tile*)
basic_machine=tile-unknown
os=-linux-gnu
@@ -1247,6 +1263,9 @@ case $os in
# First match some system type aliases
# that might get confused with valid system types.
# -solaris* is a basic system type, with this one exception.
+ -auroraux)
+ os=-auroraux
+ ;;
-solaris1 | -solaris1.*)
os=`echo $os | sed -e 's|solaris1|sunos4|'`
;;
@@ -1268,8 +1287,8 @@ case $os in
# -sysv* is not here because it comes later, after sysvr4.
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
- | -kopensolaris* \
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
+ | -sym* | -kopensolaris* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
| -aos* | -aros* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
@@ -1290,7 +1309,7 @@ case $os in
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
@@ -1423,6 +1442,8 @@ case $os in
-dicos*)
os=-dicos
;;
+ -nacl*)
+ ;;
-none)
;;
*)
diff --git a/configure.in b/configure.in
index f6b02bf..5c9245e 100644
--- a/configure.in
+++ b/configure.in
@@ -1,3 +1,8 @@
+dnl
+dnl This file was autogenerated from "configure.in.in".
+dnl Edit that file instead!
+dnl
+
dnl $Id$
dnl configure.in.in
dnl
@@ -306,7 +311,7 @@ XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.4.0])
dnl I18n support
-XDT_I18N([ar ast ca cs da de el en_GB es eu fi fr gl hu id it ja ko lt lv pl pt pt_BR ru sq sv tr uk ur ur_PK vi zh_CN zh_TW ])
+XDT_I18N([ar ast ca cs da de el en_GB es eu fi fr gl hu id it ja ko lt lv nl pl pt_BR pt ru sq sv tr uk ur_PK ur vi zh_CN zh_TW ])
dnl Check for debugging support
diff --git a/include/Makefile.am b/include/Makefile.am
index 27b1478..0662562 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -3,6 +3,7 @@
EXTRA_DIST = \
acpi.h \
hddtemp.h \
+ cpu.h \
Makefile.am \
sensors-interface-common.h \
types.h \
diff --git a/include/Makefile.in b/include/Makefile.in
index 24d3b1d..fcf7747 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -256,6 +256,7 @@ target_vendor = @target_vendor@
EXTRA_DIST = \
acpi.h \
hddtemp.h \
+ cpu.h \
Makefile.am \
sensors-interface-common.h \
types.h \
diff --git a/include/acpi.h b/include/acpi.h
index 500ff63..5be01bc 100644
--- a/include/acpi.h
+++ b/include/acpi.h
@@ -1,5 +1,5 @@
/* $Id$ */
-/* Copyright 2004-2007 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2004-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/include/configuration.h b/include/configuration.h
index 4fe2fe7..61a8477 100644
--- a/include/configuration.h
+++ b/include/configuration.h
@@ -1,7 +1,7 @@
/* $Id$ */
/* File configuration.h
*
- * Copyright 2004-2007 Fabian Nowak (timystery at arcor.de)
+ * Copyright 2004-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/include/cpu.h b/include/cpu.h
new file mode 100644
index 0000000..dbc83dc
--- /dev/null
+++ b/include/cpu.h
@@ -0,0 +1,76 @@
+/* $Id$ */
+/* Copyright 2009-2010 Fabian Nowak (timystery at arcor.de)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+/* cpu.h */
+
+#ifndef __CPU_H
+#define __CPU_H
+
+#include <gtk/gtk.h>
+#include <cairo.h>
+
+G_BEGIN_DECLS
+
+
+#define GTK_CPU(obj) GTK_CHECK_CAST(obj, gtk_cpu_get_type (), GtkCpu)
+#define GTK_CPU_CLASS(klass) GTK_CHECK_CLASS_CAST(klass, gtk_cpu_get_type(), GtkCpuClass)
+#define GTK_IS_CPU(obj) GTK_CHECK_TYPE(obj, gtk_cpu_get_type())
+
+
+#define SPACING 8
+#define DEGREE_NORMALIZATION 64
+#define THREE_QUARTER_CIRCLE 270
+#define COLOR_STEP 220 // colors range from 0 to 2^16; we want 270 colors, hence 242
+
+typedef struct _GtkCpu GtkCpu;
+typedef struct _GtkCpuClass GtkCpuClass;
+
+
+struct _GtkCpu {
+ GtkWidget widget;
+ GdkGC *gc;
+ gdouble sel;
+ gchar *text;
+ gchar *color;
+};
+
+struct _GtkCpuClass {
+ GtkWidgetClass parent_class;
+};
+
+
+GtkType gtk_cpu_get_type(void);
+//void gtk_cpu_set_sel(GtkCpu *cpu, gdouble sel);
+void gtk_cpu_set_value (GtkCpu *cpu, gdouble value);
+GtkWidget * gtk_cpu_new();
+
+/* set the text to be drawn. if NULL, no text is drawn */
+void gtk_cpu_set_text (GtkCpu *cpu, gchar *text);
+void gtk_cpu_unset_text (GtkCpu *cpu);
+
+/* set and unset the color of the text if any text is to be drawn at all */
+void gtk_cpu_set_color (GtkCpu *cpu, gchar *color);
+void gtk_cpu_unset_color (GtkCpu *cpu);
+
+void gtk_cpu_paint (GtkWidget *widget);
+
+extern gchar *font; // = NULL;
+
+G_END_DECLS
+
+#endif /* __CPU_H */
diff --git a/include/hddtemp.h b/include/hddtemp.h
index 25ca7f3..0e3cf34 100644
--- a/include/hddtemp.h
+++ b/include/hddtemp.h
@@ -1,5 +1,5 @@
/* $Id$ */
-/* Copyright 2004-2007 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2004-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/include/lmsensors.h b/include/lmsensors.h
index 3f84dd1..4a1672f 100644
--- a/include/lmsensors.h
+++ b/include/lmsensors.h
@@ -1,6 +1,6 @@
/* $Id$ */
-/* Copyright 2007,2008 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2007-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/include/middlelayer.h b/include/middlelayer.h
index e86a20f..7c22513 100644
--- a/include/middlelayer.h
+++ b/include/middlelayer.h
@@ -2,7 +2,7 @@
/*
* middlelayer.h
*
- * Copyright 2006, 2007 Fabian Nowak <timytery at arcor.de>
+ * Copyright 2006-2010 Fabian Nowak <timytery at arcor.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -23,8 +23,9 @@
#ifndef XFCE4_SENSORS_MIDDLELAYER_H
#define XFCE4_SENSORS_MIDDLELAYER_H
-/* Package/Local includes */
+/* Package/Local includes in same folder */
#include "types.h"
+#include "sensors-interface-common.h"
/* Gtk/Glib includes */
#include <glib.h>
@@ -84,7 +85,7 @@ void free_chipfeature (gpointer chipfeature, gpointer data);
/**
- * Free reamining structures in chips and associated chipfeatures
+ * Free remaining structures in chips and associated chipfeatures
*/
void free_chip (gpointer chip, gpointer data);
@@ -94,4 +95,9 @@ void free_chip (gpointer chip, gpointer data);
*/
void sensor_interface_cleanup ();
+/**
+ * Refreshes all chips at once.
+ */
+void refresh_all_chips (GPtrArray *chips, t_sensors *sensors );
+
#endif /* XFCE4_SENSORS_MIDDLELAYER_H */
diff --git a/include/sensors-interface-common.h b/include/sensors-interface-common.h
index 3f4cf59..012678f 100644
--- a/include/sensors-interface-common.h
+++ b/include/sensors-interface-common.h
@@ -1,5 +1,5 @@
/* $Id$ */
-/* Copyright 2004-2008 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2004-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -60,6 +60,12 @@ typedef struct {
} t_barpanel;
+typedef enum {
+ DISPLAY_TEXT = 1,
+ DISPLAY_BARS,
+ DISPLAY_TACHO
+} display_t;
+
/**
* Sensors module
*/
@@ -95,10 +101,13 @@ typedef struct {
gint lines_size;
/* panel orientation */
- gint orientation;
+ GtkOrientation orientation;
/* if the bars have been initialized */
gboolean bars_created;
+
+ /* if the tachos have been initialized */
+ gboolean tachos_created;
/* show title in panel */
gboolean show_title;
@@ -116,7 +125,8 @@ typedef struct {
gboolean show_colored_bars;
/* use the progress-bar UI */
- gboolean display_values_graphically;
+ //gboolean display_values_graphically;
+ display_t display_values_type;
/* suppress Hddtemp failure messages and any other messages */
gboolean suppressmessage;
@@ -135,6 +145,10 @@ typedef struct {
/* FIXME: Might be replaced by GPtrArray as well */
GtkWidget* panels[10][256];
/* GArray *panels_array; */
+
+ /* contains the tacho panels */
+ /* FIXME: Might be replaced by GPtrArray as well */
+ GtkWidget* tachos[10][256];
/* contains structure from libsensors */
/* const sensors_chip_name *chipName[SENSORS]; */
@@ -219,6 +233,8 @@ typedef struct {
GtkWidget *myTreeView;
GtkTreeStore *myListStore[10]; /* replace by GPtrArray as well */
GtkWidget *font_Box; /* used to disable font size option when using graphical view */
+ GtkWidget *fontSettings_Box;
+ GtkWidget *fontSettings_Button;
GtkWidget *unit_checkbox;
GtkWidget *Lines_Box;
GtkWidget *Lines_Spin_Box;
@@ -239,6 +255,9 @@ t_sensors_dialog;
/* Extern functions that need to be re-implemented in the sensors-viewer and
* the panel code. */
extern void
+adjustment_value_changed (GtkWidget *widget, t_sensors_dialog *sd); // for update timer box
+
+extern void
sensor_entry_changed (GtkWidget *widget, t_sensors_dialog *sd);
extern void
diff --git a/include/sensors-interface.h b/include/sensors-interface.h
index 6e5c393..4e97977 100644
--- a/include/sensors-interface.h
+++ b/include/sensors-interface.h
@@ -1,5 +1,5 @@
/* $Id$ */
-/* Copyright 2008 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2008-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -43,6 +43,8 @@ void add_temperature_unit_box (GtkWidget *vbox, t_sensors_dialog *sd);
void add_sensors_frame (GtkWidget * notebook, t_sensors_dialog * sd);
+void add_update_time_box (GtkWidget * vbox, t_sensors_dialog * sd);
+
/* Callbacks */
//void temperature_unit_change (GtkWidget *widget, t_sensors_dialog *sd);
diff --git a/include/types.h b/include/types.h
index c546c92..f700901 100644
--- a/include/types.h
+++ b/include/types.h
@@ -2,7 +2,7 @@
/*
* middlelayer.h
*
- * Copyright 2006, 2007 Fabian Nowak <timytery at arcor.de>
+ * Copyright 2006-2010 Fabian Nowak <timytery at arcor.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 9b1130e..d140b0f 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -27,6 +27,7 @@ libxfce4sensors_la_SOURCES = \
configuration.c \
sensors-interface-common.c \
sensors-interface.c \
+ cpu.c \
$(SENSORS_SOURCES) \
$(HDDTEMP_SOURCES) \
$(ACPI_SOURCES)
diff --git a/lib/Makefile.in b/lib/Makefile.in
index 5fe14d2..d6873ed 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -64,16 +64,17 @@ LTLIBRARIES = $(plugin_LTLIBRARIES)
am__DEPENDENCIES_1 =
libxfce4sensors_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
am__libxfce4sensors_la_SOURCES_DIST = middlelayer.c configuration.c \
- sensors-interface-common.c sensors-interface.c lmsensors.c \
- hddtemp.c acpi.c
+ sensors-interface-common.c sensors-interface.c cpu.c \
+ lmsensors.c hddtemp.c acpi.c
@HAVE_LIBSENSORS_TRUE at am__objects_1 = libxfce4sensors_la-lmsensors.lo
@HAVE_HDDTEMP_TRUE at am__objects_2 = libxfce4sensors_la-hddtemp.lo
@HAVE_ACPI_TRUE at am__objects_3 = libxfce4sensors_la-acpi.lo
am_libxfce4sensors_la_OBJECTS = libxfce4sensors_la-middlelayer.lo \
libxfce4sensors_la-configuration.lo \
libxfce4sensors_la-sensors-interface-common.lo \
- libxfce4sensors_la-sensors-interface.lo $(am__objects_1) \
- $(am__objects_2) $(am__objects_3)
+ libxfce4sensors_la-sensors-interface.lo \
+ libxfce4sensors_la-cpu.lo $(am__objects_1) $(am__objects_2) \
+ $(am__objects_3)
libxfce4sensors_la_OBJECTS = $(am_libxfce4sensors_la_OBJECTS)
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
@@ -312,6 +313,7 @@ libxfce4sensors_la_SOURCES = \
configuration.c \
sensors-interface-common.c \
sensors-interface.c \
+ cpu.c \
$(SENSORS_SOURCES) \
$(HDDTEMP_SOURCES) \
$(ACPI_SOURCES)
@@ -435,6 +437,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libxfce4sensors_la-acpi.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libxfce4sensors_la-configuration.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libxfce4sensors_la-cpu.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libxfce4sensors_la-hddtemp.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libxfce4sensors_la-lmsensors.Plo at am__quote@
@AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libxfce4sensors_la-middlelayer.Plo at am__quote@
@@ -490,6 +493,13 @@ libxfce4sensors_la-sensors-interface.lo: sensors-interface.c
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfce4sensors_la_CFLAGS) $(CFLAGS) -c -o libxfce4sensors_la-sensors-interface.lo `test -f 'sensors-interface.c' || echo '$(srcdir)/'`sensors-interface.c
+libxfce4sensors_la-cpu.lo: cpu.c
+ at am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfce4sensors_la_CFLAGS) $(CFLAGS) -MT libxfce4sensors_la-cpu.lo -MD -MP -MF "$(DEPDIR)/libxfce4sensors_la-cpu.Tpo" -c -o libxfce4sensors_la-cpu.lo `test -f 'cpu.c' || echo '$(srcdir)/'`cpu.c; \
+ at am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libxfce4sensors_la-cpu.Tpo" "$(DEPDIR)/libxfce4sensors_la-cpu.Plo"; else rm -f "$(DEPDIR)/libxfce4sensors_la-cpu.Tpo"; exit 1; fi
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='cpu.c' object='libxfce4sensors_la-cpu.lo' libtool=yes @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfce4sensors_la_CFLAGS) $(CFLAGS) -c -o libxfce4sensors_la-cpu.lo `test -f 'cpu.c' || echo '$(srcdir)/'`cpu.c
+
libxfce4sensors_la-lmsensors.lo: lmsensors.c
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libxfce4sensors_la_CFLAGS) $(CFLAGS) -MT libxfce4sensors_la-lmsensors.lo -MD -MP -MF "$(DEPDIR)/libxfce4sensors_la-lmsensors.Tpo" -c -o libxfce4sensors_la-lmsensors.lo `test -f 'lmsensors.c' || echo '$(srcdir)/'`lmsensors.c; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libxfce4sensors_la-lmsensors.Tpo" "$(DEPDIR)/libxfce4sensors_la-lmsensors.Plo"; else rm -f "$(DEPDIR)/libxfce4sensors_la-lmsensors.Tpo"; exit 1; fi
diff --git a/lib/acpi.c b/lib/acpi.c
index 33c485e..2bb50eb 100644
--- a/lib/acpi.c
+++ b/lib/acpi.c
@@ -1,5 +1,5 @@
/* $Id$ */
-/* Copyright 2004-2007 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2004-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -620,7 +620,7 @@ acpi_ignore_directory_entry (struct dirent *de)
char *
-get_acpi_info ()
+get_acpi_info (void)
{
char *filename, *version;
@@ -682,7 +682,7 @@ get_acpi_value (char *filename)
if (!file)
return NULL;
- (void) fgets (buf, 1024, file);
+ p = fgets (buf, 1024, file);
fclose (file);
p = strip_key_colon_spaces (buf);
diff --git a/lib/configuration.c b/lib/configuration.c
index e98be05..18101b7 100644
--- a/lib/configuration.c
+++ b/lib/configuration.c
@@ -1,7 +1,7 @@
/* $Id$ */
/* File configuration.c
*
- * Copyright 2004-2007 Fabian Nowak (timystery at arcor.de)
+ * Copyright 2004-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -95,7 +95,7 @@ sensors_write_config (XfcePanelPlugin *plugin, t_sensors *sensors)
xfce_rc_write_bool_entry (rc, "Show_Labels", sensors->show_labels);
- xfce_rc_write_bool_entry (rc, "Use_Bar_UI", sensors->display_values_graphically);
+ xfce_rc_write_int_entry (rc, "Use_Bar_UI", sensors->display_values_type);
xfce_rc_write_bool_entry (rc, "Show_Colored_Bars", sensors->show_colored_bars);
@@ -199,7 +199,7 @@ sensors_read_general_config (XfceRc *rc, t_sensors *sensors)
sensors->show_labels = xfce_rc_read_bool_entry (rc, "Show_Labels", TRUE);
- sensors->display_values_graphically = xfce_rc_read_bool_entry (rc, "Use_Bar_UI", FALSE);
+ sensors->display_values_type = xfce_rc_read_int_entry (rc, "Use_Bar_UI", 0);
sensors->show_colored_bars = xfce_rc_read_bool_entry (rc, "Show_Colored_Bars", FALSE);
diff --git a/lib/cpu.c b/lib/cpu.c
new file mode 100644
index 0000000..2cf40da
--- /dev/null
+++ b/lib/cpu.c
@@ -0,0 +1,475 @@
+/* $Id$ */
+/* Copyright 2009-2010 Fabian Nowak (timystery at arcor.de)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+/* cpu.c */
+
+#include <math.h>
+#include <gdk/gdk.h>
+#include <glib/gprintf.h>
+
+/* Package includes */
+#include <cpu.h>
+#include <types.h>
+
+#define DEFAULT_HEIGHT 100
+#define DEFAULT_WIDTH 100
+
+#define min(a,b) a<b? a : b
+
+/* forward declarations that are not published in the header
+ * and only meant for internal access. */
+static void gtk_cpu_class_init(GtkCpuClass *klass);
+static void gtk_cpu_init(GtkCpu *cpu);
+static void gtk_cpu_size_request(GtkWidget *widget,
+ GtkRequisition *requisition);
+static void gtk_cpu_size_allocate(GtkWidget *widget,
+ GtkAllocation *allocation);
+static void gtk_cpu_realize(GtkWidget *widget);
+static gboolean gtk_cpu_expose(GtkWidget *widget,
+ GdkEventExpose *event);
+//static void gtk_cpu_paint(GtkWidget *widget);
+static void gtk_cpu_destroy(GtkObject *object);
+
+
+//extern gchar *font;
+gchar *font;
+
+
+GtkType
+gtk_cpu_get_type(void)
+{
+ static GtkType gtk_cpu_type = 0;
+ TRACE("enter gtk_cpu_get_type\n");
+
+ if (!gtk_cpu_type) {
+ static const GtkTypeInfo gtk_cpu_info = {
+ "GtkCpu",
+ sizeof(GtkCpu),
+ sizeof(GtkCpuClass),
+ (GtkClassInitFunc) gtk_cpu_class_init,
+ (GtkObjectInitFunc) gtk_cpu_init,
+ NULL,
+ NULL,
+ (GtkClassInitFunc) NULL
+ };
+ gtk_cpu_type = gtk_type_unique(GTK_TYPE_WIDGET, >k_cpu_info);
+ }
+
+ TRACE("leave gtk_cpu_get_type\n");
+ return gtk_cpu_type;
+}
+
+/* this function implementation does not clean the drawable! */
+/*
+void
+gtk_cpu_set_state (GtkCpu *cpu, gdouble num)
+{
+ cpu->sel = num;
+ gtk_cpu_paint(GTK_WIDGET(cpu));
+}
+*/
+
+void
+gtk_cpu_set_text (GtkCpu *cpu, gchar *text)
+{
+ if (text==NULL) {
+ gtk_cpu_unset_text(cpu);
+ return;
+ }
+ else if (cpu->text!=NULL)
+ {
+ //g_free (cpu->text);
+ }
+
+ cpu->text = g_strdup(text);
+ gtk_cpu_paint(GTK_WIDGET(cpu));
+}
+
+
+void
+gtk_cpu_unset_text (GtkCpu *cpu)
+{
+ if (cpu->text!=NULL)
+ g_free (cpu->text);
+
+ cpu->text = NULL;
+ gtk_cpu_paint(GTK_WIDGET(cpu));
+}
+
+
+GtkWidget * gtk_cpu_new(void)
+{
+ TRACE("enter gtk_cpu_new\n");
+ return GTK_WIDGET(gtk_type_new(gtk_cpu_get_type()));
+}
+
+
+void gtk_cpu_set_color (GtkCpu *cpu, gchar *color)
+{
+ if (color==NULL) {
+ gtk_cpu_unset_color(cpu);
+ return;
+ }
+ else if (cpu->color!=NULL)
+ g_free(cpu->color);
+
+ cpu->color = g_strdup(color);
+ gtk_cpu_paint(GTK_WIDGET(cpu));
+}
+
+
+void gtk_cpu_unset_color (GtkCpu *cpu)
+{
+ if (cpu->color!=NULL)
+ g_free (cpu->color);
+
+ cpu->color = g_strdup("#000000");
+ gtk_cpu_paint(GTK_WIDGET(cpu));
+}
+
+
+static void
+gtk_cpu_class_init (GtkCpuClass *klass)
+{
+ GtkWidgetClass *widget_class;
+ GtkObjectClass *object_class;
+ TRACE("enter gtk_cpu_class_init\n");
+
+
+ widget_class = (GtkWidgetClass *) klass;
+ object_class = (GtkObjectClass *) klass;
+
+ widget_class->realize = gtk_cpu_realize;
+ widget_class->size_request = gtk_cpu_size_request;
+ widget_class->size_allocate = gtk_cpu_size_allocate;
+ widget_class->expose_event = gtk_cpu_expose;
+
+ object_class->destroy = gtk_cpu_destroy;
+
+ font = g_strdup("Sans 12");
+ TRACE("leave gtk_cpu_class_init\n");
+}
+
+
+static void
+gtk_cpu_init (GtkCpu *cpu)
+{
+ TRACE("enter gtk_cpu_init\n");
+ cpu->gc = NULL; /* can't allocate a valid GC because GtkWidget is not yet allocated */
+ cpu->sel = 0.0;
+ cpu->text = NULL;
+ cpu->color = g_strdup("#000000");
+ TRACE("leave gtk_cpu_init\n");
+}
+
+
+static void
+gtk_cpu_size_request (GtkWidget *widget, GtkRequisition *requisition)
+{
+ TRACE("enter gtk_cpu_size_request\n");
+ g_return_if_fail(widget != NULL);
+ g_return_if_fail(GTK_IS_CPU(widget));
+ g_return_if_fail(requisition != NULL);
+
+ /* dynamic changes that scale the originally drawn picture accordingly */
+ /* set the ratio, but actually this is not needed */
+ requisition->width = DEFAULT_WIDTH;
+ requisition->height = DEFAULT_HEIGHT;
+ TRACE("leave gtk_cpu_size_request\n");
+}
+
+
+static void
+gtk_cpu_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
+{
+ int minwh;
+
+ TRACE("enter gtk_cpu_size_allocate\n");
+ DBG ("width x height = %d x %d\n", allocation->width, allocation->height);
+ g_return_if_fail(widget != NULL);
+ g_return_if_fail(GTK_IS_CPU(widget));
+ g_return_if_fail(allocation != NULL);
+
+ minwh = min(allocation->width, allocation->height);
+
+ allocation->width = minwh;
+ allocation->height = minwh;
+ DBG ("width x height = %d x %d\n", allocation->width, allocation->height);
+ widget->allocation = *allocation;
+
+ if (GTK_WIDGET_REALIZED(widget)) {
+ gdk_window_move_resize(
+ widget->window,
+ allocation->x, allocation->y,
+ minwh, minwh // determines width and height of the drawn area
+ );
+ }
+ DBG ("width x height = %d x %d\n", widget->allocation.width, widget->allocation.height);
+ TRACE("leave gtk_cpu_size_allocate\n");
+}
+
+
+static void
+gtk_cpu_realize (GtkWidget *widget)
+{
+ GdkWindowAttr attributes;
+ guint attributes_mask;
+ int minwh;
+ TRACE("enter gtk_cpu_realize\n");
+
+ g_return_if_fail(widget != NULL);
+ g_return_if_fail(GTK_IS_CPU(widget));
+
+ GTK_WIDGET_SET_FLAGS(widget, GTK_REALIZED);
+
+ attributes.window_type = GDK_WINDOW_CHILD;
+ attributes.x = widget->allocation.x;
+ attributes.y = widget->allocation.y;
+
+ /* define the minimum size; otherwise the area is not painted in the beginning */
+ /* need square drawable area */
+ minwh = min (widget->allocation.width, widget->allocation.height);
+ attributes.width = minwh; // DEFAULT_WIDTH;
+ attributes.height = minwh; //DEFAULT_HEIGHT;
+
+ attributes.wclass = GDK_INPUT_OUTPUT;
+ attributes.event_mask = gtk_widget_get_events(widget) | GDK_EXPOSURE_MASK;
+
+ attributes_mask = GDK_WA_X | GDK_WA_Y;
+
+ widget->window = gdk_window_new(
+ gtk_widget_get_parent_window (widget),
+ & attributes, attributes_mask
+ );
+
+ gdk_window_set_user_data(widget->window, widget);
+
+ widget->style = gtk_style_attach(widget->style, widget->window);
+ gtk_style_set_background(widget->style, widget->window, GTK_STATE_NORMAL);
+ TRACE("leave gtk_cpu_realize\n");
+}
+
+
+static gboolean
+gtk_cpu_expose(GtkWidget *widget, GdkEventExpose *event)
+{
+ TRACE("enter gtk_cpu_expose\n");
+ DBG("event: %d\n", event->type);
+ g_return_val_if_fail(widget != NULL, FALSE);
+ g_return_val_if_fail(GTK_IS_CPU(widget), FALSE);
+ g_return_val_if_fail(event != NULL, FALSE);
+
+ gtk_cpu_paint(widget);
+
+ TRACE("leave gtk_cpu_expose\n");
+ return FALSE;
+}
+
+
+void
+gtk_cpu_paint (GtkWidget *widget)
+{
+ gchar *text;
+ GdkGC *gc;
+ GdkColor *color;
+ int i;
+ double percent;
+ PangoFontDescription *desc ;
+
+ TRACE("enter gtk_cpu_paint\n");
+
+ DBG ("Widget=0x%X, Window=0x%X\n", (unsigned int) widget, (unsigned int) widget->window);
+
+ if (GTK_CPU(widget)->gc==NULL)
+ {
+ if (widget->window==NULL) /* safety checks to circumvent assertion failures when creating graphics contect */
+ return;
+
+ GTK_CPU(widget)->gc = gdk_gc_new(widget->window);
+ }
+
+ gc = GTK_CPU(widget)->gc;
+
+ color = g_new0(GdkColor, 1);
+
+ percent = GTK_CPU(widget)->sel; // *((double *) data);
+ if (percent>1.0)
+ percent = 1.0;
+
+ //~ double d;
+ DBG ("width x height = %d x %d\n", widget->allocation.width, widget->allocation.height);
+
+ /* black border */
+ gdk_gc_set_rgb_fg_color(gc, color);
+ gdk_draw_arc (widget->window,
+ gc, //drawable->style->fg_gc[GTK_STATE_PRELIGHT],
+ TRUE,
+ 0, 0,
+ widget->allocation.width, widget->allocation.height,
+ -45 * DEGREE_NORMALIZATION, THREE_QUARTER_CIRCLE * DEGREE_NORMALIZATION);
+
+ /* white right part */
+ color->red = 65535;
+ color->green = 65535; //0.5 * COLOR_STEP*THREE_QUARTER_CIRCLE;
+ color->blue = 65535;
+ gdk_gc_set_rgb_fg_color(gc, color);
+ gdk_draw_arc (widget->window,
+ gc, //drawable->style->fg_gc[GTK_STATE_PRELIGHT],
+ TRUE,
+ 1, 1,
+ widget->allocation.width-2, widget->allocation.height-2,
+ -45 * DEGREE_NORMALIZATION, THREE_QUARTER_CIRCLE * DEGREE_NORMALIZATION);
+
+ /* define color for gradient */
+ color->red = COLOR_STEP*THREE_QUARTER_CIRCLE;
+ color->green = 0; //0.5 * COLOR_STEP*THREE_QUARTER_CIRCLE;
+ color->blue = 16384;
+
+ /* initialize color values appropriately */
+
+ for (i=0; i<=(1-percent)*THREE_QUARTER_CIRCLE; i++)
+ {
+ if (i<(0.5*THREE_QUARTER_CIRCLE - 1))
+ color->green += 2*COLOR_STEP;
+ //else
+ //color->green -= 0.5*COLOR_STEP;
+
+ if (i>(0.5*THREE_QUARTER_CIRCLE - 1))
+ color->red -= 2*COLOR_STEP;
+ //else
+ //color->red += 0.5*COLOR_STEP;
+ }
+
+ /* draw circular gradient */
+ for (i=(1-percent)*THREE_QUARTER_CIRCLE; i<THREE_QUARTER_CIRCLE; i++)
+ {
+
+ gdk_gc_set_rgb_fg_color(gc, color);
+ gdk_draw_arc (widget->window,
+ gc, //drawable->style->fg_gc[GTK_STATE_PRELIGHT],
+ TRUE,
+ 1, 1,
+ widget->allocation.width-2, widget->allocation.height-2,
+ (i-45) * DEGREE_NORMALIZATION, DEGREE_NORMALIZATION);
+
+ if (i<(0.5*THREE_QUARTER_CIRCLE - 1))
+ color->green += 2*COLOR_STEP;
+ //else
+ //color->green -= 0.5*COLOR_STEP;
+
+ if (i>(0.5*THREE_QUARTER_CIRCLE - 1))
+ color->red -= 2*COLOR_STEP;
+ //else
+ //color->red += 0.5*COLOR_STEP;
+
+ }
+
+ /* draw closing black lines */
+ color->green=0;
+ color->red=0;
+ color->blue=0;
+ gdk_gc_set_rgb_fg_color(gc, color);
+ gdk_draw_line (widget->window,
+ gc, //drawable->style->fg_gc[GTK_STATE_PRELIGHT],
+ 0.5*widget->allocation.width, 0.5*widget->allocation.height,
+ 0.5*(1+sin(M_PI_4))*widget->allocation.width, 0.5*(1+sin(M_PI_4))*widget->allocation.height);
+
+ gdk_draw_line (widget->window,
+ gc, //drawable->style->fg_gc[GTK_STATE_PRELIGHT],
+ 0.5*widget->allocation.width, 0.5*widget->allocation.height,
+ 0.5*(1-sin(M_PI_4))*widget->allocation.width, 0.5*(1+sin(M_PI_4))*widget->allocation.height);
+
+ if (GTK_CPU(widget)->text!=NULL)
+ {
+
+ PangoContext *context = gtk_widget_get_pango_context (widget); // pango_context_new ();
+ PangoLayout *layout = pango_layout_new (context);
+
+ pango_layout_set_alignment(layout, PANGO_ALIGN_CENTER);
+ pango_layout_set_width (layout, widget->allocation.width);
+
+ text = g_strdup_printf("<span color=\"%s\">%s</span>", GTK_CPU(widget)->color, GTK_CPU(widget)->text);
+ pango_layout_set_markup (layout, text, -1); // with null-termination, no need to give length explicitly
+
+ desc = pango_font_description_from_string(font); //pango_font_description_new ();
+ if (desc==NULL)
+ desc = pango_font_description_new ();
+ pango_layout_set_font_description (layout, desc);
+
+ gdk_draw_layout (widget->window, gc, 0.5*widget->allocation.width, 0.4*widget->allocation.height, layout);
+
+ g_free (text);
+
+ }
+
+ g_free (color);
+ TRACE("leave gtk_cpu_paint\n");
+}
+
+
+static void
+gtk_cpu_destroy (GtkObject *object)
+{
+ GtkCpu *cpu;
+ GtkCpuClass *klass;
+ TRACE("enter gtk_cpu_destroy\n");
+
+ g_return_if_fail(object != NULL);
+ g_return_if_fail(GTK_IS_CPU(object));
+
+ cpu = GTK_CPU(object);
+
+ if (cpu->text!=NULL)
+ {
+ g_free (cpu->text);
+ cpu->text = NULL;
+ }
+
+ if (cpu->color!=NULL)
+ {
+ g_free (cpu->color);
+ cpu->color = NULL;
+ }
+
+ klass = gtk_type_class(gtk_widget_get_type());
+
+ if (GTK_OBJECT_CLASS(klass)->destroy) {
+ (* GTK_OBJECT_CLASS(klass)->destroy) (object);
+ }
+ TRACE("leave gtk_cpu_destroy\n");
+}
+
+
+void
+gtk_cpu_set_value (GtkCpu *cpu, gdouble value)
+{
+ TRACE("enter gtk_cpu_set_value\n");
+ //GdkRegion *region;
+ if (value<0)
+ value = 0.0;
+ else if (value>1.0)
+ value = 1.0;
+
+ cpu->sel = value;
+
+ //region = gdk_drawable_get_clip_region (GTK_WIDGET(cpu)->window);
+ //gdk_window_invalidate_region (GTK_WIDGET(cpu)->window, region, TRUE);
+ //gdk_window_process_updates (GTK_WIDGET(cpu)->window, TRUE);
+ gtk_cpu_paint(GTK_WIDGET(cpu));
+ TRACE("leave gtk_cpu_set_value\n");
+}
diff --git a/lib/hddtemp.c b/lib/hddtemp.c
index 138ef86..d7ac69e 100644
--- a/lib/hddtemp.c
+++ b/lib/hddtemp.c
@@ -1,5 +1,5 @@
/* $Id$ */
-/* Copyright 2004-2007 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2004-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -70,6 +70,15 @@
# define SINGLE_DELIMITER "|"
#endif
+/* forward declaration for GCC 4.3 -Wall */
+
+void notification_suppress_messages (NotifyNotification *n, gchar *action, gpointer *data);
+void quick_message_notify (gchar *message);
+void quick_message (gchar *message);
+void read_disks_netcat (t_chip *chip);
+void remove_unmonitored_drives (t_chip *chip, gboolean *suppressmessage);
+void populate_detected_drives (t_chip *chip);
+
#ifdef HAVE_LIBNOTIFY
void
notification_suppress_messages (NotifyNotification *n, gchar *action, gpointer *data)
@@ -80,7 +89,6 @@ notification_suppress_messages (NotifyNotification *n, gchar *action, gpointer *
/* FIXME: Use channels or propagate private object or use static global variable */
}
-
void quick_message_notify (gchar *message)
{
NotifyNotification *nn;
@@ -180,6 +188,7 @@ void quick_message (gchar *message)
#ifdef HAVE_NETCAT
+
void
read_disks_netcat (t_chip *chip)
{
@@ -204,7 +213,7 @@ read_disks_netcat (t_chip *chip)
tmp = str_split (stdoutput, DOUBLE_DELIMITER);
do {
//g_printf ("Found token: %s\n", tmp);
- cf = g_new(t_chipfeature, 1);
+ cf = g_new0(t_chipfeature, 1);
tmp2 = g_strdup (tmp);
tmp3 = strtok (tmp2, SINGLE_DELIMITER);
@@ -377,7 +386,7 @@ initialize_hddtemp (GPtrArray *chips, gboolean *suppressmessage)
TRACE ("enters initialize_hddtemp");
- chip = g_new (t_chip, 1);
+ chip = g_new0 (t_chip, 1);
/* chip->chip_name = (const sensors_chip_name *)
( _("Hard disks"), 0, 0, _("Hard disks") ); */
diff --git a/lib/helpers.c b/lib/helpers.c
index 377aa14..4b1010b 100644
--- a/lib/helpers.c
+++ b/lib/helpers.c
@@ -1,6 +1,6 @@
/* $Id$ */
-/* Copyright 2008 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2008-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -24,13 +24,18 @@
#include <stdlib.h>
#include <string.h>
+/* forward declarations for GCC 4.3 -Wall */
+void * memset2 (void *s, char c, size_t n);
+char * str_split (char *string, char *delim);
+
+
/**
* This function behaves exactly as memset.
* Memset is broken; it fails when writing an arbitrary number of chars to a valid pointer.
*/
void *memset2 (void *s, char c, size_t n)
{
- int i;
+ unsigned int i;
char *p;
if (s==NULL)
diff --git a/lib/lmsensors.c b/lib/lmsensors.c
index f359314..de90a53 100644
--- a/lib/lmsensors.c
+++ b/lib/lmsensors.c
@@ -1,6 +1,6 @@
/* $Id$ */
-/* Copyright 2007,2008 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2007-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -40,6 +40,13 @@
#include <stdio.h>
#include <string.h>
+/* internal forward declaration so that GCC 4.4 does not complain */
+t_chip * setup_chip (GPtrArray *chips, const sensors_chip_name *name, int num_sensorchips);
+void categorize_sensor_type_libsensors4 (t_chipfeature *chipfeature, const sensors_feature *feature, const sensors_chip_name *name, int number);
+void setup_chipfeature_common (t_chipfeature *chipfeature, int number, double sensorFeature);
+void setup_chipfeature_libsensors4 (t_chipfeature *chipfeature, const sensors_feature *feature, int number, double sensorFeature, const sensors_chip_name *name);
+t_chipfeature * find_chipfeature (const sensors_chip_name *name, t_chip *chip, const sensors_feature *feature);
+
/* Unused
int get_number_chip_features (const sensors_chip_name *name)
{
diff --git a/lib/middlelayer.c b/lib/middlelayer.c
index dae6dcd..6595515 100644
--- a/lib/middlelayer.c
+++ b/lib/middlelayer.c
@@ -2,7 +2,7 @@
/*
* middlelayer.c
*
- * Copyright 2006, 2007 Fabian Nowak <timytery at arcor.de>
+ * Copyright 2006-2010 Fabian Nowak <timytery at arcor.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -233,21 +233,20 @@ free_chip (gpointer chip, gpointer data)
g_free (c->sensorId);
g_free (c->description);
- #ifdef HAVE_LIBSENSORS
+#ifdef HAVE_LIBSENSORS
if (c->type==LMSENSOR) {
free_lmsensors_chip (chip);
}
- #endif
+#endif
/* g_free (c->chip_name); */ /* is a _copied_ structure of libsensors */
g_ptr_array_foreach (c->chip_features, free_chipfeature, NULL);
g_ptr_array_free (c->chip_features, TRUE);
}
-void
-sensor_interface_cleanup()
+void sensor_interface_cleanup (void)
{
- #ifdef HAVE_LIBSENSORS
+#ifdef HAVE_LIBSENSORS
sensors_cleanup();
- #endif
+#endif
}
diff --git a/lib/sensors-interface-common.c b/lib/sensors-interface-common.c
index 0e35904..b3e2234 100644
--- a/lib/sensors-interface-common.c
+++ b/lib/sensors-interface-common.c
@@ -1,5 +1,5 @@
/* $Id$ */
-/* Copyright 2004-2008 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2004-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,6 +31,7 @@
#include <configuration.h>
#include <sensors-interface-common.h>
#include <middlelayer.h>
+#include <cpu.h>
t_sensors *
sensors_new (XfcePanelPlugin *plugin, gchar *plugin_config_file)
@@ -97,7 +98,7 @@ sensors_init_default_values (t_sensors *sensors, XfcePanelPlugin *plugin)
sensors->show_title = TRUE;
sensors->show_labels = TRUE;
- sensors->display_values_graphically = FALSE;
+ sensors->display_values_type = DISPLAY_TEXT;
sensors->bars_created = FALSE;
sensors->font_size = "medium";
sensors->font_size_numerical = 2;
@@ -122,6 +123,8 @@ sensors_init_default_values (t_sensors *sensors, XfcePanelPlugin *plugin)
sensors->show_smallspacings = FALSE;
+ font = NULL;
+
TRACE ("leaves sensors_init_default_values");
}
diff --git a/lib/sensors-interface.c b/lib/sensors-interface.c
index 23063c0..6f32e87 100644
--- a/lib/sensors-interface.c
+++ b/lib/sensors-interface.c
@@ -1,5 +1,5 @@
/* $Id$ */
-/* Copyright 2008 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2008-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -41,6 +41,8 @@
#include <sensors-interface.h>
#include <middlelayer.h>
+/* forward declaration to not make gcc 4.3 -Wall complain */
+void produce_min_max_values (t_chipfeature *chipfeature, t_tempscale scale, float *minval, float *maxval);
/*
* Tooltips to display for any part of this plugin
@@ -121,7 +123,7 @@ fill_gtkTreeStore (GtkTreeStore *model, t_chip *chip, t_tempscale scale, t_senso
chipfeature->raw_value = sensorFeature;
gtk_tree_store_append (model, iter, NULL);
- if (sd->plugin_dialog)
+ //if (sd->plugin_dialog)
gtk_tree_store_set ( model, iter,
0, chipfeature->name,
1, chipfeature->formatted_value,
@@ -130,13 +132,13 @@ fill_gtkTreeStore (GtkTreeStore *model, t_chip *chip, t_tempscale scale, t_senso
4, minval,
5, maxval,
-1);
- else
- gtk_tree_store_set ( model, iter,
- 0, chipfeature->name,
- 1, chipfeature->formatted_value,
- 2, minval,
- 3, maxval,
- -1);
+ //else
+ //gtk_tree_store_set ( model, iter,
+ //0, chipfeature->name,
+ //1, chipfeature->formatted_value,
+ //2, minval,
+ //3, maxval,
+ //-1);
} /* end if sensors-valid */
/* g_free(iter); ??? */
}
@@ -202,6 +204,42 @@ add_type_box (GtkWidget * vbox, t_sensors_dialog * sd)
}
+
+void
+add_update_time_box (GtkWidget * vbox, t_sensors_dialog * sd)
+{
+ GtkWidget *spinner, *myLabel, *myBox;
+ GtkAdjustment *spinner_adj;
+
+ TRACE ("enters add_update_time_box");
+
+ spinner_adj = (GtkAdjustment *) gtk_adjustment_new (
+/* TODO: restore original */
+ sd->sensors->sensors_refresh_time, 1.0, 990.0, 1.0, 60.0, 0.0);
+
+ /* creates the spinner, with no decimal places */
+ spinner = gtk_spin_button_new (spinner_adj, 10.0, 0);
+
+ myLabel = gtk_label_new_with_mnemonic ( _("U_pdate interval (seconds):"));
+ gtk_label_set_mnemonic_widget (GTK_LABEL(myLabel), spinner);
+
+ myBox = gtk_hbox_new(FALSE, BORDER);
+
+ gtk_box_pack_start (GTK_BOX (myBox), myLabel, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (myBox), spinner, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (vbox), myBox, FALSE, FALSE, 0);
+
+ gtk_widget_show (myLabel);
+ gtk_widget_show (spinner);
+ gtk_widget_show (myBox);
+
+ g_signal_connect (G_OBJECT (spinner_adj), "value_changed",
+ G_CALLBACK (adjustment_value_changed), sd );
+
+ TRACE ("leaves add_update_time_box");
+}
+
+
void
add_sensor_settings_box ( GtkWidget * vbox, t_sensors_dialog * sd)
{
@@ -219,14 +257,16 @@ add_sensor_settings_box ( GtkWidget * vbox, t_sensors_dialog * sd)
( GTK_TREE_MODEL ( sd->myListStore[ gtk_combo_box_active ] ) );
myCellRendererText = gtk_cell_renderer_text_new ();
- if (sd->plugin_dialog)
+ //if (sd->plugin_dialog)
g_object_set ( (gpointer*) myCellRendererText, "editable", TRUE, NULL );
aTreeViewColumn = gtk_tree_view_column_new_with_attributes (_("Name"),
myCellRendererText, "text", 0, NULL);
- if (sd->plugin_dialog)
+
+ //if (sd->plugin_dialog)
g_signal_connect (G_OBJECT (myCellRendererText), "edited",
G_CALLBACK (list_cell_text_edited), sd);
+
gtk_tree_view_column_set_expand (aTreeViewColumn, TRUE);
gtk_tree_view_append_column (GTK_TREE_VIEW (sd->myTreeView),
GTK_TREE_VIEW_COLUMN (aTreeViewColumn));
@@ -237,8 +277,8 @@ add_sensor_settings_box ( GtkWidget * vbox, t_sensors_dialog * sd)
gtk_tree_view_append_column (GTK_TREE_VIEW (sd->myTreeView),
GTK_TREE_VIEW_COLUMN (aTreeViewColumn));
- if (sd->plugin_dialog)
- {
+ //if (sd->plugin_dialog)
+ //{
myCellRendererToggle = gtk_cell_renderer_toggle_new();
aTreeViewColumn = gtk_tree_view_column_new_with_attributes (_("Show"),
myCellRendererToggle, "active", 2, NULL);
@@ -255,37 +295,37 @@ add_sensor_settings_box ( GtkWidget * vbox, t_sensors_dialog * sd)
G_CALLBACK (list_cell_color_edited), sd);
gtk_tree_view_append_column (GTK_TREE_VIEW (sd->myTreeView),
GTK_TREE_VIEW_COLUMN (aTreeViewColumn));
- }
+ //}
myCellRendererText = gtk_cell_renderer_text_new ();
- if (sd->plugin_dialog)
- {
+ //if (sd->plugin_dialog)
+ //{
g_object_set ( (gpointer*) myCellRendererText, "editable", TRUE, NULL );
aTreeViewColumn = gtk_tree_view_column_new_with_attributes
(_("Min"), myCellRendererText, "text", 4, NULL);
g_signal_connect(G_OBJECT(myCellRendererText), "edited",
G_CALLBACK(minimum_changed), sd);
- }
- else
- aTreeViewColumn = gtk_tree_view_column_new_with_attributes
- (_("Min"), myCellRendererText, "text", 2, NULL);
+ //}
+ //else
+ //aTreeViewColumn = gtk_tree_view_column_new_with_attributes
+ //(_("Min"), myCellRendererText, "text", 2, NULL);
gtk_tree_view_append_column(GTK_TREE_VIEW(sd->myTreeView),
GTK_TREE_VIEW_COLUMN(aTreeViewColumn));
myCellRendererText = gtk_cell_renderer_text_new ();
- if (sd->plugin_dialog)
- {
+ //if (sd->plugin_dialog)
+ //{
g_object_set ( (gpointer*) myCellRendererText, "editable", TRUE, NULL );
aTreeViewColumn = gtk_tree_view_column_new_with_attributes
(_("Max"), myCellRendererText, "text", 5, NULL);
g_signal_connect(G_OBJECT(myCellRendererText), "edited",
G_CALLBACK(maximum_changed), sd);
- }
- else
- aTreeViewColumn = gtk_tree_view_column_new_with_attributes
- (_("Max"), myCellRendererText, "text", 3, NULL);
+ //}
+ //else
+ //aTreeViewColumn = gtk_tree_view_column_new_with_attributes
+ //(_("Max"), myCellRendererText, "text", 3, NULL);
gtk_tree_view_append_column(GTK_TREE_VIEW(sd->myTreeView),
GTK_TREE_VIEW_COLUMN(aTreeViewColumn));
@@ -392,14 +432,14 @@ init_widgets (t_sensors_dialog *sd)
sensors = sd->sensors;
for (chipindex=0; chipindex < sensors->num_sensorchips; chipindex++) {
- if (sd->plugin_dialog)
+ //if (sd->plugin_dialog)
sd->myListStore[chipindex] = gtk_tree_store_new (6, G_TYPE_STRING,
G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_STRING,
G_TYPE_FLOAT, G_TYPE_FLOAT);
- else
- sd->myListStore[chipindex] = gtk_tree_store_new (4, G_TYPE_STRING,
- G_TYPE_STRING,
- G_TYPE_FLOAT, G_TYPE_FLOAT);
+ //else
+ //sd->myListStore[chipindex] = gtk_tree_store_new (4, G_TYPE_STRING,
+ //G_TYPE_STRING,
+ //G_TYPE_FLOAT, G_TYPE_FLOAT);
chip = (t_chip *) g_ptr_array_index (sensors->chips, chipindex);
gtk_combo_box_append_text ( GTK_COMBO_BOX(sd->myComboBox),
@@ -414,16 +454,16 @@ init_widgets (t_sensors_dialog *sd)
g_assert (chip!=NULL);
gtk_combo_box_append_text ( GTK_COMBO_BOX(sd->myComboBox),
chip->sensorId );
- if (sd->plugin_dialog)
+ //if (sd->plugin_dialog)
sd->myListStore[0] = gtk_tree_store_new (6, G_TYPE_STRING,
G_TYPE_STRING, G_TYPE_BOOLEAN,
G_TYPE_STRING, G_TYPE_DOUBLE,
G_TYPE_DOUBLE);
- else
- sd->myListStore[0] = gtk_tree_store_new (4, G_TYPE_STRING,
- G_TYPE_STRING,
- G_TYPE_DOUBLE,
- G_TYPE_DOUBLE);
+ //else
+ //sd->myListStore[0] = gtk_tree_store_new (4, G_TYPE_STRING,
+ //G_TYPE_STRING,
+ //G_TYPE_DOUBLE,
+ //G_TYPE_DOUBLE);
chipfeature = (t_chipfeature *) g_ptr_array_index (chip->chip_features, 0);
g_assert (chipfeature!=NULL);
@@ -434,7 +474,7 @@ init_widgets (t_sensors_dialog *sd)
iter = g_new0 (GtkTreeIter, 1);
gtk_tree_store_append ( GTK_TREE_STORE (sd->myListStore[0]),
iter, NULL);
- if (sd->plugin_dialog)
+ //if (sd->plugin_dialog)
gtk_tree_store_set ( GTK_TREE_STORE (sd->myListStore[0]),
iter,
0, chipfeature->name,
@@ -444,14 +484,14 @@ init_widgets (t_sensors_dialog *sd)
4, 0.0, /* chipfeature->min_value */
5, 0.0, /* chipfeature->max_value */
-1);
- else
- gtk_tree_store_set ( GTK_TREE_STORE (sd->myListStore[0]),
- iter,
- 0, chipfeature->name,
- 1, "0.0", /* chipfeature->formatted_value */
- 2, 0.0, /* chipfeature->min_value */
- 3, 0.0, /* chipfeature->max_value */
- -1);
+ //else
+ //gtk_tree_store_set ( GTK_TREE_STORE (sd->myListStore[0]),
+ //iter,
+ //0, chipfeature->name,
+ //1, "0.0", /* chipfeature->formatted_value */
+ //2, 0.0, /* chipfeature->min_value */
+ //3, 0.0, /* chipfeature->max_value */
+ //-1);
}
TRACE ("leaves init_widgets");
}
diff --git a/ltmain.sh b/ltmain.sh
index 3506ead..d88da2c 100755
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -1,6 +1,6 @@
# Generated from ltmain.m4sh.
-# ltmain.sh (GNU libtool) 2.2.6
+# ltmain.sh (GNU libtool) 2.2.6b
# Written by Gordon Matzigkeit <gord at gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
@@ -65,7 +65,7 @@
# compiler: $LTCC
# compiler flags: $LTCFLAGS
# linker: $LD (gnu? $with_gnu_ld)
-# $progname: (GNU libtool) 2.2.6 Debian-2.2.6a-4
+# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2
# automake: $automake_version
# autoconf: $autoconf_version
#
@@ -73,9 +73,9 @@
PROGRAM=ltmain.sh
PACKAGE=libtool
-VERSION="2.2.6 Debian-2.2.6a-4"
+VERSION="2.2.6b Debian-2.2.6b-2"
TIMESTAMP=""
-package_revision=1.3012
+package_revision=1.3017
# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
diff --git a/panel-plugin/sensors-plugin.c b/panel-plugin/sensors-plugin.c
index 2c45d49..d044944 100644
--- a/panel-plugin/sensors-plugin.c
+++ b/panel-plugin/sensors-plugin.c
@@ -1,5 +1,5 @@
/* $Id$ */
-/* Copyright 2004-2007 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2004-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -48,6 +48,7 @@
#include <sensors-interface.h>
#include <sensors-interface-common.h>
#include <middlelayer.h>
+#include <cpu.h>
/* Local includes */
#include "sensors-plugin.h"
@@ -167,6 +168,37 @@ sensors_remove_graphical_panel (t_sensors *sensors)
TRACE ("leaves sensors_remove_graphical_panel");
}
+static void
+sensors_remove_tacho_panel (t_sensors *sensors)
+{
+ int chipNum, feature;
+ t_chip *chip;
+ t_chipfeature *chipfeature;
+
+ TRACE ("enters sensors_remove_tacho_panel");
+
+ for (chipNum=0; chipNum < sensors->num_sensorchips; chipNum++)
+ {
+ chip = (t_chip *) g_ptr_array_index(sensors->chips, chipNum);
+ g_assert (chip != NULL);
+
+ for (feature=0; feature<chip->num_features; feature++)
+ {
+ chipfeature = g_ptr_array_index(chip->chip_features, feature);
+ g_assert (chipfeature != NULL);
+
+ if (chipfeature->show == TRUE)
+ {
+ gtk_widget_destroy (sensors->tachos[chipNum][feature]); /* automatically frees structure as I find it much more sensible for widget-destroy to behave that way */
+ sensors->tachos[chipNum][feature] = NULL;
+ }
+ }
+ }
+ sensors->tachos_created = FALSE;
+ gtk_widget_hide (sensors->panel_label_text);
+
+ TRACE ("leaves sensors_remove_tacho_panel");
+}
static void
sensors_update_graphical_panel (t_sensors *sensors)
@@ -174,8 +206,8 @@ sensors_update_graphical_panel (t_sensors *sensors)
int chipNum, feature;
t_chip *chip;
t_chipfeature *chipfeature;
- t_barpanel *panel;
double fraction;
+ t_barpanel *panel;
GtkWidget *bar;
//TRACE("enters sensors_update_graphical_panel");
@@ -189,7 +221,7 @@ sensors_update_graphical_panel (t_sensors *sensors)
g_assert (chipfeature != NULL);
if (chipfeature->show == TRUE) {
- panel = (t_barpanel*) sensors->panels[chipNum][feature];
+ panel = (t_barpanel*) sensors->tachos[chipNum][feature];
bar = panel->progressbar;
g_return_if_fail (G_IS_OBJECT(bar));
@@ -209,6 +241,39 @@ sensors_update_graphical_panel (t_sensors *sensors)
}
+
+static void
+sensors_update_tacho_panel (t_sensors *sensors)
+{
+ int chipNum, feature;
+ t_chip *chip;
+ t_chipfeature *chipfeature;
+ GtkWidget *tacho;
+ double fraction;
+
+ TRACE("enters sensors_update_tacho_panel");
+
+ for (chipNum=0; chipNum < sensors->num_sensorchips; chipNum++) {
+ chip = (t_chip *) g_ptr_array_index(sensors->chips, chipNum);
+ g_assert (chip != NULL);
+
+ for (feature=0; feature<chip->num_features; feature++) {
+ chipfeature = g_ptr_array_index(chip->chip_features, feature);
+ g_assert (chipfeature != NULL);
+
+ if (chipfeature->show == TRUE) {
+ tacho = sensors->tachos[chipNum][feature];
+
+ fraction = sensors_get_percentage (chipfeature);
+ gtk_cpu_set_value(GTK_CPU(tacho), fraction);
+ }
+ }
+ }
+
+ TRACE("leaves sensors_update_tacho_panel");
+}
+
+
static void
sensors_add_graphical_display (t_sensors *sensors)
{
@@ -306,6 +371,93 @@ sensors_add_graphical_display (t_sensors *sensors)
}
+static void
+sensors_add_tacho_display (t_sensors *sensors)
+{
+ int chipNum, feature;
+ t_chip *chip;
+ t_chipfeature *chipfeature;
+ //t_barpanel *panel;
+ gboolean has_tachos = FALSE;
+ GtkWidget *tacho;
+ gchar *text;
+
+ TRACE ("enters sensors_add_tacho_display");
+
+ text = g_strdup (_("<span foreground=\"#000000\">"
+ "<b>Sensors</b></span>"));
+ gtk_label_set_markup (GTK_LABEL(sensors->panel_label_text), text);
+ g_free (text);
+
+ for (chipNum=0; chipNum < sensors->num_sensorchips; chipNum++) {
+ chip = (t_chip *) g_ptr_array_index(sensors->chips, chipNum);
+ g_assert (chip != NULL);
+
+ for (feature=0; feature<chip->num_features; feature++) {
+ chipfeature = g_ptr_array_index (chip->chip_features, feature);
+ g_assert (chipfeature != NULL);
+
+ if (chipfeature->show == TRUE) {
+ has_tachos = TRUE;
+
+ tacho = gtk_cpu_new();
+ DBG("1");
+
+ gtk_widget_show (tacho);
+
+ /* create the label stuff only if needed - saves some memory! */
+ if (sensors->show_labels == TRUE) {
+ //gtk_cpu_set_text(GTK_CPU(tacho), chipfeature->name);
+ if (GTK_CPU(tacho)->text != NULL)
+ g_free (GTK_CPU(tacho)->text);
+ DBG("2");
+
+ GTK_CPU(tacho)->text = g_strdup(chipfeature->name);
+ DBG("3");
+ //gtk_cpu_set_color(GTK_CPU(tacho), chipfeature->color);
+
+ if (GTK_CPU(tacho)->color != NULL)
+ g_free (GTK_CPU(tacho)->color);
+ DBG("4");
+ GTK_CPU(tacho)->color = g_strdup(chipfeature->color);
+ DBG("5");
+ }
+ else {
+ //gtk_cpu_unset_text(GTK_CPU(tacho));
+ if (GTK_CPU(tacho)->text != NULL)
+ g_free (GTK_CPU(tacho)->text);
+ DBG("6");
+ GTK_CPU(tacho)->text = NULL;
+ DBG("7");
+ }
+
+ sensors->tachos[chipNum][feature] = (GtkWidget*) tacho;
+ DBG("8");
+
+ gtk_container_set_border_width (GTK_CONTAINER(sensors->widget_sensors), 0);
+ DBG("9");
+ gtk_box_pack_start (GTK_BOX (sensors->widget_sensors),
+ tacho, TRUE, TRUE, INNER_BORDER);
+ DBG("10");
+ }
+ }
+ }
+ if (has_tachos && !sensors->show_title)
+ gtk_widget_hide (sensors->panel_label_text);
+ else
+ gtk_widget_show (sensors->panel_label_text);
+
+ DBG("11");
+ gtk_widget_hide (sensors->panel_label_data);
+
+ DBG("12");
+ sensors->tachos_created = TRUE;
+ sensors_update_tacho_panel (sensors);
+
+ TRACE ("leaves sensors_add_tacho_display");
+}
+
+
static gboolean
sensors_show_graphical_display (t_sensors *sensors)
{
@@ -322,6 +474,22 @@ sensors_show_graphical_display (t_sensors *sensors)
}
+static gboolean
+sensors_show_tacho_display (t_sensors *sensors)
+{
+ TRACE ("enters sensors_show_tacho_display");
+
+ if (sensors->bars_created == TRUE)
+ sensors_update_tacho_panel (sensors);
+ else
+ sensors_add_tacho_display (sensors);
+
+ TRACE ("leaves sensors_show_tacho_display");
+
+ return TRUE;
+}
+
+
static int
determine_number_of_rows (t_sensors *sensors)
{
@@ -586,8 +754,6 @@ Updates the sensor values, see lines 440 and following */
static gboolean
sensors_create_tooltip (gpointer data)
{
- TRACE ("enters sensors_create_tooltip");
-
t_sensors *sensors;
GtkWidget *widget;
int i, index_feature, res;
@@ -596,8 +762,11 @@ sensors_create_tooltip (gpointer data)
gchar *myToolTipText, *myToolTipText2, *tmp;
t_chipfeature *chipfeature;
t_chip *chip;
+
+ TRACE ("enters sensors_create_tooltip");
g_return_val_if_fail (data != NULL, FALSE);
+ TRACE ("data!=NULL");
sensors = (t_sensors *) data;
widget = sensors->eventbox;
@@ -625,6 +794,7 @@ sensors_create_tooltip (gpointer data)
else {
myToolTipText2 = g_strconcat (myToolTipText, " \n",
chip->sensorId, NULL);
+ TRACE ("freeing myToolTipText");
g_free (myToolTipText);
myToolTipText = myToolTipText2;
}
@@ -651,13 +821,16 @@ sensors_create_tooltip (gpointer data)
myToolTipText2 = g_strconcat (myToolTipText, "\n ",
chipfeature->name, ": ", tmp,
NULL);
+ TRACE ("freeing myToolTipText");
g_free (myToolTipText);
myToolTipText = myToolTipText2;
+ TRACE ("freeing chipfeature->formatted_value");
g_free (chipfeature->formatted_value);
chipfeature->formatted_value = g_strdup (tmp);
chipfeature->raw_value = sensorFeature;
+ TRACE ("freeing tmp");
g_free (tmp);
} /* end if chipfeature->valid */
}
@@ -669,6 +842,7 @@ sensors_create_tooltip (gpointer data)
/* #if GTK_VERSION < 2.11 */
gtk_tooltips_set_tip (tooltips, GTK_WIDGET(sensors->eventbox),
myToolTipText, NULL);
+ TRACE ("freeing myToolTipText");
g_free (myToolTipText);
TRACE ("leaves sensors_create_tooltip");
@@ -691,11 +865,17 @@ sensors_show_panel (gpointer data)
sensors_create_tooltip ((gpointer) sensors);
- if (sensors->display_values_graphically == FALSE)
- result = sensors_show_text_display (sensors);
- else
+ switch (sensors->display_values_type)
+ {
+ case DISPLAY_TACHO:
+ result = sensors_show_tacho_display (sensors);
+ break;
+ case DISPLAY_BARS:
result = sensors_show_graphical_display (sensors);
-
+ break;
+ default:
+ result = sensors_show_text_display (sensors);
+ }
TRACE ("leaves sensors_show_panel\n");
return result;
}
@@ -724,7 +904,7 @@ sensors_set_orientation (XfcePanelPlugin *plugin, GtkOrientation orientation,
gtk_widget_reparent (sensors->panel_label_text, newBox);
gtk_widget_reparent (sensors->panel_label_data, newBox);
- if (sensors->display_values_graphically)
+ if (sensors->display_values_type != DISPLAY_TEXT)
{
for (i=0; i < sensors->num_sensorchips; i++) {
chip = (t_chip *) g_ptr_array_index (sensors->chips, i);
@@ -753,8 +933,10 @@ sensors_set_orientation (XfcePanelPlugin *plugin, GtkOrientation orientation,
gtk_container_add (GTK_CONTAINER (sensors->eventbox),
sensors->widget_sensors);
- if (sensors->display_values_graphically)
+ if (sensors->display_values_type == DISPLAY_BARS)
sensors_remove_graphical_panel (sensors);
+ else if (sensors->display_values_type == DISPLAY_TACHO)
+ sensors_remove_tacho_panel (sensors);
sensors_show_panel (sensors);
@@ -908,8 +1090,11 @@ show_title_toggled (GtkWidget *widget, t_sensors_dialog *sd)
{
TRACE ("enters show_title_toggled");
- if (sd->sensors->display_values_graphically == TRUE) {
- sensors_remove_graphical_panel(sd->sensors);
+ if (sd->sensors->display_values_type== DISPLAY_BARS) {
+ sensors_remove_graphical_panel (sd->sensors);
+ }
+ else if (sd->sensors->display_values_type== DISPLAY_TACHO) {
+ sensors_remove_tacho_panel (sd->sensors);
}
sd->sensors->show_title = gtk_toggle_button_get_active
( GTK_TOGGLE_BUTTON(widget) );
@@ -925,8 +1110,11 @@ show_labels_toggled (GtkWidget *widget, t_sensors_dialog *sd)
{
TRACE ("enters show_labels_toggled");
- if (sd->sensors->display_values_graphically == TRUE) {
- sensors_remove_graphical_panel(sd->sensors);
+ if (sd->sensors->display_values_type== DISPLAY_BARS) {
+ sensors_remove_graphical_panel (sd->sensors);
+ }
+ else if (sd->sensors->display_values_type== DISPLAY_TACHO) {
+ sensors_remove_tacho_panel (sd->sensors);
}
sd->sensors->show_labels = gtk_toggle_button_get_active
@@ -942,8 +1130,11 @@ show_colored_bars_toggled (GtkWidget *widget, t_sensors_dialog *sd)
{
TRACE ("enters show_colored_bars_toggled");
- if (sd->sensors->display_values_graphically == TRUE) {
- sensors_remove_graphical_panel(sd->sensors);
+ if (sd->sensors->display_values_type== DISPLAY_BARS) {
+ sensors_remove_graphical_panel (sd->sensors);
+ }
+ else if (sd->sensors->display_values_type== DISPLAY_TACHO) {
+ sensors_remove_tacho_panel (sd->sensors);
}
sd->sensors->show_colored_bars = gtk_toggle_button_get_active
@@ -955,36 +1146,87 @@ show_colored_bars_toggled (GtkWidget *widget, t_sensors_dialog *sd)
}
static void
-display_style_changed (GtkWidget *widget, t_sensors_dialog *sd)
+display_style_changed_text (GtkWidget *widget, t_sensors_dialog *sd)
{
- TRACE ("enters display_style_changed");
+ TRACE ("enters display_style_changed_text");
+
+ if (!gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON(widget) ))
+ return;
+
+ if (sd->sensors->display_values_type == DISPLAY_BARS)
+ sensors_remove_graphical_panel(sd->sensors);
+ else if (sd->sensors->display_values_type == DISPLAY_TACHO)
+ sensors_remove_tacho_panel (sd->sensors);
+
+ //gtk_widget_hide(sd->labels_Box);
+ gtk_widget_hide(sd->coloredBars_Box);
+ gtk_widget_hide(sd->fontSettings_Box);
+ gtk_widget_show(sd->font_Box);
+ gtk_widget_show(sd->Lines_Box);
+ gtk_widget_show (sd->unit_checkbox);
+ gtk_widget_show (sd->smallspacing_checkbox);
- if (sd->sensors->display_values_graphically == TRUE) {
- sensors_remove_graphical_panel(sd->sensors);
- //gtk_widget_hide(sd->labels_Box);
- gtk_widget_hide(sd->coloredBars_Box);
- gtk_widget_show(sd->font_Box);
- gtk_widget_show(sd->Lines_Box);
- gtk_widget_show (sd->unit_checkbox);
- gtk_widget_show (sd->smallspacing_checkbox);
- }
- else {
- //gtk_widget_show(sd->labels_Box);
- gtk_widget_show(sd->coloredBars_Box);
- gtk_widget_hide(sd->font_Box);
- gtk_widget_hide(sd->Lines_Box);
- gtk_widget_hide (sd->unit_checkbox);
- gtk_widget_hide (sd->smallspacing_checkbox);
- }
+ sd->sensors->display_values_type = DISPLAY_TEXT;
+ //gtk_toggle_button_get_active ( GTK_TOGGLE_BUTTON(widget) );
- sd->sensors->display_values_graphically = gtk_toggle_button_get_active
- ( GTK_TOGGLE_BUTTON(widget) );
+ sensors_show_panel ((gpointer) sd->sensors);
+
+ TRACE ("leaves display_style_changed_text");
+}
+
+static void
+display_style_changed_bars (GtkWidget *widget, t_sensors_dialog *sd)
+{
+ TRACE ("enters display_style_changed_bars");
+
+ if (!gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON(widget) ))
+ return;
+
+ if (sd->sensors->display_values_type == DISPLAY_TACHO)
+ sensors_remove_tacho_panel (sd->sensors);
+
+ //gtk_widget_show(sd->labels_Box);
+ gtk_widget_show(sd->coloredBars_Box);
+ gtk_widget_hide(sd->fontSettings_Box);
+ gtk_widget_hide(sd->font_Box);
+ gtk_widget_hide(sd->Lines_Box);
+ gtk_widget_hide (sd->unit_checkbox);
+ gtk_widget_hide (sd->smallspacing_checkbox);
+
+ sd->sensors->display_values_type = DISPLAY_BARS;
+ //gtk_toggle_button_get_active ( GTK_TOGGLE_BUTTON(widget) );
sensors_show_panel ((gpointer) sd->sensors);
- TRACE ("leaves display_style_changed");
+ TRACE ("leaves display_style_changed_bars");
}
+static void
+display_style_changed_tacho (GtkWidget *widget, t_sensors_dialog *sd)
+{
+ TRACE ("enters display_style_changed_tacho");
+
+ if (!gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON(widget) ))
+ return;
+
+ if (sd->sensors->display_values_type == DISPLAY_BARS)
+ sensors_remove_graphical_panel(sd->sensors);
+
+ //gtk_widget_show(sd->labels_Box);
+ gtk_widget_show(sd->coloredBars_Box);
+ gtk_widget_show(sd->fontSettings_Box);
+ gtk_widget_hide(sd->font_Box);
+ gtk_widget_hide(sd->Lines_Box);
+ gtk_widget_hide (sd->unit_checkbox);
+ gtk_widget_hide (sd->smallspacing_checkbox);
+
+ sd->sensors->display_values_type = DISPLAY_TACHO;
+ //gtk_toggle_button_get_active ( GTK_TOGGLE_BUTTON(widget) );
+
+ sensors_show_panel ((gpointer) sd->sensors);
+
+ TRACE ("leaves display_style_changed_tacho");
+}
void
sensor_entry_changed (GtkWidget *widget, t_sensors_dialog *sd)
@@ -1066,7 +1308,7 @@ temperature_unit_change (GtkWidget *widget, t_sensors_dialog *sd)
}
-static void
+void
adjustment_value_changed (GtkWidget *widget, t_sensors_dialog* sd)
{
TRACE ("enters adjustment_value_changed ");
@@ -1181,9 +1423,12 @@ minimum_changed (GtkCellRendererText *cellrenderertext, gchar *path_str,
/* clean up */
gtk_tree_path_free (path);
- if (sd->sensors->display_values_graphically == TRUE) {
+ if (sd->sensors->display_values_type == DISPLAY_BARS) {
sensors_remove_graphical_panel (sd->sensors);
}
+ else if (sd->sensors->display_values_type == DISPLAY_TACHO) {
+ sensors_remove_tacho_panel (sd->sensors);
+ }
/* update panel */
sensors_show_panel ((gpointer) sd->sensors);
@@ -1231,9 +1476,12 @@ maximum_changed (GtkCellRendererText *cellrenderertext, gchar *path_str,
/* clean up */
gtk_tree_path_free (path);
- if (sd->sensors->display_values_graphically == TRUE) {
+ if (sd->sensors->display_values_type == DISPLAY_BARS) {
sensors_remove_graphical_panel (sd->sensors);
}
+ else if (sd->sensors->display_values_type == DISPLAY_TACHO) {
+ sensors_remove_tacho_panel (sd->sensors);
+ }
/* update panel */
sensors_show_panel ((gpointer) sd->sensors);
@@ -1310,10 +1558,12 @@ list_cell_text_edited (GtkCellRendererText *cellrenderertext,
TRACE ("enters list_cell_text_edited");
- if (sd->sensors->display_values_graphically == TRUE) {
- DBG("removing graphical panel");
- sensors_remove_graphical_panel(sd->sensors);
- DBG("done removing grap. panel");
+
+ if (sd->sensors->display_values_type == DISPLAY_BARS) {
+ sensors_remove_graphical_panel (sd->sensors);
+ }
+ else if (sd->sensors->display_values_type == DISPLAY_TACHO) {
+ sensors_remove_tacho_panel (sd->sensors);
}
gtk_combo_box_active =
gtk_combo_box_get_active(GTK_COMBO_BOX (sd->myComboBox));
@@ -1358,11 +1608,16 @@ list_cell_toggle (GtkCellRendererToggle *cell, gchar *path_str,
GtkTreePath *path;
GtkTreeIter iter;
gboolean toggle_item;
+ GtkWidget *tacho;
TRACE ("enters list_cell_toggle");
- if (sd->sensors->display_values_graphically == TRUE) {
- sensors_remove_graphical_panel(sd->sensors);
+
+ if (sd->sensors->display_values_type == DISPLAY_BARS) {
+ sensors_remove_graphical_panel (sd->sensors);
+ }
+ else if (sd->sensors->display_values_type == DISPLAY_TACHO) {
+ sensors_remove_tacho_panel (sd->sensors);
}
gtk_combo_box_active =
gtk_combo_box_get_active(GTK_COMBO_BOX (sd->myComboBox));
@@ -1376,6 +1631,14 @@ list_cell_toggle (GtkCellRendererToggle *cell, gchar *path_str,
/* do something with the value */
toggle_item ^= 1;
+
+ if (toggle_item==FALSE)
+ {
+ tacho = sd->sensors->tachos [gtk_combo_box_active][atoi(path_str)];
+ gtk_container_remove(GTK_CONTAINER(sd->sensors->widget_sensors), tacho);
+ gtk_widget_destroy(tacho);
+ sd->sensors->tachos [gtk_combo_box_active][atoi(path_str)] = NULL;
+ }
/* set new value */
gtk_tree_store_set (GTK_TREE_STORE (model), &iter, 2, toggle_item, -1);
@@ -1397,14 +1660,20 @@ list_cell_toggle (GtkCellRendererToggle *cell, gchar *path_str,
TRACE ("leaves list_cell_toggle");
}
-
-
+static void
+on_font_set (GtkWidget *widget, gpointer data)
+{
+ if (font)
+ g_free (font);
+
+ font = g_strdup(gtk_font_button_get_font_name(GTK_FONT_BUTTON(widget)));
+}
static void
add_ui_style_box (GtkWidget * vbox, t_sensors_dialog * sd)
{
- GtkWidget *hbox, *label, *radioText, *radioBars; /* *checkButton, */
+ GtkWidget *hbox, *label, *radioText, *radioBars, *radioTachos; /* *checkButton, */
TRACE ("enters add_ui_style_box");
@@ -1414,26 +1683,36 @@ add_ui_style_box (GtkWidget * vbox, t_sensors_dialog * sd)
label = gtk_label_new (_("UI style:"));
radioText = gtk_radio_button_new_with_mnemonic(NULL, _("_text"));
radioBars = gtk_radio_button_new_with_mnemonic(
- gtk_radio_button_group(GTK_RADIO_BUTTON(radioText)), _("g_raphical"));
-
+ gtk_radio_button_group(GTK_RADIO_BUTTON(radioText)), _("_progress bars"));
+ radioTachos = gtk_radio_button_new_with_mnemonic(
+ gtk_radio_button_group(GTK_RADIO_BUTTON(radioText)), _("_tachos"));
+
gtk_widget_show(radioText);
gtk_widget_show(radioBars);
+ gtk_widget_show(radioTachos);
gtk_widget_show(label);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(radioText),
- sd->sensors->display_values_graphically == FALSE);
+ sd->sensors->display_values_type == DISPLAY_TEXT);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(radioBars),
- sd->sensors->display_values_graphically == TRUE);
+ sd->sensors->display_values_type == DISPLAY_BARS);
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(radioTachos),
+ sd->sensors->display_values_type == DISPLAY_TACHO);
gtk_box_pack_start(GTK_BOX (hbox), label, FALSE, FALSE, 0);
gtk_box_pack_start(GTK_BOX (hbox), radioText, FALSE, FALSE, 0);
gtk_box_pack_start(GTK_BOX (hbox), radioBars, FALSE, FALSE, 0);
+ gtk_box_pack_start(GTK_BOX (hbox), radioTachos, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, TRUE, 0);
+ g_signal_connect (G_OBJECT (radioText), "toggled",
+ G_CALLBACK (display_style_changed_text), sd );
g_signal_connect (G_OBJECT (radioBars), "toggled",
- G_CALLBACK (display_style_changed), sd );
-
+ G_CALLBACK (display_style_changed_bars), sd );
+ g_signal_connect (G_OBJECT (radioTachos), "toggled",
+ G_CALLBACK (display_style_changed_tacho), sd );
+
TRACE ("leaves add_ui_style_box");
}
@@ -1490,7 +1769,7 @@ add_colored_bars_box (GtkWidget *vbox, t_sensors_dialog *sd)
gtk_box_pack_start (GTK_BOX (hbox), checkButton, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, TRUE, 0);
- if (sd->sensors->display_values_graphically==FALSE)
+ if (sd->sensors->display_values_type != DISPLAY_BARS)
gtk_widget_hide(sd->coloredBars_Box);
g_signal_connect (G_OBJECT (checkButton), "toggled",
@@ -1550,7 +1829,7 @@ add_lines_box (GtkWidget * vbox, t_sensors_dialog * sd)
gtk_widget_show (myLinesSizeSpinBox);
gtk_widget_show (myLinesBox);
- if (sd->sensors->display_values_graphically==TRUE)
+ if (sd->sensors->display_values_type != DISPLAY_TEXT)
gtk_widget_hide(sd->Lines_Box);
g_signal_connect (G_OBJECT (myLinesSizeSpinBox), "value-changed",
@@ -1592,7 +1871,7 @@ add_font_size_box (GtkWidget * vbox, t_sensors_dialog * sd)
gtk_widget_show (myFontSizeComboBox);
gtk_widget_show (myFontBox);
- if (sd->sensors->display_values_graphically==TRUE)
+ if (sd->sensors->display_values_type != DISPLAY_BARS)
gtk_widget_hide(sd->font_Box);
g_signal_connect (G_OBJECT (myFontSizeComboBox), "changed",
@@ -1601,6 +1880,41 @@ add_font_size_box (GtkWidget * vbox, t_sensors_dialog * sd)
TRACE ("leaves add_font_size_box");
}
+static void
+add_font_settings_box (GtkWidget * vbox, t_sensors_dialog * sd)
+{
+ GtkWidget *myFontLabel;
+ GtkWidget *myFontSettingsBox;
+ GtkWidget *myFontSettingsButton;
+
+ TRACE ("enters add_font_settings_box");
+
+ myFontLabel = gtk_label_new_with_mnemonic (_("F_ont:"));
+ myFontSettingsBox = gtk_hbox_new (FALSE, BORDER);
+ myFontSettingsButton = gtk_font_button_new();
+
+ sd->fontSettings_Box = myFontSettingsBox;
+ /* gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically); */
+
+ gtk_box_pack_start (GTK_BOX (myFontSettingsBox), myFontLabel, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (myFontSettingsBox), myFontSettingsButton, FALSE, FALSE,
+ 0);
+ gtk_box_pack_start (GTK_BOX (vbox), myFontSettingsBox, FALSE, FALSE, 0);
+
+ gtk_widget_show (myFontLabel);
+ gtk_widget_show (myFontSettingsButton);
+ gtk_widget_show (myFontSettingsBox);
+
+ if (sd->sensors->display_values_type != DISPLAY_TACHO)
+ gtk_widget_hide(sd->fontSettings_Box);
+
+ g_signal_connect (G_OBJECT(myFontSettingsButton), "font-set", G_CALLBACK(on_font_set), NULL);
+ //g_signal_connect (G_OBJECT (myFontSettingsComboBox), "changed",
+ //G_CALLBACK (font_settings_change), sd );
+
+ TRACE ("leaves add_font_settings_box");
+}
+
static void
add_units_box (GtkWidget * vbox, t_sensors_dialog * sd)
@@ -1614,7 +1928,7 @@ add_units_box (GtkWidget * vbox, t_sensors_dialog * sd)
gtk_box_pack_start (GTK_BOX (vbox), sd->unit_checkbox, FALSE, TRUE, 0);
- if (sd->sensors->display_values_graphically==TRUE)
+ if (sd->sensors->display_values_type!=DISPLAY_TEXT)
gtk_widget_hide(sd->unit_checkbox);
g_signal_connect (G_OBJECT (sd->unit_checkbox), "toggled",
@@ -1635,7 +1949,7 @@ add_smallspacings_box (GtkWidget * vbox, t_sensors_dialog * sd)
gtk_box_pack_start (GTK_BOX (vbox), sd->smallspacing_checkbox, FALSE, TRUE, 0);
- if (sd->sensors->display_values_graphically==TRUE)
+ if (sd->sensors->display_values_type!=DISPLAY_TEXT)
gtk_widget_hide(sd->smallspacing_checkbox);
g_signal_connect (G_OBJECT (sd->smallspacing_checkbox), "toggled",
@@ -1664,40 +1978,6 @@ add_suppressmessage_box (GtkWidget * vbox, t_sensors_dialog * sd)
}
-static void
-add_update_time_box (GtkWidget * vbox, t_sensors_dialog * sd)
-{
- GtkWidget *spinner, *myLabel, *myBox;
- GtkAdjustment *spinner_adj;
-
- TRACE ("enters add_update_time_box");
-
- spinner_adj = (GtkAdjustment *) gtk_adjustment_new (
-/* TODO: restore original */
- sd->sensors->sensors_refresh_time, 1.0, 990.0, 1.0, 60.0, 60.0);
-
- /* creates the spinner, with no decimal places */
- spinner = gtk_spin_button_new (spinner_adj, 10.0, 0);
-
- myLabel = gtk_label_new_with_mnemonic ( _("U_pdate interval (seconds):"));
- gtk_label_set_mnemonic_widget (GTK_LABEL(myLabel), spinner);
-
- myBox = gtk_hbox_new(FALSE, BORDER);
-
- gtk_box_pack_start (GTK_BOX (myBox), myLabel, FALSE, FALSE, 0);
- gtk_box_pack_start (GTK_BOX (myBox), spinner, FALSE, FALSE, 0);
- gtk_box_pack_start (GTK_BOX (vbox), myBox, FALSE, FALSE, 0);
-
- gtk_widget_show (myLabel);
- gtk_widget_show (spinner);
- gtk_widget_show (myBox);
-
- g_signal_connect (G_OBJECT (spinner_adj), "value_changed",
- G_CALLBACK (adjustment_value_changed), sd );
-
- TRACE ("leaves add_update_time_box");
-}
-
/* double-click improvement */
static void
add_command_box (GtkWidget * vbox, t_sensors_dialog * sd)
@@ -1749,7 +2029,7 @@ add_view_frame (GtkWidget * notebook, t_sensors_dialog * sd)
TRACE ("enters add_view_frame");
_vbox = gtk_vbox_new (FALSE, 4);
- gtk_container_set_border_width (GTK_CONTAINER(_vbox), 4);
+ //gtk_container_set_border_width (GTK_CONTAINER(_vbox), 4);
gtk_widget_show (_vbox);
_label = gtk_label_new_with_mnemonic(_("_View"));
@@ -1764,6 +2044,7 @@ add_view_frame (GtkWidget * notebook, t_sensors_dialog * sd)
add_ui_style_box (_vbox, sd);
add_labels_box (_vbox, sd);
add_font_size_box (_vbox, sd);
+ add_font_settings_box (_vbox, sd);
add_lines_box (_vbox, sd);
add_colored_bars_box (_vbox, sd);
add_units_box (_vbox, sd);
@@ -1782,7 +2063,7 @@ add_miscellaneous_frame (GtkWidget * notebook, t_sensors_dialog * sd)
TRACE ("enters add_miscellaneous_frame");
_vbox = gtk_vbox_new (FALSE, 4);
- gtk_container_set_border_width (GTK_CONTAINER(_vbox), 4);
+ //gtk_container_set_border_width (GTK_CONTAINER(_vbox), 4);
gtk_widget_show (_vbox);
_label = gtk_label_new_with_mnemonic (_("_Miscellaneous"));
diff --git a/panel-plugin/sensors-plugin.h b/panel-plugin/sensors-plugin.h
index e98ae27..26c7669 100644
--- a/panel-plugin/sensors-plugin.h
+++ b/panel-plugin/sensors-plugin.h
@@ -1,5 +1,5 @@
/* $Id$ */
-/* Copyright 2004-2007 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2004-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/po/ar.po b/po/ar.po
index 281d1cb..a3cef6c 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2008-07-15 23:18+0200\n"
"Last-Translator: Mohamed Magdy <mohamedmk at gmail.com>\n"
"Language-Team: Arabeyes <doc at arabeyes.org>\n"
@@ -11,17 +11,18 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: Arabic\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr ""
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -29,94 +30,98 @@ msgid ""
"Proper proceeding cannot be guaranteed.\n"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1707
msgid "Show _labels"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr ""
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+msgid "F_ont:"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr ""
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr ""
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -127,8 +132,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr ""
@@ -147,15 +152,15 @@ msgstr ""
msgid "<Unknown>"
msgstr ""
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr ""
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr ""
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -170,11 +175,11 @@ msgid ""
"with a return value of %d.\n"
msgstr ""
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr ""
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -185,111 +190,115 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr ""
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr ""
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr ""
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr ""
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
msgstr ""
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr ""
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr ""
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr ""
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr ""
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr ""
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr ""
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr ""
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr ""
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr ""
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr ""
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr ""
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr ""
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr ""
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr ""
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr ""
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr ""
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr ""
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr ""
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr ""
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr ""
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -299,7 +308,7 @@ msgid ""
"licenses/gpl-2.0.txt\n"
msgstr ""
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -314,15 +323,33 @@ msgid ""
"This program is published under the GPL v2.\n"
msgstr ""
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr ""
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr ""
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr ""
diff --git a/po/ast.po b/po/ast.po
index f25d60d..219b4f7 100644
--- a/po/ast.po
+++ b/po/ast.po
@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce 4-sensors-complementu\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-07-13 19:55+0100\n"
"Last-Translator: Marcos Antonio Alvarez Costales <marcoscostales at gmail.com>\n"
"Language-Team: Asturian <alministradores at softastur.org>\n"
@@ -12,17 +12,18 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Sensores</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "¡Dengún sensor seleicionáu!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, fuzzy, c-format
msgid ""
"Sensors Plugin:\n"
@@ -33,96 +34,101 @@ msgstr ""
"Parez qu'hebo un problema lleendo'l valor d'una carauterística d'un sensor.\n"
"Nun puede garantizase un furrulamientu adecuáu.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "Estilu d'UI:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_testu"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "g_ráfica"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
#, fuzzy
msgid "Show _labels"
msgstr "Amosar _títulu"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Amosar _barres con colores"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "Amosar _títulu"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "Tamañu de _lletra:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "perpequeña"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "pequeña"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "media"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "grande"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "pergrande"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "Tamañu de _lletra:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "Amosar _unidaes"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "Es_paciáu horizontal pequeñu"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Suprimir mensaxes"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "Intervalu d'a_ctualización (segundos):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "E_xecutar al facer duble clic:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_Ver"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_Dellos"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
#, fuzzy
msgid "Sensors Plugin"
msgstr "Visor de sensores"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -136,8 +142,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Discos duros"
@@ -156,15 +162,15 @@ msgstr "Zones v%s ACPI"
msgid "<Unknown>"
msgstr "<Desconocíu>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "Temperatures de discu S.M.A.R.T."
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "Nun se deteutó dengún fallu concretu.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, fuzzy, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -189,11 +195,11 @@ msgstr ""
"%s\n"
"con un valor de retornu de %d.\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Suprimir esti mensaxe nel futuru"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -206,26 +212,26 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "Sensores LM"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Fallu: ¡Nun pudo coneutase a los sensores!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
#, fuzzy
msgid "Sensors Plugin Failure"
msgstr "Fallu del complementu Sensors"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -233,87 +239,91 @@ msgstr ""
"Parez qu'hebo un problema lleendo'l valor d'una carauterística d'un sensor.\n"
"Nun puede garantizase'l furrulamientu adecuáu."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "Tr_iba de sensores:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Descripción:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "Intervalu d'a_ctualización (segundos):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Nome"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Valor"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Amosar"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Color"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Mín."
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Máx."
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Escala de temperatura:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_Celsius"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fahrenheit"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Sensores"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "¡Sensores non atopaos!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "off"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "on"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -328,7 +338,7 @@ msgstr ""
"programa o en /usr/share/apps/LICENSES/GPL_V2 o en http://www.gnu.org/"
"licenses/old-licenses/gpl-2.0.txt\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -353,15 +363,36 @@ msgstr ""
"\n"
"Esti programa ta espublizáu baxo la GPL v2.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Xfce4 Sensors %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Visor de sensores"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"Complementu Sensors:\n"
+"Parez qu'hebo un problema lleendo'l valor d'una carauterística d'un sensor.\n"
+"Nun puede garantizase un furrulamientu adecuáu.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "Visor de sensor"
@@ -380,6 +411,9 @@ msgstr "Amosar valores de sensores."
msgid "Sensor plugin "
msgstr "Complementu de sensores"
+#~ msgid "g_raphical"
+#~ msgstr "g_ráfica"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Amosar e_tiquetes en GUI"
diff --git a/po/ca.po b/po/ca.po
index b9a56fb..4ddb083 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-10-24 00:46+0100\n"
"Last-Translator: Carles Muñoz Gorriz <carlesmu at internautas.org>\n"
"Language-Team: Catalan\n"
@@ -21,18 +21,18 @@ msgstr ""
"X-Poedit-Country: ANDORRA\n"
"X-Poedit-SourceCharset: utf-8\n"
-#: ../panel-plugin/sensors-plugin.c:225
-#: ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Sensors</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "No s’ha seleccionat cap sensor"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -40,115 +40,123 @@ msgid ""
"Proper proceeding cannot be guaranteed.\n"
msgstr ""
"Connector de sensorts:\n"
-"Sembla com si hi hagués un problema al llegir el valor d'alguna característica del sensor.\n"
+"Sembla com si hi hagués un problema al llegir el valor d'alguna "
+"característica del sensor.\n"
"No podem garantir que funcioni correctament.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "Estil de la UI:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_text"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "_gràfic"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
msgid "Show _labels"
msgstr "Mostra _etiquetes"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Mostra _barres colorejades"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "_Mostra títol"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr "_Número de línies de text:"
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "Mida de la _lletra:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "molt petit"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "petit"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "mitjà"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "gran"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "extra gran"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "Mida de la _lletra:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "Mostra _unitats"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "_Espaiat petit horitzontal"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Suprimeix els missatges"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "Interval d'_actualització (segons):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "E_xecuta amb doble clic:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_Mostra"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_Misceŀlània"
-#: ../panel-plugin/sensors-plugin.c:1860
-#: ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Connector de sensors"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
-msgid "You can change a feature's properties such as name, colours, min/max value by double-clicking the entry, editing the content, and pressing \"Return\" or selecting a different field."
-msgstr "Podeu canviar la propietat d'alguna característica com ara el nom, els colors o els valors màxims o mínims al fer doble clic al camp d'entrada, editant el contingut, i pitjant la tecla de retorn o seleccionant un altre camp."
+#: ../panel-plugin/sensors-plugin.c:2159
+msgid ""
+"You can change a feature's properties such as name, colours, min/max value "
+"by double-clicking the entry, editing the content, and pressing \"Return\" "
+"or selecting a different field."
+msgstr ""
+"Podeu canviar la propietat d'alguna característica com ara el nom, els "
+"colors o els valors màxims o mínims al fer doble clic al camp d'entrada, "
+"editant el contingut, i pitjant la tecla de retorn o seleccionant un altre "
+"camp."
#. only use this if no hddtemp sensor
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154
-#: ../lib/configuration.c:336
-#: ../lib/configuration.c:343
-#: ../lib/hddtemp.c:342
-#: ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Discs durs"
-#: ../lib/acpi.c:521
-#: ../lib/acpi.c:529
+#: ../lib/acpi.c:521 ../lib/acpi.c:529
msgid "ACPI"
msgstr "ACPI"
@@ -163,39 +171,45 @@ msgstr "ACPI v%s zones"
msgid "<Unknown>"
msgstr "<desconegut>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "Temperatures del disc dur S.M.A.R.T."
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "Cap error concret detectat.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
-"\"hddtemp\" was not executed correctly, although it is executable. This is most probably due to the disks requiring root privileges to read their temperatures, and \"hddtemp\" not being setuid root.\n"
+"\"hddtemp\" was not executed correctly, although it is executable. This is "
+"most probably due to the disks requiring root privileges to read their "
+"temperatures, and \"hddtemp\" not being setuid root.\n"
"\n"
-"An easy but dirty solution is to run \"chmod u+s %s\" as root user and restart this plugin or its panel.\n"
+"An easy but dirty solution is to run \"chmod u+s %s\" as root user and "
+"restart this plugin or its panel.\n"
"\n"
"Calling \"%s\" gave the following error:\n"
"%s\n"
"with a return value of %d.\n"
msgstr ""
-"«hddtemp» no s'ha executat correctament, tot i que és executable. Probablement es deu a que els discs requereixen privilegis de super usuari per llegir llurs temperatures i a que «hddtemp» no te «setuid» de super usuari.\n"
+"«hddtemp» no s'ha executat correctament, tot i que és executable. "
+"Probablement es deu a que els discs requereixen privilegis de super usuari "
+"per llegir llurs temperatures i a que «hddtemp» no te «setuid» de super "
+"usuari.\n"
"\n"
-"Una solució fàcil però lletja és executar l'ordre «chmod u+s %s» com super usuari i reiniciar el connector o el quadre.\n"
+"Una solució fàcil però lletja és executar l'ordre «chmod u+s %s» com super "
+"usuari i reiniciar el connector o el quadre.\n"
"\n"
"L'ordre «%s» ha tornat aquest error:\n"
"%s\n"
"amb un valor de %d.\n"
-#: ../lib/hddtemp.c:533
-#: ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "No mostris aquest missatge en el futur"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -208,128 +222,133 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629
-#: ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "Sensors LM"
-#: ../lib/lmsensors.c:362
-#: ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "No s’ha pogut connectar als sensors"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "Fallida del connector de sensors"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
msgstr ""
-"Sembla com si hi hagués un problema al llegir el valor d'alguna característica del sensor.\n"
+"Sembla com si hi hagués un problema al llegir el valor d'alguna "
+"característica del sensor.\n"
"No podem garantir que funcioni correctament."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "_Tipus de sensors:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Descripció:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "Interval d'_actualització (segons):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Nom"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Valor"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Mostra"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Color"
-#: ../lib/sensors-interface.c:265
-#: ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Mín."
-#: ../lib/sensors-interface.c:282
-#: ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Màx."
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Temperatura:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_Centígrads"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fahrenheit"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Sensors"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "No s’han trobat sensors"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "inactiu"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "actiu"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
"This program is published under the GPL v2.\n"
-"The license text can be found inside the program's source archive or under /usr/share/apps/LICENSES/GPL_V2 or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt\n"
+"The license text can be found inside the program's source archive or under /"
+"usr/share/apps/LICENSES/GPL_V2 or at http://www.gnu.org/licenses/old-"
+"licenses/gpl-2.0.txt\n"
msgstr ""
"Sensors Xfce4 %s\n"
"Aquest pograma es distribueix amb llicència GPL v2.\n"
-"El text de la llicència el podeu trobar dins de l'arxiu font del programa o a «/usr/share/apps/LICENSES/GPL_V2» o a http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt\n"
+"El text de la llicència el podeu trobar dins de l'arxiu font del programa o "
+"a «/usr/share/apps/LICENSES/GPL_V2» o a http://www.gnu.org/licenses/old-"
+"licenses/gpl-2.0.txt\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -354,15 +373,37 @@ msgstr ""
"\n"
"Aquest programa es distribueix amb llicència GPL v2.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Sensors Xfce4 %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Visor de sensors"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"Connector de sensorts:\n"
+"Sembla com si hi hagués un problema al llegir el valor d'alguna "
+"característica del sensor.\n"
+"No podem garantir que funcioni correctament.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "Visor de sensor"
@@ -380,6 +421,9 @@ msgstr "Mostra els valors del sensor."
msgid "Sensor plugin "
msgstr "Connector de sensors"
+#~ msgid "g_raphical"
+#~ msgstr "_gràfic"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Mostra _etiquetes a la UI"
@@ -390,6 +434,7 @@ msgstr "Connector de sensors"
#, fuzzy
#~ msgid "Xfce 4 Sensors Viewer"
#~ msgstr "Connector de sensors"
+
#~ msgid "Edit Properties"
#~ msgstr "Edita propietats"
@@ -407,12 +452,15 @@ msgstr "Connector de sensors"
#~ "Connector pels sensor de maquinari Xfce:\n"
#~ "S’ha produït un error durant la lectura dels sensors.\n"
#~ "No es podrà assegurar un bon funcionament.\n"
+
#~ msgid "<span foreground=\"#000000\" size=\"%s\"><b>Sensors</b></span>\n"
#~ msgstr "<span foreground=\"#000000\" size=\"%s\"><b>Sensors</b></span>\n"
+
#~ msgid "<span foreground=\"#000000\" size=\"%s\"><b>Sensors</b></span>"
#~ msgstr "<span foreground=\"#000000\" size=\"%s\"><b>Sensors</b></span>"
+
#~ msgid "<b>Sensors</b>"
#~ msgstr "<b>Sensors</b>"
+
#~ msgid "<b>View</b>"
#~ msgstr "<b>Visualitza</b>"
-
diff --git a/po/cs.po b/po/cs.po
index 39bb99f..7145591 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-10-21 13:23+0100\n"
"Last-Translator: Michal Várady <miko.vaji at gmail.com>\n"
"Language-Team: Czech <translation-team-cs at lists.sourceforge.net>\n"
@@ -16,18 +16,18 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
-#: ../panel-plugin/sensors-plugin.c:225
-#: ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Senzory</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Nebyly nalezeny žádné senzory!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -38,112 +38,118 @@ msgstr ""
"Došlo k potížím při čtení hodnoty senzoru. \n"
"Nelze zaručit správné fungování.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "Styl uživatelského rozhraní:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_text"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "g_rafický"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
msgid "Show _labels"
msgstr "_Zobrazovat titulky"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Zobrazit barevné _sloupce"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "_Zobrazovat titulek"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr "_Počet textových řádků:"
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "Velikost _písma:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "x-small"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "small"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "medium"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "large"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "x-large"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "Velikost _písma:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "Zo_brazovat jednotky"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "Malý vodorovný oddělovací prostor"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Potlačit zprávy"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "I_nterval obnovení (sekundy):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "_Spustit při dvojitém kliknutí:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_Zobrazit"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_Ostatní"
-#: ../panel-plugin/sensors-plugin.c:1860
-#: ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Zásuvný modul senzory"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
-msgid "You can change a feature's properties such as name, colours, min/max value by double-clicking the entry, editing the content, and pressing \"Return\" or selecting a different field."
-msgstr "Vlastnosti, jako například název, barvy, nejnižší a nejvyšší hodnota, můžete změnit dvojitým kliknutím na položku, úpravou obsahu a stiskem klávesy \"Return\" nebo výběrem jiného pole."
+#: ../panel-plugin/sensors-plugin.c:2159
+msgid ""
+"You can change a feature's properties such as name, colours, min/max value "
+"by double-clicking the entry, editing the content, and pressing \"Return\" "
+"or selecting a different field."
+msgstr ""
+"Vlastnosti, jako například název, barvy, nejnižší a nejvyšší hodnota, můžete "
+"změnit dvojitým kliknutím na položku, úpravou obsahu a stiskem klávesy "
+"\"Return\" nebo výběrem jiného pole."
#. only use this if no hddtemp sensor
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154
-#: ../lib/configuration.c:336
-#: ../lib/configuration.c:343
-#: ../lib/hddtemp.c:342
-#: ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Pevné disky"
-#: ../lib/acpi.c:521
-#: ../lib/acpi.c:529
+#: ../lib/acpi.c:521 ../lib/acpi.c:529
msgid "ACPI"
msgstr "ACPI"
@@ -158,39 +164,45 @@ msgstr "Zóny ACPI v%s"
msgid "<Unknown>"
msgstr "<Neznámý>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "Teploty pevných disků ze systému S.M.A.R.T."
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "Nebyla nalezena konkrétní chyba.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
-"\"hddtemp\" was not executed correctly, although it is executable. This is most probably due to the disks requiring root privileges to read their temperatures, and \"hddtemp\" not being setuid root.\n"
+"\"hddtemp\" was not executed correctly, although it is executable. This is "
+"most probably due to the disks requiring root privileges to read their "
+"temperatures, and \"hddtemp\" not being setuid root.\n"
"\n"
-"An easy but dirty solution is to run \"chmod u+s %s\" as root user and restart this plugin or its panel.\n"
+"An easy but dirty solution is to run \"chmod u+s %s\" as root user and "
+"restart this plugin or its panel.\n"
"\n"
"Calling \"%s\" gave the following error:\n"
"%s\n"
"with a return value of %d.\n"
msgstr ""
-"Aplikace \"hddtemp\" se nespustila korektně, přestože je spustitelná. Disky obvykle ke čtení teploty vyžadují oprávnění uživatele root, avšak aplikace \"hddtemp\" nemá nastaven bit SUID.\n"
+"Aplikace \"hddtemp\" se nespustila korektně, přestože je spustitelná. Disky "
+"obvykle ke čtení teploty vyžadují oprávnění uživatele root, avšak aplikace "
+"\"hddtemp\" nemá nastaven bit SUID.\n"
"\n"
-"Jednoduchým ale nečistým řešením je spuštění příkazu \"chmod u+s %s\" pod uživatelem root a následné opětovné spuštění tohoto zásuvného modulu nebo jeho panelu.\n"
+"Jednoduchým ale nečistým řešením je spuštění příkazu \"chmod u+s %s\" pod "
+"uživatelem root a následné opětovné spuštění tohoto zásuvného modulu nebo "
+"jeho panelu.\n"
"\n"
"Volání \"%s\" vrátilo tuto chybu:\n"
"%s\n"
"s návratovou hodnotou %d.\n"
-#: ../lib/hddtemp.c:533
-#: ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Potlačit budoucí zprávy"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -203,27 +215,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629
-#: ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "Senzory LM:"
-#: ../lib/lmsensors.c:362
-#: ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Chyba: Nelze se připojit k senzorům!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "Selhání zásuvného modulu senzory"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -231,100 +241,106 @@ msgstr ""
"Při čtení hodnoty senzorů zřejmě došlo k potížím.\n"
"Nelze zaručit správné fungování."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "T_yp senzorů:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Popis:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "I_nterval obnovení (sekundy):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Název"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Hodnota"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Zobrazit"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Barva"
-#: ../lib/sensors-interface.c:265
-#: ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Min"
-#: ../lib/sensors-interface.c:282
-#: ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Max"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Rozsah teplot:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "Stupně _Celsia"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "Stupně _Fahrenheita"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Senzory:"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "Nebyly nalezeny žádné senzory!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "vypnuto"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "zapnuto"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f otáček za minutu"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
"This program is published under the GPL v2.\n"
-"The license text can be found inside the program's source archive or under /usr/share/apps/LICENSES/GPL_V2 or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt\n"
+"The license text can be found inside the program's source archive or under /"
+"usr/share/apps/LICENSES/GPL_V2 or at http://www.gnu.org/licenses/old-"
+"licenses/gpl-2.0.txt\n"
msgstr ""
"Senzory %s pro Xfce4 \n"
"Tento program byl vydán pod licencí GPL v2.\n"
-"Licenci naleznete v archivu zdrojového kódu tohoto programu nebo v adresáři /usr/share/apps/LICENSES/GPL_V2 nebo na adrese http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt\n"
+"Licenci naleznete v archivu zdrojového kódu tohoto programu nebo v adresáři /"
+"usr/share/apps/LICENSES/GPL_V2 nebo na adrese http://www.gnu.org/licenses/"
+"old-licenses/gpl-2.0.txt\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -349,15 +365,36 @@ msgstr ""
"\n"
"Tento program byl vydán pod licencí GPL v2.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Senzory %s pro Xfce 4\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Prohlížeč senzorů"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"Zásuvný modul Senzory:\n"
+"Došlo k potížím při čtení hodnoty senzoru. \n"
+"Nelze zaručit správné fungování.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "Prohlížeč senzorů"
@@ -375,16 +412,24 @@ msgstr "Zobrazuje hodnoty senzorů"
msgid "Sensor plugin "
msgstr "Senzory"
+#~ msgid "g_raphical"
+#~ msgstr "g_rafický"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Zobrazovat _popisky v grafickém uživatelském rozhraní"
+
#~ msgid "Xfce 4 Sensors Plugin"
#~ msgstr "Zásuvný modul Senzory pro Xfce 4"
+
#~ msgid "Xfce 4 Sensors Viewer"
#~ msgstr "Prohlížeč senzorů pro Xfce 4"
+
#~ msgid "Edit Properties"
#~ msgstr "Upravit vlastnosti"
+
#~ msgid "View sensor values"
#~ msgstr "Zobrazovat hodnoty senzorů"
+
#~ msgid "Graphical Sensors Viewer for Xfce 4"
#~ msgstr "Grafický prohlížeč senzorů pro Xfce 4"
@@ -398,12 +443,15 @@ msgstr "Senzory"
#~ "Zásuvný modul Senzory hardwaru pro Xfce: \n"
#~ "Došlo k potížím při čtení hodnoty senzoru. \n"
#~ "Správná funkčnost nemůže být zaručena.\n"
+
#~ msgid "<span foreground=\"#000000\" size=\"%s\"><b>Sensors</b></span>\n"
#~ msgstr "<span foreground=\"#000000\" size=\"%s\"><b>Senzory</b></span>\n"
+
#~ msgid "<span foreground=\"#000000\" size=\"%s\"><b>Sensors</b></span>"
#~ msgstr "<span foreground=\"#000000\" size=\"%s\"><b>Senzory</b></span>"
+
#~ msgid "<b>Sensors</b>"
#~ msgstr "<b>Senzory</b>"
+
#~ msgid "<b>View</b>"
#~ msgstr "<b>Zobrazit</b>"
-
diff --git a/po/da.po b/po/da.po
index b6e8e0f..1fe06e0 100644
--- a/po/da.po
+++ b/po/da.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin 0.10.99.8\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-10-20 22:03+0100\n"
"Last-Translator: Per Kongstad <p_kongstad at op.pl>\n"
"Language-Team: Danish <dansk at dansk-gruppen.dk>\n"
@@ -18,18 +18,18 @@ msgstr ""
"X-Poedit-Country: DENMARK\n"
"X-Poedit-SourceCharset: utf-8\n"
-#: ../panel-plugin/sensors-plugin.c:225
-#: ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Sensorer</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Ingen sensorer valgt!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -40,112 +40,118 @@ msgstr ""
"Det lader til, at der var et problem med at læse en sensors funktionsværdi.\n"
"Korrekt viderebehandling kan ikke garanteres.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "Grafisk brugerfladestil:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_tekst"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "g_rafisk"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
msgid "Show _labels"
msgstr "Vi_s mærkater"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Vis farvede _bjælker"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "Vi_s titel"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr "_Antal af tekstlinjer:"
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "_Skrifttypestørrelse:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "ekstra lille"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "lille"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "mellem"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "stor"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "ekstra stor"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "_Skrifttypestørrelse:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "Vis _enheder"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "Små vandrette _mellemrum"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Undertryk beskeder"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "O_pdateringsinterval (sekunder):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "Kø_r ved dobbeltklik:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_Vis"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_Diverse"
-#: ../panel-plugin/sensors-plugin.c:1860
-#: ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Udvidelsesmodul for sensorer"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
-msgid "You can change a feature's properties such as name, colours, min/max value by double-clicking the entry, editing the content, and pressing \"Return\" or selecting a different field."
-msgstr "Du kan ændre en funktions egenskaber såsom navn, farver, minimum-/maksimumværdier ved at dobbeltklikke elementet, redigering af indhold og trykke \"Return\" eller vælge et andet felt."
+#: ../panel-plugin/sensors-plugin.c:2159
+msgid ""
+"You can change a feature's properties such as name, colours, min/max value "
+"by double-clicking the entry, editing the content, and pressing \"Return\" "
+"or selecting a different field."
+msgstr ""
+"Du kan ændre en funktions egenskaber såsom navn, farver, minimum-/"
+"maksimumværdier ved at dobbeltklikke elementet, redigering af indhold og "
+"trykke \"Return\" eller vælge et andet felt."
#. only use this if no hddtemp sensor
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:152
-#: ../lib/configuration.c:332
-#: ../lib/configuration.c:339
-#: ../lib/hddtemp.c:342
-#: ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Harddiske"
-#: ../lib/acpi.c:521
-#: ../lib/acpi.c:529
+#: ../lib/acpi.c:521 ../lib/acpi.c:529
msgid "ACPI"
msgstr "ACPI"
@@ -160,39 +166,44 @@ msgstr "ACPI v%s zoner"
msgid "<Unknown>"
msgstr "<Ukendt>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "S.M.A.R.T. harddisk-temperaturer"
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "Ingen konkret fejl fundet.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
-"\"hddtemp\" was not executed correctly, although it is executable. This is most probably due to the disks requiring root privileges to read their temperatures, and \"hddtemp\" not being setuid root.\n"
+"\"hddtemp\" was not executed correctly, although it is executable. This is "
+"most probably due to the disks requiring root privileges to read their "
+"temperatures, and \"hddtemp\" not being setuid root.\n"
"\n"
-"An easy but dirty solution is to run \"chmod u+s %s\" as root user and restart this plugin or its panel.\n"
+"An easy but dirty solution is to run \"chmod u+s %s\" as root user and "
+"restart this plugin or its panel.\n"
"\n"
"Calling \"%s\" gave the following error:\n"
"%s\n"
"with a return value of %d.\n"
msgstr ""
-"\"hddtemp\" blev ikke kørt korrekt, selvom denne er kørselbar. Dette skyldes mest sandsynligt, at diskene kræver administratorrettigheder for at aflæse deres temperaturer, og \"hddtemp\" er ikke setuid-rod.\n"
+"\"hddtemp\" blev ikke kørt korrekt, selvom denne er kørselbar. Dette skyldes "
+"mest sandsynligt, at diskene kræver administratorrettigheder for at aflæse "
+"deres temperaturer, og \"hddtemp\" er ikke setuid-rod.\n"
"\n"
-"En let men ikke pæn løsning er at køre \"chmod u+s %s\" som administrator og genstarte dette udvidelsesmodul eller dets paneler.\n"
+"En let men ikke pæn løsning er at køre \"chmod u+s %s\" som administrator og "
+"genstarte dette udvidelsesmodul eller dets paneler.\n"
"\n"
"Kaldet \"%s\" gav følgende fejl:\n"
"%s\n"
"med en svarværdi %d.\n"
-#: ../lib/hddtemp.c:533
-#: ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Undertryk denne besked for fremtiden"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -205,27 +216,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629
-#: ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "LM-sensorer"
-#: ../lib/lmsensors.c:362
-#: ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Fejl: Kunne ikke forbinde til sensorer!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "Udvidelsesmodul for sensorer fejlede"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -233,100 +242,106 @@ msgstr ""
"Det lader til, at der var et problem med at læse en sensors funktionsværdi.\n"
"Korrekt viderebehandling kan ikke garanteres."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "Sensor_typer:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Beskrivelse:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "O_pdateringsinterval (sekunder):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Navn"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Værdi"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Vis"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Farve"
-#: ../lib/sensors-interface.c:265
-#: ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Min."
-#: ../lib/sensors-interface.c:282
-#: ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Maks."
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Temperaturskala:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_Celsius"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fahrenheit"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Sensorer"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "Ingen sensorer fundet!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "slukket"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "tændt"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f o/m."
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
"This program is published under the GPL v2.\n"
-"The license text can be found inside the program's source archive or under /usr/share/apps/LICENSES/GPL_V2 or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt\n"
+"The license text can be found inside the program's source archive or under /"
+"usr/share/apps/LICENSES/GPL_V2 or at http://www.gnu.org/licenses/old-"
+"licenses/gpl-2.0.txt\n"
msgstr ""
"Sensorer %s til Xfce4\n"
"Dette program er udgivet under GPL v2.\n"
-"Licensteksten kan findes i programmets kildearkiv eller under /usr/share/apps/LICENSES/GPL_V2 eller på http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt\n"
+"Licensteksten kan findes i programmets kildearkiv eller under /usr/share/"
+"apps/LICENSES/GPL_V2 eller på http://www.gnu.org/licenses/old-licenses/gpl-"
+"2.0.txt\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -351,15 +366,36 @@ msgstr ""
"\n"
"Dette program er udgivet under GPL v2.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Sensorer %s til Xfce4\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Sensorvisere"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"Udvidelsesmodul for sensorer:\n"
+"Det lader til, at der var et problem med at læse en sensors funktionsværdi.\n"
+"Korrekt viderebehandling kan ikke garanteres.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "Sensorviser"
@@ -377,8 +413,11 @@ msgstr "Vis sensorværdier."
msgid "Sensor plugin "
msgstr "Sensor-udvidelsesmodul "
+#~ msgid "g_raphical"
+#~ msgstr "g_rafisk"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Vis _mærkater i grafisk brugerflade"
+
#~ msgid "Edit Properties"
#~ msgstr "Redigér egenskaber"
-
diff --git a/po/de.po b/po/de.po
index 8c4675d..8629a43 100644
--- a/po/de.po
+++ b/po/de.po
@@ -7,25 +7,26 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin 0.11.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
-"PO-Revision-Date: 2009-10-19 23:22+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
+"PO-Revision-Date: 2010-01-05 22:55+0100\n"
"Last-Translator: Fabian Nowak <timystery at arcor.de>\n"
"Language-Team: German <de at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Sensoren</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Keine Sensoren ausgewählt!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -36,94 +37,98 @@ msgstr ""
"Anscheinend gab es ein Problem beim Auslesen eines Wertes.\n"
"Sauberes Weiterlaufen kann nicht gewährleistet werden.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "Darstellung:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_textuell"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "_graphisch"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr "_Fortschrittsleisten"
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr "_Tachoanzeigen"
+
+#: ../panel-plugin/sensors-plugin.c:1707
msgid "Show _labels"
msgstr "_Beschriftungen anzeigen"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Bal_ken farbig darstellen"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "T_itel anzeigen"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr "A_nzahl Textzeilen:"
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "Sc_hriftgröße:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "extra-klein"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "klein"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "normal"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "groß"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "extra-groß"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+msgid "F_ont:"
+msgstr "Sc_hrift:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "_Einheiten anzeigen"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "K_leine horizontale Abstände"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Nachrichtendialoge unterbinden"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "A_uffrischungsintervall (Sekunden):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "Bei _Doppelklick ausführen:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_Aussehen"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "S_onstige Einstellungen"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Sensorüberwachung"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -137,8 +142,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Festplatten"
@@ -157,15 +162,15 @@ msgstr "ACPI v%s"
msgid "<Unknown>"
msgstr "<Unbekannt>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "S.M.A.R.T.-Sensoren der Festplatten"
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "Kein konkreter Fehler wurde gefunden.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -191,11 +196,11 @@ msgstr ""
"%s\n"
"mit einem Rückgabewert von %d.\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Diese Nachricht nicht mehr zeigen"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -208,25 +213,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "LM-Sensoren"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Fehler: Konnte nicht mit Sensoren verbinden!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "Fehler bei der Sensorüberwachung"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -234,87 +239,91 @@ msgstr ""
"Anscheinend gab es ein Problem beim Auslesen eines Wertes.\n"
"Sauberes Weiterlaufen kann nicht gewährleistet werden."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "Sensort_yp"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Beschreibung:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "A_uffrischungsintervall (Sekunden):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Name"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Wert"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Anzeigen"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Farbe"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Min"
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Max"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Temperaturskala"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "C_elsius"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fahrenheit"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Sensoren"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "Keine Sensoren gefunden!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "aus"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "an"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f U/min"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -329,7 +338,7 @@ msgstr ""
"oder unter usr/share/apps/LICENSES/GPL_V2 oder unter http://www.gnu.org/"
"licenses/old-licenses/gpl-2.0.txt\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -354,15 +363,36 @@ msgstr ""
"\n"
"Dieses Programm ist unter der GPL v2 veröffentlicht.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Xfce4-Sensoren %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr "Ü_bersicht"
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr "_Tachoanzeigen"
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Sensorbetrachter"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"Sensor-Plugin:\n"
+"Anscheinend gab es ein Problem beim Auslesen eines Wertes.\n"
+"Sauberes Weiterlaufen kann nicht gewährleistet werden.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "Sensorbetrachter"
@@ -380,6 +410,9 @@ msgstr "Sensorwerte erkannter Sensoren überwachen."
msgid "Sensor plugin "
msgstr "Sensor-Plugin"
+#~ msgid "g_raphical"
+#~ msgstr "_graphisch"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "_Beschriftungen im graphischen Modus anzeigen"
diff --git a/po/el.po b/po/el.po
index 68a43a6..18c4b94 100644
--- a/po/el.po
+++ b/po/el.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2006-10-14 19:59+0200\n"
"Last-Translator: Stavros Giannouris <stavrosg at serverhive.com>\n"
"Language-Team: Greek <nls at tux.hellug.gr>\n"
@@ -16,18 +16,19 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Country: GREECE\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
#, fuzzy
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\" size=\"%s\"><b>Αισθητήρες</b></span> \n"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Δεν επιλέχθηκαν αισθητήρες!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, fuzzy, c-format
msgid ""
"Sensors Plugin:\n"
@@ -39,104 +40,107 @@ msgstr ""
"Από οτι φαίνεται υπήρξε πρόβλημα κατά την ανάγνωση κάποιου αισθητήρα. \n"
"Δεν είναι εγγυημένη η κανονική συνέχεια.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
#, fuzzy
msgid "UI style:"
msgstr "Στυλ UI:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
#, fuzzy
msgid "_text"
msgstr "κείμενο"
-#: ../panel-plugin/sensors-plugin.c:1417
-#, fuzzy
-msgid "g_raphical"
-msgstr "γραφικό"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1707
#, fuzzy
msgid "Show _labels"
msgstr "Εμφάνιση τίτλου"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
#, fuzzy
msgid "_Show title"
msgstr "Εμφάνιση τίτλου"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
#, fuzzy
msgid "F_ont size:"
msgstr "Μέγεθος γραμματοσειράς:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "πολύ μικρό"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "Μικρό"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "μεσαίο"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "μεγάλο"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "πολύ μεγάλο"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "Μέγεθος γραμματοσειράς:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
#, fuzzy
msgid "Show _Units"
msgstr "Εμφάνιση τίτλου"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1682
-#, fuzzy
-msgid "U_pdate interval (seconds):"
-msgstr "Διάστημα ανανέωσης (δευτερόλεπτα):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
#, fuzzy
msgid "E_xecute on double click:"
msgstr "Εκτέλεση στο διπλό κλικ:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
#, fuzzy
msgid "_Miscellaneous"
msgstr "<b>Διάφορα</b>"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Πρόσθετο αισθητήρων"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -147,8 +151,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Σκληροί δίσκοι"
@@ -167,16 +171,16 @@ msgstr ""
msgid "<Unknown>"
msgstr ""
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
#, fuzzy
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "Αισθητήρες θερμοκρασίας σκληρών δίσκων"
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr ""
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -191,11 +195,11 @@ msgid ""
"with a return value of %d.\n"
msgstr ""
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr ""
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -206,27 +210,27 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr ""
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
#, fuzzy
msgid "LM Sensors"
msgstr "Τύπος αισθητήρα:"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Σφάλμα: Δεν ήταν δυνατή η σύνδεση με τους αισθητήρες!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
#, fuzzy
msgid "Sensors Plugin Failure"
msgstr "Πρόσθετο αισθητήρων"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
#, fuzzy
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
@@ -237,92 +241,97 @@ msgstr ""
"Από οτι φαίνεται υπήρξε πρόβλημα κατά την ανάγνωση κάποιου αισθητήρα. \n"
"Δεν είναι εγγυημένη η κανονική συνέχεια.\n"
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
#, fuzzy
msgid "Sensors t_ype:"
msgstr "Τύπος αισθητήρα:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr ""
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+#, fuzzy
+msgid "U_pdate interval (seconds):"
+msgstr "Διάστημα ανανέωσης (δευτερόλεπτα):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Όνομα"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Τιμή"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Εμφάνιση"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Χρώμα"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Ελαχ"
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Μεγ"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
#, fuzzy
msgid "Temperature scale:"
msgstr "Κλίμακα θερμοκρασίας:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
#, fuzzy
msgid "_Celsius"
msgstr "Κελσίου"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
#, fuzzy
msgid "_Fahrenheit"
msgstr "Φαρενάϊτ"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
#, fuzzy
msgid "_Sensors"
msgstr "Τύπος αισθητήρα:"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "Δε βρέθηκαν αισθητήρες!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr ""
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr ""
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, fuzzy, c-format
msgid "%.0f mWh"
msgstr "%5.0f rpm"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr ""
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr ""
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, fuzzy, c-format
msgid "%.0f rpm"
msgstr "%5.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -332,7 +341,7 @@ msgid ""
"licenses/gpl-2.0.txt\n"
msgstr ""
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -347,16 +356,38 @@ msgid ""
"This program is published under the GPL v2.\n"
msgstr ""
-#: ../src/main.c:75
+#: ../src/main.c:81
#, fuzzy, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Πρόσθετο αισθητήρων"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
#, fuzzy
msgid "Sensors Viewer"
msgstr "Τύπος αισθητήρα:"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+" \n"
+"Xfce Hardware Sensors Plugin: \n"
+"Από οτι φαίνεται υπήρξε πρόβλημα κατά την ανάγνωση κάποιου αισθητήρα. \n"
+"Δεν είναι εγγυημένη η κανονική συνέχεια.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
#, fuzzy
msgid "Sensor Viewer"
@@ -379,6 +410,10 @@ msgid "Sensor plugin "
msgstr "Πρόσθετο αισθητήρων"
#, fuzzy
+#~ msgid "g_raphical"
+#~ msgstr "γραφικό"
+
+#, fuzzy
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Εμφάνιση ετικετών σε γραφικό UI"
diff --git a/po/en_GB.po b/po/en_GB.po
index f4d4663..5266fd8 100644
--- a/po/en_GB.po
+++ b/po/en_GB.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-08-30 17:10+1000\n"
"Last-Translator: Jeff Bailes <thepizzaking at gmail.com>\n"
"Language-Team: English/GB\n"
@@ -17,17 +17,18 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Sensors</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "No sensors selected!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -38,95 +39,100 @@ msgstr ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "UI style:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_text"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "g_raphical"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
#, fuzzy
msgid "Show _labels"
msgstr "_Show title"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Show coloured _bars"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "_Show title"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "F_ont size:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "x-small"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "small"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "medium"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "large"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "x-large"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "F_ont size:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "Show _Units"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "Small horizontal s_pacing"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Suppress messages"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "U_pdate interval (seconds):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "E_xecute on double click:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_View"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_Miscellaneous"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Sensors Plugin"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -140,8 +146,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Hard disks"
@@ -160,15 +166,15 @@ msgstr "ACPI v%s zones"
msgid "<Unknown>"
msgstr "<Unknown>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "S.M.A.R.T. harddisk temperatures"
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "No concrete error detected.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -193,11 +199,11 @@ msgstr ""
"%s\n"
"with a return value of %d.\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Suppress this message in future"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -210,25 +216,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "LM Sensors"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Error: Could not connect to sensors!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "Sensors Plugin Failure"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -236,87 +242,91 @@ msgstr ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "Sensors t_ype:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Description:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "U_pdate interval (seconds):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Name"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Value"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Show"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Colour"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Min"
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Max"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Temperature scale:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_Celsius"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fahrenheit"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Sensors"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "No sensors found!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "off"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "on"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -331,7 +341,7 @@ msgstr ""
"usr/share/apps/LICENSES/GPL_V2 or at http://www.gnu.org/licenses/old-"
"licenses/gpl-2.0.txt\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -356,15 +366,36 @@ msgstr ""
"\n"
"This program is published under the GPL v2.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Xfce4 Sensors %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Sensors Viewer"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"Sensors Plugin:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "Sensor Viewer"
@@ -382,6 +413,9 @@ msgstr "Show sensor values."
msgid "Sensor plugin "
msgstr "Sensor plugin "
+#~ msgid "g_raphical"
+#~ msgstr "g_raphical"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Show _labels in graphical UI"
diff --git a/po/es.po b/po/es.po
index 6863b59..af0df32 100644
--- a/po/es.po
+++ b/po/es.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce 4-sensors-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-08-21 01:32-0300\n"
"Last-Translator: elega <elega at elega.com.ar>\n"
"Language-Team: Spanish\n"
@@ -16,17 +16,18 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Sensores</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "¡Ningún sensor seleccionado!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -38,95 +39,100 @@ msgstr ""
"sensor.\n"
"No se puede garantizar un funcionamiento adecuado.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "Estilo de UI:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_texto"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "g_ráfica"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
#, fuzzy
msgid "Show _labels"
msgstr "Mostrar _título"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Mostrar _barras con colores"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "Mostrar _título"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "Tamaño de _letra:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "muy pequeña"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "pequeña"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "medio"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "grande"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "muy grande"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "Tamaño de _letra:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "Mostrar _unidades"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "Es_paciado horizontal pequeño"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Suprimir mensajes"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "Intervalo de a_ctualización (segundos):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "E_jecutar al hacer doble clic:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_Ver"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_Varios"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Complemento Sensors"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -140,8 +146,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Discos duros"
@@ -160,15 +166,15 @@ msgstr "Zonas v%s ACPI"
msgid "<Unknown>"
msgstr "<Desconocido>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "Temperaturas de disco S.M.A.R.T."
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "No se detectó ningún error concreto.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -193,11 +199,11 @@ msgstr ""
"%s\n"
"con un valor de retorno de %d.\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Suprimir este mensaje en el futuro"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -210,25 +216,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "Sensores LM"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Error: ¡No se pudo conectar a los sensores!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "Fallo del complemento Sensors"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -237,87 +243,91 @@ msgstr ""
"sensor.\n"
"No se puede garantizar el funcionamiento adecuado."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "T_ipo de sensores:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Descripción:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "Intervalo de a_ctualización (segundos):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Nombre"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Valor"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Mostrar"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Color"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Mín."
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Máx."
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Escala de temperatura:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_Celsius"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fahrenheit"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Sensores"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "¡No se encontraron sensores!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "off"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "on"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -332,7 +342,7 @@ msgstr ""
"programa o en /usr/share/apps/LICENSES/GPL_V2 or en http://www.gnu.org/"
"licenses/old-licenses/gpl-2.0.txt\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -357,15 +367,37 @@ msgstr ""
"\n"
"Este programa está publicado bajo la GPL v2.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Xfce4 Sensors %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Visor de sensores"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"Complemento Sensors:\n"
+"Parece que hubo un problema leyendo el valor de una característica de un "
+"sensor.\n"
+"No se puede garantizar un funcionamiento adecuado.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "Visor de sensor"
@@ -383,5 +415,8 @@ msgstr "Mostrar valores de sensores."
msgid "Sensor plugin "
msgstr "Complemento de sensores"
+#~ msgid "g_raphical"
+#~ msgstr "g_ráfica"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Mostrar e_tiquetas en GUI"
diff --git a/po/eu.po b/po/eu.po
index d6a9138..57b1b76 100644
--- a/po/eu.po
+++ b/po/eu.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: eu\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-10-21 13:50+0200\n"
"Last-Translator: Piarres Beobide <pi at beobide.net>\n"
"Language-Team: Basque <debian-l10n-eu at debian.lists.org>\n"
@@ -19,17 +19,18 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 1.0\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Sentsoreak</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Ez da sentsorerik hautatu!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -40,94 +41,99 @@ msgstr ""
"Dirudienez arazo bat dago sentsore ezaugarri balioa irakurtzerakoan. \n"
"Ezin da behar bezala ibiliko denik ziurtatu.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "UI estiloa:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_testua"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "g_rafikoa"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
msgid "Show _labels"
msgstr "Ikusi _etiketak"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Ikusi koloretako _barrak "
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "Ikusi _izenburua"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr "_Testu lerro kopurua:"
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "Letra-tip_o tamaina:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "oso txikia"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "txikia"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "ertaina"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "handia"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "oso handia"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "Letra-tip_o tamaina:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "Ikusi _unitateak"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "Ikusi _zuriune horizontala"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Ezabatu mezuak"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "Egunera_keta aldia (segundo):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "Klik bikoitzarekin e_xekutatu:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_Ikusi"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_Bestelakoak"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Sentsore Plugina"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -141,8 +147,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Disko gogorrak"
@@ -161,15 +167,15 @@ msgstr "ACPI %sb zonaldeak"
msgid "<Unknown>"
msgstr "<Ezezaguna>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "S.M.A.R.T. diska gogor tenperaturak"
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "Ez da errore zehatzik atzeman.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -195,11 +201,11 @@ msgstr ""
"%s\n"
"%d erantzun balioarekin.\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Ez erakutsi mezu hau aurrerantzean"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -212,25 +218,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "LM sentsoreak"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Errorea: Ezin da sentsoreetara konektatu!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "Sentsore plugina hutsa"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -238,87 +244,91 @@ msgstr ""
"Dirudienez arazo bat dago sentsore ezaugarri balioa irakurtzerakoan. \n"
"Ezin da behar ebazlea ibiliko den ziurtatu."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "Sentsore m_ota:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Azalpena:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "Egunera_keta aldia (segundo):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Izena"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Balioa"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Bistarazi"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Kolorea"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Gutx"
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Geh"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Tenperatura eskala:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_Celsius"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fahrenheit"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Sentsoreak"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "Ez da sentsorerik aurkitu!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "itzalia"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "aktibo"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -333,7 +343,7 @@ msgstr ""
"usr/share/apps/LICENSES/GPL_V2 or at http://www.gnu.org/licenses/old-"
"licenses/gpl-2.0.txt\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -358,15 +368,36 @@ msgstr ""
"\n"
"Programa hau GPL v2 lizentziapean kaleratu da.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Xfce 4 sentsore %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Sentsore ikustailea"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"Sentsore plugina: \n"
+"Dirudienez arazo bat dago sentsore ezaugarri balioa irakurtzerakoan. \n"
+"Ezin da behar bezala ibiliko denik ziurtatu.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "Sentsore ikustailea"
@@ -384,6 +415,9 @@ msgstr "Sentsore balioak bistarazi."
msgid "Sensor plugin "
msgstr "Sentsore plugina "
+#~ msgid "g_raphical"
+#~ msgstr "g_rafikoa"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "_Etitketa bistarazi UI grafikoan"
diff --git a/po/fi.po b/po/fi.po
index ef5f0f7..aec12a4 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin 0.11.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2008-12-17 17:12+0200\n"
"Last-Translator: Jari Rahkonen <jari.rahkonen at pp1.inet.fi>\n"
"Language-Team: Finnish\n"
@@ -16,17 +16,18 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Anturit</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Antureita ei valittu!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -37,97 +38,102 @@ msgstr ""
"Ilmeisesti anturin arvon lukeminen ei onnistunut.\n"
"Sovellus ei välttämättä toimi oikein.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "Käyttöliittymän tyyli:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_Teksti"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "_Graafinen"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
#, fuzzy
msgid "Show _labels"
msgstr "_Näytä otsikko"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Näytä _väritetyt palkit"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "_Näytä otsikko"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "_Kirjasimen koko:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "Hyvin pieni"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "Pieni"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "Keskikokoinen"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "Suuri"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "Hyvin suuri"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "_Kirjasimen koko:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "Näytä _yksiköt"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "Tiivistä _vaakasuunnassa"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Älä näytä viestejä"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "_Päivitysväli (sekunneissa):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr ""
"S_uorita, kun kuvaketta\n"
"kaksoisnapsautetaan:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_Näytä"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "Se_kalaiset"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Anturiliitännäinen"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -141,8 +147,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Kiintolevyt"
@@ -161,15 +167,15 @@ msgstr "ACPI versio %s vyöhykkeet"
msgid "<Unknown>"
msgstr "<Tuntematon>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "S.M.A.R.T. -kiintolevylämpötilat"
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "Selkeää virhettä ei havaittu.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -196,11 +202,11 @@ msgstr ""
"%s\n"
"ja palautti arvon %d.\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Älä näytä tätä viestiä jatkossa"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -213,25 +219,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "LM-anturit"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Virhe: Antureihin ei voi yhdistää!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "Anturiliitännäisen virhe"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -239,87 +245,91 @@ msgstr ""
"Ilmeisesti anturin arvon lukeminen ei onnistunut.\n"
"Sovellus ei välttämättä toimi oikein."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "Antureiden _tyyppi:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Kuvaus:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "_Päivitysväli (sekunneissa):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Nimi"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Arvo"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Näytä"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Väri"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Alaraja"
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Yläraja"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Lämpötilan yksikkö:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_Celsius"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fahrenheit"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Anturit"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "Antureita ei löytynyt!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "pois päältä"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "päällä"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -334,7 +344,7 @@ msgstr ""
"share/apps/LICENSES/GPL_V2 tai osoitteesta http://www.gnu.org/licenses/old-"
"licenses/gpl-2.0.txt\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -357,15 +367,36 @@ msgstr ""
" -l, --license Näyttää lisenssitiedot.\n"
" -V, --version Näyttää versiotiedot.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Xfce4 Anturit %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Anturien näyttäjä"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"Anturiliitännäinen:\n"
+"Ilmeisesti anturin arvon lukeminen ei onnistunut.\n"
+"Sovellus ei välttämättä toimi oikein.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "Anturien näyttäjä"
@@ -383,5 +414,8 @@ msgstr "Näyttää anturien arvot"
msgid "Sensor plugin "
msgstr "Anturiliitännäinen"
+#~ msgid "g_raphical"
+#~ msgstr "_Graafinen"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Näytä ni_met graafisessa käyttöliittymässä"
diff --git a/po/fr.po b/po/fr.po
index 2127e55..b8142a1 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-03-19 21:00+0100\n"
"Last-Translator: Mike Massonnet <mmassonnet at gmail.com>\n"
"Language-Team: French <xfce-i18n at xfce.org>\n"
@@ -17,17 +17,18 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Capteurs</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Aucun capteur sélectionné !"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -38,94 +39,99 @@ msgstr ""
"Il semblerait qu'il y ait un problème de lecture de valeur sur un capteur.\n"
"L'exécution normale ne peut pas être garantie.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "Style de l'interface :"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_texte"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "g_raphique"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
msgid "Show _labels"
msgstr "Affi_cher les étiquettes"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Afficher les _barres en couleur"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "Affi_cher le titre"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr "_Nombre de lignes de texte :"
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "Taille de la _police :"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "très petite"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "petite"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "normale"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "grande"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "très grande"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "Taille de la _police :"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "Afficher les _unités"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "E_space horizontal petit"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Supprimer les messages"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "_Intervalle de mise-à-jour (secondes) :"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "E_xécute après un double clic :"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_Afficher"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_Divers"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Greffon de Capteurs"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -139,8 +145,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Disques dur"
@@ -159,15 +165,15 @@ msgstr "Zones ACPI v%s"
msgid "<Unknown>"
msgstr "<Inconnu>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "Sondes de température du disque dur S.M.A.R.T."
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "Aucune erreur concrète détectée.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -192,11 +198,11 @@ msgstr ""
"%s\n"
"avec le code retour %d.\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Ne plus afficher ce message"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -209,25 +215,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "lm-sensors"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Erreur : ne peut pas se connecter aux capteurs !"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "Erreur dans le greffon de capteurs"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -235,87 +241,91 @@ msgstr ""
"Il semblerait qu'il y ait un problème de lecture de valeur sur un capteur.\n"
"L'exécution normale ne peut pas être garantie."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "T_ype de capteurs :"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Description :"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "_Intervalle de mise-à-jour (secondes) :"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Nom"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Valeur"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Afficher"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Couleur"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Min"
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Max"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Échelle de température :"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_Celsius"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fahrenheit"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Senseurs"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "Aucun senseur trouvé !"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "inactif"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "actif"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f tr/mn"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -329,7 +339,7 @@ msgstr ""
"Le texte de la licence est disponible à l'intérieur de l'archive source du "
"programme ou sur http://www.gun.org/licenses/\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -354,15 +364,36 @@ msgstr ""
"\n"
"Ce programme est publié sous la licence GPL v2.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Capteurs Xfce4 %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Afficheur de captures"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"Greffon de Capteurs :\n"
+"Il semblerait qu'il y ait un problème de lecture de valeur sur un capteur.\n"
+"L'exécution normale ne peut pas être garantie.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "Afficheur de capteur"
@@ -380,5 +411,8 @@ msgstr "Afficher les valeurs du capteur."
msgid "Sensor plugin "
msgstr "Greffon de capteurs"
+#~ msgid "g_raphical"
+#~ msgstr "g_raphique"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Affic_her les étiquettes dans l'interface graphique"
diff --git a/po/id.po b/po/id.po
index 1f68d7c..7ab8e1d 100644
--- a/po/id.po
+++ b/po/id.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-04-09 21:46-0400\n"
"Last-Translator: Andhika Padmawan <andhika.padmawan at gmail.com>\n"
"Language-Team: Indonesian <id at li.org>\n"
@@ -15,17 +15,18 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Sensor</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Tak ada sensor yang dipilih!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -36,95 +37,100 @@ msgstr ""
"Kelihatannya terdapat masalah saat membaca nilai fitur sensor.\n"
"Eksekusi yang normal tidak dapat dijamin.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "Gaya UI:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_teks"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "g_rafik"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
#, fuzzy
msgid "Show _labels"
msgstr "_Tampilkan judul"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Tampilkan batang _berwarna"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "_Tampilkan judul"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "U_kuran fonta:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "sangat kecil"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "kecil"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "sedang"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "besar"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "sangat besar"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "U_kuran fonta:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "Tampilkan _Unit"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "P_emisah horizontal kecil"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Kecilkan pesan"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "I_nterval pemutakhiran (detik):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "E_ksekusi pada klik ganda:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_Tampilan"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_Lainnya"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Plugin Sensor"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -138,8 +144,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Cakram keras"
@@ -158,15 +164,15 @@ msgstr "Zona v%s ACPI"
msgid "<Unknown>"
msgstr "<Tak diketahui>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "Temperatur cakram keras S.M.A.R.T."
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "Tak ada galat konkrit terdeteksi.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -191,11 +197,11 @@ msgstr ""
"%s\n"
"dengan nilai kembali %d.\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Kecilkan pesan ini di masa depan"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -208,25 +214,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "Sensor LM"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Galat: Tak dapat menghubungi sensor!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "Kegagalan Plugin Sensor"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -234,87 +240,91 @@ msgstr ""
"Kelihatannya terdapat masalah saat membaca nilai fitur sensor.\n"
"Eksekusi yang normal tidak dijamin."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "Tipe s_ensor:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Keterangan:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "I_nterval pemutakhiran (detik):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Nama"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Nilai"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Tampilkan"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Warna"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Min"
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Maks"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Skala temperatur:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_Celsius"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fahrenheit"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Sensor"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "Tak ada sensor yang ditemukan!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWj"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "padam"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "hidup"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -329,7 +339,7 @@ msgstr ""
"usr/share/apps/LICENSES/GPL_V2 atau di http://www.gnu.org/licenses/old-"
"licenses/gpl-2.0.txt\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -354,15 +364,36 @@ msgstr ""
"\n"
"Program ini dipublikasikan di bawah GPL v2.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Sensor Xfce4 %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Penampil Sensor"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"Plugin Sensor:\n"
+"Kelihatannya terdapat masalah saat membaca nilai fitur sensor.\n"
+"Eksekusi yang normal tidak dapat dijamin.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "Penampil Sensor"
@@ -380,6 +411,9 @@ msgstr "Tampilkan nilai sensor."
msgid "Sensor plugin "
msgstr "Plugin sensor"
+#~ msgid "g_raphical"
+#~ msgstr "g_rafik"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Tampilkan _label dalam grafik UI"
diff --git a/po/ja.po b/po/ja.po
index db3863a..0d149b8 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-10-20 23:53+0900\n"
"Last-Translator: Masato Hashimoto <cabezon.hashimoto at gmail.com>\n"
"Language-Team: xfce-users-jp <xfce-users-jp at ml.fdiary.net>\n"
@@ -16,17 +16,18 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>センサ</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "センサが選択されていません!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -37,94 +38,99 @@ msgstr ""
"センサ機能値の読み込みに問題があるようです。\n"
"正確な値は保証されません。\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "UI のスタイル:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "テキスト(_T)"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "グラフィック(_R)"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
msgid "Show _labels"
msgstr "ラベルを表示する(_L)"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "色付きバーで表示する(_B)"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "タイトルを表示する(_S)"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr "表示行数(_N)"
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "フォントのサイズ(_O):"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "極小"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "小"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "普通"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "大"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "巨大"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "フォントのサイズ(_O):"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "単位を表示する(_U)"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "小さな横幅間隔(_P)"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "メッセージを抑止する"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "更新間隔(秒)(_P):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "ダブルクリックで実行(_X):"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "表示(_V)"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "その他(_M)"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "センサプラグイン"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -138,8 +144,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "ハードディスク"
@@ -158,15 +164,15 @@ msgstr "ACPI v%s ゾーン"
msgid "<Unknown>"
msgstr "<不明>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "S.M.A.R.T. ハードディスク温度"
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "具体的なエラーが検出されませんでした。\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -191,11 +197,11 @@ msgstr ""
"%s\n"
"返り値: %d\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "今後このメッセージを表示しない"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -208,25 +214,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "LM Sensors"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "エラー: センサに接続できませんでした!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "センサプラグイン 失敗"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -234,87 +240,91 @@ msgstr ""
"センサ機能値の読み込みに問題があるようです。\n"
"正確な値は保証されません。"
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "センサの種類(_Y):"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "説明:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "更新間隔(秒)(_P):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "名前"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "値"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "表示"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "色"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "最小"
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "最大"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "温度の目盛:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "摂氏(_C)"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "華氏(_F)"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "センサ(_S)"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "センサが見つかりません!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "オフ"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "オン"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -329,7 +339,7 @@ msgstr ""
"配下、または http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt にありま"
"す。\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -354,15 +364,36 @@ msgstr ""
"\n"
"このプログラムは GPL v2 ライセンスの下で公開されます。\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Xfce 4 センサ %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "センサビューア"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"センサプラグイン:\n"
+"センサ機能値の読み込みに問題があるようです。\n"
+"正確な値は保証されません。\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "センサビューア"
@@ -380,5 +411,8 @@ msgstr "センサの値を表示します。"
msgid "Sensor plugin "
msgstr "センサプラグイン"
+#~ msgid "g_raphical"
+#~ msgstr "グラフィック(_R)"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "グラフィカル UI にラベルを表示する(_L)"
diff --git a/po/ko.po b/po/ko.po
index 4ed8b8a..786f369 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2005-12-11 02:20+0900\n"
"Last-Translator: ByungHyun Choi <byunghyun.choi at debianusers.org>\n"
"Language-Team: xfce4-users-kr-i18n <xfce4-users-kr-i18n at lists.sourceforge."
@@ -16,18 +16,19 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
#, fuzzy
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\" size=\"%s\"><b>센서</b></span> \n"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "센서를 선택하지 않았습니다!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, fuzzy, c-format
msgid ""
"Sensors Plugin:\n"
@@ -39,98 +40,103 @@ msgstr ""
"센서의 기능과 측정치를 읽는 도중 문제가 생긴 것 같습니다.\n"
"따라서 정상적인 동작을 보장할 수 없습니다.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
#, fuzzy
msgid "UI style:"
msgstr "UI 스타일(_U):"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "글자(_t)"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "그림(_r)"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
#, fuzzy
msgid "Show _labels"
msgstr "이름 보여주기(_S)"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "색깔있는 막대 보이기(_b)"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "이름 보여주기(_S)"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "글꼴 크기(_o):"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "아주 작게"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "작게"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "중간"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "크게"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "아주 크게"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "글꼴 크기(_o):"
+
+#: ../panel-plugin/sensors-plugin.c:1898
#, fuzzy
msgid "Show _Units"
msgstr "이름 보여주기(_S)"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "검사 간격 (초)(_p):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "따닥(더블클릭)하면 실행합니다(_x):"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
#, fuzzy
msgid "_Miscellaneous"
msgstr "<b>기타</b>"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "센서 플러그인"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -141,8 +147,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "하드 디스크"
@@ -161,16 +167,16 @@ msgstr ""
msgid "<Unknown>"
msgstr ""
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
#, fuzzy
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "하드디스크 온도 센서"
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr ""
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -185,11 +191,11 @@ msgid ""
"with a return value of %d.\n"
msgstr ""
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr ""
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -200,27 +206,27 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr ""
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
#, fuzzy
msgid "LM Sensors"
msgstr "<b>센서</b>"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "오류: 선세에 연결하지 못 했습니다."
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
#, fuzzy
msgid "Sensors Plugin Failure"
msgstr "센서 플러그인"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
#, fuzzy
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
@@ -231,90 +237,94 @@ msgstr ""
"센서의 기능과 측정치를 읽는 도중 문제가 생긴 것 같습니다.\n"
"따라서 정상적인 동작을 보장할 수 없습니다.\n"
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
#, fuzzy
msgid "Sensors t_ype:"
msgstr "센서 종류(_t):"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr ""
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "검사 간격 (초)(_p):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "이름"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "값"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "보이기"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "색상"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "최소"
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "최대"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
#, fuzzy
msgid "Temperature scale:"
msgstr "온도 단위(_e):"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "섭씨(_C)"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "화씨(_F)"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
#, fuzzy
msgid "_Sensors"
msgstr "<b>센서</b>"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "센서를 못 찾았습니다!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr ""
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr ""
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, fuzzy, c-format
msgid "%.0f mWh"
msgstr "%5.0f RPM"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr ""
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr ""
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, fuzzy, c-format
msgid "%.0f rpm"
msgstr "%5.0f RPM"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -324,7 +334,7 @@ msgid ""
"licenses/gpl-2.0.txt\n"
msgstr ""
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -339,16 +349,38 @@ msgid ""
"This program is published under the GPL v2.\n"
msgstr ""
-#: ../src/main.c:75
+#: ../src/main.c:81
#, fuzzy, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "센서 플러그인"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
#, fuzzy
msgid "Sensors Viewer"
msgstr "센서 종류(_t):"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+" \n"
+"Xfce 하드웨어 센서 플러그인: \n"
+"센서의 기능과 측정치를 읽는 도중 문제가 생긴 것 같습니다.\n"
+"따라서 정상적인 동작을 보장할 수 없습니다.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
#, fuzzy
msgid "Sensor Viewer"
@@ -370,6 +402,9 @@ msgstr "센서 값 보이기"
msgid "Sensor plugin "
msgstr "센서 플러그인"
+#~ msgid "g_raphical"
+#~ msgstr "그림(_r)"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "GUI에 레이블 보이기(_l)"
diff --git a/po/lt.po b/po/lt.po
index 00b32f6..4ce698f 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2005-02-04 21:07+0200\n"
"Last-Translator: Rimas Kudelis <rq at akl.lt>\n"
"Language-Team: Lithuanian <komp_lt at konferencijos.lt>\n"
@@ -15,18 +15,19 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
#, fuzzy
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\" size=\"%s\"><b>Sensoriai</b></span> \n"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Nepasirinkti jokie sensoriai!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, fuzzy, c-format
msgid ""
"Sensors Plugin:\n"
@@ -39,99 +40,103 @@ msgstr ""
"savybės reikšmę. \n"
"Tvarkingas tolesnis darbas negali būti užtikrinamas. \n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1707
#, fuzzy
msgid "Show _labels"
msgstr "Rodyti pavadinimą"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
#, fuzzy
msgid "_Show title"
msgstr "Rodyti pavadinimą"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
#, fuzzy
msgid "F_ont size:"
msgstr "Šrifto dydis:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "labai mažas"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "mažas"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "vidutinis"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "didelis"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "labai didelis"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "Šrifto dydis:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
#, fuzzy
msgid "Show _Units"
msgstr "Rodyti pavadinimą"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1682
-#, fuzzy
-msgid "U_pdate interval (seconds):"
-msgstr "Atnaujinimo dažnumas (sek.):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr ""
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -142,8 +147,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr ""
@@ -162,16 +167,16 @@ msgstr ""
msgid "<Unknown>"
msgstr ""
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
#, fuzzy
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "Aparatiniai sensoriai"
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr ""
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -186,11 +191,11 @@ msgid ""
"with a return value of %d.\n"
msgstr ""
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr ""
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -201,27 +206,27 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr ""
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
#, fuzzy
msgid "LM Sensors"
msgstr "Sensorių tipas:"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr ""
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
#, fuzzy
msgid "Sensors Plugin Failure"
msgstr "Sensorių tipas:"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
#, fuzzy
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
@@ -233,89 +238,94 @@ msgstr ""
"savybės reikšmę. \n"
"Tvarkingas tolesnis darbas negali būti užtikrinamas. \n"
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
#, fuzzy
msgid "Sensors t_ype:"
msgstr "Sensorių tipas:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr ""
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+#, fuzzy
+msgid "U_pdate interval (seconds):"
+msgstr "Atnaujinimo dažnumas (sek.):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr ""
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr ""
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr ""
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr ""
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr ""
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr ""
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr ""
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr ""
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr ""
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
#, fuzzy
msgid "_Sensors"
msgstr "Sensorių tipas:"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "Jokių sensorių nerasta!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr ""
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr ""
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr ""
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr ""
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr ""
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr ""
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -325,7 +335,7 @@ msgid ""
"licenses/gpl-2.0.txt\n"
msgstr ""
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -340,16 +350,39 @@ msgid ""
"This program is published under the GPL v2.\n"
msgstr ""
-#: ../src/main.c:75
+#: ../src/main.c:81
#, fuzzy, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Sensorių tipas:"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
#, fuzzy
msgid "Sensors Viewer"
msgstr "Sensorių tipas:"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+" \n"
+"Xfce aparatinių sensorių įskiepis: \n"
+" Atrodo, jog buvo problemų nuskaitant sensoriaus "
+"savybės reikšmę. \n"
+"Tvarkingas tolesnis darbas negali būti užtikrinamas. \n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
#, fuzzy
msgid "Sensor Viewer"
diff --git a/po/lv.po b/po/lv.po
index 3a81400..0a37bf6 100644
--- a/po/lv.po
+++ b/po/lv.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Pxfce4-sensors-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-10-21 13:18+0100\n"
"Last-Translator: Rihards Prieditis <rprieditis at gmail.com>\n"
"Language-Team: Latvian <translation-team-lv at lists.sourceforge.net>\n"
@@ -19,17 +19,18 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
"2);\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Sensors</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Neviens sensors nav izvēlēts!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -40,94 +41,99 @@ msgstr ""
"Liekas, ka radās problēma lasot sensora iespēju vērtību.\n"
"Darba spējīga turpināšana netiek garantēta.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "UI stils:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_teksts"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "g_rafisks"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
msgid "Show _labels"
msgstr "_Rādīt etiķetes"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Rādīt krāsainas _joslas"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "_Rādīt virsrakstu"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr "_Teksta rindiņu skaits"
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "F_onta izmērs:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "viss mazākais"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "mazs"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "vidējs"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "liels"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "viss lielākais"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "F_onta izmērs:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "_Rādīt vienību"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "Mazas horizontālās atstar_ptes"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Apspiest ziņas"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "At_jaunināšanas intervāls (sekundes):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "I_zpildīt uz dubultklikšķi:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_Skats"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_Dažādi"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Sensoru spraudnis"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -141,8 +147,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Cietie diski"
@@ -161,15 +167,15 @@ msgstr "ACPI v%s zonas"
msgid "<Unknown>"
msgstr "<Nezināms>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "S.M.A.R.T. cietā diska temperatūras"
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "Nevienas konkrētas kļūdas nav noteiktas.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -194,11 +200,11 @@ msgstr ""
"%s\n"
"un atgrieza vērtību %d\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Apspiest šo ziņu turpmāk"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -211,25 +217,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "LM sensors"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Kļūda: Nevarēju savienoties ar sensoru!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "Sensora spraudņa kļūda"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -237,87 +243,91 @@ msgstr ""
"Liekas bija problēma ar sensora iespēju nolasīšanu.\n"
"Normāla darbība nevar tikt garantēta."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "Sensoru _tips:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Apraksts:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "At_jaunināšanas intervāls (sekundes):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Nosaukums"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Vērtība"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Rādīt"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Krāsa"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Min"
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Maks"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Temperatūras skala:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_Celsija"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fārenheita"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "S_ensori"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "Netika atrasts neviens sensors!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "izslēgts"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "ieslēgts"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f apgriezieni min"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -332,7 +342,7 @@ msgstr ""
"apps/LICENSES/GPL_V2 vai http://www.gnu.org/licenses/old-licenses/gpl-2.0."
"txt\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -357,15 +367,36 @@ msgstr ""
"\n"
"Programma publicēta zem GPL v2.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Xfce 4 sensori %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Sensoru skatītājs"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"Xfce dzelžu sensora spraudnis:\n"
+"Liekas, ka radās problēma lasot sensora iespēju vērtību.\n"
+"Darba spējīga turpināšana netiek garantēta.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "Sensoru skatītājs"
@@ -383,6 +414,9 @@ msgstr "Rādīt sensora vērtības."
msgid "Sensor plugin "
msgstr "Sensoru spraudnis"
+#~ msgid "g_raphical"
+#~ msgstr "g_rafisks"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Rādīt _etiķetes grafiskajā UI"
diff --git a/po/pl.po b/po/pl.po
index 6d56dc7..c51997e 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-04-08 11:40+0100\n"
"Last-Translator: Piotr Sokół <piotr.sokol at 10g.pl>\n"
"Language-Team: Polish\n"
@@ -16,17 +16,18 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Czujniki</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Nie wybrano czujników"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -38,95 +39,100 @@ msgstr ""
"Prawdobodobnie wystąpił problem podczas odczytywania wartości czujnika.\n"
"Wskazania mogą być niezgodne z prawdą.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "Styl interfejsu:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_Tekstowy"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "_Graficzny"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
#, fuzzy
msgid "Show _labels"
msgstr "_Etykieta"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "_Kolory wskaźników"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "_Etykieta"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "_Rozmiar czcionki:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "Bardzo mała"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "Mała"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "Normalna"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "Duża"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "Bardzo duża"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "_Rozmiar czcionki:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "_Jednostki"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "Okres _aktualizacji (s):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "Polecenie _wykonywane po dwukrotnym kliknięciu:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "W_yświetlanie"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_Inne"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Czujniki"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -137,8 +143,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Dyski twarde"
@@ -157,16 +163,16 @@ msgstr "ACPI wersja: %s"
msgid "<Unknown>"
msgstr "<nieznana>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "Czujniki systemu S.M.A.R.T."
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
#, fuzzy
msgid "No concrete error detected.\n"
msgstr "Wykryto nieznany błąd.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -190,11 +196,11 @@ msgstr ""
"Wykonanie „%s” zwraca błąd: %s\n"
"oraz wartość %d.\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Ukrywanie tego okna w przyszłości"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -205,26 +211,26 @@ msgstr "Wystąpił błąd podczas uruchamiania „%s”: %s"
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
#, fuzzy
msgid "LM Sensors"
msgstr "Typ sensorów:"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Błąd: nie można połączyć z czujnikiem"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "Błąd wtyczki czujników"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -232,87 +238,91 @@ msgstr ""
"Prawdobodobnie wystąpił problem podczas odczytywania wartości czujnika.\n"
"Wskazania mogą być niezgodne z prawdą."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "_Typ:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Opis:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "Okres _aktualizacji (s):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Nazwa"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Wartość"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Wyświetlanie"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Kolor"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Wartość min."
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Wartość maks."
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Skala temperatury:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_Celsjusza"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fahrenheita"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Wskazania"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "Nie odnaleziono czujników"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "Wyłączony"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "Włączony"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f obr./min"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -328,7 +338,7 @@ msgstr ""
"w pliku /usr/share/apps/LICENSES/GPL_V2 lub na stronie http://www.gnu.org/"
"licenses/old-licenses/gpl-2.0.txt\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -350,16 +360,38 @@ msgstr ""
" -l, --license Wypisuje informacje o licencji\n"
" -V, --version Wypisuje informacje o wersji\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Xfce4 Sensors %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
#, fuzzy
msgid "Sensors Viewer"
msgstr "Typ sensorów:"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+" \n"
+"Wtyczka panelu „Czujniki”:\n"
+"Prawdobodobnie wystąpił problem podczas odczytywania wartości czujnika.\n"
+"Wskazania mogą być niezgodne z prawdą.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
#, fuzzy
msgid "Sensor Viewer"
@@ -379,6 +411,9 @@ msgstr "Wyświetla wskazania czujników sprzętowych"
msgid "Sensor plugin "
msgstr "Czujniki"
+#~ msgid "g_raphical"
+#~ msgstr "_Graficzny"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "_Etykiety czujników"
diff --git a/po/pt.po b/po/pt.po
index 75628e8..6909c7c 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-19 23:21+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-10-19 23:48+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -15,18 +15,18 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/sensors-plugin.c:225
-#: ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Sensores</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Nenhum sensor seleccionado!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -37,112 +37,118 @@ msgstr ""
"Parece ter ocorrido um problema durante a leitura de um sensor.\n"
"Não é possível garantir o procedimento apropriado.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "Estilo da interface:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_texto"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "g_ráfico"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
msgid "Show _labels"
msgstr "Mo_strar rótulos"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Mostrar _barras coloridas"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "_Mostrar título"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr "_Número de linhas de texto:"
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "Tamanho de f_onte:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "x-pequeno"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "pequeno"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "médio"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "grande"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "x-grande"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "Tamanho de f_onte:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "Mostrar _Unidades"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "E_spaçamento horizontal pequeno"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Suprimir mensagens"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "Intervalo de _actualização (segundos):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "E_xecutar com duplo clique:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_Ver"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_Variedades"
-#: ../panel-plugin/sensors-plugin.c:1860
-#: ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Plugin Sensores"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
-msgid "You can change a feature's properties such as name, colours, min/max value by double-clicking the entry, editing the content, and pressing \"Return\" or selecting a different field."
-msgstr "Pode mudar a funcionalidade das propriedades como: nome, cores, valores min/max ao fazer duplo clique na entrada, editar o conteúdo e pressionando \"Enter\" ou seleccionar um campo diferente."
+#: ../panel-plugin/sensors-plugin.c:2159
+msgid ""
+"You can change a feature's properties such as name, colours, min/max value "
+"by double-clicking the entry, editing the content, and pressing \"Return\" "
+"or selecting a different field."
+msgstr ""
+"Pode mudar a funcionalidade das propriedades como: nome, cores, valores min/"
+"max ao fazer duplo clique na entrada, editar o conteúdo e pressionando "
+"\"Enter\" ou seleccionar um campo diferente."
#. only use this if no hddtemp sensor
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:152
-#: ../lib/configuration.c:332
-#: ../lib/configuration.c:339
-#: ../lib/hddtemp.c:342
-#: ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Discos rígidos"
-#: ../lib/acpi.c:521
-#: ../lib/acpi.c:529
+#: ../lib/acpi.c:521 ../lib/acpi.c:529
msgid "ACPI"
msgstr "ACPI"
@@ -157,39 +163,44 @@ msgstr "Zonas ACPI v%s"
msgid "<Unknown>"
msgstr "<Desconhecido>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "Temperatura do disco rígido S.M.A.R.T."
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "Erro concreto não detectado.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
-"\"hddtemp\" was not executed correctly, although it is executable. This is most probably due to the disks requiring root privileges to read their temperatures, and \"hddtemp\" not being setuid root.\n"
+"\"hddtemp\" was not executed correctly, although it is executable. This is "
+"most probably due to the disks requiring root privileges to read their "
+"temperatures, and \"hddtemp\" not being setuid root.\n"
"\n"
-"An easy but dirty solution is to run \"chmod u+s %s\" as root user and restart this plugin or its panel.\n"
+"An easy but dirty solution is to run \"chmod u+s %s\" as root user and "
+"restart this plugin or its panel.\n"
"\n"
"Calling \"%s\" gave the following error:\n"
"%s\n"
"with a return value of %d.\n"
msgstr ""
-"\"hddtemp\" não foi executado correctamente, apesar de ser executável. Isto é muito provavelmente devido ao disco requerer privilégios de root para ler a temperatura e \"hddtemp\" não está com setuid root.\n"
+"\"hddtemp\" não foi executado correctamente, apesar de ser executável. Isto "
+"é muito provavelmente devido ao disco requerer privilégios de root para ler "
+"a temperatura e \"hddtemp\" não está com setuid root.\n"
"\n"
-"Uma maneira fácil mas suja é executar \"chmod u+s %s\" como root e reiniciar este plugin ou o painel.\n"
+"Uma maneira fácil mas suja é executar \"chmod u+s %s\" como root e "
+"reiniciar este plugin ou o painel.\n"
"\n"
"Chamada a \"%s\" deu o seguinte erro:\n"
"%s\n"
"com um retorno de erro de %d.\n"
-#: ../lib/hddtemp.c:533
-#: ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Suprimir esta mensagem no futuro"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -202,27 +213,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629
-#: ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "Sensores LM"
-#: ../lib/lmsensors.c:362
-#: ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Erro: Impossível ligar aos sensores!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "Falha no Sensors Plugin"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -230,100 +239,106 @@ msgstr ""
"Parece ter ocorrido um problema durante a leitura de um sensor.\n"
"Não é possível garantir o procedimento apropriado."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "_Tipos de sensores:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Descrição:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "Intervalo de _actualização (segundos):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Nome"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Valor"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Mostrar"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Cor"
-#: ../lib/sensors-interface.c:265
-#: ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Min"
-#: ../lib/sensors-interface.c:282
-#: ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Max"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Escala de temperatura:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_Celsius"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fahrenheit"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Sensores"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "Nenhum sensor encontrado!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "desligado"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "ligado"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
"This program is published under the GPL v2.\n"
-"The license text can be found inside the program's source archive or under /usr/share/apps/LICENSES/GPL_V2 or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt\n"
+"The license text can be found inside the program's source archive or under /"
+"usr/share/apps/LICENSES/GPL_V2 or at http://www.gnu.org/licenses/old-"
+"licenses/gpl-2.0.txt\n"
msgstr ""
"Xfce4 Sensors %s\n"
"Este programa é publicado sob a GPL v2.\n"
-"O texto da licença pode ser encontrado no arquivo fonte do programa ou em /usr/share/apps/LICENSES/GPL_V2 ou em http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt\n"
+"O texto da licença pode ser encontrado no arquivo fonte do programa ou em /"
+"usr/share/apps/LICENSES/GPL_V2 ou em http://www.gnu.org/licenses/old-"
+"licenses/gpl-2.0.txt\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -348,15 +363,36 @@ msgstr ""
"\n"
"Este programa é publicado sob a GPL v2.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Sensores Xfce4 %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Visualizador de Sensores:"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"Plugin Sensores:\n"
+"Parece ter ocorrido um problema durante a leitura de um sensor.\n"
+"Não é possível garantir o procedimento apropriado.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "Visualizador de Sensores"
@@ -374,22 +410,32 @@ msgstr "Mostrar valores de sensor."
msgid "Sensor plugin "
msgstr "Sensor plugin"
+#~ msgid "g_raphical"
+#~ msgstr "g_ráfico"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Mostrar rótu_los na interface gráfica"
+
#~ msgid "Edit Properties"
#~ msgstr "Editar Propriedades"
+
#~ msgid "Xfce 4 Sensors Plugin"
#~ msgstr "Plugin Sensores Xfce 4"
+
#~ msgid "Xfce 4 Sensors Viewer"
#~ msgstr "Visualizador de Sensores Xfce 4"
+
#~ msgid "View sensor values"
#~ msgstr "Mostrar valores de sensor"
+
#~ msgid "Graphical Sensors Viewer for Xfce 4"
#~ msgstr "Visualizador Gráfico de Sensores para Xfce 4"
+
#~ msgid "<b>Sensors</b>"
#~ msgstr "<b>Sensores</b>"
+
#~ msgid "<span foreground=\"#000000\" size=\"%s\"><b>Sensors</b></span>\n"
#~ msgstr "<span foreground=\"#000000\" size=\"%s\"><b>Sensores</b></span>\n"
+
#~ msgid "<b>View</b>"
#~ msgstr "<b>Ver</b>"
-
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 16ccf10..953ee2d 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2008-11-28 21:49-0500\n"
"Last-Translator: Og Maciel <ogmaciel at gnome.org>\n"
"Language-Team: Brazilian Portuguese <ldp-br at bazar2.conectiva.com.br>\n"
@@ -18,17 +18,18 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Sensores</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Nenhum sensor selecionado!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -39,95 +40,100 @@ msgstr ""
"Parece ter ocorrido um problema durante a leitura de algum sensor.\n"
"Não é possível garantir o procedimento apropriado.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "Estilo da interface:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_texto"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "g_ráfico"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
#, fuzzy
msgid "Show _labels"
msgstr "Mo_strar título"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Mostrar _barras coloridas"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "Mo_strar título"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "Tamanho de f_onte:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "muito pequena"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "pequena"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "média"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "grande"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "muito grande"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "Tamanho de f_onte:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "Mostrar _unidades"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "Pequeno es_paço horizontal"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Suprimir mensagens"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "Intervalo de atualização (em segundos):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "E_xecutar com clique duplo:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_Ver"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_Miscelâneo"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Plug-in de sensores"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
#, fuzzy
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
@@ -142,8 +148,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Discos rígidos"
@@ -162,15 +168,15 @@ msgstr "Zonas v%s ACPI"
msgid "<Unknown>"
msgstr "<Desconhecido>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "Temperatura do disco rígido S.M.A.R.T."
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "Nenhum erro concreto foi detectado.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -196,11 +202,11 @@ msgstr ""
"%s\n"
"com um valor de retorno de %d.\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Suprimir esta mensagem no futuro"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -213,25 +219,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "Sensores LM"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Erro: Não foi possível conectar-se aos sensores!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "Falha do plug-in de sensores"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -239,87 +245,91 @@ msgstr ""
"Parece ter ocorrido um problema durante a leitura do valor de algum sensor.\n"
"Não é possível garantir o procedimento apropriado."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "T_ipo de sensores:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Descrição:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "Intervalo de atualização (em segundos):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Nome"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Valor"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Mostrar"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Cor"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Mín."
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Máx."
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Escala de temperatura:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_Celsius"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fahrenheit"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Sensores"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "Nenhum sensor encontrado!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "desligado"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "ligado"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -334,7 +344,7 @@ msgstr ""
"em /usr/share/apps/LICENSES/GPL_V2 ou em http://www.gnu.org/licenses/old-"
"licenses/gpl-2.0.txt\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -359,15 +369,36 @@ msgstr ""
"\n"
"Este programa é publicado sob a GPL v2.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Sensores do Xfce %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Visualizador de sensores"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"Plug-in de sensores:\n"
+"Parece ter ocorrido um problema durante a leitura de algum sensor.\n"
+"Não é possível garantir o procedimento apropriado.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "Visualizador de sensores"
@@ -385,6 +416,9 @@ msgstr "Mostrar valores do sensor."
msgid "Sensor plugin "
msgstr "Plug-in de sensores"
+#~ msgid "g_raphical"
+#~ msgstr "g_ráfico"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Mostrar rótu_los na interface gráfica"
diff --git a/po/sq.po b/po/sq.po
index 73996d5..9e01a97 100644
--- a/po/sq.po
+++ b/po/sq.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2008-11-04 23:27+0200\n"
"Last-Translator: Besnik Bleta <besnik at programeshqip.org>\n"
"Language-Team: Albanian <translation-team-sq at lists.sourceforge.net>\n"
@@ -15,17 +15,18 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.1\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Ndijuesa</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Pa ndijuesa të përzgjedhur!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, fuzzy, c-format
msgid ""
"Sensors Plugin:\n"
@@ -37,95 +38,100 @@ msgstr ""
"Duket se ka problem me leximin e vlerës së një ndijuesi. \n"
"Nuk garantohet dot ecuria e duhur.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "Stil UI:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_tekst"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "_grafik"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
#, fuzzy
msgid "Show _labels"
msgstr "_Shfaq titull"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Shfaq _shtylla me ngjyra"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "_Shfaq titull"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "Madhësi _gërmash:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "x-small"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "të vogla"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "të mesme"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "të mëdha"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "shumë të mëdha"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "Madhësi _gërmash:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "Shfaq titull"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "_Hapësirë horizontale e vogël"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Ndaloji mesazhet"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "Interval _përditësimi (sekonda):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "Për_mbushe kur dyklikohet:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_Parje"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "Të _ndryshme"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Shtojcë Ndijuesish"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
#, fuzzy
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
@@ -140,8 +146,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Hard disqe"
@@ -160,15 +166,15 @@ msgstr "Zona ACPI v%s"
msgid "<Unknown>"
msgstr "<I/e panjohur>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "Temperatura hard disku S.M.A.R.T."
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr ""
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -193,11 +199,11 @@ msgstr ""
"%s\n"
"me vlerë përgjigje %d.\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Ndaloje këtë mesazh në të ardhmen"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -210,26 +216,26 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "Ndijuesa LM"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Gabim: Nuk u lidh dot me ndijuesat!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
#, fuzzy
msgid "Sensors Plugin Failure"
msgstr "Shtojcë Ndijuesish"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -237,87 +243,91 @@ msgstr ""
"Duket se ka problem me leximin e vlerës së një ndijuesi.\n"
"Nuk garantohet dot ecuria e duhur."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "_Lloj ndijuesish:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Përshkrim:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "Interval _përditësimi (sekonda):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Emër"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Vlerë"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Shfaq"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Ngjyrë"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Min."
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Maks."
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Shkallë temperature:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_Celsius"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fahrenheit"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Ndijuesa"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "S'u gjetën ndijuesa!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "off"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "on"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -327,7 +337,7 @@ msgid ""
"licenses/gpl-2.0.txt\n"
msgstr ""
-#: ../src/main.c:58
+#: ../src/main.c:64
#, fuzzy, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -350,15 +360,37 @@ msgstr ""
"\n"
"Ky program qarkullon sipas GPL v2.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, fuzzy, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Ndijuesa Xfce 4"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Parës Ndijuesish"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+" \n"
+"Shtojcë Xfce për Ndijuesa \"Hardware\": \n"
+"Duket se ka problem me leximin e vlerës së një ndijuesi. \n"
+"Nuk garantohet dot ecuria e duhur.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
#, fuzzy
msgid "Sensor Viewer"
@@ -378,6 +410,9 @@ msgstr "Shfaq vlera ndijuesish."
msgid "Sensor plugin "
msgstr "Shtojcë ndijuesish"
+#~ msgid "g_raphical"
+#~ msgstr "_grafik"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Shfaq _etiketa në UI grafike"
diff --git a/po/sv.po b/po/sv.po
index fd18a7a..3369847 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-12-16 17:48+0100\n"
"Last-Translator: Daniel Nylander <po at danielnylander.se>\n"
"Language-Team: Swedish <tp-sv at listor.tp-sv.se>\n"
@@ -15,18 +15,18 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/sensors-plugin.c:225
-#: ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Sensorer</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Inga sensorer har valts!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -34,112 +34,115 @@ msgid ""
"Proper proceeding cannot be guaranteed.\n"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_text"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "g_rafisk"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
msgid "Show _labels"
msgstr "Visa _etiketter"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Visa färgade _staplar"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "_Visa titel"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr "A_ntal textrader:"
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "Storlek på t_ypsnitt:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "mindre"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "liten"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "medel"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "stor"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "större"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "Storlek på t_ypsnitt:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "Visa _enheter"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Visa inte meddelanden"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "U_ppdateringsintervall (sekunder):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "_Kör vid dubbelklick:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_Visa"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_Diverse"
-#: ../panel-plugin/sensors-plugin.c:1860
-#: ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr ""
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
-msgid "You can change a feature's properties such as name, colours, min/max value by double-clicking the entry, editing the content, and pressing \"Return\" or selecting a different field."
+#: ../panel-plugin/sensors-plugin.c:2159
+msgid ""
+"You can change a feature's properties such as name, colours, min/max value "
+"by double-clicking the entry, editing the content, and pressing \"Return\" "
+"or selecting a different field."
msgstr ""
#. only use this if no hddtemp sensor
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154
-#: ../lib/configuration.c:336
-#: ../lib/configuration.c:343
-#: ../lib/hddtemp.c:342
-#: ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Hårddiskar"
-#: ../lib/acpi.c:521
-#: ../lib/acpi.c:529
+#: ../lib/acpi.c:521 ../lib/acpi.c:529
msgid "ACPI"
msgstr "ACPI"
@@ -154,32 +157,34 @@ msgstr ""
msgid "<Unknown>"
msgstr "<Okänt>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr ""
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr ""
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
-"\"hddtemp\" was not executed correctly, although it is executable. This is most probably due to the disks requiring root privileges to read their temperatures, and \"hddtemp\" not being setuid root.\n"
+"\"hddtemp\" was not executed correctly, although it is executable. This is "
+"most probably due to the disks requiring root privileges to read their "
+"temperatures, and \"hddtemp\" not being setuid root.\n"
"\n"
-"An easy but dirty solution is to run \"chmod u+s %s\" as root user and restart this plugin or its panel.\n"
+"An easy but dirty solution is to run \"chmod u+s %s\" as root user and "
+"restart this plugin or its panel.\n"
"\n"
"Calling \"%s\" gave the following error:\n"
"%s\n"
"with a return value of %d.\n"
msgstr ""
-#: ../lib/hddtemp.c:533
-#: ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Visa inte detta meddelande igen"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -192,123 +197,125 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629
-#: ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr ""
-#: ../lib/lmsensors.c:362
-#: ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Fel: Kunde inte ansluta till sensorer!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr ""
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
msgstr ""
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "Sensort_yp:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Beskrivning:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "U_ppdateringsintervall (sekunder):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Namn"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Värde"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Visa"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Färg"
-#: ../lib/sensors-interface.c:265
-#: ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Min"
-#: ../lib/sensors-interface.c:282
-#: ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Max"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Temperaturskala:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_Celsius"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fahrenheit"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Sensorer"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "Inga sensorer hittades!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "av"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "på"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
"This program is published under the GPL v2.\n"
-"The license text can be found inside the program's source archive or under /usr/share/apps/LICENSES/GPL_V2 or at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt\n"
+"The license text can be found inside the program's source archive or under /"
+"usr/share/apps/LICENSES/GPL_V2 or at http://www.gnu.org/licenses/old-"
+"licenses/gpl-2.0.txt\n"
msgstr ""
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -323,15 +330,33 @@ msgid ""
"This program is published under the GPL v2.\n"
msgstr ""
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Xfce4-sensorer %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Sensorvisare"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "Sensorvisare"
@@ -349,6 +374,8 @@ msgstr "Visa sensorvärden."
msgid "Sensor plugin "
msgstr ""
+#~ msgid "g_raphical"
+#~ msgstr "g_rafisk"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Visa _etiketter i grafiskt gränssnitt"
-
diff --git a/po/tr.po b/po/tr.po
index 52b0243..e997121 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4 sensors plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: \n"
"Last-Translator: Samed Beyribey <ras0ir at eventualis.org>\n"
"Language-Team: Xfce-TR <xfce-tr at googlegroups.com>\n"
@@ -11,17 +11,18 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Country: TURKEY\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>Algılayıcılar</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Algılayıcı seçilmedi!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -32,95 +33,100 @@ msgstr ""
"Algılayıcı değerleri okunurken sorun oluştu.\n"
"Düzgün çalışma garantisi bulunmamaktadır.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "Kullanıcı arabirimi stili:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_yazı"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "gör_sel"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
#, fuzzy
msgid "Show _labels"
msgstr "_Başlığı görüntüle"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "Renkli çu_bukları görüntüle"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "_Başlığı görüntüle"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "Yazıtipi b_oyutu: "
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "çok küçük"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "küçük"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "normal"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "büyük"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "çok büyük"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "Yazıtipi b_oyutu: "
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "Birimleri Göst_er"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "Küçük yatay ara_lık"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "Mesajları gizle"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "Güncelle_me aralığı (saniye):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "Çift tıklandığında çalıştı_r:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_Görünüm"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_Muhtelif"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Sensors Eklentisi"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -134,8 +140,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "Sabit diskler "
@@ -154,15 +160,15 @@ msgstr "ACPI v%s alanları"
msgid "<Unknown>"
msgstr "<Bilinmiyor>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "S.M.A.R.T. sabit disk ısı dereceleri"
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "Somut bir hata algılanamadı.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -187,11 +193,11 @@ msgstr ""
"%s\n"
"%d değeri dönüşü.\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "Bu mesajı ileride gizle"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -204,25 +210,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "LM Sensors"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Hata: Algılayacılara bağlanılamadı!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "Sensors Eklentisi Çalışmıyor"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -230,87 +236,91 @@ msgstr ""
"Algılayıcı değerleri okunurken sorun meydana geldi.\n"
"Düzgün çalışma garantisi bulunmamaktadır."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "Algıla_yıcı türü:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "Açıklama"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "Güncelle_me aralığı (saniye):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "İsim"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Değer"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Göster"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Renk"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Min"
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Maks"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "Derece Ölçüsü:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_Santigrat"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "_Fahrenhayt"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_Algılayıcı"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "Algılayıcı bulunamadı!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "kapalı"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "açık"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f devir"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -326,7 +336,7 @@ msgstr ""
"licenses/gpl-2.0.txt\n"
"adresinden ulaşabilirsiniz\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -351,15 +361,36 @@ msgstr ""
"\n"
"Bu yazılım GNU GPLv2 hükümleri çerçevesinde yayınlanmaktadır.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Xfce4 Sensors %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "Algılayıcı Görüntüleyici"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"Sensors Eklentisi:\n"
+"Algılayıcı değerleri okunurken sorun oluştu.\n"
+"Düzgün çalışma garantisi bulunmamaktadır.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "Algılayıcı Görüntüleyici"
@@ -377,5 +408,8 @@ msgstr "Algılayıcı değerlerini gösterir."
msgid "Sensor plugin "
msgstr "Algılayıcı eklentisi"
+#~ msgid "g_raphical"
+#~ msgstr "gör_sel"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Görsel arabirimde etike_tleri görüntüle"
diff --git a/po/ur.po b/po/ur.po
index d514bdf..4f845bc 100644
--- a/po/ur.po
+++ b/po/ur.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-05-14 03:19+0500\n"
"Last-Translator: Muhammad Ali Makki <makki.ma at gmail.com>\n"
"Language-Team: Urdu <makki.ma at gmail.com>\n"
@@ -19,17 +19,18 @@ msgstr ""
"X-Poedit-SourceCharset: utf-8\n"
"Plural-Forms: Plural-Forms: nplurals=2; plural=n != 1;\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>سینسر</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "کوئی سینسر منتخب نہیں!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -40,95 +41,100 @@ msgstr ""
"معلوم ہوتا ہے کہ سینسر خاصیت ویلیو پڑھنے میں مسئلہ ہے. \n"
"درست کاروائی کی ضمانت نہیں دی جاسکتی.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "مواجہ انداز:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_متن"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "_گریفکل"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
#, fuzzy
msgid "Show _labels"
msgstr "_عنوان ظاہر کریں"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "رنگین _پٹیاں دکھائیں"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "_عنوان ظاہر کریں"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "ف_ونٹ حجم:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "x-چھوٹا"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "چھوٹا"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "درمیانہ"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "بڑا"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "x-بڑا"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "ف_ونٹ حجم:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "_یونٹ ظاہر کریں"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "چھوٹا افقی _خلا"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "سپریس پیغامات"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "تج_دید وقفہ (سیکنڈ):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "دہرے کلک پر _چلائیں:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_منظر"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_متفرق"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "سینسرز پلگ ان"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -142,8 +148,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "ہارڈ ڈسکس"
@@ -162,15 +168,15 @@ msgstr "ACPI v%s علاقے"
msgid "<Unknown>"
msgstr "<نامعلوم>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "سمارٹ ہارڈ ڈسک ٹمپریچر"
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "کوئی کنکریٹ غلطی دریافت نہیں ہوئی.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -195,11 +201,11 @@ msgstr ""
"%s\n"
"بمع واپسی قدر برائے %d.\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "مستقبل میں اس پیغام کو سپریس کریں"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -212,25 +218,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "ایل ایم سینسر"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "غلطی: سینسر سے رابطہ نہیں ہوسکا!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "سینسر پلگ ان ناکامی"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -238,87 +244,91 @@ msgstr ""
"معلوم ہوتا ہے کہ سینسر خاصیت ویلیو پڑھنے میں مسئلہ ہے. \n"
"درست کاروائی کی ضمانت نہیں دی جاسکتی."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "سینسر _نوعیت:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "تفصیل:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "تج_دید وقفہ (سیکنڈ):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "نام"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "ویلیو"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "دکھائیں"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "رنگ"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "کم"
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "زیادہ"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "ٹمپریچر قیاس:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_سیلسئس"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "فارن _ہائیٹ"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_سینسر"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "کوئی سینسر نہیں ملا!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "بند"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "چلتا"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -333,7 +343,7 @@ msgstr ""
"share/apps/LICENSES/GPL_V2 یا پھر اس پتہ پر http://www.gnu.org/licenses/old-"
"licenses/gpl-2.0.txt\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -358,15 +368,36 @@ msgstr ""
"\n"
"یہ پروگرام جی پی ایل ورژن 2 کے تحت جاری کیا گیا ہے.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "ایکسفس4 سینسر %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "سینسر منظرکار"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"سینسر پلگ ان: \n"
+"معلوم ہوتا ہے کہ سینسر خاصیت ویلیو پڑھنے میں مسئلہ ہے. \n"
+"درست کاروائی کی ضمانت نہیں دی جاسکتی.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "سینسر منظرکار"
@@ -384,6 +415,9 @@ msgstr "سینسر ویلیو دکھائیں:"
msgid "Sensor plugin "
msgstr "سینسر پلگ ان"
+#~ msgid "g_raphical"
+#~ msgstr "_گریفکل"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "گریفکل مواجہ میں _لیبل ظاہر کریں"
diff --git a/po/ur_PK.po b/po/ur_PK.po
index d514bdf..4f845bc 100644
--- a/po/ur_PK.po
+++ b/po/ur_PK.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-05-14 03:19+0500\n"
"Last-Translator: Muhammad Ali Makki <makki.ma at gmail.com>\n"
"Language-Team: Urdu <makki.ma at gmail.com>\n"
@@ -19,17 +19,18 @@ msgstr ""
"X-Poedit-SourceCharset: utf-8\n"
"Plural-Forms: Plural-Forms: nplurals=2; plural=n != 1;\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>سینسر</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "کوئی سینسر منتخب نہیں!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -40,95 +41,100 @@ msgstr ""
"معلوم ہوتا ہے کہ سینسر خاصیت ویلیو پڑھنے میں مسئلہ ہے. \n"
"درست کاروائی کی ضمانت نہیں دی جاسکتی.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "مواجہ انداز:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "_متن"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "_گریفکل"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
#, fuzzy
msgid "Show _labels"
msgstr "_عنوان ظاہر کریں"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "رنگین _پٹیاں دکھائیں"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "_عنوان ظاہر کریں"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "ف_ونٹ حجم:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "x-چھوٹا"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "چھوٹا"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "درمیانہ"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "بڑا"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "x-بڑا"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "ف_ونٹ حجم:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "_یونٹ ظاہر کریں"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "چھوٹا افقی _خلا"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "سپریس پیغامات"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "تج_دید وقفہ (سیکنڈ):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "دہرے کلک پر _چلائیں:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "_منظر"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "_متفرق"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "سینسرز پلگ ان"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -142,8 +148,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "ہارڈ ڈسکس"
@@ -162,15 +168,15 @@ msgstr "ACPI v%s علاقے"
msgid "<Unknown>"
msgstr "<نامعلوم>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "سمارٹ ہارڈ ڈسک ٹمپریچر"
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "کوئی کنکریٹ غلطی دریافت نہیں ہوئی.\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -195,11 +201,11 @@ msgstr ""
"%s\n"
"بمع واپسی قدر برائے %d.\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "مستقبل میں اس پیغام کو سپریس کریں"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -212,25 +218,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "ایل ایم سینسر"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "غلطی: سینسر سے رابطہ نہیں ہوسکا!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "سینسر پلگ ان ناکامی"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -238,87 +244,91 @@ msgstr ""
"معلوم ہوتا ہے کہ سینسر خاصیت ویلیو پڑھنے میں مسئلہ ہے. \n"
"درست کاروائی کی ضمانت نہیں دی جاسکتی."
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "سینسر _نوعیت:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "تفصیل:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "تج_دید وقفہ (سیکنڈ):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "نام"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "ویلیو"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "دکھائیں"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "رنگ"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "کم"
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "زیادہ"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "ٹمپریچر قیاس:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "_سیلسئس"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "فارن _ہائیٹ"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "_سینسر"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "کوئی سینسر نہیں ملا!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "بند"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "چلتا"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -333,7 +343,7 @@ msgstr ""
"share/apps/LICENSES/GPL_V2 یا پھر اس پتہ پر http://www.gnu.org/licenses/old-"
"licenses/gpl-2.0.txt\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -358,15 +368,36 @@ msgstr ""
"\n"
"یہ پروگرام جی پی ایل ورژن 2 کے تحت جاری کیا گیا ہے.\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "ایکسفس4 سینسر %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "سینسر منظرکار"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"سینسر پلگ ان: \n"
+"معلوم ہوتا ہے کہ سینسر خاصیت ویلیو پڑھنے میں مسئلہ ہے. \n"
+"درست کاروائی کی ضمانت نہیں دی جاسکتی.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "سینسر منظرکار"
@@ -384,6 +415,9 @@ msgstr "سینسر ویلیو دکھائیں:"
msgid "Sensor plugin "
msgstr "سینسر پلگ ان"
+#~ msgid "g_raphical"
+#~ msgstr "_گریفکل"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "گریفکل مواجہ میں _لیبل ظاہر کریں"
diff --git a/po/vi.po b/po/vi.po
index e0dd017..867ba9d 100644
--- a/po/vi.po
+++ b/po/vi.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2006-02-19 22:51+0300\n"
"Last-Translator: Phan Vĩnh Thịnh <teppi at vnlinux.org>\n"
"Language-Team: Vietnamese <none at li.org>\n"
@@ -15,18 +15,19 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.9.1\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
#, fuzzy
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\" size=\"%s\"><b>Cảm ứng</b></span>\n"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "Chưa chọn bộ cảm ứng nào!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, fuzzy, c-format
msgid ""
"Sensors Plugin:\n"
@@ -38,104 +39,107 @@ msgstr ""
"Có vẻ như có vấn đề đọc một giá trị cảm ứng. \n"
"Không có bảo đảm cho sự thực hiện.\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
#, fuzzy
msgid "UI style:"
msgstr "Dạng giao diện:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
#, fuzzy
msgid "_text"
msgstr "văn bản"
-#: ../panel-plugin/sensors-plugin.c:1417
-#, fuzzy
-msgid "g_raphical"
-msgstr "đồ hoạ"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1707
#, fuzzy
msgid "Show _labels"
msgstr "Hiển thị tiêu đề"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
#, fuzzy
msgid "_Show title"
msgstr "Hiển thị tiêu đề"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
#, fuzzy
msgid "F_ont size:"
msgstr "Kích cỡ phông:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "rất nhỏ"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "nhỏ"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "trung bình"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "lớn"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "rất lớn"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "Kích cỡ phông:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
#, fuzzy
msgid "Show _Units"
msgstr "Hiển thị tiêu đề"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1682
-#, fuzzy
-msgid "U_pdate interval (seconds):"
-msgstr "Cập nhật sau (giây):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
#, fuzzy
msgid "E_xecute on double click:"
msgstr "Thực hiện khi nháy kép:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
#, fuzzy
msgid "_Miscellaneous"
msgstr "<b>Khác</b>"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "Plugin cảm ứng"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -146,8 +150,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr ""
@@ -166,15 +170,15 @@ msgstr ""
msgid "<Unknown>"
msgstr ""
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr ""
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr ""
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -189,11 +193,11 @@ msgid ""
"with a return value of %d.\n"
msgstr ""
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr ""
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -204,27 +208,27 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr ""
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
#, fuzzy
msgid "LM Sensors"
msgstr "<b>Cảm ứng</b>"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "Lỗi: Không thể kết nối tới bộ cảm ứng!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
#, fuzzy
msgid "Sensors Plugin Failure"
msgstr "Plugin cảm ứng"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
#, fuzzy
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
@@ -235,92 +239,97 @@ msgstr ""
"Có vẻ như có vấn đề đọc một giá trị cảm ứng. \n"
"Không có bảo đảm cho sự thực hiện.\n"
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
#, fuzzy
msgid "Sensors t_ype:"
msgstr "Dạng cảm ứng:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr ""
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+#, fuzzy
+msgid "U_pdate interval (seconds):"
+msgstr "Cập nhật sau (giây):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "Tên"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "Giá trị"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "Hiện"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "Màu"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "Min"
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "Max"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
#, fuzzy
msgid "Temperature scale:"
msgstr "Thang nhiệt độ:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
#, fuzzy
msgid "_Celsius"
msgstr "Độ C"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
#, fuzzy
msgid "_Fahrenheit"
msgstr "Độ F"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
#, fuzzy
msgid "_Sensors"
msgstr "<b>Cảm ứng</b>"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "Không tìm thấy bộ cảm ứng!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr ""
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr ""
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, fuzzy, c-format
msgid "%.0f mWh"
msgstr "%5.0f rpm"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr ""
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr ""
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, fuzzy, c-format
msgid "%.0f rpm"
msgstr "%5.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -330,7 +339,7 @@ msgid ""
"licenses/gpl-2.0.txt\n"
msgstr ""
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -345,16 +354,38 @@ msgid ""
"This program is published under the GPL v2.\n"
msgstr ""
-#: ../src/main.c:75
+#: ../src/main.c:81
#, fuzzy, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Plugin cảm ứng"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
#, fuzzy
msgid "Sensors Viewer"
msgstr "Dạng cảm ứng:"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+" \n"
+"Plugin bộ cảm ứng phần cứng của Xfce: \n"
+"Có vẻ như có vấn đề đọc một giá trị cảm ứng. \n"
+"Không có bảo đảm cho sự thực hiện.\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
#, fuzzy
msgid "Sensor Viewer"
@@ -377,6 +408,10 @@ msgid "Sensor plugin "
msgstr "Plugin cảm ứng "
#, fuzzy
+#~ msgid "g_raphical"
+#~ msgstr "đồ hoạ"
+
+#, fuzzy
#~ msgid "Show _labels in graphical UI"
#~ msgstr "Hiển thị nhãn trong giao diện đồ hoạ"
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 0e1dacc..ed35da7 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce 4-sensors-plugin\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2009-11-09 19:43+0800\n"
"Last-Translator: Hunt Xu <huntxu at live.cn>\n"
"Language-Team: Chinese (simplified) <xfce-i18n at xfce.org>\n"
@@ -15,17 +15,18 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\"><b>传感器</b></span>"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "未选择传感器!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, c-format
msgid ""
"Sensors Plugin:\n"
@@ -36,94 +37,99 @@ msgstr ""
"读取传感器内容时出现问题。\n"
"无法保证相应操作将被执行。\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
msgid "UI style:"
msgstr "界面风格:"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
msgid "_text"
msgstr "文本(_T)"
-#: ../panel-plugin/sensors-plugin.c:1417
-msgid "g_raphical"
-msgstr "图形(_R)"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1707
msgid "Show _labels"
msgstr "显示标签(_L)"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr "使用界面颜色(_B)"
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
msgid "_Show title"
msgstr "显示标题(_S)"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr "文本行数(_N):"
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
msgid "F_ont size:"
msgstr "字体大小(_O):"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "很小"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "小"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "中等"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "大"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "很大"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "字体大小(_O):"
+
+#: ../panel-plugin/sensors-plugin.c:1898
msgid "Show _Units"
msgstr "显示单位(_U)"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr "水平间隔(_P)"
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr "不显示信息"
-#: ../panel-plugin/sensors-plugin.c:1682
-msgid "U_pdate interval (seconds):"
-msgstr "更新时间间隔(秒)(_P):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
msgid "E_xecute on double click:"
msgstr "在双击时执行(_X):"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr "查看(_V)"
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
msgid "_Miscellaneous"
msgstr "杂项(_M)"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "传感器插件"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -136,8 +142,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr "硬盘"
@@ -156,15 +162,15 @@ msgstr "ACPI v%s 区域"
msgid "<Unknown>"
msgstr "<未知>"
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr "S.M.A.R.T. 硬盘温度"
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr "未知错误。\n"
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -187,11 +193,11 @@ msgstr ""
"%s\n"
"返回值为 %d。\n"
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr "不让此信息显示"
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -204,25 +210,25 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr "%.1f °C"
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
msgid "LM Sensors"
msgstr "LM 传感器"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "错误: 无法连接至传感器!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
msgid "Sensors Plugin Failure"
msgstr "启动传感器插件失败"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
"Proper proceeding cannot be guaranteed."
@@ -230,87 +236,91 @@ msgstr ""
"读取传感器内容时出现问题。\n"
"无法保证相应操作将被执行。"
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
msgid "Sensors t_ype:"
msgstr "传感器类型(_Y)"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr "描述:"
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+msgid "U_pdate interval (seconds):"
+msgstr "更新时间间隔(秒)(_P):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "名称"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "值"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "显示"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "颜色"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "最小值"
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "最大值"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
msgid "Temperature scale:"
msgstr "温度单位:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
msgid "_Celsius"
msgstr "摄氏度(_C)"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
msgid "_Fahrenheit"
msgstr "华氏度(_F)"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
msgid "_Sensors"
msgstr "传感器(_S)"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "未发现传感器"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr "%.1f °F"
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr "%+.2f V"
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, c-format
msgid "%.0f mWh"
msgstr "%.0f mWh"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr "关闭"
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr "打开"
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, c-format
msgid "%.0f rpm"
msgstr "%.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -324,7 +334,7 @@ msgstr ""
"协议文件可以在软件源代码中或者系统中的/usr/share/apps/LICENSES/GPL_V2目录或者"
"在http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt找到\n"
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -349,15 +359,36 @@ msgstr ""
"\n"
"这个软件在 GPL v2 授权协议下发布。\n"
-#: ../src/main.c:75
+#: ../src/main.c:81
#, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "Xfce4 传感器 %s\n"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
msgid "Sensors Viewer"
msgstr "传感器查看器"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+"传感器插件:\n"
+"读取传感器内容时出现问题。\n"
+"无法保证相应操作将被执行。\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
msgid "Sensor Viewer"
msgstr "传感器查看器"
@@ -375,5 +406,8 @@ msgstr "显示传感器值。"
msgid "Sensor plugin "
msgstr "传感器插件"
+#~ msgid "g_raphical"
+#~ msgstr "图形(_R)"
+
#~ msgid "Show _labels in graphical UI"
#~ msgstr "在图形界面显示标签(_L)"
diff --git a/po/zh_TW.po b/po/zh_TW.po
index 131ea07..e0877e2 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xfce4-sensors-plugin 0.9.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-10-20 19:58+0200\n"
+"POT-Creation-Date: 2010-01-07 16:35+0100\n"
"PO-Revision-Date: 2006-06-26 22:37+0800\n"
"Last-Translator: Hydonsingore Cia <hydonsingore at educities.edu.tw>\n"
"Language-Team: Chinese (traditional) <zh-l10n at linux.org.tw>\n"
@@ -15,18 +15,19 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/sensors-plugin.c:225 ../panel-plugin/sensors-plugin.c:787
+#: ../panel-plugin/sensors-plugin.c:290 ../panel-plugin/sensors-plugin.c:387
+#: ../panel-plugin/sensors-plugin.c:952
#, fuzzy
msgid "<span foreground=\"#000000\"><b>Sensors</b></span>"
msgstr "<span foreground=\"#000000\" size=\"%s\"><b>感測器</b></span>\n"
-#: ../panel-plugin/sensors-plugin.c:604
+#: ../panel-plugin/sensors-plugin.c:761
msgid "No sensors selected!"
msgstr "沒有感測器被選用!"
#. FIXME: either print nothing, or undertake appropriate action,
#. * or pop up a message box.
-#: ../panel-plugin/sensors-plugin.c:642
+#: ../panel-plugin/sensors-plugin.c:799
#, fuzzy, c-format
msgid ""
"Sensors Plugin:\n"
@@ -38,104 +39,107 @@ msgstr ""
"在讀取感測器數值時似乎有點問題。\n"
"無法保證能夠正常運作。\n"
-#: ../panel-plugin/sensors-plugin.c:1414
+#: ../panel-plugin/sensors-plugin.c:1657
#, fuzzy
msgid "UI style:"
msgstr "使用介面風格"
-#: ../panel-plugin/sensors-plugin.c:1415
+#: ../panel-plugin/sensors-plugin.c:1658
#, fuzzy
msgid "_text"
msgstr "文字"
-#: ../panel-plugin/sensors-plugin.c:1417
-#, fuzzy
-msgid "g_raphical"
-msgstr "圖形"
+#: ../panel-plugin/sensors-plugin.c:1660
+msgid "_progress bars"
+msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1454
+#: ../panel-plugin/sensors-plugin.c:1662
+msgid "_tachos"
+msgstr ""
+
+#: ../panel-plugin/sensors-plugin.c:1707
#, fuzzy
msgid "Show _labels"
msgstr "顯示標題"
-#: ../panel-plugin/sensors-plugin.c:1484
+#: ../panel-plugin/sensors-plugin.c:1737
msgid "Show colored _bars"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1512
+#: ../panel-plugin/sensors-plugin.c:1765
#, fuzzy
msgid "_Show title"
msgstr "顯示標題"
-#: ../panel-plugin/sensors-plugin.c:1536
+#: ../panel-plugin/sensors-plugin.c:1789
msgid "_Number of text lines:"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1571
+#: ../panel-plugin/sensors-plugin.c:1824
#, fuzzy
msgid "F_ont size:"
msgstr "字型大小:"
#. gtk_widget_set_sensitive(myFontBox, !sd->sensors->display_values_graphically);
-#: ../panel-plugin/sensors-plugin.c:1578
+#: ../panel-plugin/sensors-plugin.c:1831
msgid "x-small"
msgstr "極小"
-#: ../panel-plugin/sensors-plugin.c:1579
+#: ../panel-plugin/sensors-plugin.c:1832
msgid "small"
msgstr "小"
-#: ../panel-plugin/sensors-plugin.c:1580
+#: ../panel-plugin/sensors-plugin.c:1833
msgid "medium"
msgstr "普通"
-#: ../panel-plugin/sensors-plugin.c:1581
+#: ../panel-plugin/sensors-plugin.c:1834
msgid "large"
msgstr "大"
-#: ../panel-plugin/sensors-plugin.c:1582
+#: ../panel-plugin/sensors-plugin.c:1835
msgid "x-large"
msgstr "巨大"
-#: ../panel-plugin/sensors-plugin.c:1610
+#: ../panel-plugin/sensors-plugin.c:1866
+#, fuzzy
+msgid "F_ont:"
+msgstr "字型大小:"
+
+#: ../panel-plugin/sensors-plugin.c:1898
#, fuzzy
msgid "Show _Units"
msgstr "顯示標題"
-#: ../panel-plugin/sensors-plugin.c:1631
+#: ../panel-plugin/sensors-plugin.c:1919
msgid "Small horizontal s_pacing"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1653
+#: ../panel-plugin/sensors-plugin.c:1941
msgid "Suppress messages"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1682
-#, fuzzy
-msgid "U_pdate interval (seconds):"
-msgstr "更新間隔時間(秒):"
-
-#: ../panel-plugin/sensors-plugin.c:1712
+#: ../panel-plugin/sensors-plugin.c:1966
#, fuzzy
msgid "E_xecute on double click:"
msgstr "於雙擊時執行:"
-#: ../panel-plugin/sensors-plugin.c:1755
+#: ../panel-plugin/sensors-plugin.c:2009
msgid "_View"
msgstr ""
-#: ../panel-plugin/sensors-plugin.c:1788
+#: ../panel-plugin/sensors-plugin.c:2043
#, fuzzy
msgid "_Miscellaneous"
msgstr "<b>雜項</b>"
-#: ../panel-plugin/sensors-plugin.c:1860 ../panel-plugin/sensors-plugin.h:30
-#: ../lib/hddtemp.c:152
+#: ../panel-plugin/sensors-plugin.c:2116 ../panel-plugin/sensors-plugin.h:30
+#: ../lib/hddtemp.c:160
msgid "Sensors Plugin"
msgstr "感測器外掛程式"
#. #if GTK_VERSION < 2.11
-#: ../panel-plugin/sensors-plugin.c:1903
+#: ../panel-plugin/sensors-plugin.c:2159
msgid ""
"You can change a feature's properties such as name, colours, min/max value "
"by double-clicking the entry, editing the content, and pressing \"Return\" "
@@ -146,8 +150,8 @@ msgstr ""
#. or do only use this , if it is an lmsensors device. whatever.
#. FIXME: compare strings, or also have hddtmep and acpi store numeric values
#. assert correctly saved file
-#: ../lib/configuration.c:154 ../lib/configuration.c:336
-#: ../lib/configuration.c:343 ../lib/hddtemp.c:342 ../lib/hddtemp.c:388
+#: ../lib/configuration.c:156 ../lib/configuration.c:341
+#: ../lib/configuration.c:348 ../lib/hddtemp.c:351 ../lib/hddtemp.c:397
msgid "Hard disks"
msgstr ""
@@ -166,15 +170,15 @@ msgstr ""
msgid "<Unknown>"
msgstr ""
-#: ../lib/hddtemp.c:387
+#: ../lib/hddtemp.c:396
msgid "S.M.A.R.T. harddisk temperatures"
msgstr ""
-#: ../lib/hddtemp.c:464
+#: ../lib/hddtemp.c:473
msgid "No concrete error detected.\n"
msgstr ""
-#: ../lib/hddtemp.c:517
+#: ../lib/hddtemp.c:526
#, c-format
msgid ""
"\"hddtemp\" was not executed correctly, although it is executable. This is "
@@ -189,11 +193,11 @@ msgid ""
"with a return value of %d.\n"
msgstr ""
-#: ../lib/hddtemp.c:533 ../lib/hddtemp.c:563
+#: ../lib/hddtemp.c:542 ../lib/hddtemp.c:572
msgid "Suppress this message in future"
msgstr ""
-#: ../lib/hddtemp.c:557
+#: ../lib/hddtemp.c:566
#, c-format
msgid ""
"An error occurred when executing \"%s\":\n"
@@ -204,27 +208,27 @@ msgstr ""
#. cf->formatted_value = g_strdup_printf(_("%.1f °F"), (float) (value * 9/5 + 32) );
#. } else { // Celsius
#. Celsius
-#: ../lib/hddtemp.c:629 ../lib/sensors-interface-common.c:141
+#: ../lib/hddtemp.c:638 ../lib/sensors-interface-common.c:144
#, c-format
msgid "%.1f °C"
msgstr ""
-#: ../lib/lmsensors.c:103
+#: ../lib/lmsensors.c:110
#, fuzzy
msgid "LM Sensors"
msgstr "感測器類型:"
-#: ../lib/lmsensors.c:362 ../lib/lmsensors.c:409
+#: ../lib/lmsensors.c:369 ../lib/lmsensors.c:416
#, c-format
msgid "Error: Could not connect to sensors!"
msgstr "錯誤:無法連線至感測器!"
-#: ../lib/sensors-interface.c:80
+#: ../lib/sensors-interface.c:82
#, fuzzy
msgid "Sensors Plugin Failure"
msgstr "感測器外掛程式"
-#: ../lib/sensors-interface.c:81
+#: ../lib/sensors-interface.c:83
#, fuzzy
msgid ""
"Seems like there was a problem reading a sensor feature value.\n"
@@ -235,92 +239,97 @@ msgstr ""
"在讀取感測器數值時似乎有點問題。\n"
"無法保證能夠正常運作。\n"
-#: ../lib/sensors-interface.c:162
+#: ../lib/sensors-interface.c:164
#, fuzzy
msgid "Sensors t_ype:"
msgstr "感測器類型:"
-#: ../lib/sensors-interface.c:187
+#: ../lib/sensors-interface.c:189
msgid "Description:"
msgstr ""
-#: ../lib/sensors-interface.c:225
+#: ../lib/sensors-interface.c:223
+#, fuzzy
+msgid "U_pdate interval (seconds):"
+msgstr "更新間隔時間(秒):"
+
+#: ../lib/sensors-interface.c:263
msgid "Name"
msgstr "名稱"
-#: ../lib/sensors-interface.c:235
+#: ../lib/sensors-interface.c:275
msgid "Value"
msgstr "數值"
-#: ../lib/sensors-interface.c:243
+#: ../lib/sensors-interface.c:283
msgid "Show"
msgstr "顯示"
-#: ../lib/sensors-interface.c:252
+#: ../lib/sensors-interface.c:292
msgid "Color"
msgstr "顏色"
-#: ../lib/sensors-interface.c:265 ../lib/sensors-interface.c:271
+#: ../lib/sensors-interface.c:305
msgid "Min"
msgstr "最小"
-#: ../lib/sensors-interface.c:282 ../lib/sensors-interface.c:288
+#: ../lib/sensors-interface.c:322
msgid "Max"
msgstr "最大"
-#: ../lib/sensors-interface.c:323
+#: ../lib/sensors-interface.c:363
#, fuzzy
msgid "Temperature scale:"
msgstr "温標:"
-#: ../lib/sensors-interface.c:325
+#: ../lib/sensors-interface.c:365
#, fuzzy
msgid "_Celsius"
msgstr "攝氏"
-#: ../lib/sensors-interface.c:327
+#: ../lib/sensors-interface.c:367
#, fuzzy
msgid "_Fahrenheit"
msgstr "華氏"
-#: ../lib/sensors-interface.c:363
+#: ../lib/sensors-interface.c:403
#, fuzzy
msgid "_Sensors"
msgstr "感測器類型:"
-#: ../lib/sensors-interface-common.c:70
+#: ../lib/sensors-interface-common.c:71
msgid "No sensors found!"
msgstr "找不到感測器!"
-#: ../lib/sensors-interface-common.c:138
+#: ../lib/sensors-interface-common.c:141
#, c-format
msgid "%.1f °F"
msgstr ""
-#: ../lib/sensors-interface-common.c:146
+#: ../lib/sensors-interface-common.c:149
#, c-format
msgid "%+.2f V"
msgstr ""
-#: ../lib/sensors-interface-common.c:150
+#: ../lib/sensors-interface-common.c:153
#, fuzzy, c-format
msgid "%.0f mWh"
msgstr "%5.0f rpm"
-#: ../lib/sensors-interface-common.c:155
+#: ../lib/sensors-interface-common.c:158
msgid "off"
msgstr ""
-#: ../lib/sensors-interface-common.c:157
+#: ../lib/sensors-interface-common.c:160
msgid "on"
msgstr ""
-#: ../lib/sensors-interface-common.c:161
+#: ../lib/sensors-interface-common.c:164
#, fuzzy, c-format
msgid "%.0f rpm"
msgstr "%5.0f rpm"
-#: ../src/main.c:46
+#: ../src/main.c:52
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -330,7 +339,7 @@ msgid ""
"licenses/gpl-2.0.txt\n"
msgstr ""
-#: ../src/main.c:58
+#: ../src/main.c:64
#, c-format
msgid ""
"Xfce4 Sensors %s\n"
@@ -345,16 +354,38 @@ msgid ""
"This program is published under the GPL v2.\n"
msgstr ""
-#: ../src/main.c:75
+#: ../src/main.c:81
#, fuzzy, c-format
msgid "Xfce4 Sensors %s\n"
msgstr "感測器外掛程式"
-#: ../src/interface.c:46
+#: ../src/interface.c:75
+msgid "_Overview"
+msgstr ""
+
+#: ../src/interface.c:95
+msgid "_Tachometers"
+msgstr ""
+
+#: ../src/interface.c:111
#, fuzzy
msgid "Sensors Viewer"
msgstr "感測器類型:"
+#. FIXME: either print nothing, or undertake appropriate action,
+#. * or pop up a message box.
+#: ../src/actions.c:78
+#, fuzzy, c-format
+msgid ""
+"Sensors Viewer:\n"
+"Seems like there was a problem reading a sensor feature value.\n"
+"Proper proceeding cannot be guaranteed.\n"
+msgstr ""
+" \n"
+"Xfce 硬體感測外掛程式:\n"
+"在讀取感測器數值時似乎有點問題。\n"
+"無法保證能夠正常運作。\n"
+
#: ../src/xfce4-sensors.desktop.in.h:1
#, fuzzy
msgid "Sensor Viewer"
@@ -377,6 +408,10 @@ msgid "Sensor plugin "
msgstr "感測器外掛程式"
#, fuzzy
+#~ msgid "g_raphical"
+#~ msgstr "圖形"
+
+#, fuzzy
#~ msgid "Show _labels in graphical UI"
#~ msgstr "在圖形介面中顯示標籤"
diff --git a/src/actions.c b/src/actions.c
index 9d56f5d..600a70e 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -1,6 +1,6 @@
/* $Id$ */
-/* Copyright 2008 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2008-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -23,5 +23,216 @@
# include <config.h>
#endif
+/* Gtk includes */
+#include <glib/gprintf.h>
+#include <gtk/gtk.h>
+
+/* Xfce includes */
+#include <libxfcegui4/libxfcegui4.h>
+
+/* Package includes */
+#include <middlelayer.h>
+#include <sensors-interface.h>
+
/* Local includes */
#include "actions.h"
+
+/* foward declaration */
+gboolean
+refresh_sensor_data (t_sensors_dialog *sd);
+
+/* actual implementations */
+gboolean
+refresh_sensor_data (t_sensors_dialog *sd)
+{
+ t_sensors *sensors;
+ int i, index_feature, res;
+ double sensorFeature;
+ gchar *tmp;
+ t_chipfeature *chipfeature;
+ t_chip *chip;
+
+ TRACE ("enters refresh_sensor_data");
+
+ g_return_val_if_fail (sd != NULL, FALSE);
+
+ sensors = sd->sensors;
+
+ for (i=0; i < sensors->num_sensorchips; i++) {
+ chip = (t_chip *) g_ptr_array_index (sensors->chips, i);
+ g_assert (chip!=NULL);
+
+ for (index_feature = 0; index_feature<chip->num_features; index_feature++) {
+ chipfeature = g_ptr_array_index (chip->chip_features, index_feature);
+ g_assert (chipfeature!=NULL);
+
+ if ( chipfeature->valid == TRUE)
+ {
+ res = sensor_get_value (chip, chipfeature->address,
+ &sensorFeature,
+ &(sensors->suppressmessage));
+
+ if ( res!=0 ) {
+ /* FIXME: either print nothing, or undertake appropriate action,
+ * or pop up a message box. */
+ g_printf ( _("Sensors Viewer:\n"
+ "Seems like there was a problem reading a sensor feature "
+ "value.\nProper proceeding cannot be guaranteed.\n") );
+ break;
+ }
+ tmp = g_new (gchar, 0);
+ format_sensor_value (sensors->scale, chipfeature,
+ sensorFeature, &tmp);
+
+ g_free (chipfeature->formatted_value);
+ chipfeature->formatted_value = g_strdup (tmp);
+ chipfeature->raw_value = sensorFeature;
+
+ g_free (tmp);
+ } /* end if chipfeature->valid */
+ }
+ }
+
+ TRACE ("leaves refresh_sensor_data");
+
+ return TRUE;
+}
+
+//void
+//refresh_tree_view (t_sensors_dialog *sd)
+//{
+ //GtkTreeModel * model;
+
+ //model = gtk_tree_view_get_model(GTK_TREE_VIEW(sd->myTreeView));
+
+//}
+
+void gtk_widget_unparent_ext (GtkWidget *widget, gpointer data);
+
+void
+gtk_widget_unparent_ext (GtkWidget *widget, gpointer data)
+{
+ gtk_widget_unparent(widget);
+}
+
+void
+refresh_tacho_view (t_sensors_dialog *sd)
+{
+ GtkTreeModel * model;
+ int i, index_feature, row=0, col=0;
+ t_sensors *sensors;
+ t_chipfeature *chipfeature;
+ t_chip *chip;
+ GtkWidget *table; //, *widget;
+ //GList *list;
+ gdouble d;
+
+ TRACE ("enters refresh_tacho_view");
+
+ g_return_if_fail (sd!=NULL);
+
+ sensors = sd->sensors;
+
+ model = gtk_tree_view_get_model(GTK_TREE_VIEW(sd->myTreeView));
+
+ table = sensors->widget_sensors;
+
+ //list = gtk_container_get_children (GTK_CONTAINER(table));
+ //if (list!=NULL)
+ //{
+ //for (widget=(GtkWidget *) (list->data); widget!=NULL; list=list->next)
+ //{
+ //gtk_widget_unparent(widget);
+ //}
+ //}
+ //gtk_container_foreach(GTK_CONTAINER(table), (GtkCallback) gtk_widget_hide, NULL);
+ //gtk_widget_destroy(table);
+ //table = sensors->widget_sensors = gtk_table_new(5, 4, TRUE);
+ //gtk_widget_show(table);
+
+ for (i=0; i < sensors->num_sensorchips; i++)
+ {
+ chip = (t_chip *) g_ptr_array_index (sensors->chips, i);
+ g_assert (chip!=NULL);
+
+ for (index_feature = 0; index_feature<chip->num_features; index_feature++)
+ {
+ chipfeature = g_ptr_array_index (chip->chip_features, index_feature);
+ g_assert (chipfeature!=NULL);
+
+ if ( chipfeature->valid == TRUE && chipfeature->show == TRUE)
+ {
+ // actually, the idea is to move the tacho widgets in the table; but Gtk fails at this point:
+ // there is neither a gtk_table_move nor does it allow to unparent a widget and attach it at a new positon,
+ // so the container is removed and destroyed for safety.
+ if ((sensors->tachos [i][index_feature]!=NULL) && (sensors->tachos [i][index_feature]->parent!=NULL))
+ {
+ //gtk_widget_unparent (sensors->tachos [i][index_feature]);
+ gtk_container_remove(GTK_CONTAINER(table), sensors->tachos [i][index_feature]);
+ //gtk_widget_destroy(sensors->tachos [i][index_feature]);
+ }
+ //else if (sensors->tachos [i][index_feature]==NULL )
+ //{
+ // sensors->tachos[i][index_feature] is now destroyed due to bad GTK function naming and implementation of gtk_container_remove; gtk_widget_unparent does not work at all from within here.
+ sensors->tachos[i][index_feature] = gtk_cpu_new();
+ //}
+
+ //gtk_cpu_set_value (GTK_CPU(sensors->tachos [i][index_feature]), (chipfeature->raw_value - chipfeature->min_value) / ( chipfeature->max_value - chipfeature->min_value));
+ d = (chipfeature->raw_value - chipfeature->min_value) / ( chipfeature->max_value - chipfeature->min_value);
+ if (d<0.0)
+ d=0.0;
+ else if (d>1.0)
+ d=1.0;
+
+ GTK_CPU(sensors->tachos [i][index_feature])->sel = d;
+ //gtk_cpu_set_text (GTK_CPU(sensors->tachos [i][index_feature]), chipfeature->name);
+ GTK_CPU(sensors->tachos [i][index_feature])->text = g_strdup(chipfeature->name);
+ GTK_CPU(sensors->tachos [i][index_feature])->color = g_strdup(chipfeature->color);
+ //gtk_cpu_expose(sensors->tachos [i][index_feature], NULL);
+
+
+ gtk_widget_set_size_request(sensors->tachos [i][index_feature], 64, 64);
+
+ gtk_table_attach_defaults(GTK_TABLE(table), sensors->tachos [i][index_feature], col, col+1, row, row+1);
+ gtk_widget_show (sensors->tachos [i][index_feature]);
+ //gtk_cpu_paint(sensors->tachos [i][index_feature]);
+ //gtk_cpu_expose(sensors->tachos [i][index_feature], NULL);
+
+ if (col>=3) {
+ row++;
+ col = 0;
+ }
+ else
+ col++;
+
+ if (row>=5)
+ return; /* or resize the table after reading the property n-rows of GtkTableClass*/
+ }
+ }
+ }
+ TRACE ("leaves refresh_tacho_view");
+}
+
+gboolean
+refresh_view (gpointer data)
+{
+ t_sensors_dialog *sd;
+
+ TRACE ("enters refresh_view");
+
+ g_return_val_if_fail (data != NULL, FALSE);
+ sd = (t_sensors_dialog *) data;
+
+ if (!refresh_sensor_data (sd))
+ return FALSE;
+
+ reload_listbox(sd);
+
+ refresh_tacho_view (sd);
+
+ /* refresh all the tacho elements in the notebook/table view */
+
+
+ TRACE ("leaves refresh_view");
+ return TRUE;
+}
diff --git a/src/actions.h b/src/actions.h
index 5e64afe..9f74f97 100644
--- a/src/actions.h
+++ b/src/actions.h
@@ -1,6 +1,6 @@
/* $Id$ */
-/* Copyright 2008 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2008-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -18,3 +18,18 @@
*/
/* Note for programmers and editors: Try to use 4 spaces instead of Tab! */
+
+#ifndef ACTIONS_H
+#define ACTIONS_H
+
+/* Glib includes */
+#include <glib.h>
+
+/* Package includes */
+#include <sensors-interface-common.h>
+#include <cpu.h>
+
+gboolean refresh_view (gpointer data);
+void refresh_tacho_view (t_sensors_dialog *sd);
+
+#endif /* ACTIONS_H */
diff --git a/src/callbacks.c b/src/callbacks.c
index 08a33f9..5a98467 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -1,6 +1,6 @@
/* $Id$ */
-/* Copyright 2008 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2008-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,40 +31,41 @@
/* Package includes */
#include <sensors-interface.h>
+#include <cpu.h> /* contains "extern gchar * font" */
/* Local includes */
#include "callbacks.h"
+#include "actions.h"
+void on_font_set (GtkWidget *widget, gpointer data)
+{
+ font = g_strdup(gtk_font_button_get_font_name(GTK_FONT_BUTTON(widget)));
+ refresh_view(data); /* data is pointer to sensors_dialog */
+}
+
void
on_main_window_response (GtkWidget *dlg, int response, t_sensors_dialog *sd)
{
TRACE ("enters on_main_window_response");
-
- if (response==GTK_RESPONSE_OK)
+
+ DBG("quitting gtk main routine");
+ gtk_main_quit();
+
+ // dialog OK button or close keybinding or window close button
+ if (response==GTK_RESPONSE_OK) // || response==GTK_RESPONSE_DELETE_EVENT)
{
- //g_free(sd->sensors->command_name);
- //g_free(sd->coloredBars_Box);
- //g_free(sd->font_Box);
- //g_free(sd->labels_Box);
- //g_free(sd->myComboBox);
- //g_free(sd->myCommandName_Entry);
- //g_free(sd->myExecCommand_CheckBox);
- //g_free(sd->mySensorLabel);
- //gtk_widget_destroy (sd->dialog);
- //g_free(sd->smallspacing_checkbox);
- //g_free(sd->suppressmessage_checkbox);
- //g_free(sd->temperature_radio_group);
- //g_free(sd->unit_checkbox);
+ //xfce_titled_dialog_close(GTK_DIALOG(dlg)); // not implemented in libxfcegui4/xfce-titled-dialog.h rev 21491 -- stay compatible
- // we don't save any values until now
- //gtk_window_get_size ( GTK_WINDOW(dlg), &(sd->sensors->preferred_width), &(sd->sensors->preferred_height));
-
- g_free(sd);
+ // g_free (sd->sensors)
+ //g_free(sd);
+
+ //gtk_widget_destroy (sd->sensors->widget_sensors);
//gtk_widget_destroy (sd->dialog);
- gtk_main_quit();
+
+ //gtk_widget_destroy (sd->dialog);
}
TRACE ("leaves on_main_window_response");
@@ -141,6 +142,9 @@ list_cell_text_edited (GtkCellRendererText *cellrenderertext,
/* update panel */
/* sensors_show_panel ((gpointer) sd->sensors); */
/* better send a D-BUS message instead or alter the configuration file */
+ //res = refresh_view ((gpointer) sd);
+ if (sd->sensors->tachos [gtk_combo_box_active][atoi(path_str)]!=NULL)
+ gtk_cpu_set_text (GTK_CPU(sd->sensors->tachos [gtk_combo_box_active][atoi(path_str)]), new_text);
TRACE ("leaves list_cell_text_edited");
}
@@ -148,20 +152,239 @@ list_cell_text_edited (GtkCellRendererText *cellrenderertext,
void
list_cell_toggle (GtkCellRendererToggle *cell, gchar *path_str,
- t_sensors_dialog *sd) {}
+ t_sensors_dialog *sd)
+{
+ t_chip *chip;
+ t_chipfeature *chipfeature;
+ gint gtk_combo_box_active;
+ GtkTreeModel *model;
+ GtkTreePath *path;
+ GtkTreeIter iter;
+ gboolean toggle_item, res;
+ //GtkWidget *tacho;
+
+ TRACE ("enters list_cell_toggle");
+
+ //if (sd->sensors->display_values_type != DISPLAY_TEXT) {
+ //sensors_remove_graphical_panel(sd->sensors);
+ //}
+ gtk_combo_box_active =
+ gtk_combo_box_get_active(GTK_COMBO_BOX (sd->myComboBox));
+
+ model = (GtkTreeModel *) sd->myListStore[gtk_combo_box_active];
+ path = gtk_tree_path_new_from_string (path_str);
+
+ /* get toggled iter */
+ gtk_tree_model_get_iter (model, &iter, path);
+ gtk_tree_model_get (model, &iter, 2, &toggle_item, -1);
+
+ /* do something with the value */
+ toggle_item ^= 1;
+
+ /* remove previously existing cpu widget from memory */
+ if (toggle_item==FALSE)
+ {
+ //tacho = sd->sensors->tachos [gtk_combo_box_active][atoi(path_str)];
+ // gtk_container_remove also destroys the widget when there are no more references!
+ gtk_container_remove(GTK_CONTAINER(sd->sensors->widget_sensors),
+ sd->sensors->tachos [gtk_combo_box_active][atoi(path_str)]);
+ //gtk_widget_destroy(sd->sensors->tachos [gtk_combo_box_active][atoi(path_str)]);
+ sd->sensors->tachos [gtk_combo_box_active][atoi(path_str)] = NULL;
+ }
+ //else
+ //{
+ ////if (sd->sensors->tachos [gtk_combo_box_active][atoi(path_str)]==NULL)
+ //sd->sensors->tachos[gtk_combo_box_active][atoi(path_str)] = gtk_cpu_new();
+ //}
+
+ /* set new value */
+ gtk_tree_store_set (GTK_TREE_STORE (model), &iter, 2, toggle_item, -1);
+ chip = (t_chip *) g_ptr_array_index(sd->sensors->chips, gtk_combo_box_active);
+
+ chipfeature = (t_chipfeature *) g_ptr_array_index(chip->chip_features, atoi(path_str));
+
+ chipfeature->show = toggle_item;
+
+ /* clean up */
+ gtk_tree_path_free (path);
+
+ /* update tooltip and panel widget */
+ //sensors_show_panel ((gpointer) sd->sensors);
+ res = refresh_view ((gpointer) sd);
+
+ TRACE ("leaves list_cell_toggle");//~
+}
void
list_cell_color_edited (GtkCellRendererText *cellrenderertext, gchar *path_str,
- gchar *new_color, t_sensors_dialog *sd) {}
+ gchar *new_color, t_sensors_dialog *sd)
+{
+ gint gtk_combo_box_active;
+ GtkTreeModel *model;
+ GtkTreePath *path;
+ GtkTreeIter iter;
+ gboolean hexColor;
+ t_chip *chip;
+ t_chipfeature *chipfeature;
+ //int res;
+
+ TRACE ("enters list_cell_color_edited");
+
+ /* store new color in appropriate array */
+ hexColor = g_str_has_prefix (new_color, "#");
+
+ if (hexColor && strlen(new_color) == 7) {
+ int i;
+ for (i=1; i<7; i++) {
+ /* only save hex numbers! */
+ if ( ! g_ascii_isxdigit (new_color[i]) )
+ return;
+ }
+
+ gtk_combo_box_active =
+ gtk_combo_box_get_active(GTK_COMBO_BOX (sd->myComboBox));
+
+ /* get model and path */
+ model = (GtkTreeModel *) sd->myListStore
+ [gtk_combo_box_active];
+ path = gtk_tree_path_new_from_string (path_str);
+
+ /* get model iterator */
+ gtk_tree_model_get_iter (model, &iter, path);
+
+ /* set new value */
+ gtk_tree_store_set (GTK_TREE_STORE (model), &iter, 3, new_color, -1);
+ chip = (t_chip *) g_ptr_array_index(sd->sensors->chips, gtk_combo_box_active);
+
+ chipfeature = (t_chipfeature *) g_ptr_array_index(chip->chip_features, atoi(path_str));
+ g_free (chipfeature->color);
+ chipfeature->color = g_strdup(new_color);
+
+ /* clean up */
+ gtk_tree_path_free (path);
+
+ /* update panel */
+ //sensors_show_panel ((gpointer) sd->sensors);
+ //res = refresh_view ((gpointer) sd);
+ if (sd->sensors->tachos [gtk_combo_box_active][atoi(path_str)]!=NULL)
+ gtk_cpu_set_color(GTK_CPU(sd->sensors->tachos[gtk_combo_box_active][atoi(path_str)]), new_color);
+
+ }
+
+ TRACE ("leaves list_cell_color_edited");
+}
void
minimum_changed (GtkCellRendererText *cellrenderertext, gchar *path_str,
- gchar *new_value, t_sensors_dialog *sd) {}
+ gchar *new_value, t_sensors_dialog *sd)
+{
+ gint gtk_combo_box_active;
+ float value;
+ GtkTreeModel *model;
+ GtkTreePath *path;
+ GtkTreeIter iter;
+ t_chip *chip;
+ t_chipfeature *chipfeature;
+ int res;
+
+ TRACE ("enters minimum_changed");
+
+ value = atof (new_value);
+
+ gtk_combo_box_active =
+ gtk_combo_box_get_active(GTK_COMBO_BOX (sd->myComboBox));
+
+ /* get model and path */
+ model = (GtkTreeModel *) sd->myListStore
+ [gtk_combo_box_active];
+ path = gtk_tree_path_new_from_string (path_str);
+
+ /* get model iterator */
+ gtk_tree_model_get_iter (model, &iter, path);
+
+ /* set new value according to chosen scale */
+ gtk_tree_store_set (GTK_TREE_STORE (model), &iter, 4, value, -1);
+ chip = (t_chip *) g_ptr_array_index(sd->sensors->chips, gtk_combo_box_active);
+
+ chipfeature = (t_chipfeature *) g_ptr_array_index(chip->chip_features, atoi(path_str));
+ if (sd->sensors->scale==FAHRENHEIT)
+ value = (value -32 ) * 5/9;
+ chipfeature->min_value = value;
+
+ /* clean up */
+ gtk_tree_path_free (path);
+
+ /* update panel */
+ if (sd->sensors->tachos [gtk_combo_box_active][atoi(path_str)]!=NULL)
+ res = refresh_view ((gpointer) sd);
+
+ TRACE ("leaves minimum_changed");
+}
void
maximum_changed (GtkCellRendererText *cellrenderertext, gchar *path_str,
- gchar *new_value, t_sensors_dialog *sd) {}
+ gchar *new_value, t_sensors_dialog *sd)
+{
+ gint gtk_combo_box_active;
+ float value;
+ GtkTreeModel *model;
+ GtkTreePath *path;
+ GtkTreeIter iter;
+ t_chip *chip;
+ t_chipfeature *chipfeature;
+ int res;
+
+ TRACE ("enters maximum_changed");
+
+ value = atof (new_value);
+
+ gtk_combo_box_active =
+ gtk_combo_box_get_active(GTK_COMBO_BOX (sd->myComboBox));
+
+ /* get model and path */
+ model = (GtkTreeModel *) sd->myListStore
+ [gtk_combo_box_active];
+ path = gtk_tree_path_new_from_string (path_str);
+
+ /* get model iterator */
+ gtk_tree_model_get_iter (model, &iter, path);
+
+ /* set new value according to chosen scale */
+ gtk_tree_store_set (GTK_TREE_STORE (model), &iter, 5, value, -1);
+ chip = (t_chip *) g_ptr_array_index(sd->sensors->chips, gtk_combo_box_active);
+ chipfeature = (t_chipfeature *) g_ptr_array_index(chip->chip_features, atoi(path_str));
+ if (sd->sensors->scale==FAHRENHEIT)
+ value = (value -32 ) * 5/9;
+ chipfeature->max_value = value;
+
+ /* clean up */
+ gtk_tree_path_free (path);
+
+ /* update panel */
+ if (sd->sensors->tachos [gtk_combo_box_active][atoi(path_str)]!=NULL)
+ res = refresh_view ((gpointer) sd);
+
+ TRACE ("leaves maximum_changed");
+}
+
+void
+adjustment_value_changed (GtkWidget *widget, t_sensors_dialog* sd)
+{
+ TRACE ("enters adjustment_value_changed ");
+
+ sd->sensors->sensors_refresh_time =
+ (gint) gtk_adjustment_get_value ( GTK_ADJUSTMENT (widget) );
+
+ /* stop the timeout functions ... */
+ g_source_remove (sd->sensors->timeout_id);
+ /* ... and start them again */
+ sd->sensors->timeout_id = g_timeout_add (
+ sd->sensors->sensors_refresh_time * 1000,
+ (GtkFunction) refresh_view, (gpointer) sd);
+
+ TRACE ("leaves adjustment_value_changed ");
+}
void
temperature_unit_change (GtkWidget *widget, t_sensors_dialog *sd)
diff --git a/src/callbacks.h b/src/callbacks.h
index 4574932..7ce83d2 100644
--- a/src/callbacks.h
+++ b/src/callbacks.h
@@ -1,6 +1,6 @@
/* $Id$ */
-/* Copyright 2008 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2008-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -19,6 +19,9 @@
/* Note for programmers and editors: Try to use 4 spaces instead of Tab! */
+#ifndef __CALLBACKS_H
+#define __CALLBACKS_H
+
/* Package includes */
#include <sensors-interface-common.h>
@@ -40,4 +43,7 @@ void close_window_requested ();
void on_main_window_response (GtkWidget *dlg, int response, t_sensors_dialog *sd);
+void on_font_set (GtkWidget *widget, gpointer data);
+
+#endif /* __CALLBACKS_H */
diff --git a/src/interface.c b/src/interface.c
index c274ccb..de6b989 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -1,6 +1,6 @@
/* $Id$ */
-/* Copyright 2008 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2008-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -27,6 +27,7 @@
#include <libxfcegui4/libxfcegui4.h>
/* Package includes */
+#include <cpu.h>
#include <sensors-interface.h>
#include <sensors-interface-common.h>
@@ -34,6 +35,72 @@
#include "callbacks.h"
#include "interface.h"
+/* forward declarations */
+void add_tachos_box (GtkWidget *child, t_sensors_dialog *);
+void add_notebook (GtkWidget *box, t_sensors_dialog *sd);
+
+
+/* actual implementations */
+
+void
+add_tachos_box (GtkWidget *child, t_sensors_dialog *sd)
+{
+ GtkWidget *table;
+
+ table = gtk_table_new (5, 4, TRUE);
+ gtk_table_set_row_spacings(GTK_TABLE(table), BORDER);
+ gtk_table_set_col_spacings(GTK_TABLE(table), BORDER);
+ gtk_widget_show (table);
+ sd->sensors->widget_sensors = table;
+ gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW(child), table);
+}
+
+
+void
+add_notebook (GtkWidget *box, t_sensors_dialog *sd)
+{
+ GtkWidget *nb, *child, *tab_label, *scr_win, *fontbutton;
+ int res;
+
+ nb = gtk_notebook_new();
+ gtk_widget_show (nb);
+
+ child = gtk_vbox_new (FALSE, BORDER);
+ gtk_container_set_border_width (GTK_CONTAINER (child), BORDER);
+ gtk_widget_show (child);
+
+ add_type_box(child, sd);
+ add_sensor_settings_box(child, sd);
+ add_temperature_unit_box(child, sd);
+ add_update_time_box (child, sd);
+
+ tab_label = gtk_label_new_with_mnemonic(_("_Overview"));
+ gtk_widget_show (tab_label);
+ res = gtk_notebook_append_page (GTK_NOTEBOOK(nb), child, tab_label);
+
+ child = gtk_vbox_new (FALSE, BORDER);
+ gtk_container_set_border_width (GTK_CONTAINER (child), BORDER);
+ gtk_widget_show (child);
+
+ scr_win = gtk_scrolled_window_new( NULL, NULL);
+ gtk_box_pack_start(GTK_BOX(child), scr_win, TRUE, TRUE, 0);
+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scr_win), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+ gtk_widget_show_all (scr_win);
+
+ add_tachos_box (scr_win, sd);
+
+ fontbutton = gtk_font_button_new();
+ g_signal_connect (G_OBJECT(fontbutton), "font-set", G_CALLBACK(on_font_set), NULL);
+ gtk_widget_show (fontbutton);
+ gtk_box_pack_end (GTK_BOX(child), fontbutton, FALSE, FALSE, 0);
+
+ tab_label = gtk_label_new_with_mnemonic(_("_Tachometers"));
+ gtk_widget_show (tab_label);
+ res = gtk_notebook_append_page (GTK_NOTEBOOK(nb), child, tab_label);
+
+ gtk_box_pack_start(GTK_BOX(box), nb, TRUE, TRUE, 0);
+}
+
GtkWidget *
create_main_window (t_sensors_dialog *sd)
@@ -50,31 +117,33 @@ create_main_window (t_sensors_dialog *sd)
GTK_RESPONSE_OK,
NULL
);
-
+ gtk_widget_show (dlg);
+
gtk_window_set_icon_name(GTK_WINDOW(dlg),"xfce-sensors");
gtk_container_set_border_width (GTK_CONTAINER (dlg), BORDER>>1);
vbox = GTK_DIALOG (dlg)->vbox;
gtk_box_set_spacing(GTK_BOX(vbox), BORDER>>1);
+
+ gtk_widget_show (vbox);
sd->dialog = dlg;
sd->myComboBox = gtk_combo_box_new_text();
+ gtk_widget_show (sd->myComboBox);
init_widgets (sd);
gtk_combo_box_set_active (GTK_COMBO_BOX(sd->myComboBox), 0);
- add_type_box(vbox, sd);
- add_sensor_settings_box(vbox, sd);
- add_temperature_unit_box(vbox, sd);
- gtk_widget_show_all (vbox);
+ add_notebook (vbox, sd);
+
gtk_window_set_default_size (GTK_WINDOW(dlg), sd->sensors->preferred_width, sd->sensors->preferred_height);
- g_signal_connect (dlg, "response",
- G_CALLBACK(on_main_window_response), sd);
+ g_signal_connect (G_OBJECT(dlg), "response", G_CALLBACK(on_main_window_response), sd); // also captures the dialog-destroy event and the closekeybinding-pressed event
+ //g_signal_connect (G_OBJECT(dlg), "destroy", G_CALLBACK(on_main_window_response), sd);
return dlg;
}
diff --git a/src/interface.h b/src/interface.h
index 1a3638a..8c62893 100644
--- a/src/interface.h
+++ b/src/interface.h
@@ -1,6 +1,6 @@
/* $Id$ */
-/* Copyright 2008 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2008-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/main.c b/src/main.c
index 1beadbb..eb2bd38 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,6 +1,6 @@
/* $Id$ */
-/* Copyright 2008 Fabian Nowak (timystery at arcor.de)
+/* Copyright 2008-2010 Fabian Nowak (timystery at arcor.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -40,8 +40,14 @@
#include "callbacks.h"
#include "interface.h"
+/* forward declarations for -Wall */
+void print_license (void);
+void print_usage (void);
+void print_version (void);
+t_sensors_dialog * initialize_sensors_struct (void);
+
void
-print_license ()
+print_license (void)
{
printf (_("Xfce4 Sensors %s\n"
"This program is published under the GPL v2.\n"
@@ -53,7 +59,7 @@ print_license ()
void
-print_usage ()
+print_usage (void)
{
printf (_("Xfce4 Sensors %s\n"
"Displays information about your sensors and ACPI.\n"
@@ -70,17 +76,44 @@ print_usage ()
void
-print_version ()
+print_version (void)
{
printf (_("Xfce4 Sensors %s\n"), PACKAGE_VERSION);
}
+
+t_sensors_dialog *
+initialize_sensors_struct (void)
+{
+ t_sensors *sensors;
+ t_sensors_dialog *sd;
+ int i, j;
+
+ sensors = sensors_new (NULL, NULL);
+ sd = g_new0 (t_sensors_dialog, 1);
+ sd->sensors = sensors;
+ sd->plugin_dialog = FALSE;
+
+ for (i=0; i<10; i++)
+ for (j=0; j<256; j++)
+ {
+ sensors->tachos[i][j] = NULL;
+ }
+
+ return sd;
+}
+
+static void
+on_window_destroy_event (GtkWidget *widget, GdkEvent *event, gpointer user_data)
+{
+ DBG("on_window_destroy_event\n");
+}
+
int
main (int argc, char **argv)
{
GtkWidget *window;
t_sensors_dialog *sd;
- t_sensors *sensors;
xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
@@ -104,27 +137,34 @@ main (int argc, char **argv)
gtk_init (&argc, &argv);
/* initialize sensor stuff */
- sensors = sensors_new (NULL, NULL);
- sd = g_new0 (t_sensors_dialog, 1);
- sd->sensors = sensors;
- sd->plugin_dialog = FALSE;
+ sd = initialize_sensors_struct ();
/* build main application */
window = create_main_window (sd);
+
+ /* automatic refresh callback */
+ sd->sensors->timeout_id = g_timeout_add (
+ sd->sensors->sensors_refresh_time * 1000,
+ (GtkFunction) refresh_view, (gpointer) sd
+ );
/* show window and run forever */
- gtk_widget_show_all(window);
- //gtk_window_set_default_size(GTK_WINDOW(window), 400, 500);
+ gtk_widget_show_all(window); /* to make sure everything is shown */
gtk_window_resize(GTK_WINDOW(window), 400, 500);
- /*gtk_widget_set_size_request(window, 400,600); */
+ gtk_widget_realize(sd->sensors->widget_sensors); /* without this call, the table will only be realized when the tab is shown and hence, toggled tachos are not drawn as they lack a drawable window. */
+
+ g_signal_connect(G_OBJECT(window), "destroy", G_CALLBACK(on_window_destroy_event), NULL);
+
gtk_main();
-
/* do the cleaning? */
/*
gtk_widget_destroy(window);
g_free (window);
- */
+ g_free (sd->sensors);
+ g_free (sd);
+ */
+
return 0;
}
More information about the Xfce4-commits
mailing list