Changeset 1876

Show
Ignore:
Timestamp:
Wed Jan 4 15:46:18 2006
Author:
fgerlits
Message:

made "Report bugs to" text localizable

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/livesupport/src/products/gLiveSupport/src/OptionsWindow.cxx

    r1875 r1876  
    198 198     aboutLabelContents.append(PACKAGE_VERSION);  
    199 199     aboutLabelContents.append("\n\n");  
    200       aboutLabelContents.append("Report bugs to: ");  
    201       aboutLabelContents.append(PACKAGE_BUGREPORT);  
      200     try {  
      201         aboutLabelContents.append(*formatMessage("reportBugsToText",  
      202                                                  PACKAGE_BUGREPORT ));  
      203     } catch (std::invalid_argument &e) {  
      204         // TODO: signal error  
      205         std::cerr << e.what() << std::endl;  
      206         std::exit(1);  
      207     }  
    202 208     Gtk::Label *    aboutLabel = Gtk::manage(  
    203 209                                     new Gtk::Label(aboutLabelContents) );  
  • trunk/livesupport/src/products/gLiveSupport/var/root.txt

    r1875 r1876  
    227 227         applyButtonLabel:string     { "Apply" }  
    228 228         okButtonLabel:string        { "OK" }  
      229          
      230         reportBugsToText:string     { "Report bugs to: {0}" }  
    229 231     }  
    230 232