wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth src/widgets/file_chooser.cpp po/POTFILE...


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth src/widgets/file_chooser.cpp po/POTFILE...
Date: Tue, 24 Aug 2004 15:27:46 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <address@hidden>    04/08/24 19:23:18

Modified files:
        src/widgets    : file_chooser.cpp 
        po             : POTFILES.in 

Log message:
        gettextized src/widgets/

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/widgets/file_chooser.cpp.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/POTFILES.in.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: wesnoth/po/POTFILES.in
diff -u wesnoth/po/POTFILES.in:1.2 wesnoth/po/POTFILES.in:1.3
--- wesnoth/po/POTFILES.in:1.2  Sun Aug 15 20:25:08 2004
+++ wesnoth/po/POTFILES.in      Tue Aug 24 19:23:18 2004
@@ -21,3 +21,4 @@
 src/titlescreen.cpp
 src/unit.cpp
 src/unit_types.cpp
+src/widgets/file_chooser.cpp
Index: wesnoth/src/widgets/file_chooser.cpp
diff -u wesnoth/src/widgets/file_chooser.cpp:1.4 
wesnoth/src/widgets/file_chooser.cpp:1.5
--- wesnoth/src/widgets/file_chooser.cpp:1.4    Wed Jun  2 22:08:05 2004
+++ wesnoth/src/widgets/file_chooser.cpp        Tue Aug 24 19:23:18 2004
@@ -27,7 +27,7 @@
 namespace gui {
 
 file_chooser::file_chooser(display &disp, std::string start_file) 
-       : widget(disp), disp_(disp), delete_button_(disp, 
translate_string("delete_file")),
+  : widget(disp), disp_(disp), delete_button_(disp, _("Delete File")),
          path_delim_('/'), current_dir_(get_path(start_file)),
          chosen_file_(start_file), file_list_(disp, files_in_current_dir_, 
false),
          filename_textbox_(disp, 100, start_file, true), choice_made_(false),
@@ -170,7 +170,7 @@
        if (delete_button_.pressed()) {
                const int ret = remove(get_current_file().c_str());
                if (ret == -1) {
-                       show_dialog(disp_, NULL, "", 
translate_string("delete_failed"), OK_ONLY);
+                       show_dialog(disp_, NULL, "", _("Deletion of the file 
failed."), OK_ONLY);
                }
                else {
                        update_file_lists();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]