diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-15 23:39:29 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-15 23:39:29 +0200 |
commit | 51530925ec9efce86e105c0327cbe67a317aa950 (patch) | |
tree | e44e0c48fb47efbebacfcce353c0e1ba3b27ea6d /plugins/gtkui/progress.c | |
parent | 919e8f9e45c77217d1893281ca8606b21c1389f5 (diff) |
added basic gettext support and russian translation
Diffstat (limited to 'plugins/gtkui/progress.c')
-rw-r--r-- | plugins/gtkui/progress.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/gtkui/progress.c b/plugins/gtkui/progress.c index 7cc13844..dcf89fbc 100644 --- a/plugins/gtkui/progress.c +++ b/plugins/gtkui/progress.c @@ -15,11 +15,15 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #include <gtk/gtk.h> #include <stdio.h> #include <stdint.h> #include <string.h> #include <stdlib.h> +#include "../../gettext.h" #include "interface.h" #include "callbacks.h" #include "support.h" @@ -46,7 +50,7 @@ void progress_show (void) { extern GtkWidget *mainwin; progress_aborted = 0; - progress_settext ("Initializing..."); + progress_settext (_("Initializing...")); gtk_widget_show_all (progressdlg); gtk_window_present (GTK_WINDOW (progressdlg)); gtk_window_set_transient_for (GTK_WINDOW (progressdlg), GTK_WINDOW (mainwin)); |