aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-04-10 15:17:30 +1200
committerDavid <dbphillipsnz@gmail.com>2014-04-10 15:17:30 +1200
commit57e8a5c2bc326b61f319c89b1356bb7bceed2ae0 (patch)
tree6d85ecd5d698d9593b5067b25f25123c3e56c2e6
parent10b8c0c7484387a78ec53c3d1b3421661f29733f (diff)
downloadparamano-57e8a5c2bc326b61f319c89b1356bb7bceed2ae0.tar.xz
Added strings.h
-rw-r--r--strings.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/strings.h b/strings.h
new file mode 100644
index 0000000..7567c99
--- /dev/null
+++ b/strings.h
@@ -0,0 +1,45 @@
+#ifndef STRINGS_H
+#define STRINGS_H
+ #ifdef LANG_FR
+ ////////////////////////////////////////////////////////////////
+ // FRANCAIS
+ #define S_TRAYFREQ_SET_C_FILE_OPEN_ERROR "ERREUR: Pouvais pas ecrit à %s\n"
+ #define S_TRAYFREQ_SET_C_NO_ARGS "Utiliser -g pour activer les profils or -f pour activer les fréquences\n"
+ #define S_TRAYFREQ_SET_C_SET_FREQUENCY_ARG "Indiquer la fréquence avec un -f\n"
+ #define S_TRAYFREQ_SET_C_SET_GOVERNOR_ARG "Indiquer le profil avec un -g\n"
+ #define S_TRAYFREQ_SET_C_SET_CORE_ARG "Indiquer le core avec un -c\n"
+
+ #define S_TRAY_C_GOVERNOR "Profil: %s\n"
+ #define S_TRAY_C_CPU "CPU%i: %s%s"
+
+ #define S_TRAYFREQ_C_GTK_ERROR "Erreur gtk: gtk_init_check est FALSE.\nJe partes."
+ #define S_TRAYFREQ_C_CONFIG_FILE_ERROR "[Translate me] Failed to open config files!\n"
+
+ #define S_BAT_TRAY_C_BATTERY_FULL "Complètement chargée"
+ #define S_BAT_TRAY_C_BATTERY_CHARGING "Charging (%i%%)"
+ #define S_BAT_TRAY_C_BATTERY_DISCHARGING "Discharging (%i%%)"
+ #define S_BAT_TRAY_C_BATTERY_UNKNOWN "?"
+ ////////////////////////////////////////////////////////////////
+
+ #else /* ifdef LANG_FR */
+ ////////////////////////////////////////////////////////////////
+ // 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_TRAY_C_GOVERNOR "Governor: %s\n"
+ #define S_TRAY_C_CPU "CPU%i: %s%s"
+
+ #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_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_UNKNOWN "Unknown status"
+ ////////////////////////////////////////////////////////////////
+ #endif /* ifdef LANG_FR */
+#endif /* ifdef STRINGS_H */ \ No newline at end of file