From fa14c5dd9a80d98296fb0230be3c99daae3e0131 Mon Sep 17 00:00:00 2001 From: David Date: Fri, 25 Apr 2014 19:01:34 +1200 Subject: Making preparations for gettext --- strings.h | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'strings.h') diff --git a/strings.h b/strings.h index 7567c99..b7b556b 100644 --- a/strings.h +++ b/strings.h @@ -1,3 +1,6 @@ + + +/* #ifndef STRINGS_H #define STRINGS_H #ifdef LANG_FR @@ -21,25 +24,26 @@ #define S_BAT_TRAY_C_BATTERY_UNKNOWN "?" //////////////////////////////////////////////////////////////// - #else /* ifdef LANG_FR */ + #else //////////////////////////////////////////////////////////////// // ENGLISH #define S_TRAYFREQ_SET_C_FILE_OPEN_ERROR "FAILED: Couldn't open %s for writing\n" #define S_TRAYFREQ_SET_C_NO_ARGS "Use -g to set the governor or -f to set the frequency\n" #define S_TRAYFREQ_SET_C_SET_FREQUENCY_ARG "Pass the frequency with -f\n" #define S_TRAYFREQ_SET_C_SET_GOVERNOR_ARG "Pass the governor with -g\n" - #define S_TRAYFREQ_SET_C_SET_CORE_ARG "Pass the with -c\n" + #define S_TRAYFREQ_SET_C_SET_CORE_ARG "Pass the core with -c\n" - #define S_TRAY_C_GOVERNOR "Governor: %s\n" - #define S_TRAY_C_CPU "CPU%i: %s%s" + #define S_TRAY_C_GOVERNOR + #define S_TRAY_C_CPU - #define S_TRAYFREQ_C_GTK_ERROR "Cannot initialize gtk: gtk_init_check returned FALSE.\nBailing." - #define S_TRAYFREQ_C_CONFIG_FILE_ERROR "Failed to open config files!\n" + #define S_TRAYFREQ_C_GTK_ERROR + #define S_TRAYFREQ_C_CONFIG_FILE_ERROR #define S_BAT_TRAY_C_BATTERY_FULL "Fully charged" - #define S_BAT_TRAY_C_BATTERY_CHARGING "Charging (%i%%)" - #define S_BAT_TRAY_C_BATTERY_DISCHARGING "Discharging (%i%%)" + #define S_BAT_TRAY_C_BATTERY_CHARGING + #define S_BAT_TRAY_C_BATTERY_DISCHARGING #define S_BAT_TRAY_C_BATTERY_UNKNOWN "Unknown status" //////////////////////////////////////////////////////////////// - #endif /* ifdef LANG_FR */ -#endif /* ifdef STRINGS_H */ \ No newline at end of file + #endif +#endif +*/ \ No newline at end of file -- cgit v1.1