diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/computer.h | 2 | ||||
-rw-r--r-- | includes/hardinfo.h | 4 | ||||
-rw-r--r-- | includes/loadgraph.h | 6 | ||||
-rw-r--r-- | includes/menu.h | 1 |
4 files changed, 12 insertions, 1 deletions
diff --git a/includes/computer.h b/includes/computer.h index fd2ebe60..451cd0ce 100644 --- a/includes/computer.h +++ b/includes/computer.h @@ -43,7 +43,7 @@ static struct { { DB_PREFIX "SuSE-release", "suse" }, { DB_PREFIX "sun-release", "sun" }, { DB_PREFIX "zenwalk-version", "zen" }, - { DB_PREFIX "puppyversion", "ppy" }, + { DB_PREFIX "DISTRO_SPECS", "ppy" }, { DB_PREFIX "distro-release", "fl" }, { DB_PREFIX "vine-release", "vine" }, { DB_PREFIX "PartedMagic-version", "pmag" }, diff --git a/includes/hardinfo.h b/includes/hardinfo.h index 23a9468a..20d87ef8 100644 --- a/includes/hardinfo.h +++ b/includes/hardinfo.h @@ -23,6 +23,10 @@ #include "config.h" #include "shell.h" #include "vendor.h" +#include <libintl.h> +#include <locale.h> +#define _(STRING) gettext(STRING) +#define N_(STRING) (STRING) typedef enum { MODULE_FLAG_NONE = 0, diff --git a/includes/loadgraph.h b/includes/loadgraph.h index 3a53f793..1eae976f 100644 --- a/includes/loadgraph.h +++ b/includes/loadgraph.h @@ -24,6 +24,12 @@ #include <stdlib.h> #include <gtk/gtk.h> #include <math.h> +/*#include <libintl.h> +#include <locale.h> +#define _(STRING) gettext(STRING) +#define N_(STRING) (STRING)*/ + + typedef struct _LoadGraph LoadGraph; diff --git a/includes/menu.h b/includes/menu.h index 361b2323..3c804008 100644 --- a/includes/menu.h +++ b/includes/menu.h @@ -20,6 +20,7 @@ #include <shell.h> + void menu_init(Shell *shell); #endif /* __MENU_H__ */ |