Index: installer/src/installer-lib/custom-i18n.h |
=================================================================== |
--- a/installer/src/installer-lib/custom-i18n.h |
+++ b/installer/src/installer-lib/custom-i18n.h |
@@ -2,11 +2,11 @@ |
* \file custom-i18n.h |
*/ |
-#ifndef CUSTOM_I18N_H |
-#define CUSTOM_I18N_H |
- |
-#include <database.h> |
- |
+#ifndef CUSTOM_I18N_H |
+#define CUSTOM_I18N_H |
+ |
+#include <database.h> |
+ |
//------------------------------------------------------- |
// Message box text |
//------------------------------------------------------- |
@@ -14,7 +14,7 @@ |
* Accessor to localizable content for custom actions. |
* |
* This class requires that the MSI contain a custom table named "AbpUIText" in the MSI database. |
- * The WiX definition of that table is in the file "custom_i18n.wxi". |
+ * The WiX definition of that table is in the file "custom-i18n.wxi". |
* Each custom action has the responsibility for defining its own rows within this table. |
*/ |
class CustomMessageText |
@@ -32,10 +32,10 @@ |
try { |
View v( db, L"SELECT `content` FROM `AbpUIText` WHERE `component`=? and `id`=?" ) ; |
Record arg( 2 ) ; |
- arg.assign_string( 1, component ) ; |
- arg.assign_string( 2, id.c_str() ) ; |
- Record r( v.first( arg ) ) ; |
- return r.value_string( 1 ) ; |
+ arg.AssignString( 1, component ) ; |
+ arg.AssignString( 2, id.c_str() ) ; |
+ Record r( v.First( arg ) ) ; |
+ return r.ValueString( 1 ) ; |
} |
catch( ... ) |
{ |
@@ -43,5 +43,5 @@ |
} |
} |
} ; |
- |
-#endif |
+ |
+#endif |