Author: mordante
Date: Tue Jun 23 21:21:22 2009
New Revision: 36369

URL: http://svn.gna.org/viewcvs/wesnoth?rev=36369&view=rev
Log:
Properly translate dialog title (bug #13761).

Modified:
    trunk/changelog
    trunk/src/game_preferences_display.cpp

Modified: trunk/changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=36369&r1=36368&r2=36369&view=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Tue Jun 23 21:21:22 2009
@@ -34,6 +34,7 @@
    * Add strict compilation to cmake
    * Let cmake also use the CXXFLAGS and CFLAGS environment variables
    * Fixed a segmentation fault with storyscreens using [if] (bug #35959)
+   * Properly translate dialog title (bug #13761)
 
 Version 1.7.0:
  * AI:

Modified: trunk/src/game_preferences_display.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_preferences_display.cpp?rev=36369&r1=36368&r2=36369&view=diff
==============================================================================
--- trunk/src/game_preferences_display.cpp (original)
+++ trunk/src/game_preferences_display.cpp Tue Jun 23 21:21:22 2009
@@ -1208,7 +1208,9 @@
 
        symbols["filename"] = filename;
 
-       const std::string title =  vgettext("Find $filename server binary to 
host networked games", symbols);
+       const std::string title = utils::interpolate_variables_into_string(
+                         _("Find $filename server binary to host networked 
games")
+                       , &symbols);
 
        int res = dialogs::show_file_chooser_dialog(disp, path, title, false, 
filename);
        if (res == 0)


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to