Changeset 228 for trunk/NewView/PrintDialogUnit.pas
- Timestamp:
- Sep 9, 2007, 2:02:29 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NewView/PrintDialogUnit.pas
r94 r228 70 70 Procedure TNewViewPrintDialog.NewViewPrintDialogOnCreate (Sender: TObject); 71 71 Begin 72 Register ForLanguages( OnLanguageEvent );72 RegisterEventForLanguages( OnLanguageEvent ); 73 73 End; 74 74 75 75 Procedure TNewViewPrintDialog.OnLanguageEvent( Language: TLanguageFile; 76 76 const Apply: boolean ); 77 var 78 tmpPrefix : String; 77 79 begin 78 LogEvent(LogI18n, 'TNewViewPrintDialog.OnLanguageEvent apply: "' + BoolToStr(Apply) + '"');80 // LogEvent(LogI18n, 'TNewViewPrintDialog.OnLanguageEvent apply: "' + BoolToStr(Apply) + '"'); 79 81 Language.LoadComponentLanguage( self, Apply ); 80 82 81 Language.LL( Apply, SetupPrinterErrorTitle, 'SetupPrinterErrorTitle', 'Setup Printer' ); 82 Language.LL( Apply, SetupPrinterError, 'SetupPrinterError', 'Error displaying printer options: ' ); 83 tmpPrefix := 'NewViewPrintDialog' + LANGUAGE_LABEL_DELIMITER; 84 85 Language.LL( Apply, SetupPrinterErrorTitle, tmpPrefix + 'SetupPrinterErrorTitle', 'Setup Printer' ); 86 Language.LL( Apply, SetupPrinterError, tmpPrefix + 'SetupPrinterError', 'Error displaying printer options: ' ); 83 87 end; 84 88
Note:
See TracChangeset
for help on using the changeset viewer.