Let title and description of subsets to be translatable.
authorRicardo Cruz <rick2@aeiou.pt>
Thu, 8 Jul 2004 11:40:40 +0000 (11:40 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Thu, 8 Jul 2004 11:40:40 +0000 (11:40 +0000)
By the way, is description field really needed? Why not just get rid of it?

SVN-Revision: 1547

src/level_subset.cpp

index 25785d1..a35c689 100644 (file)
@@ -61,8 +61,8 @@ void LevelSubset::read_info_file(const std::string& info_file)
     {
       LispReader reader(lisp_cdr(root_obj));
 
     {
       LispReader reader(lisp_cdr(root_obj));
 
-      reader.read_string("title", title);
-      reader.read_string("description", description);
+      reader.read_string("title", title, true);
+      reader.read_string("description", description, true);
       reader.read_string_vector("levels", levels);
     }
   else
       reader.read_string_vector("levels", levels);
     }
   else