#!/bin/sh . "${srcdir=.}/init.sh"; path_prepend_ . ../src # Test of AppData support. cat < xg-gs-1-empty.appdata.xml EOF : ${XGETTEXT=xgettext} ${XGETTEXT} -o xg-gs-1.pot xg-gs-1-empty.appdata.xml 2>/dev/null test $? = 0 || { echo "Skipping test: xgettext was built without AppData support" exit 77 } cat < xg-gs-1.appdata.xml gnome-power-statistics.desktop CC0-1.0 GPL-2.0+ and GFDL-1.3 Power Statistics Observe power management

Power Statistics is a program used to view historical and current battery information and will show programs running on your computer using power.

Example list:

  • First item
  • Second item

You probably only need to install this application if you are having problems with your laptop battery, or are trying to work out what programs are using significant amounts of power.

http://www.hughsie.com/en_US/main.png The main window showing the application in action http://www.hughsie.com/en_US/preferences.png The preferences window where you can change the defaults http://www.gnome.org/projects/en_US/gnome-power-manager gnome-power-manager-list@gnome.org GNOME
EOF : ${XGETTEXT=xgettext} ${XGETTEXT} --add-comments -o - xg-gs-1.appdata.xml | grep -v 'POT-Creation-Date' > xg-gs-1.pot || exit 1 cat < xg-gs-1.ok # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: xg-gs-1.appdata.xml:7 msgid "Power Statistics" msgstr "" #: xg-gs-1.appdata.xml:8 msgid "Observe power management" msgstr "" #: xg-gs-1.appdata.xml:10 msgid "" "Power Statistics is a program used to view historical and current battery " "information and will show programs running on your computer using power." msgstr "" #: xg-gs-1.appdata.xml:14 msgid "Example list:" msgstr "" #: xg-gs-1.appdata.xml:16 msgid "First item" msgstr "" #: xg-gs-1.appdata.xml:17 msgid "Second item" msgstr "" #: xg-gs-1.appdata.xml:19 msgid "" "You probably only need to install this application if you are having " "problems with your laptop battery, or are trying to work out what programs " "are using significant amounts of power." msgstr "" #: xg-gs-1.appdata.xml:28 msgid "The main window showing the application in action" msgstr "" #: xg-gs-1.appdata.xml:32 msgid "The preferences window where you can change the defaults" msgstr "" EOF : ${DIFF=diff} ${DIFF} xg-gs-1.ok xg-gs-1.pot result=$? exit $result